A2osX/LIB/LIBETALK.S.DDP.txt

52 lines
816 B
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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