; 1000 0000 we're expecting an extra byte
;----------------------------------------------------------------------
-slavetable_section udata 0x280
+slavetable_section udata 0x400
ste_szln2 equ 3
; each entry is a number of bytes, at these offsets:
mov_lw 0x4f ; W = 01001111
and_wff b ; b = 0d00dddd
mov_fw POSTINC1 ; W = detbasel; FSR1 -> lastd0
- rcall read_prep_detectbyte ; b = 0d00dddd
- ; u = 0C00CCCC
+ rcall read_got_detectbyte_prep ; b = 0d00dddd
+ ; u = 0C00CCCC
bt_f_if1 b, 6 ; b bit .d......
bs_f b, 4 ; b = 0d0ddddd
; ^ ^ copies of same bit
mov_wf cbyte ; cbyte = M0000000
bc_f b, 7 ; b = 00dddddd
mov_fw POSTINC1 ; W = detbasel; FSR1 -> lastd0
- rcall read_prep_detectbyte
+ rcall read_got_detectbyte_prep
goto addmsgs_revhead
;-----
mov_fw POSTINC1 ; W = detbasel; FSR1 -> lastd0
inc_f FSR1L ; FSR1 -> lastd1
add_lw 5 ; W = detbasel+8
- rcall read_prep_detectbyte
+ rcall read_got_detectbyte_prep
goto addmsgs_all
;----------
mov_fw POSTDEC1 ; W = detbasel; FSR1 -> flags
bs_f FSR1L, 2 ; FSR1L -> lastd2
add_lw 13 ; W = detbasel+16
- rcall read_prep_detectbyte
+ rcall read_got_detectbyte_prep
goto addmsgs_all
;----------
; GENERATION OF DETECTION MESSAGES FOR HOST - MAD BT_F_IF1 TABLES
addmsg_testbit macro bit
- bt_f_if1 u, bit fixme need to test something other than w !
+ bt_f_if1 u, bit
rcall addmsg_one
endm
; other conditions on entry and exit as for entry to addmsgs_<kind>, above
rr_fw TOSL ; W = 0???bbb0
rr_w ; W = 00???bbb
- ior_fw 0xf8 ; W = 11111bbb
+ ior_wfw 0xf8 ; W = 11111bbb
mov_wf FSR0L ; FSR0L = 11111bbb
clr_f FSR0H ; FSR0 -> bitnum2bit[bbb]
add_wfw t ; W = adjdetbasel + 11111bbb