mirror of
https://github.com/A2osX/A2osX.git
synced 2025-01-22 22:30:25 +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
|
||||
lda DEVLST,x
|
||||
|
||||
and #$F0
|
||||
|
||||
asl
|
||||
php Save Drive 1/2 in C
|
||||
lsr 0SSSxxxx
|
||||
ror DSSS0000
|
||||
|
||||
lsr
|
||||
lsr
|
||||
lsr
|
||||
lsr 00000SSS
|
||||
|
||||
tax 000DSSS0
|
||||
lsr 0000DSSS
|
||||
and #$7
|
||||
sta DEV.HEADER+S.DEV.BUSID
|
||||
|
||||
asl 0000SSS0
|
||||
|
||||
tax
|
||||
stz ZPPtr1
|
||||
lda DEVPTRS+1,x
|
||||
sta ZPPtr1+1
|
||||
@ -723,6 +725,7 @@ DevMgrInit >LDYAI MSG.DEV
|
||||
sta DEV.HEADER+S.DEV.DEVID
|
||||
|
||||
lda ZPPtr1+1
|
||||
|
||||
cmp #$D0 Disk II Driver is $D000
|
||||
bne .2
|
||||
|
||||
@ -776,7 +779,7 @@ DevMgrInit >LDYAI MSG.DEV
|
||||
.8 dec DevMgrInit.DEVCNT
|
||||
bpl .1
|
||||
|
||||
clc
|
||||
.80 clc
|
||||
rts
|
||||
DevMgrInit.DEVCNT
|
||||
.BS 1
|
||||
@ -785,8 +788,7 @@ DevMgrInit.DII >LDYAI A2osX.DIIDrv
|
||||
>STYA DEV.HEADER+S.DEV.DRV.JMP
|
||||
jmp DevMgrInit.AddDev
|
||||
*--------------------------------------
|
||||
DevMgrInit.RAM >DEBUG
|
||||
>LDYAI A2osX.RamDrv
|
||||
DevMgrInit.RAM >LDYAI A2osX.RamDrv
|
||||
>STYA DEV.HEADER+S.DEV.DRV.JMP
|
||||
jmp DevMgrInit.AddDev
|
||||
*--------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user