From: ian Date: Fri, 30 Dec 2005 13:06:56 +0000 (+0000) Subject: do not use nonexistent neg_fw insn X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=9e4b4c26bfa03ba91e0ca4267355eaa12546b709;p=trains.git do not use nonexistent neg_fw insn --- diff --git a/detpic/mascan.asm b/detpic/mascan.asm index 159650d..f1b783a 100644 --- a/detpic/mascan.asm +++ b/detpic/mascan.asm @@ -221,8 +221,8 @@ nextslave_nowrite return ; do not scan while booster PWM is off while polarising ; to avoid all trains disappearing and reappearing - neg_fw outmsg_begin - add_wfw outmsg_end + mov_fw outmsg_begin + sub_wfw outmsg_end and_lw outbuf_size - 1 cmp_fw_ifle outmsg_targetlen return ; target len < actual len, do not add anything