chiark / gitweb /
trains.git
19 years agouse pan_near_i2csu section
ian [Mon, 26 Dec 2005 18:30:20 +0000 (18:30 +0000)]
use pan_near_i2csu section

19 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

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

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

19 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*

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

19 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

19 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)

19 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

19 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

19 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)

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

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

19 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

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

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

19 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.

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

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

19 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

19 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

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

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

19 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

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

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

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

19 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_...

19 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

19 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

19 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

19 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_....

19 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

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

19 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

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

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

19 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

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

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

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

19 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

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

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

19 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

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

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

19 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

19 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

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

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

19 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

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

19 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

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

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

19 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

19 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

19 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

19 years agoremove a bra to immediately following code
ian [Wed, 21 Dec 2005 13:34:57 +0000 (13:34 +0000)]
remove a bra to immediately following code

19 years agooptimise various gotos into bras
ian [Wed, 21 Dec 2005 13:26:19 +0000 (13:26 +0000)]
optimise various gotos into bras

19 years agoglue into ISR High - wip
ian [Wed, 21 Dec 2005 13:23:32 +0000 (13:23 +0000)]
glue into ISR High - wip

19 years agocheck for receiving too much nmra data
ian [Wed, 21 Dec 2005 13:18:46 +0000 (13:18 +0000)]
check for receiving too much nmra data

19 years agomake fromserial update to go to next buffer interrupt-safe; have only one invocation...
ian [Wed, 21 Dec 2005 12:45:57 +0000 (12:45 +0000)]
make fromserial update to go to next buffer interrupt-safe; have only one invocation of intrl_handled_nostack

19 years agodefine that serialrx_generalmsg may trash the message bytes
ian [Wed, 21 Dec 2005 12:45:17 +0000 (12:45 +0000)]
define that serialrx_generalmsg may trash the message bytes

19 years agoabout updating fromserial only in serial rx isr
ian [Wed, 21 Dec 2005 12:30:32 +0000 (12:30 +0000)]
about updating fromserial only in serial rx isr

19 years agodo not unset RX interrupt; that happens automatically
ian [Wed, 21 Dec 2005 12:23:04 +0000 (12:23 +0000)]
do not unset RX interrupt; that happens automatically

19 years agouse panic.asm's panic; separate FERR and OERR panics
ian [Wed, 21 Dec 2005 12:20:59 +0000 (12:20 +0000)]
use panic.asm's panic; separate FERR and OERR panics

19 years agoactually reserve (with "res") nmra buffer; check for incoming message length overrun
ian [Tue, 20 Dec 2005 23:18:06 +0000 (23:18 +0000)]
actually reserve (with "res") nmra buffer; check for incoming message length overrun

19 years agosome comments about the buffer management
ian [Tue, 20 Dec 2005 23:17:13 +0000 (23:17 +0000)]
some comments about the buffer management

19 years agoundo mistaken changes of equ's to res's (revert some of r1.32->r1.33)
ian [Tue, 20 Dec 2005 22:59:16 +0000 (22:59 +0000)]
undo mistaken changes of equ's to res's (revert some of r1.32->r1.33)

19 years agocut down master
ian [Tue, 20 Dec 2005 22:57:35 +0000 (22:57 +0000)]
cut down master

19 years agodo not set bsr
ian [Tue, 20 Dec 2005 22:48:12 +0000 (22:48 +0000)]
do not set bsr

19 years agoserial_interrupts_init abolished; now part of serial_init
ian [Tue, 20 Dec 2005 22:47:27 +0000 (22:47 +0000)]
serial_interrupts_init abolished; now part of serial_init

19 years agoPSPMODE is off by default
ian [Tue, 20 Dec 2005 22:46:45 +0000 (22:46 +0000)]
PSPMODE is off by default

19 years agonice disassembly can include SFRs
ian [Tue, 20 Dec 2005 22:29:06 +0000 (22:29 +0000)]
nice disassembly can include SFRs

19 years agorun through to-insn-aliases
ian [Tue, 20 Dec 2005 20:36:37 +0000 (20:36 +0000)]
run through to-insn-aliases

19 years agobefore add symbol map to to-insn-aliases
ian [Tue, 20 Dec 2005 20:36:37 +0000 (20:36 +0000)]
before add symbol map to to-insn-aliases

19 years agoto-insn-aliases before testing
ian [Tue, 20 Dec 2005 20:14:49 +0000 (20:14 +0000)]
to-insn-aliases before testing

19 years agoto-insn-aliases wip; before redo from aliases
ian [Tue, 20 Dec 2005 19:27:24 +0000 (19:27 +0000)]
to-insn-aliases wip; before redo from aliases

19 years agoallow i2cm_write_start in Reading-Wait; initial cut
ian [Tue, 20 Dec 2005 18:51:44 +0000 (18:51 +0000)]
allow i2cm_write_start in Reading-Wait; initial cut

19 years agotimer2 ticker wip
ian [Tue, 20 Dec 2005 18:08:50 +0000 (18:08 +0000)]
timer2 ticker wip

19 years agono tick on slave
ian [Tue, 20 Dec 2005 16:45:41 +0000 (16:45 +0000)]
no tick on slave

19 years agocheck message_buffer overflow; remove a bit of stale morse
ian [Tue, 20 Dec 2005 16:35:58 +0000 (16:35 +0000)]
check message_buffer overflow; remove a bit of stale morse

19 years agopoints 10ms everywhere
ian [Tue, 20 Dec 2005 16:14:22 +0000 (16:14 +0000)]
points 10ms everywhere

19 years agoticks wip
ian [Tue, 20 Dec 2005 16:14:12 +0000 (16:14 +0000)]
ticks wip

19 years agopoints should go at 10ms, calibrated
ian [Tue, 20 Dec 2005 15:52:18 +0000 (15:52 +0000)]
points should go at 10ms, calibrated

19 years agosupport timer2; get timer[013] calculations right!
ian [Tue, 20 Dec 2005 15:15:58 +0000 (15:15 +0000)]
support timer2; get timer[013] calculations right!

19 years agodisable timer0 on slave
ian [Tue, 20 Dec 2005 15:15:06 +0000 (15:15 +0000)]
disable timer0 on slave

19 years agomajor overhaul of i2c slave to not watch for end of transactions
ian [Tue, 20 Dec 2005 14:10:29 +0000 (14:10 +0000)]
major overhaul of i2c slave to not watch for end of transactions

19 years agomake points work; timings are odd; need new 10ms beat
ian [Tue, 20 Dec 2005 14:08:26 +0000 (14:08 +0000)]
make points work; timings are odd; need new 10ms beat

19 years agoclean up clocks.in
ian [Tue, 20 Dec 2005 14:07:43 +0000 (14:07 +0000)]
clean up clocks.in

19 years agoreset FSR2 to start of outbuf when we've set it up, so that we're not automatically...
ian [Tue, 20 Dec 2005 01:07:12 +0000 (01:07 +0000)]
reset FSR2 to start of outbuf when we've set it up, so that we're not automatically at end of message; do not loop copying messages to outbuf if buf0<7> is clear

19 years agopoint setting attempts
ian [Mon, 19 Dec 2005 19:14:30 +0000 (19:14 +0000)]
point setting attempts

19 years agoisr register use fixes (particularly for <foo>_local_do, which have strange calling...
ian [Mon, 19 Dec 2005 19:04:51 +0000 (19:04 +0000)]
isr register use fixes (particularly for <foo>_local_do, which have strange calling convention; fixed points so we think they might work

19 years agoget rid of old, broken, commented-out SSPEN faff during panic
ian [Mon, 19 Dec 2005 17:21:26 +0000 (17:21 +0000)]
get rid of old, broken, commented-out SSPEN faff during panic

19 years agoreverse on slave tested and works!
ian [Mon, 19 Dec 2005 15:21:15 +0000 (15:21 +0000)]
reverse on slave tested and works!

19 years agoremove debugging code
ian [Mon, 19 Dec 2005 15:16:36 +0000 (15:16 +0000)]
remove debugging code

19 years agofixed bugs now tested ok
ian [Mon, 19 Dec 2005 15:15:58 +0000 (15:15 +0000)]
fixed bugs now tested ok

19 years agounattended timeout fixed up
ian [Mon, 19 Dec 2005 15:15:42 +0000 (15:15 +0000)]
unattended timeout fixed up