mirror of
https://github.com/A2osX/A2osX.git
synced 2025-01-16 13:31:26 +00:00
Kernel 0.92+
This commit is contained in:
parent
872652853d
commit
62dd710604
Binary file not shown.
@ -61,9 +61,14 @@ CORE.Run >LDYA ZPInputBufPtr Save Actual cmd for looping
|
||||
>STA.G CORE.IntCmd assume external
|
||||
|
||||
jsr CORE.GetCharNB
|
||||
bcs .9 Ending 0, CS,A=0
|
||||
bcc .11
|
||||
|
||||
jsr IO.Reset
|
||||
lda #0
|
||||
sec
|
||||
rts Ending 0, CS,A=0
|
||||
|
||||
cmp #C.CR
|
||||
.11 cmp #C.CR
|
||||
beq .80 empty line ?
|
||||
|
||||
.10 cmp #'#' commented line?
|
||||
@ -71,23 +76,27 @@ CORE.Run >LDYA ZPInputBufPtr Save Actual cmd for looping
|
||||
|
||||
.1 jsr CORE.GetNextCharNB
|
||||
bcs .8 EOF
|
||||
|
||||
cmp #C.CR
|
||||
bne .1 EOL
|
||||
|
||||
.80 jsr CORE.GetNextChar skip CR...
|
||||
|
||||
.8 lda #0
|
||||
.8 jsr IO.Reset
|
||||
|
||||
lda #0
|
||||
clc
|
||||
.9 rts EOL, CS,A=0
|
||||
rts EOL, CS,A=0
|
||||
|
||||
.2 cmp #'|'
|
||||
bne .21
|
||||
|
||||
jsr CORE.GetNextCharNB
|
||||
bcs CORE.Run.CSYN
|
||||
|
||||
jsr IO.Pipe.In
|
||||
bcs CORE.Run.RTS
|
||||
|
||||
jsr CORE.GetNextCharNB
|
||||
bcs CORE.Run.CSYN
|
||||
bra .3
|
||||
|
||||
.21 jsr IO.Reset
|
||||
|
Loading…
x
Reference in New Issue
Block a user