From bccada197bef49f02fc4bfb3202f1ba3e2a7e655 Mon Sep 17 00:00:00 2001 From: Neil McPhail Date: Fri, 15 Nov 2024 21:41:39 +0000 Subject: [PATCH] Bring down RAMTOP to top of lower RAM --- README.md | 2 +- remload.asm | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f07b750..f4a6a1d 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Sometimes it would be useful to run machine code directly from ZX BASIC without 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. +The included BASIC routine will CLEAR 32767 and set BORDER and PAPER to black and INK to white. Amend the `remload.asm` routine if this is not desired. ## Requirements diff --git a/remload.asm b/remload.asm index 07640dd..7d788ed 100644 --- a/remload.asm +++ b/remload.asm @@ -31,10 +31,10 @@ ink: db ':' clear: - db #fd, "59999" ;CLEAR 59999 - presumably code will be loaded somewhere? + db #fd, "32767" ;CLEAR 32767 - presumably code will be loaded somewhere? db #0e db 0,0 - dw 59999 + dw 32767 db 0 db ':'