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

21 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

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

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

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

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

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

21 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

21 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

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

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

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

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

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

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

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

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

21 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

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

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

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

21 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

21 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

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

21 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

21 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

22 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

22 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

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

22 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

22 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

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

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

22 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

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

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

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

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

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

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

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

22 years agoextend with negative length gives negative rail sense (it seems)
ian [Sat, 23 Oct 2004 17:28:24 +0000 (17:28 +0000)]
extend with negative length gives negative rail sense (it seems)

22 years agofix typo from old naming
ian [Sat, 23 Oct 2004 17:27:46 +0000 (17:27 +0000)]
fix typo from old naming

22 years agocorrect some bits that are extensions of points
ian [Sat, 23 Oct 2004 16:48:27 +0000 (16:48 +0000)]
correct some bits that are extensions of points

22 years agocheck for unsupported red passthrough
ian [Sat, 23 Oct 2004 16:38:03 +0000 (16:38 +0000)]
check for unsupported red passthrough

22 years agofix bit assignment to be correct
ian [Sat, 23 Oct 2004 16:37:48 +0000 (16:37 +0000)]
fix bit assignment to be correct

22 years agoabstracted bit stuff
ian [Sat, 23 Oct 2004 16:23:31 +0000 (16:23 +0000)]
abstracted bit stuff

22 years agowant to abstract away subsegment encoding
ian [Sat, 23 Oct 2004 16:23:15 +0000 (16:23 +0000)]
want to abstract away subsegment encoding

22 years agonew arrangements for points - bits shown as absent
ian [Sat, 23 Oct 2004 14:35:41 +0000 (14:35 +0000)]
new arrangements for points - bits shown as absent

22 years agofaster
ian [Sat, 23 Oct 2004 11:05:06 +0000 (11:05 +0000)]
faster

22 years agofaster
ian [Sat, 23 Oct 2004 10:56:35 +0000 (10:56 +0000)]
faster

22 years agoangle colour has constant luminance
ian [Sat, 23 Oct 2004 10:50:49 +0000 (10:50 +0000)]
angle colour has constant luminance

22 years agomore extensive test
ian [Sat, 23 Oct 2004 10:50:31 +0000 (10:50 +0000)]
more extensive test

22 years agoformatting fix
ian [Sat, 23 Oct 2004 00:19:58 +0000 (00:19 +0000)]
formatting fix

22 years agoignore t.*
ian [Fri, 22 Oct 2004 23:58:25 +0000 (23:58 +0000)]
ignore t.*

22 years agoan example of reversal
ian [Fri, 22 Oct 2004 23:51:43 +0000 (23:51 +0000)]
an example of reversal

22 years agogenerate t.ppm - a test case thing
ian [Fri, 22 Oct 2004 23:45:42 +0000 (23:45 +0000)]
generate t.ppm - a test case thing

22 years agomany more segments labelled
ian [Fri, 22 Oct 2004 23:45:27 +0000 (23:45 +0000)]
many more segments labelled

22 years agofix segment orientation for parts
ian [Fri, 22 Oct 2004 23:45:16 +0000 (23:45 +0000)]
fix segment orientation for parts

22 years agolots more segments, and a few cosmetic changes
ian [Fri, 22 Oct 2004 23:44:52 +0000 (23:44 +0000)]
lots more segments, and a few cosmetic changes

22 years agosome more precious and clean
ian [Fri, 22 Oct 2004 23:44:04 +0000 (23:44 +0000)]
some more precious and clean

22 years agosome leftover problems
ian [Fri, 22 Oct 2004 23:43:03 +0000 (23:43 +0000)]
some leftover problems

22 years agothicker lines are nicer
ian [Fri, 22 Oct 2004 22:19:38 +0000 (22:19 +0000)]
thicker lines are nicer

22 years agochange the point
ian [Fri, 22 Oct 2004 22:19:31 +0000 (22:19 +0000)]
change the point

22 years agobugfixes; background handling; etc.
ian [Fri, 22 Oct 2004 22:10:41 +0000 (22:10 +0000)]
bugfixes; background handling; etc.

22 years agobigger and more automatic test case
ian [Fri, 22 Oct 2004 22:10:25 +0000 (22:10 +0000)]
bigger and more automatic test case

22 years agoproblem with subsegment encoding approach
ian [Fri, 22 Oct 2004 22:10:14 +0000 (22:10 +0000)]
problem with subsegment encoding approach

22 years agosome fixes
ian [Fri, 22 Oct 2004 21:24:46 +0000 (21:24 +0000)]
some fixes

22 years agocalculate red more sensibly
ian [Fri, 22 Oct 2004 21:24:35 +0000 (21:24 +0000)]
calculate red more sensibly

22 years agomust use -lm (only spotted when not -O2...)
ian [Fri, 22 Oct 2004 21:24:09 +0000 (21:24 +0000)]
must use -lm (only spotted when not -O2...)

22 years agofor debugging
ian [Fri, 22 Oct 2004 21:23:42 +0000 (21:23 +0000)]
for debugging

22 years agodoes processing, compiles
ian [Fri, 22 Oct 2004 21:07:24 +0000 (21:07 +0000)]
does processing, compiles

22 years agoreformatted reverse_bits_in_byte slightly
ian [Fri, 22 Oct 2004 21:07:13 +0000 (21:07 +0000)]
reformatted reverse_bits_in_byte slightly

22 years agocompiles and does little
ian [Fri, 22 Oct 2004 19:04:46 +0000 (19:04 +0000)]
compiles and does little

22 years agostate background colour
ian [Fri, 22 Oct 2004 19:04:39 +0000 (19:04 +0000)]
state background colour

22 years agoactual makefile stuff for subseg2display
ian [Fri, 22 Oct 2004 19:04:29 +0000 (19:04 +0000)]
actual makefile stuff for subseg2display

22 years agomove CFLAGS into cprogs.make
ian [Fri, 22 Oct 2004 19:04:06 +0000 (19:04 +0000)]
move CFLAGS into cprogs.make

22 years agospec for display conversion
ian [Fri, 22 Oct 2004 16:23:32 +0000 (16:23 +0000)]
spec for display conversion

22 years agogenerate pixmap
ian [Fri, 22 Oct 2004 15:37:43 +0000 (15:37 +0000)]
generate pixmap

22 years agoinvert bit sense of moveable feature bits
ian [Fri, 22 Oct 2004 14:40:49 +0000 (14:40 +0000)]
invert bit sense of moveable feature bits

22 years agosegment encoding seems right so far ...
ian [Fri, 22 Oct 2004 14:31:10 +0000 (14:31 +0000)]
segment encoding seems right so far ...

22 years agotrying colour flipping; is broken atm
ian [Fri, 22 Oct 2004 12:02:35 +0000 (12:02 +0000)]
trying colour flipping; is broken atm

22 years agosigned segments
ian [Fri, 22 Oct 2004 11:07:44 +0000 (11:07 +0000)]
signed segments

22 years agono tick marks in subseg encoding
ian [Fri, 22 Oct 2004 11:07:20 +0000 (11:07 +0000)]
no tick marks in subseg encoding

22 years agogenerates segment encoding (but wrong - needs debugging)
ian [Fri, 22 Oct 2004 10:21:45 +0000 (10:21 +0000)]
generates segment encoding (but wrong - needs debugging)

22 years agoit assigns colours - but layout cannot read them yet
ian [Fri, 22 Oct 2004 00:52:26 +0000 (00:52 +0000)]
it assigns colours - but layout cannot read them yet

22 years agofinish listing bit uses
ian [Fri, 22 Oct 2004 00:14:03 +0000 (00:14 +0000)]
finish listing bit uses

22 years agogenerates a sensible-looking segcmapreq for a few segments
ian [Fri, 22 Oct 2004 00:07:40 +0000 (00:07 +0000)]
generates a sensible-looking segcmapreq for a few segments

22 years agonot infinite loop
ian [Thu, 21 Oct 2004 23:14:27 +0000 (23:14 +0000)]
not infinite loop

22 years agolayout/Makefile and .cvsignore tidied up after move; segment encoding and assignment...
ian [Thu, 21 Oct 2004 20:54:03 +0000 (20:54 +0000)]
layout/Makefile and .cvsignore tidied up after move; segment encoding and assignment - wip

22 years agoClare's first PIC program.
ceb [Wed, 13 Oct 2004 01:30:04 +0000 (01:30 +0000)]
Clare's first PIC program.
Observe the flashing LEDs! (hopefully)

22 years agofaster, better chatting
ian [Sun, 3 Oct 2004 16:42:24 +0000 (16:42 +0000)]
faster, better chatting

22 years agocut out redundant junk
ian [Sun, 3 Oct 2004 16:06:20 +0000 (16:06 +0000)]
cut out redundant junk

22 years agomove some .cvsignores from root to pcb
ian [Sun, 3 Oct 2004 16:06:09 +0000 (16:06 +0000)]
move some .cvsignores from root to pcb

22 years agoremove spurious our which causes warning
ian [Sun, 3 Oct 2004 16:05:49 +0000 (16:05 +0000)]
remove spurious our which causes warning

22 years agoRandom test edit.
ceb [Sat, 2 Oct 2004 22:26:25 +0000 (22:26 +0000)]
Random test edit.

22 years agored phase first
ian [Sat, 2 Oct 2004 02:14:35 +0000 (02:14 +0000)]
red phase first

22 years agoMoved from norway, now includes odyssey-train script and make install target etc.
ian [Sat, 2 Oct 2004 02:14:22 +0000 (02:14 +0000)]
Moved from norway, now includes odyssey-train script and make install target etc.

22 years agoadd initial red only phase
ian [Sat, 2 Oct 2004 02:05:08 +0000 (02:05 +0000)]
add initial red only phase

22 years agodocumentation comments
ianmdlvl [Sun, 26 Sep 2004 15:34:23 +0000 (15:34 +0000)]
documentation comments