mirror of
https://github.com/A2osX/A2osX.git
synced 2024-11-26 13:49:18 +00:00
Kernel 0.9.2
This commit is contained in:
parent
5d71a71b09
commit
32532ccf06
Binary file not shown.
Binary file not shown.
@ -90,12 +90,13 @@ CS.RUN.IPOK ldy #S.PS.ARGC
|
||||
>SYSCALL GetArg
|
||||
>PUSHYA
|
||||
>LDYA L.MSG.UNKNOWN
|
||||
>SYSCALL printf
|
||||
bra .99
|
||||
|
||||
.9 >LDYA L.MSG.USAGE
|
||||
>SYSCALL puts
|
||||
|
||||
.99 >SYSCALL puts
|
||||
lda #K.E.SYN
|
||||
.99 lda #K.E.SYN
|
||||
sec
|
||||
rts
|
||||
|
||||
@ -149,6 +150,8 @@ CS.RUN.OPENSKT ldx #3
|
||||
txa
|
||||
>STA.G hBuf
|
||||
|
||||
>DEBUG
|
||||
|
||||
CS.RUN.LOOP >PUSHB.G hSocket
|
||||
>PUSHW ZPBufPtr
|
||||
>PUSHWI BUFSIZE
|
||||
|
@ -11,12 +11,7 @@ AUTO 4,1
|
||||
* YA = PTR to new S.SOCKET
|
||||
* X = hSocket
|
||||
*\--------------------------------------
|
||||
SKT.New clc
|
||||
.HS B0 BCS
|
||||
SKT.New.Listen sec
|
||||
ror
|
||||
sta .71+1
|
||||
>PULLW ZPTmpPtr1
|
||||
SKT.New >PULLW ZPTmpPtr1
|
||||
ldy #S.SOCKET.SRC.PORT+1
|
||||
lda (ZPTmpPtr1),y
|
||||
dey
|
||||
@ -91,14 +86,11 @@ SKT.New.Listen sec
|
||||
ldy #S.SOCKET.SO
|
||||
lda (ZPTmpPtr1),y
|
||||
and #S.SOCKET.SO.ACCEPTCONN
|
||||
bne .8
|
||||
bne .8 From Listen, do not send SYN packet
|
||||
|
||||
jsr SKT.NewTCB
|
||||
bcs .99
|
||||
|
||||
.71 lda #$ff
|
||||
bmi .8 From Listen, do not send SYN packet
|
||||
|
||||
>LDYA ZPTmpPtr3
|
||||
>STYA ZPPtrSKT
|
||||
lda #S.TCP.OPTIONS.SYN
|
||||
|
@ -98,7 +98,7 @@ TCP.IN.JMP.LISTEN
|
||||
|
||||
>PUSHW L.SKT.Template
|
||||
|
||||
jsr SKT.New.Listen Assign OUTNEXTSEQ
|
||||
jsr SKT.New Assign OUTNEXTSEQ
|
||||
bcs .99
|
||||
|
||||
sty .1+1
|
||||
|
@ -217,7 +217,7 @@ POLL >PUSHW L.IOCTL
|
||||
PULSE and #S.EVT.F.T1SEC
|
||||
beq .1
|
||||
|
||||
* jsr ARP.EXPIRE
|
||||
jsr ARP.EXPIRE
|
||||
jsr DNS.EXPIRE
|
||||
|
||||
.1 jsr DNS.POLL
|
||||
|
Loading…
Reference in New Issue
Block a user