mirror of
https://github.com/A2osX/A2osX.git
synced 2024-11-25 20:33:13 +00:00
adding ARP offload support...
This commit is contained in:
parent
8e2c75baac
commit
c8bec02f68
@ -112,8 +112,23 @@ GET.IPCFG lda #K.PROTOID.IP
|
||||
lda IPCFG,x
|
||||
>SYSCALL SYS.GetDevByIDA
|
||||
>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
|
||||
ldx #DEVMGR.SETIPCFG
|
||||
jsr NetDevJmp
|
||||
|
||||
.2 >LDYA ZPTmpPtr1
|
||||
|
||||
clc
|
||||
GET.IPCFG.RTS rts
|
||||
*--------------------------------------
|
||||
@ -477,6 +492,7 @@ CS.END
|
||||
*--------------------------------------
|
||||
bFirstLoad .DA #0
|
||||
Status .BS 1
|
||||
DevFlags .BS 1
|
||||
DNSMessageID .BS 2
|
||||
DNSDynamicPort .BS 2
|
||||
DNSHostTTL .BS 4
|
||||
|
Loading…
Reference in New Issue
Block a user