mirror of
https://github.com/A2osX/A2osX.git
synced 2024-11-29 17:50:18 +00:00
Kernel 0.9.1 : TCPIP, bugfix in DNS,ARP cache
This commit is contained in:
parent
92fd335e60
commit
343efe71f4
Binary file not shown.
Binary file not shown.
@ -21,6 +21,8 @@ CS.START cld
|
|||||||
.DA #$61 6502,Level 1 (65c02)
|
.DA #$61 6502,Level 1 (65c02)
|
||||||
.DA #1 BIN Layout Version 1
|
.DA #1 BIN Layout Version 1
|
||||||
.DA 0
|
.DA 0
|
||||||
|
.DA CS.END-CS.START CS
|
||||||
|
.DA DS.END-DS.START DS
|
||||||
.DA #16 SS
|
.DA #16 SS
|
||||||
.DA #2 ZP
|
.DA #2 ZP
|
||||||
.DA 0
|
.DA 0
|
||||||
|
@ -128,7 +128,7 @@ CS.QUIT lda hLIBTCPIP
|
|||||||
rts
|
rts
|
||||||
*--------------------------------------
|
*--------------------------------------
|
||||||
CS.END
|
CS.END
|
||||||
LIBTCPIP >PSTR "libtcpip.o"
|
LIBTCPIP >CSTR "libtcpip.o"
|
||||||
MSG0 >CSTR "Proto Local Remote Options Status\r\n"
|
MSG0 >CSTR "Proto Local Remote Options Status\r\n"
|
||||||
MSG1 >CSTR "%s %03d.%03d.%03d.%03d:%05D %03d.%03d.%03d.%03d:%05D %b %s\r\n"
|
MSG1 >CSTR "%s %03d.%03d.%03d.%03d:%05D %03d.%03d.%03d.%03d:%05D %b %s\r\n"
|
||||||
MSG1.UDP >CSTR "UDP"
|
MSG1.UDP >CSTR "UDP"
|
||||||
|
@ -91,6 +91,7 @@ Dev.Detect >STYA ARGS
|
|||||||
|
|
||||||
>LDYA ARGS
|
>LDYA ARGS
|
||||||
>STYA ZPTmpPTR
|
>STYA ZPTmpPTR
|
||||||
|
|
||||||
lda (ZPTmpPTR)
|
lda (ZPTmpPTR)
|
||||||
bne .4
|
bne .4
|
||||||
|
|
||||||
|
@ -3,14 +3,13 @@ PREFIX /A2OSX.BUILD
|
|||||||
AUTO 4,1
|
AUTO 4,1
|
||||||
.LIST OFF
|
.LIST OFF
|
||||||
*--------------------------------------
|
*--------------------------------------
|
||||||
DecodeMac lda (ZPTmpPTR)
|
DecodeMac ldy #0
|
||||||
cmp #12
|
|
||||||
bne .9
|
|
||||||
|
|
||||||
ldy #1
|
|
||||||
ldx #0
|
ldx #0
|
||||||
|
|
||||||
.1 lda (ZPTmpPTR),y
|
.1 lda (ZPTmpPTR),y
|
||||||
|
beq .9
|
||||||
|
iny
|
||||||
|
|
||||||
jsr Asc2NibbleA
|
jsr Asc2NibbleA
|
||||||
bcs .9
|
bcs .9
|
||||||
|
|
||||||
@ -20,16 +19,18 @@ DecodeMac lda (ZPTmpPTR)
|
|||||||
asl
|
asl
|
||||||
sta MAC,x
|
sta MAC,x
|
||||||
|
|
||||||
iny
|
|
||||||
lda (ZPTmpPTR),y
|
lda (ZPTmpPTR),y
|
||||||
|
beq .9
|
||||||
|
|
||||||
|
iny
|
||||||
|
|
||||||
jsr Asc2NibbleA
|
jsr Asc2NibbleA
|
||||||
bcs .9
|
bcs .9
|
||||||
|
|
||||||
ora MAC,x
|
ora MAC,x
|
||||||
sta MAC,x
|
sta MAC,x
|
||||||
inx
|
inx
|
||||||
iny
|
cpx #6
|
||||||
cpy #13
|
|
||||||
bne .1
|
bne .1
|
||||||
|
|
||||||
clc
|
clc
|
||||||
@ -38,22 +39,25 @@ DecodeMac lda (ZPTmpPTR)
|
|||||||
.9 sec
|
.9 sec
|
||||||
rts
|
rts
|
||||||
*--------------------------------------
|
*--------------------------------------
|
||||||
Asc2NibbleA cmp #$30
|
Asc2NibbleA cmp #'0'
|
||||||
bcc .9
|
bcc .9
|
||||||
cmp #$3A
|
cmp #'9'+1
|
||||||
bcs .1
|
bcs .1
|
||||||
and #$0F
|
and #$0F
|
||||||
clc
|
* clc
|
||||||
rts
|
rts
|
||||||
.1 cmp #$41
|
|
||||||
|
.1 cmp #'A'
|
||||||
bcc .9
|
bcc .9
|
||||||
cmp #$47
|
cmp #'F'+1
|
||||||
bcs .9
|
bcs .99
|
||||||
|
|
||||||
sbc #$36
|
sbc #$36
|
||||||
clc
|
* clc
|
||||||
rts
|
rts
|
||||||
|
|
||||||
.9 sec
|
.9 sec
|
||||||
rts
|
.99 rts
|
||||||
*--------------------------------------
|
*--------------------------------------
|
||||||
MAN
|
MAN
|
||||||
SAVE /A2OSX.SRC/DRV/X.NET.DRV.S
|
SAVE /A2OSX.SRC/DRV/X.NET.DRV.S
|
||||||
|
Loading…
Reference in New Issue
Block a user