ZX80 NEXT development tools for MacOS
You must have virtualenv installed, if not run brew install virtualenv
To install the compilers & emulator run the following:
(You will be prompted to input your user password)
make install # and follow the installation instructions
Place code in the main.c
file & use the following command to compile &
runs the output .tap file in the Fuse emulator.
make build
Place your Assembly code in the src
directory.
You can run each individual step to assemble with:
make clean
make assemble
make run_snapshot
Or use a single command to run all the above:
make run_assembly
This will assemble your code & open the Zesarux emulator & run the compiled snapshot.
Place your NEXT Basic code in the basic
directory.
You can run each individual step to create a .tap
file with:
make clean_tap
make bas_to_tap
make run_tap:
Or use a single command to run all the above:
make run_basic:
This will create a .tap
file from your NEXT Basic code & open the Zesarux emulator.
Currently, it only loads the output .tap
file, You will have to load the file manually
within the Zesarux emulator.
To get CSpect running on MacOS with an M1, M2 chip you will need to follow these steps:
- Download ITerm2
- Goto Applications,
- Right click on Iterm2 & click
Duplicate
. - Rename to
Iterm2 x86_64
- Still in Applciations folder, Left click on the
Iterm2 x86_64
icon & selectGet Info
& check the Open using Rosetta option. - Now open the Iterm2 x86_64 terminal
- Right click on Iterm2 & click
- Install Rosetta -
softwareupdate --install-rosetta
- Install brew (this will install a new version of brew to
/usr/local
) - Install Mono -
arch -x86_64 brew install mono
- Download CSpect
- You will also need a ZX Spectrum NEXT image here
- Select an image from CURRENT DISTRO IMAGES section.
- Place this image in your CSpect root folder.
- Run CSpect
mono cspect.exe -zxnext -nextrom -mmc=cspect-next-2gb.img
Once you have the followed the above steps, you can now use the following commands
sh cspect.sh