A2osX/LIB/LIBETALK.S.CFG.txt

36 lines
614 B
Plaintext
Raw Normal View History

2019-03-11 07:01:40 +00:00
NEW
PREFIX
AUTO 4,1
.LIST OFF
*--------------------------------------
CFG.SET >PULLW ZPTmpPtr1 ETKCFG
ldy #S.ETKCFG-1
.1 lda (ZPTmpPtr1),y
sta ETKCFG,y
dey
bpl .1
ldx #5
.2 lda ETKCFG+S.NETCFG.MAC,x
sta AARP.REQ.SRCMAC,x
sta AARP.REQ.SHA,x
sta AARP.REP.SRCMAC,x
sta AARP.REP.SHA,x
dex
bpl .2
clc
rts
*--------------------------------------
CFG.GET >LDYA L.ETKCFG
clc
rts
*--------------------------------------
MAN
SAVE USR/SRC/LIB/LIBETALK.S.CFG
LOAD USR/SRC/LIB/LIBETALK.S
ASM