mirror of
https://github.com/A2osX/A2osX.git
synced 2024-11-25 05:32:20 +00:00
Update for IPRAW mode
This commit is contained in:
parent
f2b5176ad8
commit
3e95bd27d7
@ -363,11 +363,11 @@ OPEN.SnY >AR.Sn.SELECT S0.MR
|
||||
sta W5100.DR,x
|
||||
|
||||
* >AR.Sn.SELECT Sn.TOS
|
||||
* stz W5100.DR,x
|
||||
stz W5100.DR,x
|
||||
|
||||
* >AR.Sn.SELECT Sn.TTL
|
||||
* lda #K.IP.TTL
|
||||
* sta W5100.DR,x
|
||||
lda #K.IP.TTL
|
||||
sta W5100.DR,x
|
||||
|
||||
>AR.Sn.SELECT S0.CR
|
||||
lda #W5100.AR.Sn.CR.OPEN
|
||||
@ -523,11 +523,11 @@ READ.RAW >AR.SELECT S0.RX.RD
|
||||
READ.IPRAW lda Sn.IP.PROTOCOL,y
|
||||
sta FRM.HDR.PROTO
|
||||
|
||||
lda Sn.RX.BASE+1,y
|
||||
lda Sn.RX.BASE,y
|
||||
sta Sn.BASE
|
||||
lda Sn.RXTX.MASK+1,y
|
||||
lda Sn.RXTX.MASK,y
|
||||
sta Sn.MASK
|
||||
>DEBUG
|
||||
|
||||
>AR.Sn.SELECT S0.RX.RD
|
||||
lda W5100.DR,x get the received ptr HI
|
||||
sta Offset+1
|
||||
@ -577,6 +577,7 @@ READ.IPRAW lda Sn.IP.PROTOCOL,y
|
||||
adc #6 IPRAW: Add 6 bytes to Total Size
|
||||
sta RXTX.Size
|
||||
bcc .11
|
||||
|
||||
inc RXTX.Size+1
|
||||
|
||||
.11 lda RXTX.Size
|
||||
|
Loading…
Reference in New Issue
Block a user