mirror of
https://github.com/A2osX/A2osX.git
synced 2025-01-22 06:31:33 +00:00
Kernel 0.9.2
This commit is contained in:
parent
da07bf58a7
commit
67873e3518
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -173,16 +173,17 @@ CS.QUIT ldy #hBuffer
|
||||
jsr .8
|
||||
|
||||
ldy #hFileName
|
||||
jsr .8
|
||||
|
||||
>PUSHBI 0
|
||||
>LDYA L.SEQ.RESET
|
||||
>SYSCALL printf
|
||||
rts
|
||||
|
||||
.8 lda (pData),y
|
||||
beq .9
|
||||
>SYSCALL FreeMem
|
||||
.9 rts
|
||||
|
||||
>PUSHBI 0
|
||||
>LDYA L.SEQ.RESET
|
||||
>SYSCALL printf
|
||||
rts
|
||||
*--------------------------------------
|
||||
CharIn tax
|
||||
|
||||
|
@ -125,6 +125,7 @@ K.MKDev >STYA .1+1
|
||||
>LDYAI S.FD.DEV
|
||||
ldx #S.MEM.F.FD
|
||||
jsr MEM.GetMem.YAX
|
||||
bcs .99
|
||||
>STYA .2+1
|
||||
phx
|
||||
|
||||
@ -135,7 +136,7 @@ K.MKDev >STYA .1+1
|
||||
pla
|
||||
sta Dev.Table.hFD,x
|
||||
|
||||
.10 lda #$ff SELF MODIFIED
|
||||
lda #0 TODO Irq Flag
|
||||
sta Dev.Table.F,x
|
||||
|
||||
ldx #S.FD.DEV-1
|
||||
@ -151,7 +152,7 @@ K.MKDev >STYA .1+1
|
||||
|
||||
.9 lda #K.E.OOH
|
||||
* sec
|
||||
rts
|
||||
.99 rts
|
||||
*--------------------------------------
|
||||
MAN
|
||||
SAVE /A2OSX.SRC/SYS/KERNEL.S.DEV
|
||||
|
Loading…
x
Reference in New Issue
Block a user