From 50b61ab8eb8c1af30e1cf9fe8318f0b6244526f0 Mon Sep 17 00:00:00 2001 From: Brett Gordon Date: Wed, 16 Sep 2015 22:08:45 -0400 Subject: [PATCH] coco3: boot: commandline works with REM token. --- Kernel/platform-coco3/boot/boot.s | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Kernel/platform-coco3/boot/boot.s b/Kernel/platform-coco3/boot/boot.s index 36fbbd96..96b2e50e 100644 --- a/Kernel/platform-coco3/boot/boot.s +++ b/Kernel/platform-coco3/boot/boot.s @@ -128,8 +128,11 @@ cpcmd ;; find command line in input buffer ldx $a6 ; X = position in program a@ lda ,x+ ; get a byte beq c@ ; end of line w/o remark token? - cmpa #$83 ; is a remark token? - bne a@ + cmpa #$83 ; is a ' token? + beq b@ + cmpa #$82 ; is a REM token? + beq b@ + bra a@ b@ lda ,x+ ; get one byte c@ jsr putb ; put it in kernel memory tsta -- 2.34.1