chiark / gitweb /
trains.git
18 years agocompile alternative version -DNDEBUG
ian [Sun, 1 Jan 2006 13:49:44 +0000 (13:49 +0000)]
compile alternative version -DNDEBUG

18 years agorename foo-asm.lst to foo+asm.list
ian [Sun, 1 Jan 2006 13:48:07 +0000 (13:48 +0000)]
rename foo-asm.lst to foo+asm.list

18 years agoreserve ^ [^ ] for debugging insertions
ian [Sun, 1 Jan 2006 13:23:44 +0000 (13:23 +0000)]
reserve ^ [^ ] for debugging insertions

18 years agofinal fix from nye: die if stdin ends
ian [Sun, 1 Jan 2006 13:06:48 +0000 (13:06 +0000)]
final fix from nye: die if stdin ends

18 years agofinal version from nye
ian [Sun, 1 Jan 2006 13:05:53 +0000 (13:05 +0000)]
final version from nye

18 years agofixed up at start of party
ian [Sat, 31 Dec 2005 20:42:58 +0000 (20:42 +0000)]
fixed up at start of party

18 years agobetter speed variations
ian [Sat, 31 Dec 2005 19:07:40 +0000 (19:07 +0000)]
better speed variations

18 years agospeedanddirn varies
ian [Sat, 31 Dec 2005 19:03:12 +0000 (19:03 +0000)]
speedanddirn varies

18 years agofixes from nye debugging
ian [Sat, 31 Dec 2005 19:00:37 +0000 (19:00 +0000)]
fixes from nye debugging

18 years agocan display output from stopgap-controller
ian [Sat, 31 Dec 2005 19:00:18 +0000 (19:00 +0000)]
can display output from stopgap-controller

18 years agocan display!
ian [Sat, 31 Dec 2005 19:00:05 +0000 (19:00 +0000)]
can display!

18 years agoworks (although we do not know why 02-07 etc. in pm_detect seem to have to be backwards
ian [Sat, 31 Dec 2005 18:42:19 +0000 (18:42 +0000)]
works (although we do not know why 02-07 etc. in pm_detect seem to have to be backwards

18 years agoseems to work now
ian [Sat, 31 Dec 2005 18:29:42 +0000 (18:29 +0000)]
seems to work now

18 years agobefore copy with shorting crossover
ian [Sat, 31 Dec 2005 17:55:55 +0000 (17:55 +0000)]
before copy with shorting crossover

18 years agostopgap-controller produces insns for train
ian [Sat, 31 Dec 2005 13:12:26 +0000 (13:12 +0000)]
stopgap-controller produces insns for train

18 years agostopgap controller program
ian [Sat, 31 Dec 2005 04:40:49 +0000 (04:40 +0000)]
stopgap controller program

18 years agowatchdog turns off cdu as required
ian [Fri, 30 Dec 2005 18:11:45 +0000 (18:11 +0000)]
watchdog turns off cdu as required

18 years agowatchdog turns off cdu as required
ian [Fri, 30 Dec 2005 18:11:45 +0000 (18:11 +0000)]
watchdog turns off cdu as required

18 years agogive macro formal parameters globally unique names, urgh
ian [Fri, 30 Dec 2005 18:04:40 +0000 (18:04 +0000)]
give macro formal parameters globally unique names, urgh

18 years agodetection seems to work now, yay
ian [Fri, 30 Dec 2005 17:57:37 +0000 (17:57 +0000)]
detection seems to work now, yay

18 years agoavoid clashes between macro args and real variables (!)
ian [Fri, 30 Dec 2005 17:57:17 +0000 (17:57 +0000)]
avoid clashes between macro args and real variables (!)

18 years agofix swapping of B1 and B2 test/send bits!
ian [Fri, 30 Dec 2005 17:56:17 +0000 (17:56 +0000)]
fix swapping of B1 and B2 test/send bits!

18 years agodetection scanning seems to work
ian [Fri, 30 Dec 2005 14:44:03 +0000 (14:44 +0000)]
detection scanning seems to work

18 years agoremove some spurious debugging stuff
ian [Fri, 30 Dec 2005 14:42:10 +0000 (14:42 +0000)]
remove some spurious debugging stuff

18 years agobetter manipulation of the per-pic led
ian [Fri, 30 Dec 2005 14:41:10 +0000 (14:41 +0000)]
better manipulation of the per-pic led

18 years agowatchdog seems to work; fix up memory clearing too
ian [Fri, 30 Dec 2005 13:30:42 +0000 (13:30 +0000)]
watchdog seems to work; fix up memory clearing too

18 years agofix memory initialisation
ian [Fri, 30 Dec 2005 13:29:30 +0000 (13:29 +0000)]
fix memory initialisation

18 years agonew D macro for using debugbyte
ian [Fri, 30 Dec 2005 13:29:06 +0000 (13:29 +0000)]
new D macro for using debugbyte

18 years agodo not use nonexistent neg_fw insn
ian [Fri, 30 Dec 2005 13:06:56 +0000 (13:06 +0000)]
do not use nonexistent neg_fw insn

18 years agodo not claim to have nonexistent neg_fw insn(!)
ian [Fri, 30 Dec 2005 13:03:07 +0000 (13:03 +0000)]
do not claim to have nonexistent neg_fw insn(!)

18 years agofix comment for cmp_fw_ifne
ian [Fri, 30 Dec 2005 13:01:09 +0000 (13:01 +0000)]
fix comment for cmp_fw_ifne

18 years agomemory erase on master's startup
ian [Fri, 30 Dec 2005 12:15:40 +0000 (12:15 +0000)]
memory erase on master's startup

18 years agonew watchdog feature
ian [Fri, 30 Dec 2005 11:47:46 +0000 (11:47 +0000)]
new watchdog feature

18 years agoadd bstop command
ian [Fri, 30 Dec 2005 11:37:56 +0000 (11:37 +0000)]
add bstop command

18 years agostart scanning with board 1, not 2. trying to debug it still ...
ian [Fri, 30 Dec 2005 04:08:00 +0000 (04:08 +0000)]
start scanning with board 1, not 2.  trying to debug it still ...

18 years agoyet better handling of sudden panics vis-a-vis i2c on master
ian [Fri, 30 Dec 2005 04:06:45 +0000 (04:06 +0000)]
yet better handling of sudden panics vis-a-vis i2c on master

18 years agoactually initialise cdu (!)
ian [Fri, 30 Dec 2005 03:22:24 +0000 (03:22 +0000)]
actually initialise cdu (!)

18 years agoremove various xdebugs and associated debugging
ian [Fri, 30 Dec 2005 03:05:34 +0000 (03:05 +0000)]
remove various xdebugs and associated debugging

18 years agomove manipulation of flags_polarising into energy; debugging of this and of bugs...
ian [Fri, 30 Dec 2005 03:03:02 +0000 (03:03 +0000)]
move manipulation of flags_polarising into energy; debugging of this and of bugs found at same time

18 years agoactually reconsider who to write to if wslave is empty
ian [Fri, 30 Dec 2005 03:01:18 +0000 (03:01 +0000)]
actually reconsider who to write to if wslave is empty

18 years agoset TXIE in PIE not IPR or PIR(!) also get sense of flow control right
ian [Fri, 30 Dec 2005 03:00:10 +0000 (03:00 +0000)]
set TXIE in PIE not IPR or PIR(!)  also get sense of flow control right

18 years agoactually enable tick interrupt(!)
ian [Fri, 30 Dec 2005 02:59:21 +0000 (02:59 +0000)]
actually enable tick interrupt(!)

18 years agofix much braindamage surrounding mov_wf not setting flags and thus getting erroneous...
ian [Fri, 30 Dec 2005 01:49:44 +0000 (01:49 +0000)]
fix much braindamage surrounding mov_wf not setting flags and thus getting erroneous SN panics

18 years agoremove some xdebugs
ian [Fri, 30 Dec 2005 01:48:53 +0000 (01:48 +0000)]
remove some xdebugs

18 years agofixes from debugging
ian [Fri, 30 Dec 2005 01:48:38 +0000 (01:48 +0000)]
fixes from debugging

18 years agomake sure we do not answer Z to i2cmu_write_start when it's not ours, in case main...
ian [Fri, 30 Dec 2005 01:48:04 +0000 (01:48 +0000)]
make sure we do not answer Z to i2cmu_write_start when it's not ours, in case main program has just selected

18 years agosort code addresses too
ian [Fri, 30 Dec 2005 01:24:19 +0000 (01:24 +0000)]
sort code addresses too

18 years agofix totally bogus single-byte serial command handling; consequently rearrange section...
ian [Fri, 30 Dec 2005 00:34:55 +0000 (00:34 +0000)]
fix totally bogus single-byte serial command handling; consequently rearrange sections a bit; remove old dead strange table entries from serialrx_if_multibyte table

18 years agodisplay surrounding stuff like it says in the comment. now seems to work
ian [Thu, 29 Dec 2005 23:50:42 +0000 (23:50 +0000)]
display surrounding stuff like it says in the comment.  now seems to work

18 years agofinal fixes for "more" bit inversion
ian [Thu, 29 Dec 2005 23:50:24 +0000 (23:50 +0000)]
final fixes for "more" bit inversion

18 years agonicer default behaviour
ian [Thu, 29 Dec 2005 23:32:59 +0000 (23:32 +0000)]
nicer default behaviour

18 years agoappears to decode from t.dat
ian [Thu, 29 Dec 2005 23:30:26 +0000 (23:30 +0000)]
appears to decode from t.dat

18 years agoseparate capture from display; 58us ticks in display
ian [Thu, 29 Dec 2005 23:13:50 +0000 (23:13 +0000)]
separate capture from display; 58us ticks in display

18 years agocopied from parport/nmra-decode.pl, preparatory to converting to parse sox output
ian [Thu, 29 Dec 2005 23:02:58 +0000 (23:02 +0000)]
copied from parport/nmra-decode.pl, preparatory to converting to parse sox output

18 years agoinvert sense of "more command" bit
ian [Thu, 29 Dec 2005 20:47:11 +0000 (20:47 +0000)]
invert sense of "more command" bit

18 years agodisplay nmra waveforms
ian [Thu, 29 Dec 2005 20:46:46 +0000 (20:46 +0000)]
display nmra waveforms

18 years agoget nmra more right
ian [Thu, 29 Dec 2005 20:46:39 +0000 (20:46 +0000)]
get nmra more right

18 years agoinvert sense of "more command" bit
ian [Thu, 29 Dec 2005 18:20:57 +0000 (18:20 +0000)]
invert sense of "more command" bit

18 years agopoints inability to work is expected
ian [Thu, 29 Dec 2005 18:13:37 +0000 (18:13 +0000)]
points inability to work is expected

18 years agobetter handshaking during startup of crashread
ian [Thu, 29 Dec 2005 18:12:09 +0000 (18:12 +0000)]
better handshaking during startup of crashread

18 years agofix up slave crashread (made buggy when master impl'd)
ian [Thu, 29 Dec 2005 18:11:52 +0000 (18:11 +0000)]
fix up slave crashread (made buggy when master impl'd)

18 years agotransmit more 00s
ian [Thu, 29 Dec 2005 17:37:56 +0000 (17:37 +0000)]
transmit more 00s

18 years agoadd a blank line to prettyfi
ian [Thu, 29 Dec 2005 17:06:30 +0000 (17:06 +0000)]
add a blank line to prettyfi

18 years agoallow an extra 2cy interrupt latency
ian [Thu, 29 Dec 2005 17:05:10 +0000 (17:05 +0000)]
allow an extra 2cy interrupt latency

18 years agouse NMRA timing parameters from program.clocks
ian [Thu, 29 Dec 2005 17:04:58 +0000 (17:04 +0000)]
use NMRA timing parameters from program.clocks

18 years agodo not compile nmra-stream as it does not cope with 32MHz clock
ian [Thu, 29 Dec 2005 17:04:26 +0000 (17:04 +0000)]
do not compile nmra-stream as it does not cope with 32MHz clock

18 years agosupport +/-<n>cy adjustments; allow trailing #- or ;-comments to have preceding white...
ian [Thu, 29 Dec 2005 17:03:26 +0000 (17:03 +0000)]
support +/-<n>cy adjustments; allow trailing #- or ;-comments to have preceding whitespace; support T0ov8

18 years agofound a problem with crashread
ian [Thu, 29 Dec 2005 16:30:37 +0000 (16:30 +0000)]
found a problem with crashread

18 years agonew make-externs automatically generates " extern whatever" from "whatever @"...
ian [Thu, 29 Dec 2005 14:01:18 +0000 (14:01 +0000)]
new make-externs automatically generates "  extern whatever"  from  "whatever @"; abolishes lots of silly .fin files

18 years agosupport 32MHz clock; do morse clock with make-clocks rather than clockvaries.inc
ian [Thu, 29 Dec 2005 13:30:39 +0000 (13:30 +0000)]
support 32MHz clock; do morse clock with make-clocks rather than clockvaries.inc

18 years agofix section headings
ian [Thu, 29 Dec 2005 13:25:21 +0000 (13:25 +0000)]
fix section headings

18 years agoremove led-flash, panic, reply-serial from build (they do not support 32MHz clock...
ian [Thu, 29 Dec 2005 13:24:56 +0000 (13:24 +0000)]
remove led-flash, panic, reply-serial from build (they do not support 32MHz clock and it would be a little tedious to add

18 years agofound a bug in points
ian [Thu, 29 Dec 2005 03:45:28 +0000 (03:45 +0000)]
found a bug in points

18 years agofix fundamentally incorrect algorithms and make it work as designed; adjust Stopping...
ian [Thu, 29 Dec 2005 03:43:42 +0000 (03:43 +0000)]
fix fundamentally incorrect algorithms and make it work as designed; adjust Stopping flash rate to 10Hz

18 years agosome use of xdebug to help spurious interrupt chasing
ian [Thu, 29 Dec 2005 03:42:40 +0000 (03:42 +0000)]
some use of xdebug to help spurious interrupt chasing

18 years agodo not spuriously mess with User Fault pin
ian [Thu, 29 Dec 2005 03:41:57 +0000 (03:41 +0000)]
do not spuriously mess with User Fault pin

18 years agodo not spuriously mess with User Fault pin instead of RC3 and RC4 (I2C clock and...
ian [Thu, 29 Dec 2005 03:41:39 +0000 (03:41 +0000)]
do not spuriously mess with User Fault pin instead of RC3 and RC4 (I2C clock and data)

18 years agonew pin_vhl macro
ian [Thu, 29 Dec 2005 03:40:22 +0000 (03:40 +0000)]
new pin_vhl macro

18 years agosend two zero bytes in case we were mid-message
ian [Thu, 29 Dec 2005 02:19:14 +0000 (02:19 +0000)]
send two zero bytes in case we were mid-message

18 years agofix two bit-sense bugs
ian [Thu, 29 Dec 2005 02:18:47 +0000 (02:18 +0000)]
fix two bit-sense bugs

18 years agofixed some bugs; observed others
ian [Thu, 29 Dec 2005 02:17:19 +0000 (02:17 +0000)]
fixed some bugs; observed others

18 years agofix totally broken serial FC and RBIF handling
ian [Thu, 29 Dec 2005 02:01:20 +0000 (02:01 +0000)]
fix totally broken serial FC and RBIF handling

18 years agotemporarily nobble scanning
ian [Thu, 29 Dec 2005 02:00:44 +0000 (02:00 +0000)]
temporarily nobble scanning

18 years agoset up outgoing rs232 flow control
ian [Thu, 29 Dec 2005 01:28:24 +0000 (01:28 +0000)]
set up outgoing rs232 flow control

18 years agoreserve /^ [^ ;]/ for statements inserted for debugging purposes
ian [Thu, 29 Dec 2005 00:41:03 +0000 (00:41 +0000)]
reserve /^ [^ ;]/ for statements inserted for debugging purposes

18 years agoget rid of panic morse_TI1
ian [Thu, 29 Dec 2005 00:25:11 +0000 (00:25 +0000)]
get rid of panic morse_TI1

18 years agofix initialisation of reversers polarity_cmds_section
ian [Wed, 28 Dec 2005 23:53:48 +0000 (23:53 +0000)]
fix initialisation of reversers polarity_cmds_section

18 years agouse user fault led to show serial activity during panic
ian [Wed, 28 Dec 2005 23:53:21 +0000 (23:53 +0000)]
use user fault led to show serial activity during panic

18 years agoinitialise cslot correctly
ian [Wed, 28 Dec 2005 23:53:03 +0000 (23:53 +0000)]
initialise cslot correctly

18 years agomake crashread of pic0 work
ian [Wed, 28 Dec 2005 23:02:03 +0000 (23:02 +0000)]
make crashread of pic0 work

18 years agonew "bessar" target for copying map for convenient use by crashread
ian [Wed, 28 Dec 2005 23:01:37 +0000 (23:01 +0000)]
new "bessar" target for copying map for convenient use by crashread

18 years agoignore autogenerated disassemblies
ian [Wed, 28 Dec 2005 23:01:12 +0000 (23:01 +0000)]
ignore autogenerated disassemblies

18 years agotrick linker into slightly more optimal placement
ian [Wed, 28 Dec 2005 03:37:41 +0000 (03:37 +0000)]
trick linker into slightly more optimal placement

18 years agoremove _section from a section name
ian [Wed, 28 Dec 2005 03:17:07 +0000 (03:17 +0000)]
remove _section from a section name

18 years agoarrange files (and hence udata_acs) more pleasingly
ian [Wed, 28 Dec 2005 03:13:08 +0000 (03:13 +0000)]
arrange files (and hence udata_acs) more pleasingly

18 years agotidy up morse; no more U* (unimplemented)
ian [Wed, 28 Dec 2005 03:08:15 +0000 (03:08 +0000)]
tidy up morse; no more U* (unimplemented)

18 years agomake it link by putting all of panic.asm in pan_ section
ian [Wed, 28 Dec 2005 03:05:34 +0000 (03:05 +0000)]
make it link by putting all of panic.asm in pan_ section

18 years agomake new energy code compile
ian [Wed, 28 Dec 2005 03:03:52 +0000 (03:03 +0000)]
make new energy code compile

18 years agoinclude *+program.disasm in targets
ian [Wed, 28 Dec 2005 03:03:33 +0000 (03:03 +0000)]
include *+program.disasm in targets

18 years agoFinished faults and power in energy.asm (but not yet really compiled); Fault interrup...
ian [Wed, 28 Dec 2005 02:57:59 +0000 (02:57 +0000)]
Finished faults and power in energy.asm (but not yet really compiled); Fault interrupt is now low-priority (which should be fine, since circuitry will handle it for 10ms or so); Document interrupt priorities in common.inc; New pin_znz macro in common.inc