+
+From vend.asm:
+
+
+
+;0006 slot number
+
+;Rows are numbered 1-9, skipping 5. There is no row 5.
+;2800 home sensors
+; 7 row 9
+; 6 row 8
+; 5 row 7
+; 4 row 6
+; 3 row 4
+; 2 row 3
+; 1 row 2
+; 0 row 1
+;Motor driver data is sent cols 7, 6, 5, 4, 3, 2, 1, 0 rows 9, 8, 7, 6,
+4, 3, 2
+;1. Cols 8 and 9 are separate outputs (they ran out of driver chip
+outputs).
+;Motor driver column output enable is PA6
+;Motor driver serial clock is PA5
+;It looks like motor overcurrent sense is on PE1 (PE1 will be low if a
+motor
+;is drawing too much current)
+;3000 misc outputs
+; 7 motor driver serial data
+; 6 col 9 motor driver
+; 5 col 8 motor driver
+; 4 display connector
+; 3 display connector
+; 2 not used
+; 1 note acceptor connector
+; 0 note acceptor connector
+;3800 changer outputs
+; 7 /ACCEPT
+; 6 /SEND
+; 5 RESET
+; 4 /$.05
+; 3 /$.10
+; 2 /$.25
+; 1 /$1.00
+; 0 motor driver row output enable
+;PA5 selects between RS232 and current loop serial interface?
+
+
+
+
+
+
+Simon's comments say this:
+0x3800 to 0x3FFF - U14. 74HC374 - 8 * D type flip flops. Here the data bits
+ are latched and taken off to various devices. (read serial I/O by
+ toggling data lines).
+ D0, D1 - Bill Valadator
+ D2, D3 - Display - D2 is data, D3 is clock (I think)
+ D4, D5, D6 - Snack Motors. D4 is data for the row decoder. D5, D6
+ form part of the column decoders as far as I can tell.
+0x3000 to 0x37FF - U13. 74HC374. For the changer - dispenses change and/or
+ counts change I think. Just latches data to the device.
+
+John's say this:
+;3000 misc outputs
+; 7 motor driver serial data
+; 6 col 9 motor driver
+; 5 col 8 motor driver
+; 4 display connector
+; 3 display connector
+; 2 not used
+; 1 note acceptor connector
+; 0 note acceptor connector
+;3800 changer outputs
+; 7 /ACCEPT
+; 6 /SEND
+; 5 RESET
+; 4 /$.05
+; 3 /$.10
+; 2 /$.25
+; 1 /$1.00
+; 0 motor driver row output enable
+;
+
+which is correct?