mirror of
https://github.com/A2osX/A2osX.git
synced 2024-06-08 08:33:37 +00:00
Kernel 0.92+
This commit is contained in:
parent
2516a6d304
commit
c87558279e
Binary file not shown.
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user