uccvend-snackrom.git
20 years agoUse a precomputed CRC table for xmodem
Bernard Blackham [Wed, 23 Jun 2004 02:10:47 +0000 (02:10 +0000)]
Use a precomputed CRC table for xmodem

20 years agoxmodem support
Bernard Blackham [Tue, 22 Jun 2004 19:31:32 +0000 (19:31 +0000)]
xmodem support
delay routine fix (fixes motors)
added README
general happiness

20 years agoLots of changes! Takes us to rom S
Bernard Blackham [Tue, 22 Jun 2004 09:29:21 +0000 (09:29 +0000)]
Lots of changes! Takes us to rom S

20 years agoTo rom Q - COMPLETELY WORKS!
Bernard Blackham [Tue, 22 Jun 2004 06:06:16 +0000 (06:06 +0000)]
To rom Q - COMPLETELY WORKS!

20 years agoAccept both CR and LF to denote newline.
Bernard Blackham [Mon, 21 Jun 2004 17:59:59 +0000 (17:59 +0000)]
Accept both CR and LF to denote newline.
Ignore empty packets.
Use my_strncpy for cleanliness.

20 years agoMore things to hopefully make this work.
Bernard Blackham [Mon, 21 Jun 2004 17:04:29 +0000 (17:04 +0000)]
More things to hopefully make this work.

20 years agoBug fixes when buffer is full.
Bernard Blackham [Mon, 21 Jun 2004 16:40:16 +0000 (16:40 +0000)]
Bug fixes when buffer is full.

20 years agoSpell some things out, but don't be quite so verbose in other places
Bernard Blackham [Mon, 21 Jun 2004 16:39:47 +0000 (16:39 +0000)]
Spell some things out, but don't be quite so verbose in other places

20 years agoMake a delay before testing home sensors
Bernard Blackham [Mon, 21 Jun 2004 16:39:22 +0000 (16:39 +0000)]
Make a delay before testing home sensors

20 years agoTo romP
Bernard Blackham [Mon, 21 Jun 2004 14:07:42 +0000 (14:07 +0000)]
To romP

20 years agoTo romO
Bernard Blackham [Mon, 21 Jun 2004 14:07:29 +0000 (14:07 +0000)]
To romO

20 years agoReference manual for M68HC11
Bernard Blackham [Mon, 21 Jun 2004 13:08:08 +0000 (13:08 +0000)]
Reference manual for M68HC11

20 years agoBeginnings of serial interface
Bernard Blackham [Mon, 21 Jun 2004 12:10:28 +0000 (12:10 +0000)]
Beginnings of serial interface

20 years agoFix motor off by one errors.
Bernard Blackham [Mon, 21 Jun 2004 11:00:51 +0000 (11:00 +0000)]
Fix motor off by one errors.
More useful error messages
To romK

20 years agoTurn off soft registers. Make code to suit.
Bernard Blackham [Mon, 21 Jun 2004 10:33:40 +0000 (10:33 +0000)]
Turn off soft registers. Make code to suit.

20 years agoTo ROM J.
Bernard Blackham [Mon, 21 Jun 2004 10:33:10 +0000 (10:33 +0000)]
To ROM J.
This fails - suspect change in soft registers

20 years agoOnly turn on the column shift register output if we need it.
Bernard Blackham [Sun, 20 Jun 2004 15:31:31 +0000 (15:31 +0000)]
Only turn on the column shift register output if we need it.

20 years agoBit of logic shuffling.
Bernard Blackham [Sun, 20 Jun 2004 15:31:00 +0000 (15:31 +0000)]
Bit of logic shuffling.

20 years agoCleanup and let gcc optimise the cases where row == 0 and row != 0
Bernard Blackham [Sun, 20 Jun 2004 15:30:36 +0000 (15:30 +0000)]
Cleanup and let gcc optimise the cases where row == 0 and row != 0

20 years agoA better fix for wacky gcc weirdness.
Bernard Blackham [Sun, 20 Jun 2004 15:30:07 +0000 (15:30 +0000)]
A better fix for wacky gcc weirdness.

20 years agoEnough wacky little fixes to get motors turning and keypad functional.
Bernard Blackham [Sun, 20 Jun 2004 12:54:00 +0000 (12:54 +0000)]
Enough wacky little fixes to get motors turning and keypad functional.
This brings us to romI.b

20 years agoBunch of silly errors & debugging stuff.
Bernard Blackham [Sat, 19 Jun 2004 10:12:45 +0000 (10:12 +0000)]
Bunch of silly errors & debugging stuff.
Takes up to somewhere between romE and romF

21 years agoFIX: off by one error, when checking key bits
jedin [Fri, 22 Aug 2003 11:25:17 +0000 (11:25 +0000)]
FIX: off by one error, when checking key bits
Corrected comment.

21 years agoIgnorance file
Bernard Blackham [Sun, 17 Aug 2003 05:49:31 +0000 (05:49 +0000)]
Ignorance file

21 years agoFixed some more faulty logic
Bernard Blackham [Sat, 16 Aug 2003 18:12:20 +0000 (18:12 +0000)]
Fixed some more faulty logic

21 years agoCommenting
Bernard Blackham [Sat, 16 Aug 2003 18:12:08 +0000 (18:12 +0000)]
Commenting

21 years agoCleaned up initializations
Bernard Blackham [Sat, 16 Aug 2003 17:42:47 +0000 (17:42 +0000)]
Cleaned up initializations
Added PING/PONG message

21 years agoCleanup gcc compile warnings
Bernard Blackham [Sat, 16 Aug 2003 17:03:56 +0000 (17:03 +0000)]
Cleanup gcc compile warnings

21 years agoFixed non-terminating logic of keypad decoder.
Bernard Blackham [Sat, 16 Aug 2003 17:00:43 +0000 (17:00 +0000)]
Fixed non-terminating logic of keypad decoder.
Removed unused function keypad_getkey()

21 years agoFIX: incorrect test for "no key pressed".
jedin [Sat, 16 Aug 2003 07:53:52 +0000 (07:53 +0000)]
FIX: incorrect test for "no key pressed".

21 years agoLong beep on start up
Bernard Blackham [Fri, 15 Aug 2003 17:11:04 +0000 (17:11 +0000)]
Long beep on start up

21 years agoComments
Bernard Blackham [Fri, 15 Aug 2003 17:10:48 +0000 (17:10 +0000)]
Comments

21 years agoOff-by-one errors
Bernard Blackham [Fri, 15 Aug 2003 17:10:38 +0000 (17:10 +0000)]
Off-by-one errors

21 years agoExport some functions that might be useful
Bernard Blackham [Fri, 15 Aug 2003 17:10:27 +0000 (17:10 +0000)]
Export some functions that might be useful

21 years agoRewrite of delay function
Bernard Blackham [Fri, 15 Aug 2003 16:41:04 +0000 (16:41 +0000)]
Rewrite of delay function
Riddance of print amount function (not needed for basic setup)

21 years agoInterrupt masking logic was backwards
Bernard Blackham [Fri, 15 Aug 2003 15:34:21 +0000 (15:34 +0000)]
Interrupt masking logic was backwards

21 years agokeypad fix
Bernard Blackham [Fri, 15 Aug 2003 15:31:22 +0000 (15:31 +0000)]
keypad fix
enable interrupts

21 years agominor tweaks
Bernard Blackham [Fri, 15 Aug 2003 15:12:45 +0000 (15:12 +0000)]
minor tweaks

21 years agoRemoved beep comment, beep earlier.
jedin [Fri, 15 Aug 2003 14:16:12 +0000 (14:16 +0000)]
Removed beep comment, beep earlier.

21 years agoFIX: when reading key, was always getting key from keymap1.
jedin [Fri, 15 Aug 2003 14:15:36 +0000 (14:15 +0000)]
FIX: when reading key, was always getting key from keymap1.

21 years agoMore bugfixes & initing
Bernard Blackham [Fri, 15 Aug 2003 10:00:27 +0000 (10:00 +0000)]
More bugfixes & initing

21 years agoFinal workings
Bernard Blackham [Fri, 15 Aug 2003 08:59:50 +0000 (08:59 +0000)]
Final workings

21 years agoLast cleanup
Bernard Blackham [Fri, 15 Aug 2003 08:18:10 +0000 (08:18 +0000)]
Last cleanup

21 years agoMore cleanups
Bernard Blackham [Fri, 15 Aug 2003 08:15:06 +0000 (08:15 +0000)]
More cleanups

21 years agoCleanups
Bernard Blackham [Fri, 15 Aug 2003 08:14:21 +0000 (08:14 +0000)]
Cleanups

21 years agoUART code for a 16550.
Bernard Blackham [Fri, 15 Aug 2003 07:18:13 +0000 (07:18 +0000)]
UART code for a 16550.
Lots of other fixes.
Beginnings of main()

21 years agoBeginnings of 16550 code
Bernard Blackham [Tue, 12 Aug 2003 07:56:24 +0000 (07:56 +0000)]
Beginnings of 16550 code

21 years agoSmall cleanups
Bernard Blackham [Tue, 12 Aug 2003 07:06:48 +0000 (07:06 +0000)]
Small cleanups

21 years agoMore motor work
Bernard Blackham [Mon, 11 Aug 2003 16:54:05 +0000 (16:54 +0000)]
More motor work

21 years agoanother stupid bug
Bernard Blackham [Mon, 11 Aug 2003 16:52:10 +0000 (16:52 +0000)]
another stupid bug

21 years agostupid bug
Bernard Blackham [Mon, 11 Aug 2003 16:51:52 +0000 (16:51 +0000)]
stupid bug

21 years agobset & bclr had optimisation bugs with gcc
Bernard Blackham [Mon, 11 Aug 2003 16:51:25 +0000 (16:51 +0000)]
bset & bclr had optimisation bugs with gcc

21 years agoclarifications
Bernard Blackham [Mon, 11 Aug 2003 02:20:51 +0000 (02:20 +0000)]
clarifications

21 years agoAltered the memory map. Need a page0 for stack & other variables.
Bernard Blackham [Sun, 10 Aug 2003 16:47:33 +0000 (16:47 +0000)]
Altered the memory map. Need a page0 for stack & other variables.

21 years agoDeprecating main.c & other functions in order to be a dumb terminal.
Bernard Blackham [Sun, 10 Aug 2003 16:37:50 +0000 (16:37 +0000)]
Deprecating main.c & other functions in order to be a dumb terminal.
This requires a remake of display.c because we don't have that much RAM
to play with, so we can't hold a 256 byte buffer.

21 years agoLots of fixes.
Bernard Blackham [Sun, 10 Aug 2003 16:22:38 +0000 (16:22 +0000)]
Lots of fixes.
Beginnings of motor control code.

21 years agoMore coin mech code
Bernard Blackham [Sun, 10 Aug 2003 14:46:09 +0000 (14:46 +0000)]
More coin mech code

21 years agoInfo about the coin mechanism.
Bernard Blackham [Sun, 10 Aug 2003 11:04:38 +0000 (11:04 +0000)]
Info about the coin mechanism.

21 years agoAdded again as binary
Bernard Blackham [Sun, 10 Aug 2003 11:04:25 +0000 (11:04 +0000)]
Added again as binary

21 years agoAdding again as binary
Bernard Blackham [Sun, 10 Aug 2003 10:58:27 +0000 (10:58 +0000)]
Adding again as binary

21 years agomotors header
Bernard Blackham [Sun, 10 Aug 2003 07:57:57 +0000 (07:57 +0000)]
motors header

21 years agocoin mech header
Bernard Blackham [Sun, 10 Aug 2003 07:57:09 +0000 (07:57 +0000)]
coin mech header

21 years agoCompile fixes
Bernard Blackham [Sun, 10 Aug 2003 07:56:20 +0000 (07:56 +0000)]
Compile fixes

21 years agoStart of coin mech handler
Bernard Blackham [Sun, 10 Aug 2003 07:45:58 +0000 (07:45 +0000)]
Start of coin mech handler

21 years agofindings
Bernard Blackham [Fri, 8 Aug 2003 01:10:27 +0000 (01:10 +0000)]
findings

21 years agomore findings
Bernard Blackham [Fri, 8 Aug 2003 00:56:44 +0000 (00:56 +0000)]
more findings

21 years agomore about the coin mech & pricing system
Bernard Blackham [Fri, 8 Aug 2003 00:21:34 +0000 (00:21 +0000)]
more about the coin mech & pricing system

21 years agomaking sense of coin mech
Bernard Blackham [Thu, 7 Aug 2003 17:56:27 +0000 (17:56 +0000)]
making sense of coin mech

21 years agomotor findings
Bernard Blackham [Thu, 7 Aug 2003 17:08:01 +0000 (17:08 +0000)]
motor findings

21 years agomore findings
Bernard Blackham [Thu, 7 Aug 2003 15:39:43 +0000 (15:39 +0000)]
more findings

21 years agomore changes
Bernard Blackham [Thu, 7 Aug 2003 10:44:13 +0000 (10:44 +0000)]
more changes

21 years agoMore changes
Bernard Blackham [Thu, 7 Aug 2003 05:19:31 +0000 (05:19 +0000)]
More changes

21 years agomore progress
Bernard Blackham [Wed, 6 Aug 2003 17:20:07 +0000 (17:20 +0000)]
more progress

21 years agoMore code
Bernard Blackham [Wed, 6 Aug 2003 17:04:29 +0000 (17:04 +0000)]
More code

21 years agoBeginnings of a UI.
Bernard Blackham [Wed, 6 Aug 2003 16:16:50 +0000 (16:16 +0000)]
Beginnings of a UI.

21 years agoGratuitious use of #defines
Bernard Blackham [Wed, 6 Aug 2003 16:16:30 +0000 (16:16 +0000)]
Gratuitious use of #defines

21 years agoAllow changes to individual characters
Bernard Blackham [Wed, 6 Aug 2003 16:16:00 +0000 (16:16 +0000)]
Allow changes to individual characters

21 years agoMore keypad fixes.
Bernard Blackham [Wed, 6 Aug 2003 14:58:55 +0000 (14:58 +0000)]
More keypad fixes.
Chiming.
Beginnings of an RTI.

21 years agoMemory map update
Bernard Blackham [Wed, 6 Aug 2003 09:45:24 +0000 (09:45 +0000)]
Memory map update

21 years agoReworking of the assembly
Bernard Blackham [Wed, 6 Aug 2003 09:43:50 +0000 (09:43 +0000)]
Reworking of the assembly
Start of keypad reading code

21 years agoSplitting out headers
Bernard Blackham [Wed, 6 Aug 2003 08:06:44 +0000 (08:06 +0000)]
Splitting out headers
Getting assembly right

21 years agoUpdated the memory map to reflect the circuitry
Bernard Blackham [Wed, 6 Aug 2003 06:58:52 +0000 (06:58 +0000)]
Updated the memory map to reflect the circuitry

21 years agodisplay & keypad work
Bernard Blackham [Wed, 6 Aug 2003 03:53:52 +0000 (03:53 +0000)]
display & keypad work

21 years agoreworkings
Bernard Blackham [Wed, 6 Aug 2003 03:08:13 +0000 (03:08 +0000)]
reworkings

21 years agosome clarifications
Bernard Blackham [Wed, 6 Aug 2003 01:30:18 +0000 (01:30 +0000)]
some clarifications

21 years agoFiles that got left out - initial commits
Bernard Blackham [Tue, 5 Aug 2003 15:47:04 +0000 (15:47 +0000)]
Files that got left out - initial commits

21 years agoIntroduce linking information from m68hc1x's example file.
Bernard Blackham [Tue, 5 Aug 2003 15:46:34 +0000 (15:46 +0000)]
Introduce linking information from m68hc1x's example file.

21 years agoInitial go at pulling things together.
Bernard Blackham [Tue, 5 Aug 2003 15:10:08 +0000 (15:10 +0000)]
Initial go at pulling things together.

21 years agomore comments
Bernard Blackham [Tue, 5 Aug 2003 07:29:34 +0000 (07:29 +0000)]
more comments

21 years ago*** empty log message ***
Bernard Blackham [Mon, 4 Aug 2003 04:51:36 +0000 (04:51 +0000)]
*** empty log message ***

21 years agomaking sense of error status bits
Bernard Blackham [Mon, 4 Aug 2003 03:01:25 +0000 (03:01 +0000)]
making sense of error status bits

21 years agostuff
Bernard Blackham [Mon, 4 Aug 2003 02:39:31 +0000 (02:39 +0000)]
stuff

21 years agohave big division figured out
Bernard Blackham [Sun, 3 Aug 2003 16:19:56 +0000 (16:19 +0000)]
have big division figured out

21 years agolong math discoveries!
Bernard Blackham [Sun, 3 Aug 2003 16:14:59 +0000 (16:14 +0000)]
long math discoveries!

21 years agomore unearthings
Bernard Blackham [Sun, 3 Aug 2003 15:04:31 +0000 (15:04 +0000)]
more unearthings

21 years agofixed rol statements
Bernard Blackham [Sun, 3 Aug 2003 14:52:42 +0000 (14:52 +0000)]
fixed rol statements

21 years agomore changes - before applying the rol instruction fix
Bernard Blackham [Sun, 3 Aug 2003 14:39:50 +0000 (14:39 +0000)]
more changes - before applying the rol instruction fix

21 years agomore findings
Bernard Blackham [Sun, 3 Aug 2003 09:25:10 +0000 (09:25 +0000)]
more findings

21 years agoFound a motor lookup table
Bernard Blackham [Sun, 3 Aug 2003 08:15:48 +0000 (08:15 +0000)]
Found a motor lookup table

21 years agoHC11 CPU datasheet - the closest one to the A1 used in the vending machine
Bernard Blackham [Sun, 3 Aug 2003 06:56:50 +0000 (06:56 +0000)]
HC11 CPU datasheet - the closest one to the A1 used in the vending machine
(the HC11E series succeded the HC11A's)

UCC git Repository :: git.ucc.asn.au