chiark / gitweb /
trains.git
20 years agoadded section to read out morse msg
ceb [Sun, 1 May 2005 22:35:48 +0000 (22:35 +0000)]
added section to read out morse msg

20 years agoknow how really to set/clear RTS: use TIOCM*; see /usr/include/asm/termios.h for...
ian [Sun, 1 May 2005 22:06:50 +0000 (22:06 +0000)]
know how really to set/clear RTS: use TIOCM*; see /usr/include/asm/termios.h for values TIOCM_RTS etc.

20 years agocompile tcflow
ian [Sun, 1 May 2005 20:28:51 +0000 (20:28 +0000)]
compile tcflow

20 years agofound program for making tcflow serial ioctl; not really parport but hey
ian [Sun, 1 May 2005 20:27:29 +0000 (20:27 +0000)]
found program for making tcflow serial ioctl; not really parport but hey

20 years agotest harness monitor thingum
ian [Sun, 1 May 2005 15:11:55 +0000 (15:11 +0000)]
test harness monitor thingum

20 years agolist/nolist directives
ian [Sun, 1 May 2005 15:11:44 +0000 (15:11 +0000)]
list/nolist directives

20 years agokeep assembler listings from being overwritten
ian [Sun, 1 May 2005 15:11:32 +0000 (15:11 +0000)]
keep assembler listings from being overwritten

20 years agonew file "harness" - untested, but compiles
ian [Sun, 1 May 2005 02:40:53 +0000 (02:40 +0000)]
new file "harness" - untested, but compiles

20 years agoundo one of the changes from r1.6, which was wrong and has wrong checkin message...
ian [Sat, 30 Apr 2005 20:24:38 +0000 (20:24 +0000)]
undo one of the changes from r1.6, which was wrong and has wrong checkin message.  remaining changes in 1.6 are: sleep 5ms instead of 1us when shifting; pay attention to yesforbit when deploying

20 years agouse -i0 by default but allow TRAIN_PPWDATA_SEL_BIT to override; allow comb-* to try...
ian [Sat, 30 Apr 2005 20:22:57 +0000 (20:22 +0000)]
use -i0 by default but allow TRAIN_PPWDATA_SEL_BIT to override; allow comb-* to try out fancy combinations (which are known not to work properly, but hey)

20 years agoswap boards 2 and 3
ian [Sat, 30 Apr 2005 16:21:14 +0000 (16:21 +0000)]
swap boards 2 and 3

20 years agofixed for actual programming circuit on table
ian [Fri, 29 Apr 2005 23:29:56 +0000 (23:29 +0000)]
fixed for actual programming circuit on table

20 years agoignore .d files
ian [Sun, 24 Apr 2005 18:21:47 +0000 (18:21 +0000)]
ignore .d files

20 years agoAdd tst_w; fix incf and decf
ian [Sun, 24 Apr 2005 14:20:29 +0000 (14:20 +0000)]
Add tst_w; fix incf and decf

20 years agoby-official
ian [Sun, 24 Apr 2005 13:51:59 +0000 (13:51 +0000)]
by-official

20 years agolist flags affected
ian [Sun, 24 Apr 2005 13:44:16 +0000 (13:44 +0000)]
list flags affected

20 years agoreorgansed, bugfixed, improved
ian [Sun, 24 Apr 2005 13:31:06 +0000 (13:31 +0000)]
reorgansed, bugfixed, improved

20 years agoadd S actual arg in retfie_r, return_r, call_s; labels formal arg is n; support com_w...
ian [Sat, 23 Apr 2005 20:04:52 +0000 (20:04 +0000)]
add S actual arg in retfie_r, return_r, call_s; labels formal arg is n; support com_w etc.; rcsid

20 years agosay how it's sorted
ian [Sat, 23 Apr 2005 14:56:36 +0000 (14:56 +0000)]
say how it's sorted

20 years agoclean *.tmp too
ian [Sat, 23 Apr 2005 14:52:41 +0000 (14:52 +0000)]
clean *.tmp too

20 years agoinstruction set aliases and summary
ian [Sat, 23 Apr 2005 13:36:11 +0000 (13:36 +0000)]
instruction set aliases and summary

20 years agointersperse with two black
ian [Sun, 17 Apr 2005 21:33:52 +0000 (21:33 +0000)]
intersperse with two black

20 years agofixed uncommented-out comment
ceb [Sun, 17 Apr 2005 21:28:00 +0000 (21:28 +0000)]
fixed uncommented-out comment

20 years agocompile morsepanic
ian [Sun, 17 Apr 2005 21:24:51 +0000 (21:24 +0000)]
compile morsepanic

20 years agosomething about $(LIBS) found on anarres
ian [Sun, 17 Apr 2005 21:19:04 +0000 (21:19 +0000)]
something about $(LIBS) found on anarres

20 years agomorsepanic - small changes from panic so far,
ceb [Sun, 17 Apr 2005 21:14:02 +0000 (21:14 +0000)]
morsepanic - small changes from panic so far,
flashes red+green rather than just red

20 years agoreadout works
ian [Sun, 10 Apr 2005 20:37:55 +0000 (20:37 +0000)]
readout works

20 years agocommon.inc; routines library; move leds into routines library; minor improvements...
ian [Sun, 10 Apr 2005 20:03:34 +0000 (20:03 +0000)]
common.inc; routines library; move leds into routines library; minor improvements (no behavioural change) to panic.asm

20 years agohorrible evil icky debugging die die die
ceb [Fri, 8 Apr 2005 22:12:35 +0000 (22:12 +0000)]
horrible evil icky debugging die die die

20 years agotemp. removal of macro calling to stop complaints
ceb [Fri, 8 Apr 2005 21:52:41 +0000 (21:52 +0000)]
temp. removal of macro calling to stop complaints

20 years ago8/4/5 iii
ceb [Fri, 8 Apr 2005 21:48:15 +0000 (21:48 +0000)]
8/4/5 iii
small bugfix

20 years agoadd panic
ian [Fri, 8 Apr 2005 21:42:00 +0000 (21:42 +0000)]
add panic

20 years ago8/4/5 - ii
ceb [Fri, 8 Apr 2005 21:27:09 +0000 (21:27 +0000)]
8/4/5 - ii
as last checkin, but with tblwts commented out

20 years ago8/4/5
ceb [Fri, 8 Apr 2005 21:18:25 +0000 (21:18 +0000)]
8/4/5
first part of error msgs -> LED output program
transmits contnts of a register by flashing LED
writes error msg into flash
has hooks for transmitting error msg too

20 years ago3/4/5 start of program to call error codes from flash
ceb [Sun, 3 Apr 2005 22:12:24 +0000 (22:12 +0000)]
3/4/5 start of program to call error codes from flash

20 years agoutils.c (trackloc_...) compiles
ian [Mon, 28 Mar 2005 16:44:37 +0000 (16:44 +0000)]
utils.c (trackloc_...) compiles

20 years agohostside safety.c compiles but safety does not link
ian [Mon, 28 Mar 2005 16:31:32 +0000 (16:31 +0000)]
hostside safety.c compiles but safety does not link

20 years agobetter documentation xrefs. invent info_nfoobars
ian [Sun, 27 Mar 2005 22:40:16 +0000 (22:40 +0000)]
better documentation xrefs.  invent info_nfoobars

20 years agomake in layout too
ian [Sun, 27 Mar 2005 22:26:01 +0000 (22:26 +0000)]
make in layout too

20 years agomove _GNU_SOURCE to redactgraph.c because it causes a clash with strndup in publib...
ian [Sun, 27 Mar 2005 22:24:00 +0000 (22:24 +0000)]
move _GNU_SOURCE to redactgraph.c because it causes a clash with strndup in publib/strutil.h

20 years agodo not build safety for now as it does not work
ian [Sun, 27 Mar 2005 22:18:58 +0000 (22:18 +0000)]
do not build safety for now as it does not work

20 years agoworking on making it compile, hah
ian [Sun, 27 Mar 2005 22:18:29 +0000 (22:18 +0000)]
working on making it compile, hah

20 years agonew arrangements for cross-directory: ours.safety => ours.layout-data, and automatic...
ian [Sun, 27 Mar 2005 22:14:20 +0000 (22:14 +0000)]
new arrangements for cross-directory: ours.safety => ours.layout-data, and automatic dependency stuff for cprogs, etc.

20 years agoautogenerate layoutinfo.h
ian [Sun, 27 Mar 2005 21:45:27 +0000 (21:45 +0000)]
autogenerate layoutinfo.h

20 years agoappears to generate a correct ours.safety.c - try compiling that
ian [Sun, 27 Mar 2005 21:28:26 +0000 (21:28 +0000)]
appears to generate a correct ours.safety.c - try compiling that

20 years agosegposcombinfo wip
ian [Sat, 26 Mar 2005 18:43:37 +0000 (18:43 +0000)]
segposcombinfo wip

20 years agopname in segposcombinfo
ian [Sat, 26 Mar 2005 18:43:32 +0000 (18:43 +0000)]
pname in segposcombinfo

20 years agoworks so far as it goes; must make pci_...
ian [Sat, 26 Mar 2005 18:08:19 +0000 (18:08 +0000)]
works so far as it goes; must make pci_...

20 years agoready for testing data2safety ?
ian [Fri, 25 Mar 2005 11:44:19 +0000 (11:44 +0000)]
ready for testing data2safety ?

20 years agomoved output code; working on line_endwiring
ian [Mon, 21 Mar 2005 01:06:51 +0000 (01:06 +0000)]
moved output code; working on line_endwiring

20 years agoreally keep neato input files
ian [Mon, 21 Mar 2005 00:41:13 +0000 (00:41 +0000)]
really keep neato input files

20 years agoworking on data2safety
ian [Sun, 20 Mar 2005 21:27:12 +0000 (21:27 +0000)]
working on data2safety

20 years agoboard and object for segments
ian [Sun, 20 Mar 2005 21:26:59 +0000 (21:26 +0000)]
board and object for segments

20 years agoinclude distances
ian [Sun, 20 Mar 2005 18:56:26 +0000 (18:56 +0000)]
include distances

20 years agoredactgraph prints and documents forforsafety
ian [Sun, 20 Mar 2005 18:51:09 +0000 (18:51 +0000)]
redactgraph prints and documents forforsafety

20 years agoshorter pnames from trivpairnodes
ian [Sun, 20 Mar 2005 18:24:26 +0000 (18:24 +0000)]
shorter pnames from trivpairnodes

20 years agomovfeatsplitnodes seems to work - but names v long
ian [Sun, 20 Mar 2005 18:12:16 +0000 (18:12 +0000)]
movfeatsplitnodes seems to work - but names v long

20 years agormstubs seems to work
ian [Sun, 20 Mar 2005 17:59:52 +0000 (17:59 +0000)]
rmstubs seems to work

20 years agonew arrangements for trivia etc., wip for movfeat stuff
ian [Sun, 20 Mar 2005 17:53:51 +0000 (17:53 +0000)]
new arrangements for trivia etc., wip for movfeat stuff

20 years agoelimtrivial concats the pnames; new spec. for mov feat processing
ian [Sun, 20 Mar 2005 16:55:06 +0000 (16:55 +0000)]
elimtrivial concats the pnames; new spec. for mov feat processing

20 years agomovfeatmultedges seems to work
ian [Sun, 20 Mar 2005 16:37:37 +0000 (16:37 +0000)]
movfeatmultedges seems to work

20 years agonew settlement for movfeats - not yet in .c files
ian [Sun, 20 Mar 2005 13:07:56 +0000 (13:07 +0000)]
new settlement for movfeats - not yet in .c files

20 years agobugfixes to graph extraction and numbering
ian [Sun, 20 Mar 2005 10:31:09 +0000 (10:31 +0000)]
bugfixes to graph extraction and numbering

20 years agoedge and node numbering
ian [Sun, 20 Mar 2005 02:43:22 +0000 (02:43 +0000)]
edge and node numbering

20 years agoelimtrivial rightedge!=leftedge and initialise pass - but still broken
ian [Sun, 20 Mar 2005 01:42:15 +0000 (01:42 +0000)]
elimtrivial rightedge!=leftedge and initialise pass - but still broken

20 years agoget node side sense right
ian [Sun, 20 Mar 2005 01:41:51 +0000 (01:41 +0000)]
get node side sense right

20 years agouse -O2 -g
ian [Sun, 20 Mar 2005 01:41:36 +0000 (01:41 +0000)]
use -O2 -g

20 years agoworking on fixing nodulation
ian [Sat, 19 Mar 2005 21:39:54 +0000 (21:39 +0000)]
working on fixing nodulation

20 years agoours.raw.neato.ps from ours.redactgraph
ian [Sat, 19 Mar 2005 21:15:42 +0000 (21:15 +0000)]
ours.raw.neato.ps from ours.redactgraph

20 years agogenerates ours.redactgraph, which needs some work
ian [Sat, 19 Mar 2005 18:56:02 +0000 (18:56 +0000)]
generates ours.redactgraph, which needs some work

20 years agostart on printout for neato
ian [Sat, 19 Mar 2005 16:06:08 +0000 (16:06 +0000)]
start on printout for neato

20 years agobuilds ours.graph.o !
ian [Sat, 19 Mar 2005 15:55:39 +0000 (15:55 +0000)]
builds ours.graph.o !

20 years agowip - go to plane
ian [Sun, 13 Mar 2005 20:09:55 +0000 (20:09 +0000)]
wip - go to plane

20 years agomake it work again - turn trace back to comment
ian [Sun, 13 Mar 2005 20:07:23 +0000 (20:07 +0000)]
make it work again - turn trace back to comment

20 years agodelete the old perl crap
ian [Sun, 13 Mar 2005 20:02:39 +0000 (20:02 +0000)]
delete the old perl crap

20 years agoelimtrivial finished we think
ian [Sun, 13 Mar 2005 20:02:24 +0000 (20:02 +0000)]
elimtrivial finished we think

20 years agoC redactgraph going well I think
ian [Sun, 13 Mar 2005 18:49:06 +0000 (18:49 +0000)]
C redactgraph going well I think

20 years agosnarfed from adns
ian [Sun, 13 Mar 2005 18:22:59 +0000 (18:22 +0000)]
snarfed from adns

20 years agowip; working on elimtrivial; considering graph manip in C instead
ian [Sun, 13 Mar 2005 18:03:56 +0000 (18:03 +0000)]
wip; working on elimtrivial; considering graph manip in C instead

20 years agowip; working on elimtrivial; considering referencey data structure instead
ian [Sun, 13 Mar 2005 17:10:35 +0000 (17:10 +0000)]
wip; working on elimtrivial; considering referencey data structure instead

20 years agoextractgraph in Makefile, still wip
ian [Sun, 13 Mar 2005 08:33:54 +0000 (08:33 +0000)]
extractgraph in Makefile, still wip

20 years agoextractgraph wip - currently written node comparer and librarian, but no edge librari...
ian [Sat, 12 Mar 2005 18:25:32 +0000 (18:25 +0000)]
extractgraph wip - currently written node comparer and librarian, but no edge librarian code and no output code

20 years agoinclude segmentpart comments in output
ian [Fri, 11 Mar 2005 20:51:29 +0000 (20:51 +0000)]
include segmentpart comments in output

20 years agoremove spurious $conf variable
ian [Fri, 11 Mar 2005 20:51:05 +0000 (20:51 +0000)]
remove spurious $conf variable

20 years agowip for %L segmentpart output
ian [Fri, 11 Mar 2005 18:08:32 +0000 (18:08 +0000)]
wip for %L segmentpart output

20 years agofix some docs and comments
ian [Wed, 9 Mar 2005 16:33:22 +0000 (16:33 +0000)]
fix some docs and comments

20 years agoobject location definitions happen in the calling namespace, not the global one
ian [Wed, 9 Mar 2005 16:01:13 +0000 (16:01 +0000)]
object location definitions happen in the calling namespace, not the global one

20 years agonew for-test-ui target
ian [Fri, 4 Mar 2005 19:17:25 +0000 (19:17 +0000)]
new for-test-ui target

20 years agolink against netpbm
ian [Fri, 4 Mar 2005 19:01:10 +0000 (19:01 +0000)]
link against netpbm

20 years agofinished segment inversion arrangements in safety.c
ian [Sun, 27 Feb 2005 23:35:24 +0000 (23:35 +0000)]
finished segment inversion arrangements in safety.c

20 years agowork at Redemption, checkin on return: reorganise things a bit and work on lay_train...
ian [Sun, 27 Feb 2005 22:58:22 +0000 (22:58 +0000)]
work at Redemption, checkin on return: reorganise things a bit and work on lay_train and inversion etc.

20 years agostart of informative_panic routine
ceb [Wed, 23 Feb 2005 23:42:44 +0000 (23:42 +0000)]
start of informative_panic routine

20 years agoBUGFIXES
ian [Wed, 23 Feb 2005 21:36:30 +0000 (21:36 +0000)]
BUGFIXES
get address value right: bottom bit is always read/write, so:
 in slave mode: shift value for SSPADD left
 in master mode: choose slave address 0x82 = I2C addr 0b1000001, write

NICETIES
disable serial rx and tx interrupts in slave mode
new ifbit1 and ifbit0 macros

DEBUGGING IMPROVEMENTS
master does not panic immediately before sending address
print calculated SSPADD value via debughf in slow slave mode
a few other "debug" statements
debughf gets nybbles > 0x9 right (!)

20 years agoi2c slave debugging: faff a bit with led settings in slave pic; make master panic...
ian [Tue, 22 Feb 2005 22:18:38 +0000 (22:18 +0000)]
i2c slave debugging:  faff a bit with led settings in slave pic; make master panic immediately after doing START (for testing); clarify comments re SSPCON1 value; slave SSPCON1 value is more correct

20 years agoactually exit in badusage
ian [Mon, 21 Feb 2005 00:26:57 +0000 (00:26 +0000)]
actually exit in badusage

20 years agofixme re SEN in slave mode ?
ian [Mon, 14 Feb 2005 03:01:15 +0000 (03:01 +0000)]
fixme re SEN in slave mode ?

20 years agodie correctly if _lack_ of ack; debug values right way round
ian [Mon, 14 Feb 2005 02:48:17 +0000 (02:48 +0000)]
die correctly if _lack_ of ack; debug values right way round

20 years agomaster test for I2C setup inverted. also new in-hex debugging stuff; who knows...
ian [Mon, 14 Feb 2005 02:32:06 +0000 (02:32 +0000)]
master test for I2C setup inverted.   also new in-hex debugging stuff; who knows if it will work

20 years agoI2C_CTRL is not in access bank
ian [Sun, 13 Feb 2005 22:54:04 +0000 (22:54 +0000)]
I2C_CTRL is not in access bank

20 years agofixes and work in progress for I2C debugging
ian [Sun, 13 Feb 2005 22:51:53 +0000 (22:51 +0000)]
fixes and work in progress for I2C debugging