mirror of
https://github.com/A2osX/A2osX.git
synced 2024-08-13 06:29:03 +00:00
Kernel 0.9.1 : BugFix in DevMgr, not properly enumerating Slot X dev 2 devices
This commit is contained in:
parent
ceadeca5f2
commit
d01afeeab1
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -700,19 +700,21 @@ DevMgrInit >LDYAI MSG.DEV
|
|||||||
.1 ldx DevMgrInit.DEVCNT
|
.1 ldx DevMgrInit.DEVCNT
|
||||||
lda DEVLST,x
|
lda DEVLST,x
|
||||||
|
|
||||||
|
and #$F0
|
||||||
|
|
||||||
asl
|
asl
|
||||||
php Save Drive 1/2 in C
|
php Save Drive 1/2 in C
|
||||||
lsr 0SSSxxxx
|
ror DSSS0000
|
||||||
|
|
||||||
lsr
|
lsr
|
||||||
lsr
|
lsr
|
||||||
lsr
|
lsr
|
||||||
lsr 00000SSS
|
|
||||||
|
tax 000DSSS0
|
||||||
|
lsr 0000DSSS
|
||||||
|
and #$7
|
||||||
sta DEV.HEADER+S.DEV.BUSID
|
sta DEV.HEADER+S.DEV.BUSID
|
||||||
|
|
||||||
asl 0000SSS0
|
|
||||||
|
|
||||||
tax
|
|
||||||
stz ZPPtr1
|
stz ZPPtr1
|
||||||
lda DEVPTRS+1,x
|
lda DEVPTRS+1,x
|
||||||
sta ZPPtr1+1
|
sta ZPPtr1+1
|
||||||
@ -723,6 +725,7 @@ DevMgrInit >LDYAI MSG.DEV
|
|||||||
sta DEV.HEADER+S.DEV.DEVID
|
sta DEV.HEADER+S.DEV.DEVID
|
||||||
|
|
||||||
lda ZPPtr1+1
|
lda ZPPtr1+1
|
||||||
|
|
||||||
cmp #$D0 Disk II Driver is $D000
|
cmp #$D0 Disk II Driver is $D000
|
||||||
bne .2
|
bne .2
|
||||||
|
|
||||||
@ -776,7 +779,7 @@ DevMgrInit >LDYAI MSG.DEV
|
|||||||
.8 dec DevMgrInit.DEVCNT
|
.8 dec DevMgrInit.DEVCNT
|
||||||
bpl .1
|
bpl .1
|
||||||
|
|
||||||
clc
|
.80 clc
|
||||||
rts
|
rts
|
||||||
DevMgrInit.DEVCNT
|
DevMgrInit.DEVCNT
|
||||||
.BS 1
|
.BS 1
|
||||||
@ -785,8 +788,7 @@ DevMgrInit.DII >LDYAI A2osX.DIIDrv
|
|||||||
>STYA DEV.HEADER+S.DEV.DRV.JMP
|
>STYA DEV.HEADER+S.DEV.DRV.JMP
|
||||||
jmp DevMgrInit.AddDev
|
jmp DevMgrInit.AddDev
|
||||||
*--------------------------------------
|
*--------------------------------------
|
||||||
DevMgrInit.RAM >DEBUG
|
DevMgrInit.RAM >LDYAI A2osX.RamDrv
|
||||||
>LDYAI A2osX.RamDrv
|
|
||||||
>STYA DEV.HEADER+S.DEV.DRV.JMP
|
>STYA DEV.HEADER+S.DEV.DRV.JMP
|
||||||
jmp DevMgrInit.AddDev
|
jmp DevMgrInit.AddDev
|
||||||
*--------------------------------------
|
*--------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user