-
Hello, I am trying to configure VSCode on Windows with DeZog for programming algorithms in Z80 (no ZX Spectrum emulation). I tried to create simple .asm, launch.json and tasks.json. However, when starting debugging, I am able to step the commands, but the Registers view is not updated. (only PC). When finished, VSCode opens ‘disasm.lst’, but I can’t see any code in there. Can anyone help? Thanks. launch.json: tasks.json DeZog.Z80.zsim.mp4 |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 4 replies
-
Could you ZIP and put the whole project here with list (or sld) File. |
Beta Was this translation helpful? Give feedback.
-
z80-programming-exercicios.zip |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Sorry, I mixed up 'start' and 'execAddress'. It has to do with the order of processing. The bin file was loaded before the sld file was parsed. |
Beta Was this translation helpful? Give feedback.
-
Although I had the change in 2.3.5-rc1 I need to revert it. I could, of course, use different approaches for the different remotes, but I would rather like to keep it similar over all remotes. So, for 'start' you cannot use a label, but you have to use a number. |
Beta Was this translation helpful? Give feedback.
-
I found a way to do it by separating 'load' and 'loadObjs'. |
Beta Was this translation helpful? Give feedback.
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:
"--raw=main.bin"
to your tasks.json (args).
"start":"main" is the start addre…