Kernel 0.92

This commit is contained in:
Rémy GIBERT 2018-11-12 17:19:44 +01:00
parent ec6d65ca0e
commit bc95c179ac
2 changed files with 7 additions and 8 deletions

View File

@ -17,6 +17,10 @@ CMD.Init >LDYAI 256
txa txa
>STA.G CMD.hArgVBuf >STA.G CMD.hArgVBuf
lda #CMD.IF.PTR
tay
sta (pData),y
.9 rts .9 rts
*-------------------------------------- *--------------------------------------
CMD.Quit >LDA.G CMD.hArgVBuf CMD.Quit >LDA.G CMD.hArgVBuf
@ -527,6 +531,7 @@ CMD.IF.F
rts rts
*-------------------------------------- *--------------------------------------
Cmd.INT.ELSE >LDA.G CMD.IF.PTR Cmd.INT.ELSE >LDA.G CMD.IF.PTR
>DEBUG
cmp #CMD.IF.PTR cmp #CMD.IF.PTR
beq .9 beq .9

View File

@ -131,10 +131,6 @@ CS.RUN jsr SetPWD
>SYSCALL GetMemPtr >SYSCALL GetMemPtr
>STYA ZPFileBufPtr >STYA ZPFileBufPtr
lda #CMD.IF.PTR
tay
sta (pData),y
.DO CSH=1 .DO CSH=1
jsr CSH.Init jsr CSH.Init
.FIN .FIN
@ -216,7 +212,7 @@ CS.RUN.INTERCATIVE
tay tay
beq .1 no char beq .1 no char
rts I/O error .9 rts I/O error
.2 cmp #C.EOF ....or Ctrl-D .2 cmp #C.EOF ....or Ctrl-D
beq .9 CS beq .9 CS
@ -233,7 +229,6 @@ CS.RUN.INTERCATIVE
jmp CS.RUN.Exec jmp CS.RUN.Exec
.8 jmp CS.RUN.LOOP .8 jmp CS.RUN.LOOP
.9 rts
*-------------------------------------- *--------------------------------------
CS.RUN.READ CS.RUN.READ
.1 >SLEEP .1 >SLEEP
@ -271,8 +266,7 @@ CS.RUN.BATCH >SYSCALL GetChar
lda #$80 lda #$80
>STA.G bPause >STA.G bPause
clc jmp CS.RUN.LOOP.END
rts
.2 .DO CSH=1 .2 .DO CSH=1
jsr CSH.Run jsr CSH.Run