mirror of
https://github.com/A2osX/A2osX.git
synced 2024-11-25 20:33:13 +00:00
Kernel 0.94
This commit is contained in:
parent
7a919c958a
commit
13ad12582b
Binary file not shown.
@ -274,6 +274,9 @@ MAC.ReadLine >LDA.G MAC.hBuf
|
||||
.21 cmp #'#'
|
||||
bne .20
|
||||
|
||||
>LDYA ZPMacroBuf
|
||||
>SYSCALL puts
|
||||
>DEBUG
|
||||
jsr MAC.GetArgCnt
|
||||
ora #$30
|
||||
bra .7
|
||||
@ -327,6 +330,7 @@ MAC.Put >LDA.G MAC.StkPtr
|
||||
dey
|
||||
lda ZPPtr2+1
|
||||
sta (ZPMacroStk),y get offset
|
||||
clc
|
||||
rts
|
||||
*---------------------------------------
|
||||
MAC.Push >LDA.G MAC.StkPtr
|
||||
@ -426,6 +430,21 @@ MAC.GetArgCnt phy
|
||||
|
||||
.1 iny
|
||||
lda (ZPMacroArgBuf),y
|
||||
beq .8
|
||||
|
||||
cmp #','
|
||||
bne .1
|
||||
|
||||
iny
|
||||
inx
|
||||
bra .1
|
||||
|
||||
.7 tya
|
||||
beq .8
|
||||
|
||||
inx
|
||||
|
||||
.8 txa
|
||||
|
||||
ply
|
||||
clc
|
||||
|
@ -25,8 +25,8 @@ OUT.Reset ldx #4
|
||||
rts
|
||||
*---------------------------------------
|
||||
OUT.PrintLineOn
|
||||
* clc
|
||||
* rts
|
||||
clc
|
||||
rts
|
||||
>LDA.G ASM.LI.ON
|
||||
bpl .9
|
||||
>LDA.G ASM.MA.ON MACRO Mode ?
|
||||
|
Loading…
Reference in New Issue
Block a user