ZX Spectrum sjasmplus+vscode boilerplate
- Download and install Visual Studio Code.
- Install Z80 Macro-Assembler extension.
- Install ZX Spectrum cross assembler sjasmplus
- Install ZX Spectrum emulator
unrealspeccy
(Windows) or Xpeccy (Linux) - Windows users: install
make
utility. I.e. via cygwin. - Setup your enviropment in
.vscode/tasks.json
. See comments in this file.
That's all! Now you can use Run build task
(Ctrl+Shift+B on Windows or ⌘+B on macOS by default) to compile your main.asm
file.
make build
Default: build projectmake run
Build and run snapshot in emulatormake copy
Build and copy snapshot to given pathmake clean
Remove artifacts