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:
b5dbc40
)
firmware: if we fire a point just before being turned off, still note that the point...
author
Ian Jackson
<ian@davenant.greenend.org.uk>
Mon, 3 Jan 2011 22:13:52 +0000
(22:13 +0000)
committer
Ian Jackson
<ian@davenant.greenend.org.uk>
Mon, 3 Jan 2011 22:13:52 +0000
(22:13 +0000)
detpic/points.asm
patch
|
blob
|
history
diff --git
a/detpic/points.asm
b/detpic/points.asm
index 8b34bd363f1289eeb6c65f94bb4e571562b2d634..935dc67a9e5adc652a2a1dec846930a8ddca7a05 100644
(file)
--- a/
detpic/points.asm
+++ b/
detpic/points.asm
@@
-296,14
+296,17
@@
cdu_tickdiv @
near_gots code
;--------------------
got_pointed @
- tst_f_ifnz cducharging
- return ; presumably we just turned off
-
bt_f_if0 pointmsg, 7
bra pointed_butnot_firing
clr_f pointmsg
+
+ tst_f_ifnz cducharging
+ bra pointed_already_charging
+ ; we just turned off (and perhaps on again)
call cdu_discharged
+pointed_already_charging
+
mov_lw b'00100000' ; POINTED
goto serial_addbyte