Coder Social home page Coder Social logo

zxs-hello's Introduction

"Hello, World!" for the ZX Spectrum

To build and run this project as seen on YouTube, you will need to install the sjasmplus assembler, available from GitHub here:

https://github.com/z00m128/sjasmplus

You can either download the pre-built Windows release or build it for your preferred platform with the following commands:

$ git clone https://github.com/z00m128/sjasmplus.git
$ cd sjasmplus
$ make

You then need to add the directory containing the sjasmplus executable to your PATH environment variable. This will be in the top-level sjasmplus directory you cloned if you built it from source.

To build the code in this repo, simply run build.sh, and if sjasmplus is in you PATH and running propoerly, you should generate both the tape image (hello.tap) and the RAM snapshot (hello.sna).

To run it, I recommend using the ZEsarUX emulator. You can download pre-built releases for FreeBSD, Debian Linux (i386 or amd64), Mac, Raspberry Pi, or Windows from GitHub:

https://github.com/chernandezba/zesarux

Or, you could just build it from source:

$ git clone https://github.com/chernandezba/zesarux.git
$ cd zesarux/src
$ ./configure
$ make clean
$ make

There are a few required packages and things, depending on your host platform, but there is plenty of detailed guidance in the installation guide.

When you run ZEsarUX, just hit the F5 button to bring up the menu and select "Smart Load" and then find this repo and select either hello.tap or hello.sna. Both should run as you saw in the video. Enjoy!

zxs-hello's People

Contributors

slithymatt avatar

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.