From be861f6a136f0979f176f4ef394492e811380704 Mon Sep 17 00:00:00 2001 From: Neil McPhail Date: Sun, 10 Nov 2024 17:35:51 +0000 Subject: [PATCH] Add README.md --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..f07b750 --- /dev/null +++ b/README.md @@ -0,0 +1,11 @@ +# ZX Spectrum REM statement machine code loader + +Sometimes it would be useful to run machine code directly from ZX BASIC without having to load a CODE block or use lots of POKE and DATA statements. For example, you could add code for a fast loader or headerless loading block. + +This Makefile will generate a ZX BASIC .tap file with a REM statement containing the machine code, and will automatically run it. Simply amend the code in `code.asm` and run `make`. The file `program.tap` will be created which can be loaded in an emulator or real Spectrum. + +The included BASIC routine will CLEAR 59999 and set BORDER and PAPER to black and INK to white. Amend the `remload.asm` routine if this is not desired. + +## Requirements + +To use this, you need to install `make`, `pasmo`, `dd` and a C compiler.