From: ian Date: Fri, 23 Dec 2005 00:29:26 +0000 (+0000) Subject: move slavetable to variables.asm X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=dc89f5ffcd026da06844ac45031fa2b04ba8647c;p=trains.git move slavetable to variables.asm --- diff --git a/detpic/mascan.asm b/detpic/mascan.asm index 8cf7eaa..fa8c679 100644 --- a/detpic/mascan.asm +++ b/detpic/mascan.asm @@ -15,23 +15,6 @@ cbyte res 1 ; M010 0000 we're expecting more detection byte 2 ; 1000 0000 we're expecting an extra byte -;---------------------------------------------------------------------- -slavetable_section udata 0x400 - -ste_szln2 equ 3 - ; each entry is a number of bytes, at these offsets: -ste_slave equ 0 ; slave number -ste_flags equ 1 ; flags (stf_...) cslot normally points here -ste_detbasel equ 2 ; added to 11111bbb to make 0SSSSSSS; ie first-0xf8 -ste_lastd0 equ 3 ; } [o0]* ie every bit is either 0 (for an -ste_lastd1 equ 4 ; } irrelevant bit) or o, meaning the -ste_lastd2 equ 5 ; } previously seen detection data bit -ste_detmsgh equ 7 ; 1 001 1 000 being 1 001 Y SSS -ste_size equ (1<