Kernel 0.92+

This commit is contained in:
Rémy GIBERT 2019-02-28 18:48:38 +00:00
parent 2516a6d304
commit c87558279e
2 changed files with 10 additions and 10 deletions

Binary file not shown.

View File

@ -197,7 +197,7 @@ CS.RUN.PRINT >INCW.G LineNum
>STA.G bPrintedBlankLine
.2 jsr CS.RUN.PRINTNUM
bcs .9
bcs .99
>LDA.G bPrintAll
bmi .3
@ -206,25 +206,25 @@ CS.RUN.PRINT >INCW.G LineNum
>SYSCALL puts
rts
.3 >LDYA L.ASCII
>STYA ZPPtr1
stz ByteIndex
.3 stz ByteIndex
.4 ldy ByteIndex
lda (ZPBufPtr),y
beq .7
cmp #C.SPACE
bcc .5
>SYSCALL putchar
bcs .9
bra .7
.99 bcs .9
bra .62
.8 clc
rts
.5 tax
>LDYA L.MSG.CTRLCHAR
>LDYA L.ASCII
>STYA ZPPtr1
.6 dex
@ -245,7 +245,7 @@ CS.RUN.PRINT >INCW.G LineNum
>SYSCALL printf
bcs .9
iny ByteIndex
.62 inc ByteIndex
bne .4
.7 >PUSHBI 2
@ -304,7 +304,7 @@ MSG.CRLF .AZ "\r\n"
MSG.LINENUM .AZ "%5D:"
MSG.CTRLCHAR .AZ "[%S]"
*--------------------------------------
ASCII >PSTR "NULL"
ASCII >PSTR "NUL"
>PSTR "SOH"
>PSTR "STX"
>PSTR "ETX"