adding ARP offload support...

This commit is contained in:
Rémy GIBERT 2016-01-10 23:17:49 +01:00
parent 8e2c75baac
commit c8bec02f68

View File

@ -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