From c8eb6e2dd55b4cf1a1e8dd481bfe0b7d66e5ace0 Mon Sep 17 00:00:00 2001 From: Colin Leroy-Mira Date: Thu, 6 Mar 2025 17:20:23 +0100 Subject: [PATCH] Apple II: Document BLTU alternative --- doc/apple2.sgml | 21 +++++++++++++++++++ libsrc/apple2/crt0.s | 2 +- ...c-copy-memcpy.s => integer-basic-compat.s} | 0 3 files changed, 22 insertions(+), 1 deletion(-) rename libsrc/apple2/extra/{lc-copy-memcpy.s => integer-basic-compat.s} (100%) diff --git a/doc/apple2.sgml b/doc/apple2.sgml index ffe0e2397..28120577a 100644 --- a/doc/apple2.sgml +++ b/doc/apple2.sgml @@ -92,7 +92,28 @@ several useful settings:

+ + + cl65 -t apple2 myprog.c apple2-integer-basic-compat.o + + + Linker configurations

diff --git a/libsrc/apple2/crt0.s b/libsrc/apple2/crt0.s index 4b9a59153..628303687 100644 --- a/libsrc/apple2/crt0.s +++ b/libsrc/apple2/crt0.s @@ -122,7 +122,7 @@ basic: lda HIMEM ; Call into Applesoft Block Transfer Up -- which handles zero- ; sized blocks well -- to move the content of the LC memory area. - jsr bltu2 ; BLTU2 + jsr bltu2 ; Switch in LC bank 2 for R/O and return. bit $C080 diff --git a/libsrc/apple2/extra/lc-copy-memcpy.s b/libsrc/apple2/extra/integer-basic-compat.s similarity index 100% rename from libsrc/apple2/extra/lc-copy-memcpy.s rename to libsrc/apple2/extra/integer-basic-compat.s