summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/kas89.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/kas89.c')
-rw-r--r--src/mame/drivers/kas89.c66
1 files changed, 33 insertions, 33 deletions
diff --git a/src/mame/drivers/kas89.c b/src/mame/drivers/kas89.c
index a519bf057c2..8ae7fafa9fd 100644
--- a/src/mame/drivers/kas89.c
+++ b/src/mame/drivers/kas89.c
@@ -59,13 +59,13 @@
- NMI of main Z80 is connected to a 138Hz. oscillator AND bit6 of port $82.
That means NMI should be triggered each 138Hz. *only* if bit6 of port $82
- remains active.
+ remains active.
- NMI of second Z80 is connected directly to a 138Hz. oscillator.
- INT of second Z80 is coming from 2 places:
The HOLD/ASSERT (flanco descendente) is done by the main Z80 through IO port &85,
- and the CLEAR part (flanco ascendente) is autogenerated using the IO port $00.
+ and the CLEAR part (flanco ascendente) is autogenerated using the IO port $00.
- The AY-8910 is clocked 1789 kHz, and has nothing connected at simple sight.
@@ -74,7 +74,7 @@
Roulette's LEDs Support.
-----------------------
-
+
Ports $83/$84 handle the roulette's LEDs in a multiplexed way...
Port $84 is the selector, while port $83 carry the LEDs set.
@@ -119,7 +119,7 @@
| |-D1--- DOWN Button.
| |-D2--- RIGHT Button.
| |-D3--- LEFT Button.
- | |-D4--- UP Button.
+ | |-D4--- UP Button.
| |-D5--- OUT Credits.
| |-D6--- IN Credits.
| |-D7--- Audit/Test.
@@ -127,7 +127,7 @@
Whilest in Audit/Test mode, pressing the ADVANCE button, you can enter into
screen and inputs test mode.
-
+
This ADVANCE button, is routed into a latch with D0, sharing with BET button.
@@ -145,42 +145,42 @@
Once in game, you need to turn ON the Operator/Habilitation Key to allow credit IN
and OUT all 6 players. If the key is OFF, the IN/OUT credit system will not work,
getting the game only in attract mode.
-
+
* Audit/Test Mode
There are 2 controls inside the cab:
1x Audit/Test Switch.
1x Avance Pantalla (Advance) button.
-
+
In the disclaimer, turn the Audit/Test Switch ON.
You can see a screen with all the bookkeepings.
-
+
While in Audit mode, you need to press the ADVANCE button to enter the first test.
-
+
Black screen. All roulette LEDs ON.
-
+
then...
-
+
White screen. Test all sequenced LEDs in both ways, when pressing the CREDIT IN/OUT
buttons. You need the Habilitation key ON to do this test.
-
+
Press ADVANCE again, and you'll see the color palette screen.
-
+
Press ADVANCE again, and you'll see the grid pattern screen.
Press ADVANCE again, and you'll enter the input test mode. All control buttons from
- each player, including Credits IN/OUT will be shown here.
-
+ each player, including Credits IN/OUT will be shown here.
+
Press ADVANCE again, and you'll arrive to the Audit screen again.
-
+
To exit the Audit/Test mode, turn OFF the Audit/Test switch. you'll enter the game.
**************************************************************************************
TODO:
-
+
- Check why some sound events are louder than others (volume balance?).
- Fix NVRAM.
- PCB layout.
@@ -189,7 +189,7 @@
*************************************************************************************/
-#define MASTER_CLOCK XTAL_21_4772MHz
+#define MASTER_CLOCK XTAL_21_4772MHz
#include "emu.h"
#include "cpu/z80/z80.h"
@@ -347,7 +347,7 @@ static WRITE8_HANDLER( sound_comm_w )
When the attract starts, just before the game title appear, $3f
is written to the outport... (maybe to clear the possible sign).
-*/
+*/
kas89_state *state = space->machine().driver_data<kas89_state>();
if (data & 0x40)
@@ -499,14 +499,14 @@ static WRITE8_HANDLER( led_mux_select_w )
static ADDRESS_MAP_START( kas89_map, AS_PROGRAM, 8 )
AM_RANGE(0x0000, 0x7fff) AM_ROM
AM_RANGE(0x0037, 0x0037) AM_WRITENOP /* WTF? */
- AM_RANGE(0x8000, 0x81ff) AM_RAM /* empty */
+ AM_RANGE(0x8000, 0x81ff) AM_RAM /* empty */
AM_RANGE(0x8200, 0x83ff) AM_RAM /* 8200-83ff (PL1) */
- AM_RANGE(0x8400, 0x85ff) AM_RAM /* 8400-85ff (PL2) */
+ AM_RANGE(0x8400, 0x85ff) AM_RAM /* 8400-85ff (PL2) */
AM_RANGE(0x8600, 0x87ff) AM_RAM /* 8600-87ff (PL3) */
- AM_RANGE(0x8800, 0x89ff) AM_RAM /* 8800-89ff (PL4) */
+ AM_RANGE(0x8800, 0x89ff) AM_RAM /* 8800-89ff (PL4) */
AM_RANGE(0x8a00, 0x8bff) AM_RAM /* 8a00-8bff (PL5) */
- AM_RANGE(0x8c00, 0x8dff) AM_RAM /* 8c00-8dff (PL6) */
- AM_RANGE(0x8e00, 0x8fff) AM_RAM /* empty */
+ AM_RANGE(0x8c00, 0x8dff) AM_RAM /* 8c00-8dff (PL6) */
+ AM_RANGE(0x8e00, 0x8fff) AM_RAM /* empty */
AM_RANGE(0x9000, 0x97ff) AM_RAM
AM_RANGE(0x9800, 0x9fff) AM_RAM AM_SHARE("nvram")
ADDRESS_MAP_END
@@ -592,8 +592,8 @@ static INPUT_PORTS_START( kas89 )
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_Z) PORT_NAME("Player 1 - Credits OUT")
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_1) PORT_NAME("Player 1 - Credits IN")
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_LALT) PORT_NAME("Player 1 - Unknown")
-
- PORT_START("PL2")
+
+ PORT_START("PL2")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_7_PAD) PORT_NAME("Player 2 - Bet")
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_2_PAD) PORT_NAME("Player 2 - Down")
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_4_PAD) PORT_NAME("Player 2 - Left")
@@ -650,14 +650,14 @@ static INPUT_PORTS_START( kas89 )
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* Blank the screen. Disclaimer isn't shown.*/
PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN ) /* Otherwise hang the game when insert credits.*/
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_8) PORT_TOGGLE PORT_NAME("Operator/Habilitation Key")
-// PORT_DIPNAME( 0x20, 0x00, "Habilitation Key")
-// PORT_DIPSETTING( 0x20, DEF_STR( Off ) )
-// PORT_DIPSETTING( 0x00, DEF_STR( On ) )
+// PORT_DIPNAME( 0x20, 0x00, "Habilitation Key")
+// PORT_DIPSETTING( 0x20, DEF_STR( Off ) )
+// PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_9) PORT_TOGGLE PORT_NAME("Audit/Test Mode Switch")
-// PORT_DIPNAME( 0x80, 0x80, "Audit/Test Mode Switch" ) PORT_DIPLOCATION("SVC:1")
-// PORT_DIPSETTING( 0x80, DEF_STR( Off ) )
-// PORT_DIPSETTING( 0x00, DEF_STR( On ) )
+// PORT_DIPNAME( 0x80, 0x80, "Audit/Test Mode Switch" ) PORT_DIPLOCATION("SVC:1")
+// PORT_DIPSETTING( 0x80, DEF_STR( Off ) )
+// PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_START("DSW")
@@ -744,7 +744,7 @@ static INPUT_PORTS_START( kas89 )
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN ) /* Should be active for Audit/Test Mode, also for boot...*/
-
+
INPUT_PORTS_END