mirror of
https://github.com/A2osX/A2osX.git
synced 2024-12-01 14:50:10 +00:00
adding ARP offload support...
This commit is contained in:
parent
8e2c75baac
commit
c8bec02f68
@ -113,7 +113,22 @@ GET.IPCFG lda #K.PROTOID.IP
|
|||||||
>SYSCALL SYS.GetDevByIDA
|
>SYSCALL SYS.GetDevByIDA
|
||||||
>STYA NetDevJmp+1
|
>STYA NetDevJmp+1
|
||||||
|
|
||||||
|
ldx #DEVMGR.GETINFO
|
||||||
|
jsr NetDevJmp
|
||||||
|
|
||||||
|
>STYA ZPTmpPtr2
|
||||||
|
ldy #S.DEVINFO.FLAGS
|
||||||
|
lda (ZPTmpPtr2),y
|
||||||
|
sta DevFlags
|
||||||
|
and #S.DEVINFO.FLAGS.ARPOFFLOAD
|
||||||
|
beq .2
|
||||||
|
|
||||||
>LDYA ZPTmpPtr1
|
>LDYA ZPTmpPtr1
|
||||||
|
ldx #DEVMGR.SETIPCFG
|
||||||
|
jsr NetDevJmp
|
||||||
|
|
||||||
|
.2 >LDYA ZPTmpPtr1
|
||||||
|
|
||||||
clc
|
clc
|
||||||
GET.IPCFG.RTS rts
|
GET.IPCFG.RTS rts
|
||||||
*--------------------------------------
|
*--------------------------------------
|
||||||
@ -477,6 +492,7 @@ CS.END
|
|||||||
*--------------------------------------
|
*--------------------------------------
|
||||||
bFirstLoad .DA #0
|
bFirstLoad .DA #0
|
||||||
Status .BS 1
|
Status .BS 1
|
||||||
|
DevFlags .BS 1
|
||||||
DNSMessageID .BS 2
|
DNSMessageID .BS 2
|
||||||
DNSDynamicPort .BS 2
|
DNSDynamicPort .BS 2
|
||||||
DNSHostTTL .BS 4
|
DNSHostTTL .BS 4
|
||||||
|
Loading…
Reference in New Issue
Block a user