ARP now expiring properly

This commit is contained in:
Rémy GIBERT 2016-03-29 08:29:48 +02:00
parent 5bc0bcc801
commit 7f7cd4b6e3

View File

@ -86,6 +86,7 @@ CS.INIT.DUMP >LIBCALL hLIBTCPIP,LIBTCPIP.ARP.GETCACHE
ldx #K.ARPCACHE.SIZE
.1 lda (ZPPTR1)
beq .4
ldy #S.ARPCACHE.IP+4
.2 dey
@ -111,13 +112,13 @@ CS.INIT.DUMP >LIBCALL hLIBTCPIP,LIBTCPIP.ARP.GETCACHE
>LIBCALL hLIBSTR,LIBSTR.PRINTF
plx
lda ZPPTR1
.4 lda ZPPTR1
clc
adc #S.ARPCACHE
sta ZPPTR1
bcc .4
bcc .5
inc ZPPTR1+1
.4 dex
.5 dex
bne .1
.8 lda #0 tell TSKMGR that all done ok, but