Skip to content
/ MyZx-Template Public template

Let's setup a ZX Spectrum dev environment in GitHub Codespaces - with DeZog! 🧮

License

Notifications You must be signed in to change notification settings

FinnAngelo/MyZx-Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MyZx-Template

Let's setup a 48K ZX Spectrum dev environment in GitHub Codespaces - with DeZog 🧮

Why bother?

Let's make this

  • Easy to win

Open the Dev Environment in GitHub Codespaces - right now

TL:DR

  1. Make a repo based on this repo template
  2. Open the codespace
  3. Setup the SjASMPlus to compile
  4. Ctrl-Shift-D to debug
    • The ZSim emulator should open and show a little green square
  5. Ctrl-Shift-B to build
  6. Run the unit tests
    • There should be the 2 unit tests for the square showing

Setup SjASMPlus to run in the workspace

Currently the codespace (i.e. linux docker) setup of the SjASMPlus compiler is a manual task.
If you pull this repo to a Windows desktop, it should just run because the Windows exe is already in the tools folder.

  1. Open the bash terminal and run these step by step:
unzip tools/sjasmplus.1.18.3.zip -d tools

cd tools/sjasmplus-1.18.3
make clean
make
sudo make install
  1. Delete the tools/sjasmplus-1.18.3 afterwards

Run

  • Build with Ctrl-Shipt-B
  • Debug with Ctrl-Shift-D or F5
  • Currently you need to build and then run the unit tests

TODO:

Stuff I need to do to make this repo 'Just-Work(tm)'

  1. Document the 'open this in GitHub Codespaces' better - inc screenshots
  2. Make a 'SjASMPlus Setup' task
  3. Find out why 'Run unit tests' doesnt automatically build

Links

Maziac-Dezog

SjASMPlus - make sure you get the right one!

Awesome Z80 tutorial links

Credits

If you find this repo helpful, go be nice to someone. Pay it forward 🙂

Cheers!

About

Let's setup a ZX Spectrum dev environment in GitHub Codespaces - with DeZog! 🧮

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published