lowlevel-6502: fix outstring etc
authorAlan Cox <alan@linux.intel.com>
Sat, 17 Jan 2015 20:49:36 +0000 (20:49 +0000)
committerAlan Cox <alan@linux.intel.com>
Sat, 17 Jan 2015 20:49:36 +0000 (20:49 +0000)
Kernel/lowlevel-6502.s

index 66031ed..7ad1297 100644 (file)
@@ -144,7 +144,7 @@ outstringl:
        lda (ptr1),y
        cmp #0
        beq outdone1
-       jsr outcharhex
+       jsr outchar
        iny
        jmp outstringl
 
@@ -177,7 +177,7 @@ outcharhex:
        lsr a
        lsr a
        lsr a
-       cmp #9
+       cmp #10
        bcc deci1
        clc
        adc #7
@@ -187,7 +187,7 @@ deci1:
        jsr outchar
        pla
        and #$0f
-       cmp #9
+       cmp #10
        bcc deci2
        clc
        adc #7