mirror of
https://github.com/A2osX/A2osX.git
synced 2024-12-27 02:32:51 +00:00
Kernel 0.9.2
This commit is contained in:
parent
9c8764a6ae
commit
4abc8a16e3
Binary file not shown.
Binary file not shown.
@ -240,19 +240,28 @@ TCP.IN.JMP.LASTACK
|
|||||||
TCP.IN.JMP.FINWT1
|
TCP.IN.JMP.FINWT1
|
||||||
ldy #S.TCP.OPTIONS only accept ACK packet
|
ldy #S.TCP.OPTIONS only accept ACK packet
|
||||||
lda (ZPFrameInPtr),y
|
lda (ZPFrameInPtr),y
|
||||||
bit #S.TCP.OPTIONS.ACK
|
bit #S.TCP.OPTIONS.FIN
|
||||||
beq TCP.IN.JMP.FINWT2.1
|
beq .8
|
||||||
|
|
||||||
|
ldy #S.SOCKET.TCP.O
|
||||||
|
lda #S.TCP.OPTIONS.FIN send FIN
|
||||||
|
sta (ZPPtrSKT),y
|
||||||
|
jsr TCP.IN.ACKTheFIN
|
||||||
|
bcs .9
|
||||||
|
|
||||||
ldy #S.SOCKET.TCP.S
|
ldy #S.SOCKET.TCP.S
|
||||||
lda #S.SOCKET.TCP.S.FINWT2
|
lda #S.SOCKET.TCP.S.FINWT2
|
||||||
sta (ZPPtrSKT),y
|
sta (ZPPtrSKT),y
|
||||||
|
|
||||||
|
.8 clc
|
||||||
|
.9 rts
|
||||||
*--------------------------------------
|
*--------------------------------------
|
||||||
TCP.IN.JMP.FINWT2
|
TCP.IN.JMP.FINWT2
|
||||||
ldy #S.TCP.OPTIONS only accept FIN packet
|
ldy #S.TCP.OPTIONS only accept FIN packet
|
||||||
lda (ZPFrameInPtr),y
|
lda (ZPFrameInPtr),y
|
||||||
TCP.IN.JMP.FINWT2.1
|
|
||||||
bit #S.TCP.OPTIONS.FIN
|
bit #S.TCP.OPTIONS.FIN
|
||||||
bne .8
|
beq .8
|
||||||
|
|
||||||
jsr TCP.IN.ACKTheFIN
|
jsr TCP.IN.ACKTheFIN
|
||||||
bcs .9
|
bcs .9
|
||||||
|
Loading…
Reference in New Issue
Block a user