Kernel version 0.9 : TCP, bugfix in Block device Status

This commit is contained in:
Rémy GIBERT 2017-03-21 22:53:17 +01:00
parent 63883ea19d
commit cbe573c5fa
2 changed files with 8 additions and 8 deletions

View File

@ -124,9 +124,9 @@ A2osX.DIIDrv.RW jsr A2osX.Blk.GetParam
A2osx.DIIStat .DA #S.DEVSTAT.S.BLOCK+S.DEVSTAT.S.WRITE+S.DEVSTAT.S.READ
.DA 280
.DA #0
>PSTR "DISK II 5.25"
>PSTR "Disk II 5.25"
.BS 4
.DA #S.DEVSTAT.TYPE.5.25
.DA #S.DEVSTAT.TYPE.DISKII
.DA #0
.DA #0,#9
*--------------------------------------
@ -169,9 +169,8 @@ A2osX.BlkDrv.Go ldy #S.DEV.ROM.JMP
*--------------------------------------
A2osX.BlkStat .DA #S.DEVSTAT.S.BLOCK+S.DEVSTAT.S.WRITE+S.DEVSTAT.S.READ
.BS 3
>PSTR "Generic Blk Dev"
.BS 1
.DA #S.DEVSTAT.TYPE.HD
>PSTR "ProDOS Block Dev"
.DA #S.DEVSTAT.TYPE.PRODOS
.DA #0
.DA #0,#9
*--------------------------------------

View File

@ -275,11 +275,10 @@ DevMgrInit stz ZPPtr1
.3 inc
beq .7 $ff, Disk II 13 Sect, ingnore
dec
ldy #7
lda (ZPPtr1),y
bne .4 $Cn07=00 : smartport
bne .4 $Cn07=00 : SmartPort
jsr DevMgrInit.SP
ldy #A2osX.SLOTS.SP
@ -310,7 +309,9 @@ DevMgrInit.DII >LDYAI A2osX.DIIDrv
jsr DevMgrInit.AddDev
rts
*--------------------------------------
DevMgrInit.BLK sta DEV.HEADER+S.DEV.ROM.JMP
DevMgrInit.BLK ldy #$ff
lda (ZPPtr1),y
sta DEV.HEADER+S.DEV.ROM.JMP
lda ZPPtr1+1
sta DEV.HEADER+S.DEV.ROM.JMP+1