mirror of
https://github.com/A2osX/A2osX.git
synced 2024-11-30 23:49:37 +00:00
52 lines
816 B
Plaintext
52 lines
816 B
Plaintext
NEW
|
||
AUTO 3,1
|
||
*--------------------------------------
|
||
DDP.IN ldy #S.DDP2.DST.NOD
|
||
lda (ZPFrameInPtr),y
|
||
cmp #$ff
|
||
beq .1
|
||
|
||
cmp ETKCFG+S.ETKCFG.NodID
|
||
bne .9
|
||
|
||
ldy #S.DDP2.DST.NET
|
||
lda (ZPFrameInPtr),y
|
||
|
||
cmp ETKCFG+S.ETKCFG.NetID+1
|
||
bne .9
|
||
|
||
iny
|
||
lda (ZPFrameInPtr),y
|
||
cmp ETKCFG+S.ETKCFG.NetID
|
||
bne .9
|
||
|
||
.1 ldy #S.DDP2.DST.SKT
|
||
lda (ZPFrameInPtr),y
|
||
beq .9
|
||
|
||
* bmi DDP.IN.DYNAMIC
|
||
|
||
cmp #8
|
||
bcs .9
|
||
|
||
ldy #S.DDP2.SRC.SKT
|
||
cmp (ZPFrameInPtr),y
|
||
bne .9
|
||
|
||
asl
|
||
tax
|
||
jmp (J.DDP.IN-2,x)
|
||
|
||
clc
|
||
rts
|
||
|
||
|
||
.9 lda #MLI.E.EOF
|
||
sec
|
||
rts
|
||
*--------------------------------------
|
||
MAN
|
||
SAVE usr/src/lib/libetalk.s.ddp
|
||
LOAD usr/src/lib/libetalk.s
|
||
ASM
|