trunk/src/mess/audio/upd1771.c
| r244984 | r244985 | |
| 108 | 108 | 6Mhz XIN 9 20 D2 |
| 109 | 109 | 6Mhz XOUT 10 19 D1 |
| 110 | 110 | AUDOUT 11 18 D0 |
| 111 | | NC 12 17 GND |
| 111 | NC(recheck!)12 17 GND |
| 112 | 112 | AUDOUT(inv) 13 16 VCC |
| 113 | 113 | GND 14 15 ? tied to pin 16 (VCC) through a resistor (pullup?) |
| 114 | 114 | |
| 115 | 115 | Pinout based on guesses and information in "Electronic Speech Synthesis" by Geoff Bristow |
| 116 | 116 | (ISBN 0-07-007912-9, pages 148-152), and the data on page 233 of the Nec APC technical manual at |
| 117 | 117 | http://bitsavers.trailing-edge.com/pdf/nec/APC/819-000100-1003_APC_System_Reference_Guide_Apr83.pdf |
| 118 | I/O pin purpose based on testing by kevtris. |
| 118 | 119 | [x] is unsure: |
| 119 | | PB3 1 28 PB2 |
| 120 | | PB4(/ALE) 2 27 PB1 |
| 121 | | PB5(/RD) 3 26 PB0 |
| 122 | | PB6(/WR) 4 25 D7(PA7) |
| 123 | | PB7(/CS) 5 24 D6(PA6) |
| 124 | | /RESET 6 23 D5(PA5) |
| 125 | | [TEST?] 7 22 D4(PA4) |
| 126 | | VCC 8 21 D3(PA3) |
| 127 | | XI(CLK) 9 20 D2(PA2) |
| 128 | | XO 10 19 D1(PA1) |
| 129 | | D/A OUT + 11 18 D0(PA0) |
| 130 | | [D/A VREF] 12 17 CH2 |
| 131 | | D/A OUT - 13 16 /EXTINT |
| 132 | | GND 14 15 CH1 tied to pin 16 (VCC) through a resistor, on APC to VCC thru a 12k resistor and thru a 10uf cap to gnd |
| 120 | PB3 <> 1 28 <> PB2 |
| 121 | PB4(/ALE) <> 2 27 <> PB1 |
| 122 | PB5(/RD) <> 3 26 <> PB0 |
| 123 | PB6(/WR) <> 4 25 <> D7(PA7) |
| 124 | PB7(/CS) <> 5 24 <> D6(PA6) |
| 125 | /RESET -> 6 23 <> D5(PA5) |
| 126 | [/TSTOUT?] <- 7 22 <> D4(PA4) |
| 127 | VCC -- 8 21 <> D3(PA3) |
| 128 | XI(CLK) -> 9 20 <> D2(PA2) |
| 129 | XO <- 10 19 <> D1(PA1) |
| 130 | D/A OUT + <- 11 18 <> D0(PA0) |
| 131 | D/A POWER -- 12 17 <- CH2 |
| 132 | D/A OUT - <- 13 16 <> /EXTINT and [/TSTOUT2?] (test out is related to pin 15 state) |
| 133 | GND -- 14 15 <- CH1 tied to pin 16 (VCC) through a resistor, on APC to VCC thru a 12k resistor and thru a 10uf cap to gnd |
| 133 | 134 | |
| 134 | | CH1 and CH2 are some sort of mode selects? |
| 135 | CH1 and CH2 are mode selects, purpose based on testing by kevtris: |
| 136 | CH1 CH2 |
| 137 | H L - 'master' mode, pb4-pb7 are i/o? /EXTINT is an input |
| 138 | L L - 'slave' mode where pb4-pb7 are /ale /rd /wr /cs? /EXTINT may be an output in this mode? |
| 139 | X H - test mode: the 512 byte 16-bit wide ROM is output sequentially on pins pa7-pa0 and pb7-pb0 for the high and low bytes of each word respectively |
| 140 | D/A POWER is the FET source for the D/A OUT+ and D/A OUT- push-pull dac drains; it should be tied to VCC or thereabouts |
| 135 | 141 | |
| 136 | 142 | In the SCV (info from plgDavid): |
| 137 | 143 | pin 5 is tied to the !SCPU pin on the Epoch TV chip pin 29 (0x3600 writes) |