diff --git a/BIN/IPCONFIG.S.txt b/BIN/IPCONFIG.S.txt index 002c1129..b32c871d 100644 --- a/BIN/IPCONFIG.S.txt +++ b/BIN/IPCONFIG.S.txt @@ -42,6 +42,7 @@ L.MSG0.NL .DA MSG0.NL L.MSG0.L .DA MSG0.L L.MSG1.DEV .DA MSG1.DEV L.MSG1.DEV.ARP .DA MSG1.DEV.ARP +L.MSG1.DEV.IP .DA MSG1.DEV.IP L.MSG1.LINK .DA MSG1.LINK L.MSG1.LINK.OK .DA MSG1.LINK.OK L.MSG1.LINK.KO .DA MSG1.LINK.KO @@ -119,6 +120,15 @@ CS.INIT.DUMPDEV sta DevID >PUSHW L.MSG1.DEV.ARP >LIBCALL hLIBSTR,LIBSTR.PRINTF + ldy #S.DEVINFO.FLAGS + lda (ZPDevInfoPtr),y + and #S.DEVINFO.NET.FLAGS.IPOFFLOAD + beq .3 + lda #1 +.3 >PUSHA + >PUSHW L.MSG1.DEV.IP + >LIBCALL hLIBSTR,LIBSTR.PRINTF + ldy #S.DEVINFO.NET.STATUS lda (ZPDevInfoPtr),y and #S.DEVINFO.NET.STATUS.OK @@ -248,6 +258,7 @@ MSG0.NL >CSTRING "Not Loaded\n" *-------------------------------------- MSG1.DEV >CSTRING "\nDevice Configuration :\n DevID : $%h\n Device Name : %s\n HW Address : %02h:%02h:%02h:%02h:%02h:%02h\n" MSG1.DEV.ARP >CSTRING " ARP Offload : %d\n" +MSG1.DEV.IP >CSTRING " IP Offload : %d\n" MSG1.LINK >CSTRING " Link Status : %s\n" MSG1.LINK.OK >CSTRING "OK" MSG1.LINK.KO >CSTRING "Media Disconnected"