Coder Social home page Coder Social logo

joegasewicz / zx80-dev-tools Goto Github PK

View Code? Open in Web Editor NEW
11.0 2.0 0.0 11.9 MB

ZX Spectrum NEXT development tools for MacOS

CMake 5.27% Makefile 37.34% BASIC 18.34% C 2.77% Assembly 33.08% Shell 3.19%
m1 m2 macos next-basic z80-assembly zx-spectrum-next zx80 c-language

zx80-dev-tools's Introduction

Z80 MacOS Starter Template

ZX80 NEXT development tools for MacOS

Alt Text

Requirements

  1. Download Z88DK
  2. Download Zesarux
  3. Download sjasmplus

Using C Language

Place code in the main.c file & use the following command to compile

make build

Using Z80 Assembly

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.

Using NEXT Basic

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.

CSpect

To get CSpect running on MacOS with an M1, M2 chip you will need to follow these steps:

  1. Download ITerm2
  2. 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 & select Get Info & check the Open using Rosetta option.
    • Now open the Iterm2 x86_64 terminal
  3. Install Rosetta - softwareupdate --install-rosetta
  4. Install brew (this will install a new version of brew to /usr/local)
  5. Install Mono - arch -x86_64 brew install mono
  6. Download CSpect
  7. 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.
  8. Run CSpect mono cspect.exe -zxnext -nextrom -mmc=cspect-next-2gb.img

Run CSpect

Once you have the followed the above steps, you can now use the following commands

Run CSpect

sh cspect.sh

Routines

https://skoolkid.github.io/rom/maps/routines.html http://z80-heaven.wikidot.com/ https://www.youtube.com/watch?v=gTOGG3taJJo&list=PLh-C9eJOIMBtOyDGJIEJq7fiHLjkhcZOv&index=2# alien-planet

zx80-dev-tools's People

Contributors

joegasewicz avatar joepostoffice avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

zx80-dev-tools's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.