4141 | |___|___|___|___| |
4242 | | | | | |
4343 | |
44- | 74LS253N 74LS253N 74LS253N 74LS253 |
44+ | 74LS253N 74LS253N 74LS253N 74LS253 |
4545 | _____________ |
4646 | | 4700uF 35V | MC7812CT |
4747 | -| Capacitor |- |
6363 | | | 74LS367N 74LS161N 74LS161N 74LS04N DM7404N |
6464 | | | |
6565 | | | 74LS245PC _________ 74LS74N LM3302N |
66- | | | | Z80 CPU | |
66+ | | | | Z80 CPU | |
6767 | | | 74LS245PC |___U1____| MM2114N-3 74LS174N 74LS166J |
6868 | | | _____ |
6969 | |_| 74LS138N 74LS245PC 74LS245PC MM2114N-3 74LS157N |_U68_| |
148148 * CPU clock derived from #defined crystal.
149149 * 8000-8007 Output ports.
150150 * Coin related counters.
151- * Sound components and trigger found at 8000-8003, bit2.
151+ * Sound components and trigger found at 8000-8003, bit2.
152152 * Full lamps support.
153153 * PCBs layouts & technical notes.
154154
158158
159159 - Still analyze 8000-8007 offset range remaining bits.
160160 These writes sounds like a BCD valueset.
161- Maybe were intended formerly to send some data to 7seg display unit.
161+ Maybe were intended formerly to send some data to 7seg display unit.
162162
163163 - Color system (no bipolar PROMs in the system)
164-
164+
165165
166166**********************************************************************************/
167167
@@ -227,7 +227,7 @@ static READ8_HANDLER( mixport_r )
227227
228228 Spark-Watchdog... The system expect status changes on bit1, otherwise stop the hardware with an error message.
229229 The line seems to be tied to a clock. We can't use XORed status due to the nested checks.
230- If you change the status *every* read, the HW stucks.
230+ If you change the status *every* read, the HW stucks.
231231*/
232232 static int mixdata ;
233233
@@ -250,7 +250,7 @@ static READ8_HANDLER( mixport_r )
250250
251251//static WRITE8_HANDLER( muxed_w )
252252//{
253- // popmessage("written : %02X %02X %02X %02X %02X %02X %02X %02X", data & 0x01, data & 0x02, data & 0x04, data & 0x08, data & 0x10, data & 0x20, data & 0x40, data & 0x80);
253+ // popmessage("written : %02X %02X %02X %02X %02X %02X %02X %02X", data & 0x01, data & 0x02, data & 0x04, data & 0x08, data & 0x10, data & 0x20, data & 0x40, data & 0x80);
254254//}
255255
256256/***** Port 8000 *****
@@ -440,13 +440,13 @@ static WRITE8_HANDLER( outport7_w )
440440
441441//static WRITE8_HANDLER( sound_w )
442442//{
443- // dac_data_w(devtag_get_device(space->machine, "dac"), data);
443+ // dac_data_w(devtag_get_device(space->machine, "dac"), data);
444444//}
445445*/
446446
447447static ADDRESS_MAP_START ( main_map , ADDRESS_SPACE_PROGRAM , 8 )
448448 AM_RANGE (0x0000 , 0x2fff ) AM_ROM
449- // AM_RANGE(0x0158, 0x0158) AM_WRITE (muxed_w)
449+ // AM_RANGE(0x0158, 0x0158) AM_WRITE (muxed_w)
450450 AM_RANGE (0x3800 , 0x38ff ) AM_RAM AM_BASE (& generic_nvram ) AM_SIZE (& generic_nvram_size ) /* NVRAM = 2x SCM5101E */
451451 AM_RANGE (0x4000 , 0x47ff ) AM_RAM AM_BASE (& mpoker_video ) /* 4x MM2114N-3 */
452452 AM_RANGE (0x8000 , 0x8000 ) AM_READ_PORT ("SW1 ")
@@ -467,17 +467,17 @@ ADDRESS_MAP_END
467467static INPUT_PORTS_START ( mpoker )
468468
469469 PORT_START ("IN1 ")
470- PORT_BIT ( 0x01 , IP_ACTIVE_LOW , IPT_BUTTON1 ) PORT_CODE (KEYCODE_1 ) PORT_NAME ("Bet ")
471- PORT_BIT ( 0x02 , IP_ACTIVE_LOW , IPT_BUTTON2 ) PORT_CODE (KEYCODE_2 ) PORT_NAME ("Deal /Draw ")
472- PORT_BIT ( 0x04 , IP_ACTIVE_LOW , IPT_BUTTON3 ) PORT_CODE (KEYCODE_N ) PORT_NAME ("Cancel Discards ")
473- PORT_BIT ( 0x08 , IP_ACTIVE_LOW , IPT_BUTTON4 ) PORT_CODE (KEYCODE_M ) PORT_NAME ("Stand (Hold all Cards)" )
474- PORT_BIT ( 0x10 , IP_ACTIVE_LOW , IPT_BUTTON5 ) PORT_CODE (KEYCODE_Z ) PORT_NAME ("Discard 1" )
475- PORT_BIT ( 0x20 , IP_ACTIVE_LOW , IPT_BUTTON6 ) PORT_CODE (KEYCODE_X ) PORT_NAME ("Discard 2" )
476- PORT_BIT ( 0x40 , IP_ACTIVE_LOW , IPT_BUTTON7 ) PORT_CODE (KEYCODE_C ) PORT_NAME ("Discard 3" )
477- PORT_BIT ( 0x80 , IP_ACTIVE_LOW , IPT_BUTTON8 ) PORT_CODE (KEYCODE_V ) PORT_NAME ("Discard 4" )
470+ PORT_BIT ( 0x01 , IP_ACTIVE_LOW , IPT_BUTTON1 ) PORT_CODE (KEYCODE_1 ) PORT_NAME ("Bet ")
471+ PORT_BIT ( 0x02 , IP_ACTIVE_LOW , IPT_BUTTON2 ) PORT_CODE (KEYCODE_2 ) PORT_NAME ("Deal /Draw ")
472+ PORT_BIT ( 0x04 , IP_ACTIVE_LOW , IPT_BUTTON3 ) PORT_CODE (KEYCODE_N ) PORT_NAME ("Cancel Discards ")
473+ PORT_BIT ( 0x08 , IP_ACTIVE_LOW , IPT_BUTTON4 ) PORT_CODE (KEYCODE_M ) PORT_NAME ("Stand (Hold all Cards)" )
474+ PORT_BIT ( 0x10 , IP_ACTIVE_LOW , IPT_BUTTON5 ) PORT_CODE (KEYCODE_Z ) PORT_NAME ("Discard 1" )
475+ PORT_BIT ( 0x20 , IP_ACTIVE_LOW , IPT_BUTTON6 ) PORT_CODE (KEYCODE_X ) PORT_NAME ("Discard 2" )
476+ PORT_BIT ( 0x40 , IP_ACTIVE_LOW , IPT_BUTTON7 ) PORT_CODE (KEYCODE_C ) PORT_NAME ("Discard 3" )
477+ PORT_BIT ( 0x80 , IP_ACTIVE_LOW , IPT_BUTTON8 ) PORT_CODE (KEYCODE_V ) PORT_NAME ("Discard 4" )
478478
479479 PORT_START ("IN2" )
480- PORT_BIT ( 0x01 , IP_ACTIVE_LOW , IPT_BUTTON9 ) PORT_CODE (KEYCODE_B ) PORT_NAME ("Discard 5" )
480+ PORT_BIT ( 0x01 , IP_ACTIVE_LOW , IPT_BUTTON9 ) PORT_CODE (KEYCODE_B ) PORT_NAME ("Discard 5" )
481481 PORT_BIT ( 0x02 , IP_ACTIVE_LOW , IPT_SERVICE ) PORT_CODE (KEYCODE_9 ) PORT_NAME ("Stats" )
482482 PORT_BIT ( 0x04 , IP_ACTIVE_LOW , IPT_SERVICE ) PORT_CODE (KEYCODE_Q ) PORT_NAME ("Payout" )
483483 PORT_BIT ( 0x08 , IP_ACTIVE_LOW , IPT_COIN1 ) PORT_IMPULSE (2 )
@@ -495,7 +495,7 @@ static INPUT_PORTS_START( mpoker )
495495 PORT_DIPSETTING ( 0x04 , DEF_STR ( 4 C_1C ) )
496496 PORT_DIPSETTING ( 0x05 , "5 Coins/2 Credits" )
497497 PORT_DIPSETTING ( 0x06 , DEF_STR ( 2 C_1C ) )
498- // PORT_DIPSETTING( 0x07, DEF_STR( 1C_1C ) ) --> damn check... you can't set 2 different bits pointing to the same coinage.
498+ // PORT_DIPSETTING( 0x07, DEF_STR( 1C_1C ) ) --> damn check... you can't set 2 different bits pointing to the same coinage.
499499 PORT_DIPSETTING ( 0x0f , DEF_STR ( 1 C_1C ) )
500500 PORT_DIPSETTING ( 0x0e , DEF_STR ( 1 C_2C ) )
501501 PORT_DIPSETTING ( 0x0d , DEF_STR ( 2 C_5C ) )
@@ -578,9 +578,9 @@ static MACHINE_DRIVER_START( mpoker )
578578 MDRV_VIDEO_UPDATE (mpoker )
579579
580580 /* sound hardware */
581- // MDRV_SPEAKER_STANDARD_MONO("mono")
582- // MDRV_SOUND_ADD("dac", DAC, 0)
583- // MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
581+ // MDRV_SPEAKER_STANDARD_MONO("mono")
582+ // MDRV_SOUND_ADD("dac", DAC, 0)
583+ // MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
584584MACHINE_DRIVER_END
585585
586586ROM_START ( mpoker )
0 commit comments