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

18 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

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

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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

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

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

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

18 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

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

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

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

18 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

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

18 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

18 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

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

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

18 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

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

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

18 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

18 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!

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

18 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

18 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

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

18 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

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

18 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

18 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

18 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!

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

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

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

18 years agoled_green on writing
ian [Mon, 19 Dec 2005 15:15:07 +0000 (15:15 +0000)]
led_green on writing

18 years agoobserved a bug with detect
ian [Mon, 19 Dec 2005 15:14:56 +0000 (15:14 +0000)]
observed a bug with detect

18 years agot.%.crash target
ian [Mon, 19 Dec 2005 15:14:46 +0000 (15:14 +0000)]
t.%.crash target

18 years agomorse for printing
ian [Mon, 19 Dec 2005 13:52:08 +0000 (13:52 +0000)]
morse for printing

18 years agocomputing clocks in perl seems to work
ian [Mon, 19 Dec 2005 12:09:09 +0000 (12:09 +0000)]
computing clocks in perl seems to work

18 years agocompute cycles etc. in perl, not asm ifdefs (wip)
ian [Mon, 19 Dec 2005 11:58:38 +0000 (11:58 +0000)]
compute cycles etc. in perl, not asm ifdefs (wip)