Boilerplate code for z80 asm development using DeZog in VS Code for a basic z80 machine with 64k RAM.
- Install sjasmplus and add it to your path
- Install Visual Studio Code
- Install the following extensions:
- DeZog -
ext install maziac.dezog
- DeZog -
- Optionally, install the following extensions:
- Z80 Instruction Set -
ext install maziac.z80-instruction-set
- ASM Code Lens -
ext install maziac.asm-code-lens
- Hex Hover Converter -
ext install maziac.hex-hover-converter
- Z80 Instruction Set -
- Install the following extensions:
- via VSCode:
- Terminal, Run Build Task (
Ctrl+Shift+B
)
- Terminal, Run Build Task (
- via terminal:
sjasmplus --sld=test.sld --fullpath --lst=test.list test.asm
- Click the "Run/Debug" icon on the left nav (
Ctrl+Shift+D
) - Choose "zSim" from the dropdown and click ▶ (
F5
)