From e5fd0e865de64d162cf6381c29cc6673bf74febf Mon Sep 17 00:00:00 2001 From: Ivo van Poorten Date: Mon, 26 Aug 2024 01:02:15 +0200 Subject: [PATCH 1/2] ccp: change temp2 from byte to word. fixes usage of unreserved memory. --- src/ccp.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ccp.S b/src/ccp.S index ed8048f3..02348cc8 100644 --- a/src/ccp.S +++ b/src/ccp.S @@ -11,7 +11,7 @@ ZEROPAGE cmdoffset: .byte 0 ; current offset into command line (including size bytes) fcb: .word 0 ; current FCB being worked on temp: .word 0 -temp2: .byte 0 +temp2: .word 0 zproc main tsx From 5ee3d2c60cf5ca828a437489be99c6624989445c Mon Sep 17 00:00:00 2001 From: Ivo van Poorten Date: Mon, 26 Aug 2024 01:02:48 +0200 Subject: [PATCH 2/2] bdos: fix CTRL-R reprinting of command off-by-one error. --- src/bdos/conio.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bdos/conio.S b/src/bdos/conio.S index 9e301183..024e157e 100644 --- a/src/bdos/conio.S +++ b/src/bdos/conio.S @@ -218,7 +218,7 @@ zproc bdos_READLINE cmp #18 zif_eq jsr indent_new_line - ldy #1 + ldy #2 sty count zloop ldy count