Previous 199869 Revisions Next

r36968 Sunday 5th April, 2015 at 21:00:27 UTC by hap
elecbowl update
[src/mess/drivers]elecbowl.c tispeak.c

trunk/src/mess/drivers/elecbowl.c
r245479r245480
1111    2*CD4043 quad r/s input latch
1212  * 5 7seg LEDs, 15 lamps(10 lamps projected to bowling pins reflection),
1313    1bit-sound with crude volume control
14  * edge connector to sensor board, inputs, ...?
14  * edge connector to sensors(switches trigger when ball rolls over)
15    and other inputs
1516
1617  lamp translation table: SN74259.u5(mux 1) goes to MESS output lamp5x,
1718  SN74259.u6(mux 2) goes to MESS output lamp6x. u1-u3 are SN75492 ICs,
r245479r245480
6263   }
6364
6465   // lamp muxes
65   UINT8 d = m_r >> 1 & 1;
66   m_display_state[5] = (m_r & 1) ? (d << (m_o & 7)) : 0;
67   m_display_state[6] = (m_r >> 2 & 1) ? (d << (m_o & 7)) : 0;
66   UINT8 mask = 1 << (m_o & 7);
67   UINT8 d = (m_r & 2) ? mask : 0;
68   if (~m_r & 1)
69      m_display_state[5] = (m_display_state[5] & ~mask) | d;
70   if (~m_r & 4)
71      m_display_state[6] = (m_display_state[6] & ~mask) | d;
6872   
69   // digit 4 is from u6 Q7
73   // digit 4 is from mux2 Q7
7074   m_display_segmask[4] = 6;
7175   m_display_state[4] = (m_display_state[6] & 0x80) ? 6 : 0;
7276
r245479r245480
9296   m_speaker->level_w(data >> 9 & 1);
9397
9498   // R4-R7: select digit
95   // R0,R2: lamp muxes enable
99   // R0,R2: lamp mux1,2 _enable
96100   // R1: lamp muxes state
97101   m_r = data;
98102   prepare_display();
r245479r245480
100104
101105WRITE16_MEMBER(elecbowl_state::write_o)
102106{
103   // O0-O2: lamp mux
107   //if (data & 0x80) printf("%X ",data&0x7f);
108
109   // O0-O2: lamp muxes select
104110   // O0-O6: digit segments A-G
105111   // O7: N/C
106   //if (data & 0x80) printf("%X ",data&0x7f);
107   
108112   m_o = data & 0x7f;
109113   prepare_display();
110114}
r245479r245480
132136   PORT_START("IN.1") // R6
133137   PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_Q)
134138   PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_W)
135   PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_E)
136   PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_R) // reset/newgame?
139   PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_E) // reset/test?
140   PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_R) // reset/test?
137141
138142   PORT_START("IN.2") // R7
139143   PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_A)
r245479r245480
145149   PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_Z)
146150   PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_X)
147151   PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_C)
148   PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_V)
152   PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_V) // 2 players sw?
149153INPUT_PORTS_END
150154
151155
r245479r245480
171175   lA+lB+lG+lF+lC+lD,      // 9
172176   
173177   0x8a, 0x8b, 0x8c, 0x8d, 0x8e, 0x8f,
174   0x90, 0x91, 0x92, 0x93, 0x94, 0x95, 0x96, 0x97,
178   0,1,2,3,4,5,6,7,        // lamp muxes select
175179   0x98, 0x99, 0x9a, 0x9b, 0x9c, 0x9d, 0x9e, 0x9f
176180};
177181
trunk/src/mess/drivers/tispeak.c
r245479r245480
5050    - notes: only 1 VSM, meaning much smaller internal vocabulary
5151
5252    Speak & Spell (Japan), 1980
53    - MCU: TMC0271* (assume same as US 1978 version)
53    - MCU: TMC0271* (assume same as US 1978 or 1979 version)
5454    - TMS51xx(1/2): 16KB CD2321
5555    - TMS51xx(2/2): 16KB CD2322
5656    - notes: no local name for the product, words are in English but very low difficulty
r245479r245480
161161    - Sea Sights: TMS51xx: 16KB CD2396 (rev.A)
162162    - Who's Who at the Zoo: TMS51xx: 16KB CD2397
163163    - A Dog on a Log: TMS51xx: 16KB CD3534 (rev.A)
164    - The Seal That Could Fly: TMS51xx: 16KB CD3535*
164    - The Seal That Could Fly: TMS51xx: 16KB CD3535
165165    - A Ghost in the House: TMS51xx: 16KB CD3536*
166166    - On the Track: TMS51xx: 16KB CD3538
167167    - The Third Circle: TMS51xx: 16KB CD3539*
168    - The Millionth Knight: TMS51xx: 16KB CD3540*
168    - The Millionth Knight: TMS51xx: 16KB CD3540
169169
170170
171171Touch & Tell:
r245479r245480
743743
744744ROM_START( snspell )
745745   ROM_REGION( 0x1000, "maincpu", 0 )
746   ROM_LOAD( "us4189779_tmc0271", 0x0000, 0x1000, BAD_DUMP CRC(d3f5a37d) SHA1(f75ab617a6067d4d3a954a9f86126d2089554df8) ) // typed in from patent 4189779, may have errors
746   ROM_LOAD( "us4189779_tmc0271", 0x0000, 0x1000, CRC(d3f5a37d) SHA1(f75ab617a6067d4d3a954a9f86126d2089554df8) ) // typed in from patent 4189779, verified by 2 sources
747747
748748   ROM_REGION( 1246, "maincpu:ipla", 0 )
749749   ROM_LOAD( "tms0980_default_ipla.pla", 0, 1246, CRC(42db9a38) SHA1(2d127d98028ec8ec6ea10c179c25e447b14ba4d0) )


Previous 199869 Revisions Next


© 1997-2024 The MAME Team