chiark
/
gitweb
/
~ijackson
/
trains.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
216479e
)
do not use nonexistent neg_fw insn
author
ian
<ian>
Fri, 30 Dec 2005 13:06:56 +0000
(13:06 +0000)
committer
ian
<ian>
Fri, 30 Dec 2005 13:06:56 +0000
(13:06 +0000)
detpic/mascan.asm
patch
|
blob
|
history
diff --git
a/detpic/mascan.asm
b/detpic/mascan.asm
index 159650d96ad1d2558b755b0342264a832f94b5b9..f1b783aa5a85cd6a343a22b25f1391cb8d55b602 100644
(file)
--- 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