chiark / gitweb /
trains.git
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

18 years agoDo not require NMRA buffers to be cleared by ON; add hex byte value annotations to...
ian [Wed, 28 Dec 2005 02:55:59 +0000 (02:55 +0000)]
Do not require NMRA buffers to be cleared by ON; add hex byte value annotations to README.protocol

18 years agonew pinlat_if[hl] macros
ian [Wed, 28 Dec 2005 00:51:30 +0000 (00:51 +0000)]
new pinlat_if[hl] macros

18 years agocorrect bogus fill value in picno2revmasks
ian [Tue, 27 Dec 2005 23:23:14 +0000 (23:23 +0000)]
correct bogus fill value in picno2revmasks

18 years agonew tickdiv for two speeds of tick; working on energy - polarising finished but not...
ian [Tue, 27 Dec 2005 17:15:35 +0000 (17:15 +0000)]
new tickdiv for two speeds of tick; working on energy - polarising finished but not compiled; fault just sketched

18 years agokeep +panics
ian [Tue, 27 Dec 2005 01:08:39 +0000 (01:08 +0000)]
keep +panics

18 years agoimproved clean
ian [Tue, 27 Dec 2005 01:07:41 +0000 (01:07 +0000)]
improved clean

18 years agomanage CDU fullness separately from point firing
ian [Tue, 27 Dec 2005 01:04:35 +0000 (01:04 +0000)]
manage CDU fullness separately from point firing

18 years agocdu implementation, and it compiles
ian [Tue, 27 Dec 2005 00:45:50 +0000 (00:45 +0000)]
cdu implementation, and it compiles

18 years agofix sections a bit
ian [Tue, 27 Dec 2005 00:44:21 +0000 (00:44 +0000)]
fix sections a bit

18 years agotick 1ms -> 10ms again
ian [Tue, 27 Dec 2005 00:12:39 +0000 (00:12 +0000)]
tick 1ms -> 10ms again

18 years agotick 10ms -> 1ms
ian [Tue, 27 Dec 2005 00:09:21 +0000 (00:09 +0000)]
tick 10ms -> 1ms

18 years agofix comment furniture
ian [Tue, 27 Dec 2005 00:07:13 +0000 (00:07 +0000)]
fix comment furniture

18 years agoremove unused morse msgs
ian [Tue, 27 Dec 2005 00:03:03 +0000 (00:03 +0000)]
remove unused morse msgs

18 years agoremove obsolete test program
ian [Mon, 26 Dec 2005 23:59:36 +0000 (23:59 +0000)]
remove obsolete test program

18 years agoinit polarity master table
ian [Mon, 26 Dec 2005 23:58:03 +0000 (23:58 +0000)]
init polarity master table

18 years agocommand_crashed works; no more panic_UC; rearrange sections to make it compile
ian [Mon, 26 Dec 2005 23:43:50 +0000 (23:43 +0000)]
command_crashed works; no more panic_UC; rearrange sections to make it compile

18 years agocheck that point is on a board with points
ian [Mon, 26 Dec 2005 23:34:09 +0000 (23:34 +0000)]
check that point is on a board with points

18 years agorename buffer labels to prettify crash dump
ian [Mon, 26 Dec 2005 22:52:26 +0000 (22:52 +0000)]
rename buffer labels to prettify crash dump

18 years agoUCP done
ian [Mon, 26 Dec 2005 22:38:10 +0000 (22:38 +0000)]
UCP done

18 years agopanic readout handling for master
ian [Mon, 26 Dec 2005 22:34:58 +0000 (22:34 +0000)]
panic readout handling for master

18 years agonew ACKSERERR
ian [Mon, 26 Dec 2005 22:34:39 +0000 (22:34 +0000)]
new ACKSERERR

18 years agochanged NMRAFULL to NMRADONE, and abolished POLARISED, in line with implementation
ian [Mon, 26 Dec 2005 22:33:45 +0000 (22:33 +0000)]
changed NMRAFULL to NMRADONE, and abolished POLARISED, in line with implementation

18 years agosplit syncwrite into syncwrite and syncwritehex
ian [Mon, 26 Dec 2005 22:32:47 +0000 (22:32 +0000)]
split syncwrite into syncwrite and syncwritehex

18 years agosplit syncwrite into syncwrite and syncwritehex
ian [Mon, 26 Dec 2005 22:29:35 +0000 (22:29 +0000)]
split syncwrite into syncwrite and syncwritehex

18 years agouse pan_near_i2csu section
ian [Mon, 26 Dec 2005 18:30:20 +0000 (18:30 +0000)]
use pan_near_i2csu section

18 years agofix an out of range branch
ian [Mon, 26 Dec 2005 13:07:07 +0000 (13:07 +0000)]
fix an out of range branch

18 years agomake it compile again
ian [Mon, 26 Dec 2005 13:02:27 +0000 (13:02 +0000)]
make it compile again

18 years agoadd a missing extern
ian [Mon, 26 Dec 2005 13:00:14 +0000 (13:00 +0000)]
add a missing extern

18 years agoget rid of some unused morse_U*
ian [Mon, 26 Dec 2005 12:59:51 +0000 (12:59 +0000)]
get rid of some unused morse_U*

18 years agovarious variable initialisations
ian [Mon, 26 Dec 2005 12:57:56 +0000 (12:57 +0000)]
various variable initialisations

18 years agoincoming point commands and outgoing to slave; ping commands
ian [Mon, 26 Dec 2005 00:10:49 +0000 (00:10 +0000)]
incoming point commands and outgoing to slave; ping commands

18 years agoadd tick.asm and compile it (but still does not link)
ian [Sun, 25 Dec 2005 23:30:32 +0000 (23:30 +0000)]
add tick.asm and compile it (but still does not link)

18 years agodelete old design comment from ceb for detect
ian [Sun, 25 Dec 2005 23:26:45 +0000 (23:26 +0000)]
delete old design comment from ceb for detect

18 years agoremove obsolete version of incoming command dispatch table
ian [Sun, 25 Dec 2005 23:25:43 +0000 (23:25 +0000)]
remove obsolete version of incoming command dispatch table

18 years agomake it compile again (but not yet link)
ian [Sun, 25 Dec 2005 23:24:24 +0000 (23:24 +0000)]
make it compile again (but not yet link)

18 years agodetection on master board
ian [Sun, 25 Dec 2005 23:14:03 +0000 (23:14 +0000)]
detection on master board

18 years agonew load_tblptr macro
ian [Sun, 25 Dec 2005 23:13:40 +0000 (23:13 +0000)]
new load_tblptr macro

18 years agorestore misc flags just in case
ian [Sun, 25 Dec 2005 18:10:36 +0000 (18:10 +0000)]
restore misc flags just in case

18 years agoremove misc flags
ian [Sun, 25 Dec 2005 18:10:28 +0000 (18:10 +0000)]
remove misc flags

18 years agofix comment for needwrite_polarity
ian [Sun, 25 Dec 2005 18:09:41 +0000 (18:09 +0000)]
fix comment for needwrite_polarity