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

18 years agoi2cm_write stuff; fixes to needwrite etc.
ian [Sun, 25 Dec 2005 18:08:45 +0000 (18:08 +0000)]
i2cm_write stuff; fixes to needwrite etc.

18 years agoserialtxbuf_init
ian [Sun, 25 Dec 2005 17:06:20 +0000 (17:06 +0000)]
serialtxbuf_init

18 years agotransmit management - initial cut
ian [Sun, 25 Dec 2005 16:56:56 +0000 (16:56 +0000)]
transmit management - initial cut

18 years agoabolish lasttelldone in favour of acknmra
ian [Sun, 25 Dec 2005 16:56:39 +0000 (16:56 +0000)]
abolish lasttelldone in favour of acknmra

18 years agosay what fromserial = lasttelldone means; also, generally tabify
ian [Sun, 25 Dec 2005 14:09:02 +0000 (14:09 +0000)]
say what fromserial = lasttelldone means; also, generally tabify

18 years agocall polarity_master_init
ian [Sun, 25 Dec 2005 13:04:58 +0000 (13:04 +0000)]
call polarity_master_init

18 years agogetwritebyte_polarity, etc.
ian [Sun, 25 Dec 2005 13:04:49 +0000 (13:04 +0000)]
getwritebyte_polarity, etc.

18 years agoi2cmu_done and i2c_arrange_something initial implementation
ian [Sun, 25 Dec 2005 13:03:27 +0000 (13:03 +0000)]
i2cmu_done and i2c_arrange_something initial implementation

18 years agolasttelldone documented but not implemented
ian [Sun, 25 Dec 2005 13:03:06 +0000 (13:03 +0000)]
lasttelldone documented but not implemented

18 years agoneed to init mascan
ian [Sun, 25 Dec 2005 13:02:51 +0000 (13:02 +0000)]
need to init mascan

18 years agotyop
ian [Sat, 24 Dec 2005 11:34:23 +0000 (11:34 +0000)]
tyop

18 years agomangle i2clib into two copies, one for panic starting pan_...
ian [Fri, 23 Dec 2005 02:56:24 +0000 (02:56 +0000)]
mangle i2clib into two copies, one for panic starting pan_...

18 years agoget rid of spurious clock equ 0
ian [Fri, 23 Dec 2005 02:05:16 +0000 (02:05 +0000)]
get rid of spurious clock equ 0

18 years agorename polarities_commanded_buffer -> polarity_cmds
ian [Fri, 23 Dec 2005 01:55:24 +0000 (01:55 +0000)]
rename polarities_commanded_buffer -> polarity_cmds

18 years agomake sure PCLAT* is updated properly
ian [Fri, 23 Dec 2005 01:55:09 +0000 (01:55 +0000)]
make sure PCLAT* is updated properly

18 years agogo back to polarities_commanded_buffer; starting on needwrite_....
ian [Fri, 23 Dec 2005 01:42:22 +0000 (01:42 +0000)]
go back to polarities_commanded_buffer; starting on needwrite_....

18 years agoreverse.asm uses slave_table instead of its own table; new file energy.asm compiles...
ian [Fri, 23 Dec 2005 01:04:42 +0000 (01:04 +0000)]
reverse.asm uses slave_table instead of its own table; new file energy.asm compiles but is just stubs

18 years agoimprove formatting a bit
ian [Fri, 23 Dec 2005 01:03:40 +0000 (01:03 +0000)]
improve formatting a bit

18 years agorename power -> energy for improved completion
ian [Fri, 23 Dec 2005 00:55:33 +0000 (00:55 +0000)]
rename power -> energy for improved completion

18 years agomove slavetable to variables.asm
ian [Fri, 23 Dec 2005 00:29:26 +0000 (00:29 +0000)]
move slavetable to variables.asm

18 years agonear_... section name improved
ian [Fri, 23 Dec 2005 00:18:06 +0000 (00:18 +0000)]
near_... section name improved

18 years agoshuffle sections and files so it compiles without out of range branches
ian [Fri, 23 Dec 2005 00:08:22 +0000 (00:08 +0000)]
shuffle sections and files so it compiles without out of range branches

18 years agoprovide annotated disassembly target
ian [Fri, 23 Dec 2005 00:07:57 +0000 (00:07 +0000)]
provide annotated disassembly target

18 years agomascan compilation wip
ian [Thu, 22 Dec 2005 23:44:06 +0000 (23:44 +0000)]
mascan compilation wip

18 years agoredone bit-fiddling
ian [Thu, 22 Dec 2005 23:29:31 +0000 (23:29 +0000)]
redone bit-fiddling

18 years agoslight optimisation; improvement of doc comments
ian [Thu, 22 Dec 2005 23:29:17 +0000 (23:29 +0000)]
slight optimisation; improvement of doc comments

18 years agonew general temporary "v"
ian [Thu, 22 Dec 2005 23:28:56 +0000 (23:28 +0000)]
new general temporary "v"

18 years agoworking on making it compile
ian [Thu, 22 Dec 2005 13:36:00 +0000 (13:36 +0000)]
working on making it compile

18 years agoi2c read events supposedly done; now try to compile
ian [Thu, 22 Dec 2005 13:22:46 +0000 (13:22 +0000)]
i2c read events supposedly done; now try to compile

18 years agoworking on i2c driving
ian [Thu, 22 Dec 2005 00:58:17 +0000 (00:58 +0000)]
working on i2c driving

18 years agono replies to POLARISED
ian [Thu, 22 Dec 2005 00:57:57 +0000 (00:57 +0000)]
no replies to POLARISED

18 years agonew general variable u; fix typo
ian [Thu, 22 Dec 2005 00:57:43 +0000 (00:57 +0000)]
new general variable u; fix typo

18 years agoi2cmu_read_got_byte - main scanning loop - wip
ian [Wed, 21 Dec 2005 15:44:18 +0000 (15:44 +0000)]
i2cmu_read_got_byte - main scanning loop - wip

18 years agomake it build, so far
ian [Wed, 21 Dec 2005 15:21:50 +0000 (15:21 +0000)]
make it build, so far

18 years agofix bogus buffer_section udata
ian [Wed, 21 Dec 2005 15:21:40 +0000 (15:21 +0000)]
fix bogus buffer_section udata

18 years agonmra-stream poke host about buffers
ian [Wed, 21 Dec 2005 15:11:57 +0000 (15:11 +0000)]
nmra-stream poke host about buffers

18 years agowip making main program compile
ian [Wed, 21 Dec 2005 15:08:22 +0000 (15:08 +0000)]
wip making main program compile

18 years agoget rid of {master,slave}.{asm,inc}; disable test-sofar; work on sorting out master...
ian [Wed, 21 Dec 2005 14:06:51 +0000 (14:06 +0000)]
get rid of {master,slave}.{asm,inc}; disable test-sofar; work on sorting out master program

18 years agomov_ff WREG -> mov_fw
ian [Wed, 21 Dec 2005 13:51:04 +0000 (13:51 +0000)]
mov_ff WREG -> mov_fw

18 years agocall -> rcall, twice
ian [Wed, 21 Dec 2005 13:49:37 +0000 (13:49 +0000)]
call -> rcall, twice

18 years agoswitch nmra timer ISR to use FSR2 and reserve FSR2 for it
ian [Wed, 21 Dec 2005 13:49:16 +0000 (13:49 +0000)]
switch nmra timer ISR to use FSR2 and reserve FSR2 for it

18 years agoturn one mov_ff to a mov_fw
ian [Wed, 21 Dec 2005 13:39:59 +0000 (13:39 +0000)]
turn one mov_ff to a mov_fw

18 years agosave an insn in a conditional bit-copy
ian [Wed, 21 Dec 2005 13:36:28 +0000 (13:36 +0000)]
save an insn in a conditional bit-copy