From f4fa06b8f4cff043c53958bead2410ab0a417403 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 29 Feb 2016 06:01:59 -0500 Subject: fix new plus_or_space --- checkmem.s | 10 +++++++++- console.s | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/checkmem.s b/checkmem.s index 63f9ed6..9994add 100644 --- a/checkmem.s +++ b/checkmem.s @@ -1,9 +1,17 @@ +; As of 3cbd137, the xex build will run in 40K. This stuff no longer +; checks for 48K or tries to disable the BASIC cart. With 40K free, we +; get 360 bytes for the stack, which is less than the linker config's +; 512 byte stack... but we never use anywhere near the full amount. + +; We still do a GR.0 here, because the taipan.c code expects it to +; have been set up, and because some loaders (e.g. fenders) don't +; do it for us. ; Memcheck needs to do this: ;1. Do a GRAPHICS 0 ;2. If RAMTOP >=$A0, go to step 6 -;3. Print "need 40K message" +;3. Print "need 40K" message ;4. Wait for a keypress ;5. Exit to DOS (without loading the rest of the file) ;6. Exit via RTS, so the rest of the game will load. diff --git a/console.s b/console.s index f8d1c8d..3d82120 100644 --- a/console.s +++ b/console.s @@ -224,7 +224,7 @@ _plus_or_space: lda #' ' ldx #39 stx COLCRS - lda #15 + ldx #15 stx ROWCRS jmp _cputc -- cgit v1.2.3