aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--checkmem.s10
-rw-r--r--console.s2
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