mirror of
https://github.com/A2osX/A2osX.git
synced 2024-08-10 00:29:09 +00:00
Kernel 0.93++
This commit is contained in:
parent
f11927d4cf
commit
92fe5049d4
Binary file not shown.
@ -39,18 +39,15 @@ SCRN.ResetScrollRgn
|
|||||||
rts
|
rts
|
||||||
*--------------------------------------
|
*--------------------------------------
|
||||||
SCRN.UnSaved >LDA.G bUnSaved
|
SCRN.UnSaved >LDA.G bUnSaved
|
||||||
bne .8
|
bne SCRN.UpdateTopBar.8
|
||||||
|
|
||||||
dec
|
dec
|
||||||
sta (pData),y
|
sta (pData),y
|
||||||
bra SCRN.UpdateTopBar
|
|
||||||
|
|
||||||
.8 clc
|
|
||||||
rts
|
|
||||||
*--------------------------------------
|
*--------------------------------------
|
||||||
SCRN.UpdateTopBar
|
SCRN.UpdateTopBar
|
||||||
lda #$ff
|
lda #$ff
|
||||||
>STA.G bUpdateTop
|
>STA.G bUpdateTop
|
||||||
|
SCRN.UpdateTopBar.8
|
||||||
clc
|
clc
|
||||||
rts
|
rts
|
||||||
*--------------------------------------
|
*--------------------------------------
|
||||||
@ -58,7 +55,9 @@ SCRN.UpdateTopBarAsync
|
|||||||
>LDA.G bUpdateTop
|
>LDA.G bUpdateTop
|
||||||
bpl .8
|
bpl .8
|
||||||
|
|
||||||
lda #0
|
lda (LineBuf)
|
||||||
|
bne .8
|
||||||
|
|
||||||
sta (pData),y
|
sta (pData),y
|
||||||
|
|
||||||
jsr SCRN.LineBufInitBar
|
jsr SCRN.LineBufInitBar
|
||||||
@ -406,7 +405,9 @@ SCRN.UpdateStatusBarAsync
|
|||||||
>LDA.G bUpdateStatus
|
>LDA.G bUpdateStatus
|
||||||
bpl .8
|
bpl .8
|
||||||
|
|
||||||
lda #0
|
lda (LineBuf)
|
||||||
|
bne .8
|
||||||
|
|
||||||
sta (pData),y
|
sta (pData),y
|
||||||
|
|
||||||
jsr SCRN.ResetStatusBar
|
jsr SCRN.ResetStatusBar
|
||||||
@ -615,7 +616,12 @@ SCRN.LineBufOut lda #0
|
|||||||
>PUSHBI 0
|
>PUSHBI 0
|
||||||
>LDYA.G LineBuf
|
>LDYA.G LineBuf
|
||||||
>SYSCALL printf
|
>SYSCALL printf
|
||||||
rts
|
bcs .9
|
||||||
|
|
||||||
|
lda #0
|
||||||
|
sta (LineBuf)
|
||||||
|
|
||||||
|
.9 rts
|
||||||
*--------------------------------------
|
*--------------------------------------
|
||||||
MAN
|
MAN
|
||||||
SAVE USR/SRC/BIN/EDIT.S.SCRN
|
SAVE USR/SRC/BIN/EDIT.S.SCRN
|
||||||
|
@ -165,6 +165,9 @@ CS.RUN >PUSHBI 0
|
|||||||
txa
|
txa
|
||||||
>STA.G hLineBuf
|
>STA.G hLineBuf
|
||||||
|
|
||||||
|
lda #0
|
||||||
|
sta (LineBuf)
|
||||||
|
|
||||||
lda #1
|
lda #1
|
||||||
>SYSCALL ArgV
|
>SYSCALL ArgV
|
||||||
bcs .2 No arg, new file....
|
bcs .2 No arg, new file....
|
||||||
@ -186,17 +189,25 @@ CS.RUN >PUSHBI 0
|
|||||||
bcs CS.RUN.RTS
|
bcs CS.RUN.RTS
|
||||||
|
|
||||||
>LDYAI 65
|
>LDYAI 65
|
||||||
>SYSCALL getmem0
|
>SYSCALL getmem
|
||||||
bcs CS.RUN.RTS
|
bcs CS.RUN.RTS
|
||||||
|
>STYA ZPPTR1
|
||||||
txa
|
txa
|
||||||
>STA.G hFind
|
>STA.G hFind
|
||||||
|
|
||||||
|
lda #0
|
||||||
|
sta (ZPPTR1)
|
||||||
|
|
||||||
>LDYAI 65
|
>LDYAI 65
|
||||||
>SYSCALL getmem0
|
>SYSCALL getmem
|
||||||
bcs CS.RUN.RTS
|
bcs CS.RUN.RTS
|
||||||
|
>STYA ZPPTR1
|
||||||
txa
|
txa
|
||||||
>STA.G hReplace
|
>STA.G hReplace
|
||||||
|
|
||||||
|
lda #0
|
||||||
|
sta (ZPPTR1)
|
||||||
|
|
||||||
CS.RUN.LOOP >SYSCALL GetChar
|
CS.RUN.LOOP >SYSCALL GetChar
|
||||||
bcs CS.RUN.RTS I/O error
|
bcs CS.RUN.RTS I/O error
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user