mirror of
https://github.com/A2osX/A2osX.git
synced 2024-11-22 00:32:44 +00:00
Kernel 0.9.1 : NIC Drivers, Fixed headers to solve ETHx device name preventing TCPIP to load properly
This commit is contained in:
parent
109fd3714a
commit
51820dfb56
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -131,19 +131,20 @@ DumpHeader ldy #S.DEV.DRV.JMP+1
|
||||
DumpStatus >LDA.G DEV.S
|
||||
bpl .1
|
||||
|
||||
ldy #S.DSTAT.SIZE
|
||||
lda (ZPPTR2),y
|
||||
>STA.G DEV.SIZE
|
||||
|
||||
ldy #S.DSTAT.SIZE+1
|
||||
lda (ZPPTR2),y
|
||||
>STA.G DEV.SIZE+1
|
||||
lda #0
|
||||
>PUSHA
|
||||
|
||||
ldy #S.DSTAT.SIZE+2
|
||||
lda (ZPPTR2),y
|
||||
>STA.G DEV.SIZE+2
|
||||
>PUSHA
|
||||
|
||||
>PUSHEA.G DEV.SIZE
|
||||
dey
|
||||
lda (ZPPTR2),y
|
||||
>PUSHA
|
||||
|
||||
dey
|
||||
lda (ZPPTR2),y
|
||||
>PUSHA
|
||||
|
||||
.1 ldy #S.DSTAT.VERSION+1
|
||||
>PUSHB (ZPPTR2),y
|
||||
@ -192,7 +193,6 @@ MSG.SFLAGS .AS "BWRLNEIO"
|
||||
DS.START
|
||||
DEV.ID .BS 1
|
||||
DEV.S .BS 1
|
||||
DEV.SIZE .BS 4
|
||||
DEV.SFLAGS .BS 9
|
||||
DS.END
|
||||
.ED
|
||||
|
@ -51,7 +51,7 @@ Dev.Detect >STYA Args
|
||||
cmp #DEVID
|
||||
beq .3
|
||||
|
||||
.2 dec DEV.HEADER.NAME+4
|
||||
.2 dec DEV.HEADER.NAME+3
|
||||
txa
|
||||
sec
|
||||
sbc #$10
|
||||
@ -72,6 +72,7 @@ Dev.Detect >STYA Args
|
||||
|
||||
>LDYA ARGS
|
||||
>STYA ZPTmpPTR
|
||||
|
||||
lda (ZPTmpPTR)
|
||||
beq .4
|
||||
|
||||
|
@ -75,7 +75,7 @@ Dev.Detect >STYA Args
|
||||
cmp #2000
|
||||
beq .3
|
||||
|
||||
.2 dec DEV.HEADER.NAME+4
|
||||
.2 dec DEV.HEADER.NAME+3
|
||||
txa
|
||||
sec
|
||||
sbc #$10
|
||||
@ -96,6 +96,7 @@ Dev.Detect >STYA Args
|
||||
|
||||
>LDYA ARGS
|
||||
>STYA ZPTmpPTR
|
||||
|
||||
lda (ZPTmpPTR)
|
||||
bne .4
|
||||
|
||||
@ -140,7 +141,7 @@ DEV.HEADER cld
|
||||
jmp (DRV.CS.START,x)
|
||||
.DA #0
|
||||
.BS 6
|
||||
DEV.HEADER.NAME >PSTR "ETH7"
|
||||
DEV.HEADER.NAME .AZ "ETH7"
|
||||
*--------------------------------------
|
||||
* Driver Code
|
||||
*--------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user