Skip to content

Using bare-bones zsim for Z80 developing #112

Answered by maziac
ewkohler asked this question in Q&A
Discussion options

You must be logged in to vote

You didn't load any binary to the simulator:

In the VARIABLES pane you can see the "real" assembly code. It is all NOPs.
You can step through the nops but no register will change.
You see the source code stepping work because the debugger simply associates the addresses with your source code.
And for $8000 and so forth there are valid addresses in your source code.

Here is what you have to do:

  1. sjasmplus currently does not produce any binary code. E.g .add
    "--raw=main.bin"
    to your tasks.json (args).
  2. In your launch.json instruct dezog to load your binary. This is done with:
			"loadObjs": [
				{
					"path": "main.bin",
					"start": "main"
				}
			],

"start":"main" is the start addre…

Replies: 6 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@ewkohler
Comment options

@maziac
Comment options

@ewkohler
Comment options

Answer selected by ewkohler
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ewkohler
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants