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

18 years agoworking on master program, serial despatch table, etc.; make master.asm compile to...
ian [Mon, 19 Dec 2005 11:50:47 +0000 (11:50 +0000)]
working on master program, serial despatch table, etc.; make asm compile to .o (but not tie it in yet)

18 years agoprovide externs for command_<foo>
ian [Mon, 19 Dec 2005 11:48:56 +0000 (11:48 +0000)]
provide externs for command_<foo>

18 years agodocument PCLAT*
ian [Mon, 19 Dec 2005 11:48:12 +0000 (11:48 +0000)]
document PCLAT*

18 years ago<foo>_master_do -> command_<foo>
ian [Mon, 19 Dec 2005 11:47:45 +0000 (11:47 +0000)]
<foo>_master_do -> command_<foo>

18 years agoarrange to call serialrx_generalmsg at the right point
ian [Mon, 19 Dec 2005 11:47:05 +0000 (11:47 +0000)]
arrange to call serialrx_generalmsg at the right point

18 years agouse timer3 initialisation values from make-clocks
ian [Mon, 19 Dec 2005 02:47:53 +0000 (02:47 +0000)]
use timer3 initialisation values from make-clocks

18 years agoinclude program+clocks, made with make-clocks
ian [Mon, 19 Dec 2005 02:47:31 +0000 (02:47 +0000)]
include program+clocks, made with make-clocks

18 years agonew make-clocks program and some initial work for it
ian [Mon, 19 Dec 2005 02:46:57 +0000 (02:46 +0000)]
new make-clocks program and some initial work for it

18 years agoremove some bogus comments
ian [Mon, 19 Dec 2005 01:03:33 +0000 (01:03 +0000)]
remove some bogus comments

18 years agofixme re fsr1 and isr saving etc.
ian [Mon, 19 Dec 2005 00:54:28 +0000 (00:54 +0000)]
fixme re fsr1 and isr saving etc.

18 years agohandle slave writes, and tidy morse up a bit
ian [Mon, 19 Dec 2005 00:53:49 +0000 (00:53 +0000)]
handle slave writes, and tidy morse up a bit

18 years agohandle slave writes
ian [Mon, 19 Dec 2005 00:53:14 +0000 (00:53 +0000)]
handle slave writes

18 years agodocument crashread switch
ian [Mon, 19 Dec 2005 00:52:55 +0000 (00:52 +0000)]
document crashread switch

18 years agoignore t
ian [Sun, 18 Dec 2005 19:50:57 +0000 (19:50 +0000)]
ignore t

18 years agotest-sofar supports crashread protocol
ian [Sun, 18 Dec 2005 19:50:27 +0000 (19:50 +0000)]
test-sofar supports crashread protocol

18 years agoget sense of board type right
ian [Sun, 18 Dec 2005 19:48:15 +0000 (19:48 +0000)]
get sense of board type right

18 years agoseems to work; go further through
ian [Sun, 18 Dec 2005 19:44:13 +0000 (19:44 +0000)]
seems to work; go further through

18 years agoprovide entrypoint for updating FSR1 panic readout pointer
ian [Sun, 18 Dec 2005 19:43:24 +0000 (19:43 +0000)]
provide entrypoint for updating FSR1 panic readout pointer

18 years agodebugged point initialisation
ian [Sun, 18 Dec 2005 18:50:42 +0000 (18:50 +0000)]
debugged point initialisation

18 years agomake point init work; change maxfoo to maxfoos
ian [Sun, 18 Dec 2005 18:50:08 +0000 (18:50 +0000)]
make point init work; change maxfoo to maxfoos

18 years agonew xdebug area for general junk
ian [Sun, 18 Dec 2005 18:49:36 +0000 (18:49 +0000)]
new xdebug area for general junk

18 years agobigger inter-letter gap
ian [Sun, 18 Dec 2005 18:48:39 +0000 (18:48 +0000)]
bigger inter-letter gap

18 years agodocument nature of PT0
ian [Sun, 18 Dec 2005 18:48:28 +0000 (18:48 +0000)]
document nature of PT0

18 years agoignore t.*
ian [Sun, 18 Dec 2005 18:48:15 +0000 (18:48 +0000)]
ignore t.*

18 years agonew low-priority interrupt arrangements
ian [Sun, 18 Dec 2005 17:32:18 +0000 (17:32 +0000)]
new low-priority interrupt arrangements

18 years agoadd res 0 to correct -message_buffer_end symbol address
ian [Sun, 18 Dec 2005 17:30:03 +0000 (17:30 +0000)]
add res 0 to correct -message_buffer_end symbol address

18 years agoinitial files (full of junky bits) for trackpower/cdu and actual master program
ian [Sun, 18 Dec 2005 17:28:32 +0000 (17:28 +0000)]
initial files (full of junky bits) for trackpower/cdu and actual master program

18 years agoinitial batch of changes to turn from test program into part of bigger master pic...
ian [Sun, 18 Dec 2005 17:27:54 +0000 (17:27 +0000)]
initial batch of changes to turn from test program into part of bigger master pic program

18 years agofix display to be nicer
ian [Sun, 18 Dec 2005 16:58:10 +0000 (16:58 +0000)]
fix display to be nicer

18 years agoactually compute correct bit value address
ian [Sat, 17 Dec 2005 14:58:31 +0000 (14:58 +0000)]
actually compute correct bit value address

18 years agodebugging progress; still in progress
ian [Sat, 17 Dec 2005 00:58:32 +0000 (00:58 +0000)]
debugging progress; still in progress

18 years agomove qqtrislat into access bank
ian [Sat, 17 Dec 2005 00:58:11 +0000 (00:58 +0000)]
move qqtrislat into access bank

18 years agoget slave addrs right; unbuffer stdout
ian [Sat, 17 Dec 2005 00:57:53 +0000 (00:57 +0000)]
get slave addrs right; unbuffer stdout