mirror of
https://github.com/A2osX/A2osX.git
synced 2025-01-12 17:30:23 +00:00
Kernel version 0.9 : TCP, bugfix in GetCA byte counter trashing stack
This commit is contained in:
parent
4b37165b93
commit
cfac8b4821
BIN
A2OSX.BOOT.po
BIN
A2OSX.BOOT.po
Binary file not shown.
BIN
A2OSX.SRC.po
BIN
A2OSX.SRC.po
Binary file not shown.
@ -908,6 +908,8 @@ SKT.GetDataFromSktOut
|
||||
inc
|
||||
beq .5
|
||||
|
||||
pha
|
||||
|
||||
.2 lda (ZPTmpPtr2)
|
||||
sta (ZPDataOutPtr),y
|
||||
iny
|
||||
@ -1006,15 +1008,16 @@ SKT.GetDataFromSktIn
|
||||
bne .2
|
||||
pla
|
||||
inc
|
||||
beq .8
|
||||
|
||||
pha
|
||||
beq .7
|
||||
|
||||
.2 lda SKT.TCBCache+S.TCB.INTAIL
|
||||
eor SKT.TCBCache+S.TCB.INHEAD
|
||||
bne .3
|
||||
lda SKT.TCBCache+S.TCB.INTAIL+1
|
||||
eor SKT.TCBCache+S.TCB.INHEAD+1
|
||||
beq .8 no more data....
|
||||
beq .7 no more data....
|
||||
|
||||
.3 lda (ZPTmpPtr2)
|
||||
pha
|
||||
@ -1044,7 +1047,7 @@ SKT.GetDataFromSktIn
|
||||
bpl .6
|
||||
|
||||
cmp #13
|
||||
beq .8
|
||||
beq .7
|
||||
|
||||
.6 sta (ZPDataOutPtr),y
|
||||
iny
|
||||
@ -1057,11 +1060,11 @@ SKT.GetDataFromSktIn
|
||||
|
||||
bra .1
|
||||
|
||||
.7 bit bTextMode here, bacause dst buf full....
|
||||
.7 pla discard byte counter HI
|
||||
|
||||
.8 bit bTextMode here, bacause dst buf full....
|
||||
bmi .9 ....and TextMode selected, NO ending CR found
|
||||
|
||||
.8 pla discard byte counter HI
|
||||
|
||||
lda ZPTmpPtr3 Do we have transfered something?
|
||||
eor ZPTmpPtr3+1
|
||||
beq .9
|
||||
|
Loading…
x
Reference in New Issue
Block a user