2019-03-11 07:01:40 +00:00
|
|
|
|
NEW
|
2019-05-27 06:01:59 +00:00
|
|
|
|
AUTO 3,1
|
2019-03-11 07:01:40 +00:00
|
|
|
|
*--------------------------------------
|
2023-10-18 05:41:12 +00:00
|
|
|
|
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
|
2019-03-11 07:01:40 +00:00
|
|
|
|
rts
|
2023-10-18 05:41:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.9 lda #MLI.E.EOF
|
|
|
|
|
sec
|
|
|
|
|
rts
|
2019-03-11 07:01:40 +00:00
|
|
|
|
*--------------------------------------
|
|
|
|
|
MAN
|
2021-05-19 12:44:47 +00:00
|
|
|
|
SAVE usr/src/lib/libetalk.s.ddp
|
|
|
|
|
LOAD usr/src/lib/libetalk.s
|
2019-03-11 07:01:40 +00:00
|
|
|
|
ASM
|