mirror of
https://github.com/A2osX/A2osX.git
synced 2024-10-01 22:57:43 +00:00
Kernel 0.9.2
This commit is contained in:
parent
a2d0b52982
commit
0a8f2a8a01
Binary file not shown.
Binary file not shown.
@ -385,17 +385,14 @@ CORE.ScrSel and #$0F
|
|||||||
lda A2osX.SCRNDEVS-1,x
|
lda A2osX.SCRNDEVS-1,x
|
||||||
beq .8 No device claimed this screen
|
beq .8 No device claimed this screen
|
||||||
|
|
||||||
|
tay
|
||||||
|
|
||||||
|
>PUSHBI 0
|
||||||
|
lda #IOCTL.CONTROL
|
||||||
>DEBUG
|
>DEBUG
|
||||||
|
jsr K.IOCTL
|
||||||
|
|
||||||
jsr K.GetDevByID x unmodified.....
|
|
||||||
bcs .8 ???
|
|
||||||
|
|
||||||
stx A2osX.ASCREEN
|
|
||||||
|
|
||||||
>STYA .1+1
|
|
||||||
|
|
||||||
ldx #IOCTL.CONTROL
|
|
||||||
.1 jmp $ffff SELF MODIFED
|
|
||||||
|
|
||||||
.8 rts
|
.8 rts
|
||||||
*--------------------------------------
|
*--------------------------------------
|
||||||
|
@ -58,7 +58,7 @@ K.GetDevByName >STYA ZPPtr1
|
|||||||
bne .2 no....loop
|
bne .2 no....loop
|
||||||
|
|
||||||
ldy ZPPtr2
|
ldy ZPPtr2
|
||||||
lda ZPPtr3+1
|
lda ZPPtr2+1
|
||||||
clc
|
clc
|
||||||
rts
|
rts
|
||||||
|
|
||||||
|
@ -189,9 +189,8 @@ IO.WRITE.FIFO ldy #S.FD.FIFO.S
|
|||||||
* **Out:**
|
* **Out:**
|
||||||
* Y,A = ...
|
* Y,A = ...
|
||||||
*\--------------------------------------
|
*\--------------------------------------
|
||||||
K.IOCTL tax op
|
K.IOCTL sta .7+1 op
|
||||||
>PULLB .1+1 param LO
|
>PULLW pIOCTL
|
||||||
>PULLB .2+1 param HI
|
|
||||||
|
|
||||||
tya id
|
tya id
|
||||||
|
|
||||||
@ -200,10 +199,15 @@ K.IOCTL tax op
|
|||||||
|
|
||||||
>STYA pFD
|
>STYA pFD
|
||||||
|
|
||||||
.1 ldy #$ff SELF MODIFIED
|
ldy #S.FD.DEV.DRVPTR
|
||||||
.2 lda #$ff SELF MODIFIED
|
lda (pFD),y
|
||||||
|
sta .8+1
|
||||||
|
iny
|
||||||
|
lda (pFD),y
|
||||||
|
sta .8+2
|
||||||
|
|
||||||
jmp (pFD) x = op
|
.7 ldx #$ff SELF MODIFIED
|
||||||
|
.8 jmp $ffff SELF MODIFIED x = op
|
||||||
|
|
||||||
K.IOCTL.9 rts
|
K.IOCTL.9 rts
|
||||||
*/--------------------------------------
|
*/--------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user