chiark / gitweb /
trains.git
20 years agonew embryonic program "safety"
ian [Tue, 18 Jan 2005 23:57:59 +0000 (23:57 +0000)]
new embryonic program "safety"

20 years agosome missing includes
ian [Tue, 18 Jan 2005 23:57:39 +0000 (23:57 +0000)]
some missing includes

20 years agouser fault indicator specified
ian [Tue, 18 Jan 2005 23:31:01 +0000 (23:31 +0000)]
user fault indicator specified

20 years ago* added serial error checking to nmra-stream (panics if overrun or
ceb [Mon, 17 Jan 2005 00:04:08 +0000 (00:04 +0000)]
* added serial error checking to nmra-stream (panics if overrun or
framing error bits set)

* skeleton for 12c-test

20 years agonew booster short circuit cutout
ian [Sun, 16 Jan 2005 23:06:39 +0000 (23:06 +0000)]
new booster short circuit cutout

20 years agodocumented the current plans
ian [Sun, 16 Jan 2005 01:50:17 +0000 (01:50 +0000)]
documented the current plans

20 years agonew booster stuff
ian [Sun, 16 Jan 2005 00:51:40 +0000 (00:51 +0000)]
new booster stuff

20 years agousleep_gettod to replace usleep (which is very coarse and tends to sleep for 20ms...
ian [Sun, 16 Jan 2005 00:09:04 +0000 (00:09 +0000)]
usleep_gettod to replace usleep (which is very coarse and tends to sleep for 20ms every time!  also, siggen supports limiting total number of iterations

20 years agochecking in thing found in anarres:~ceb/work/trains -iwj
ian [Sat, 15 Jan 2005 16:23:37 +0000 (16:23 +0000)]
checking in thing found in anarres:~ceb/work/trains -iwj

20 years agoFix missing numeric arg value error to actually happen and avoid coredumps
ian [Sat, 15 Jan 2005 14:11:42 +0000 (14:11 +0000)]
Fix missing numeric arg value error to actually happen and avoid coredumps

20 years agonicer, faster
ian [Wed, 12 Jan 2005 01:10:20 +0000 (01:10 +0000)]
nicer, faster

20 years agocv programming works
ian [Wed, 12 Jan 2005 01:05:58 +0000 (01:05 +0000)]
cv programming works

20 years agospeed28 was broken
ian [Wed, 12 Jan 2005 00:20:15 +0000 (00:20 +0000)]
speed28 was broken

20 years agohrm, should work ha ha
ian [Wed, 12 Jan 2005 00:14:04 +0000 (00:14 +0000)]
hrm, should work ha ha

20 years agoweirdo nmra stuff compiles but is broken in main.c still; checkin before radical fix
ian [Tue, 11 Jan 2005 23:55:15 +0000 (23:55 +0000)]
weirdo nmra stuff compiles but is broken in main.c still; checkin before radical fix

20 years agosort of before mangle things into nmra-packets.h
ian [Tue, 11 Jan 2005 22:16:43 +0000 (22:16 +0000)]
sort of before mangle things into nmra-packets.h

20 years agoan attempt at a character
ian [Mon, 10 Jan 2005 03:27:46 +0000 (03:27 +0000)]
an attempt at a character

20 years agoguff for debugging via simulator
ian [Mon, 10 Jan 2005 03:06:42 +0000 (03:06 +0000)]
guff for debugging via simulator

20 years agocommand dumping and debugging mode
ian [Sun, 9 Jan 2005 22:58:52 +0000 (22:58 +0000)]
command dumping and debugging mode

20 years agosimple driver script for readlots
ian [Sun, 9 Jan 2005 22:56:28 +0000 (22:56 +0000)]
simple driver script for readlots

20 years agouse BUFFERPAGE constant instead of literal 5
ian [Sun, 9 Jan 2005 21:43:37 +0000 (21:43 +0000)]
use BUFFERPAGE constant instead of literal 5

20 years agoworking on fixes re new overload detector
ian [Sun, 9 Jan 2005 19:46:55 +0000 (19:46 +0000)]
working on fixes re new overload detector

20 years agodocument the decoder in its head comment, somewhat, at least
ian [Sun, 9 Jan 2005 19:43:49 +0000 (19:43 +0000)]
document the decoder in its head comment, somewhat, at least

20 years agoresynch bit halves properly
ian [Sun, 9 Jan 2005 18:35:25 +0000 (18:35 +0000)]
resynch bit halves properly

20 years agodecodes packets
ian [Sun, 9 Jan 2005 18:30:15 +0000 (18:30 +0000)]
decodes packets

20 years agodecoder takes account of slop in input measurements
ian [Sun, 9 Jan 2005 18:06:41 +0000 (18:06 +0000)]
decoder takes account of slop in input measurements

20 years agonmra decoder for readlots output
ian [Sun, 9 Jan 2005 17:37:16 +0000 (17:37 +0000)]
nmra decoder for readlots output

20 years agonew "readlots" program for capturing signals using the parport
ian [Sun, 9 Jan 2005 02:27:38 +0000 (02:27 +0000)]
new "readlots" program for capturing signals using the parport

20 years agodocument iters properly
ian [Sun, 9 Jan 2005 02:11:37 +0000 (02:11 +0000)]
document iters properly

20 years agoactually 0348 is backwards
ian [Sun, 9 Jan 2005 02:10:35 +0000 (02:10 +0000)]
actually 0348 is backwards

20 years agodocument new params
ian [Sun, 9 Jan 2005 02:10:13 +0000 (02:10 +0000)]
document new params

20 years agosupport iterations limit
ian [Sun, 9 Jan 2005 02:04:22 +0000 (02:04 +0000)]
support iterations limit

20 years agocan do repeat; slightly saner internal handling of arg parsing
ian [Sun, 9 Jan 2005 01:59:24 +0000 (01:59 +0000)]
can do repeat; slightly saner internal handling of arg parsing

20 years agodebugging
ceb [Sat, 8 Jan 2005 23:44:28 +0000 (23:44 +0000)]
debugging

also added slow+fast version ifdefs

20 years agosupport serial_fudge_delay
ian [Sat, 8 Jan 2005 23:41:07 +0000 (23:41 +0000)]
support serial_fudge_delay

20 years agodebug
ceb [Sat, 8 Jan 2005 21:59:31 +0000 (21:59 +0000)]
debug

20 years agodebugging...
ceb [Sat, 8 Jan 2005 20:31:25 +0000 (20:31 +0000)]
debugging...

20 years agomore debugging
ceb [Sat, 8 Jan 2005 19:56:26 +0000 (19:56 +0000)]
more debugging

20 years agodemonstrate SLOW_VERSION
ian [Thu, 6 Jan 2005 19:31:38 +0000 (19:31 +0000)]
demonstrate SLOW_VERSION

20 years agoBuild ,slow version of nmra-stream; disable booster-output-low temporarily
ian [Thu, 6 Jan 2005 19:31:23 +0000 (19:31 +0000)]
Build ,slow version of nmra-stream; disable booster-output-low temporarily

20 years agoNew ASSEMBLE variable
ian [Thu, 6 Jan 2005 19:30:57 +0000 (19:30 +0000)]
New ASSEMBLE variable

20 years agoyes, remove the debugging printfs
ian [Wed, 5 Jan 2005 18:19:31 +0000 (18:19 +0000)]
yes, remove the debugging printfs

20 years agosome debugging prints, which we will remove shortly
ian [Wed, 5 Jan 2005 18:19:00 +0000 (18:19 +0000)]
some debugging prints, which we will remove shortly

20 years agonot really a bug - a miconversion
ian [Wed, 5 Jan 2005 18:18:45 +0000 (18:18 +0000)]
not really a bug - a miconversion

20 years agodocument how it works, and bug, and ignore file "t"
ian [Wed, 5 Jan 2005 00:46:01 +0000 (00:46 +0000)]
document how it works, and bug, and ignore file "t"

20 years agoHalf debugged... almost works. Still getting confused after
ceb [Wed, 5 Jan 2005 00:38:34 +0000 (00:38 +0000)]
Half debugged... almost works. Still getting confused after
transmitting byte.

20 years agogenerate nmra checksums
ian [Wed, 5 Jan 2005 00:38:07 +0000 (00:38 +0000)]
generate nmra checksums

20 years agotransmit between-byte spacing bits
ian [Wed, 5 Jan 2005 00:20:21 +0000 (00:20 +0000)]
transmit between-byte spacing bits

20 years agoadding debugging stuff...
ceb [Tue, 4 Jan 2005 23:16:13 +0000 (23:16 +0000)]
adding debugging stuff...

20 years agosmall changes to compile
ceb [Tue, 4 Jan 2005 22:42:16 +0000 (22:42 +0000)]
small changes to compile

20 years agoditto
ceb [Tue, 4 Jan 2005 22:34:35 +0000 (22:34 +0000)]
ditto

20 years agotesting changes (timer scalings/value written in after interrupt)
ceb [Tue, 4 Jan 2005 22:34:05 +0000 (22:34 +0000)]
testing changes (timer scalings/value written in after interrupt)

20 years agohostprogs too
ian [Tue, 4 Jan 2005 22:23:43 +0000 (22:23 +0000)]
hostprogs too

20 years agoend of packet bit is top bit now
ian [Tue, 4 Jan 2005 22:21:08 +0000 (22:21 +0000)]
end of packet bit is top bit now

20 years agomall chnages to nmra-stream.asm
ceb [Tue, 4 Jan 2005 22:11:15 +0000 (22:11 +0000)]
mall chnages to nmra-stream.asm

20 years agomore comments
ian [Tue, 4 Jan 2005 21:55:57 +0000 (21:55 +0000)]
more comments

20 years agoeasier bit 6 is a comment comment
ian [Tue, 4 Jan 2005 21:33:15 +0000 (21:33 +0000)]
easier bit 6 is a comment comment

20 years agofit in 80 columns
ian [Tue, 4 Jan 2005 20:25:33 +0000 (20:25 +0000)]
fit in 80 columns

20 years agocomments and halfway read through -iwj
ian [Mon, 3 Jan 2005 23:09:00 +0000 (23:09 +0000)]
comments and halfway read through -iwj

20 years agoAdded debugging macro to nmra-stream.asm, to write debugging info out over
ceb [Mon, 3 Jan 2005 19:27:27 +0000 (19:27 +0000)]
Added debugging macro to nmra-stream.asm, to write debugging info out over
the serial port/.

20 years agominor changes
ceb [Mon, 3 Jan 2005 19:17:44 +0000 (19:17 +0000)]
minor changes

Use bit7 for 'last packet' indicator in NMRA packets, not bit0; changed
in README.protocol and nmra-stream.asm

20 years agoencoding bugfixes
ian [Sun, 2 Jan 2005 17:45:07 +0000 (17:45 +0000)]
encoding bugfixes

20 years agousage message
ian [Sun, 2 Jan 2005 17:40:58 +0000 (17:40 +0000)]
usage message

20 years agocan transmit bare commands too
ian [Sun, 2 Jan 2005 17:39:30 +0000 (17:39 +0000)]
can transmit bare commands too

20 years agoinitial hostside thingum
ian [Sun, 2 Jan 2005 17:32:13 +0000 (17:32 +0000)]
initial hostside thingum

20 years agochanges to README.protocol
ceb [Sun, 2 Jan 2005 16:54:04 +0000 (16:54 +0000)]
changes to README.protocol

20 years agowritten transmit-to-track section, including checking bit0 and advancing
ceb [Sat, 1 Jan 2005 23:23:05 +0000 (23:23 +0000)]
written transmit-to-track section, including checking bit0 and advancing
byte/buffer if necessary.

Need to:
check through for undone bits
check what bits of short-circuit coping need to be done at this stage

20 years agoadded serial receive stuff
ceb [Mon, 20 Dec 2004 00:58:10 +0000 (00:58 +0000)]
added serial receive stuff
started on transmit to track stuff
changed timer to NMRA timer
done initialisation of output pins
not quite decided on packet format

20 years agobuffer initialisation
ceb [Mon, 22 Nov 2004 00:17:18 +0000 (00:17 +0000)]
buffer initialisation
tidying up

20 years agosmall process editing
ceb [Sun, 7 Nov 2004 19:28:56 +0000 (19:28 +0000)]
small process editing

20 years agooutline for nmra-stream.asm
ceb [Sun, 7 Nov 2004 15:33:49 +0000 (15:33 +0000)]
outline for nmra-stream.asm

20 years agoa bit more in "all"
ian [Sat, 6 Nov 2004 15:27:15 +0000 (15:27 +0000)]
a bit more in "all"

20 years agoignore dualjn-a.ps
ian [Sat, 6 Nov 2004 15:25:03 +0000 (15:25 +0000)]
ignore dualjn-a.ps

20 years agoatlas ttt motor actual size
ian [Sat, 6 Nov 2004 15:23:24 +0000 (15:23 +0000)]
atlas ttt motor actual size

20 years agoparts library cvsignore
ian [Sat, 6 Nov 2004 15:22:38 +0000 (15:22 +0000)]
parts library cvsignore

20 years agodescribe the booster
ian [Wed, 3 Nov 2004 00:22:01 +0000 (00:22 +0000)]
describe the booster

20 years agonew PROGRAMS variable makes -full things automatically
ian [Tue, 2 Nov 2004 20:50:23 +0000 (20:50 +0000)]
new PROGRAMS variable makes -full things automatically

20 years agotop-level picprogs target
ian [Tue, 2 Nov 2004 20:49:54 +0000 (20:49 +0000)]
top-level picprogs target

20 years agoenabled global interrupts (see p77) - forgotten previously
ceb [Tue, 2 Nov 2004 11:26:59 +0000 (11:26 +0000)]
enabled global interrupts (see p77) - forgotten previously
now works.

20 years agoattempt to add locations for interruipts via assembler org instruction
ceb [Mon, 1 Nov 2004 20:27:23 +0000 (20:27 +0000)]
attempt to add locations for interruipts via assembler org instruction
(see gopasm manual)

20 years agomove %-full.hex pattern rule to pic.make
ian [Mon, 1 Nov 2004 20:18:34 +0000 (20:18 +0000)]
move %-full.hex pattern rule to pic.make

20 years agoProgram to receive data over serial port & write it back out
ceb [Mon, 1 Nov 2004 19:35:54 +0000 (19:35 +0000)]
Program to receive data over serial port & write it back out
main loop flashes LED green
uses interrupts to start off serial read/write; LED red whilst in interrupt routine

20 years agotypo fix
ceb [Sun, 31 Oct 2004 23:40:22 +0000 (23:40 +0000)]
typo fix

20 years agoNew program for test transmission from PIC USART to PC serial port
ceb [Sun, 31 Oct 2004 23:17:31 +0000 (23:17 +0000)]
New program for test transmission from PIC USART to PC serial port

20 years ago no significant change
ceb [Sun, 31 Oct 2004 23:07:17 +0000 (23:07 +0000)]
 no significant change
 accidentally touched whilst editing send-serial.asm

20 years agoget A data/enable right way round
ian [Thu, 28 Oct 2004 00:03:34 +0000 (00:03 +0000)]
get A data/enable right way round

20 years agoE doesn't work; oh well
ian [Thu, 28 Oct 2004 00:02:23 +0000 (00:02 +0000)]
E doesn't work; oh well

20 years agodependency on onecopybit.inc
ian [Thu, 28 Oct 2004 00:02:00 +0000 (00:02 +0000)]
dependency on onecopybit.inc

20 years agonew serialloop serial loopback test program
ian [Thu, 28 Oct 2004 00:01:31 +0000 (00:01 +0000)]
new serialloop serial loopback test program

20 years agomove copybits macro into own file
ian [Thu, 28 Oct 2004 00:01:20 +0000 (00:01 +0000)]
move copybits macro into own file

20 years agowas wrong make invocation
ian [Sun, 24 Oct 2004 02:25:56 +0000 (02:25 +0000)]
was wrong make invocation

20 years agoslightly better debugging (but not enabled atm)
ian [Sun, 24 Oct 2004 02:25:43 +0000 (02:25 +0000)]
slightly better debugging (but not enabled atm)

20 years agoan attempt at making A5 and A6 P and J points distinct; but does not work - see TODO
ian [Sat, 23 Oct 2004 20:04:45 +0000 (20:04 +0000)]
an attempt at making A5 and A6 P and J points distinct; but does not work - see TODO

20 years agotest ui seems to work
ian [Sat, 23 Oct 2004 19:27:13 +0000 (19:27 +0000)]
test ui seems to work

20 years agodiscovered bug in segment encoding
ian [Sat, 23 Oct 2004 19:26:46 +0000 (19:26 +0000)]
discovered bug in segment encoding

20 years agotune colours
ian [Sat, 23 Oct 2004 17:36:20 +0000 (17:36 +0000)]
tune colours

20 years agoadjust green downwards
ian [Sat, 23 Oct 2004 17:36:11 +0000 (17:36 +0000)]
adjust green downwards

20 years agonicer test
ian [Sat, 23 Oct 2004 17:29:12 +0000 (17:29 +0000)]
nicer test

20 years agoimplement segmap
ian [Sat, 23 Oct 2004 17:29:03 +0000 (17:29 +0000)]
implement segmap

20 years agodefine segments for midx
ian [Sat, 23 Oct 2004 17:28:32 +0000 (17:28 +0000)]
define segments for midx