coco3: boot: commandline works with REM token.
authorBrett Gordon <beretta42@gmail.com>
Thu, 17 Sep 2015 02:08:45 +0000 (22:08 -0400)
committerBrett Gordon <beretta42@gmail.com>
Thu, 17 Sep 2015 02:08:45 +0000 (22:08 -0400)
Kernel/platform-coco3/boot/boot.s

index 36fbbd9..96b2e50 100644 (file)
@@ -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