summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/capbowl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/capbowl.c')
-rw-r--r--src/mame/drivers/capbowl.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/mame/drivers/capbowl.c b/src/mame/drivers/capbowl.c
index cbad9522402..05f43be2a76 100644
--- a/src/mame/drivers/capbowl.c
+++ b/src/mame/drivers/capbowl.c
@@ -94,7 +94,7 @@
#include "sound/2203intf.h"
#include "sound/dac.h"
-#define MASTER_CLOCK 8000000 /* 8MHz crystal */
+#define MASTER_CLOCK 8000000 /* 8MHz crystal */
/*************************************
@@ -107,8 +107,8 @@
INTERRUPT_GEN_MEMBER(capbowl_state::capbowl_interrupt)
{
- if (machine().root_device().ioport("SERVICE")->read() & 1) /* get status of the F2 key */
- device.execute().set_input_line(INPUT_LINE_NMI, PULSE_LINE); /* trigger self test */
+ if (machine().root_device().ioport("SERVICE")->read() & 1) /* get status of the F2 key */
+ device.execute().set_input_line(INPUT_LINE_NMI, PULSE_LINE); /* trigger self test */
}
@@ -212,8 +212,8 @@ static void firqhandler( device_t *device, int irq )
void capbowl_state::init_nvram(nvram_device &nvram, void *base, size_t size)
{
/* invalidate nvram to make the game initialize it.
- A 0xff fill will cause the game to malfunction, so we use a
- 0x01 fill which seems OK */
+ A 0xff fill will cause the game to malfunction, so we use a
+ 0x01 fill which seems OK */
memset(base, 0x01, size);
}
@@ -232,9 +232,9 @@ static ADDRESS_MAP_START( capbowl_map, AS_PROGRAM, 8, capbowl_state )
AM_RANGE(0x5000, 0x57ff) AM_RAM AM_SHARE("nvram")
AM_RANGE(0x5800, 0x5fff) AM_READWRITE(capbowl_tms34061_r, capbowl_tms34061_w)
AM_RANGE(0x6000, 0x6000) AM_WRITE(capbowl_sndcmd_w)
- AM_RANGE(0x6800, 0x6800) AM_WRITE(track_reset_w) /* + watchdog */
- AM_RANGE(0x7000, 0x7000) AM_READ(track_0_r) /* + other inputs */
- AM_RANGE(0x7800, 0x7800) AM_READ(track_1_r) /* + other inputs */
+ AM_RANGE(0x6800, 0x6800) AM_WRITE(track_reset_w) /* + watchdog */
+ AM_RANGE(0x7000, 0x7000) AM_READ(track_0_r) /* + other inputs */
+ AM_RANGE(0x7800, 0x7800) AM_READ(track_1_r) /* + other inputs */
AM_RANGE(0x8000, 0xffff) AM_ROM
ADDRESS_MAP_END
@@ -245,9 +245,9 @@ static ADDRESS_MAP_START( bowlrama_map, AS_PROGRAM, 8, capbowl_state )
AM_RANGE(0x5000, 0x57ff) AM_RAM AM_SHARE("nvram")
AM_RANGE(0x5800, 0x5fff) AM_READWRITE(capbowl_tms34061_r, capbowl_tms34061_w)
AM_RANGE(0x6000, 0x6000) AM_WRITE(capbowl_sndcmd_w)
- AM_RANGE(0x6800, 0x6800) AM_WRITE(track_reset_w) /* + watchdog */
- AM_RANGE(0x7000, 0x7000) AM_READ(track_0_r) /* + other inputs */
- AM_RANGE(0x7800, 0x7800) AM_READ(track_1_r) /* + other inputs */
+ AM_RANGE(0x6800, 0x6800) AM_WRITE(track_reset_w) /* + watchdog */
+ AM_RANGE(0x7000, 0x7000) AM_READ(track_0_r) /* + other inputs */
+ AM_RANGE(0x7800, 0x7800) AM_READ(track_1_r) /* + other inputs */
AM_RANGE(0x8000, 0xffff) AM_ROM
ADDRESS_MAP_END
@@ -262,7 +262,7 @@ ADDRESS_MAP_END
static ADDRESS_MAP_START( sound_map, AS_PROGRAM, 8, capbowl_state )
AM_RANGE(0x0000, 0x07ff) AM_RAM
AM_RANGE(0x1000, 0x1001) AM_DEVREADWRITE_LEGACY("ymsnd", ym2203_r, ym2203_w)
- AM_RANGE(0x2000, 0x2000) AM_WRITENOP /* Not hooked up according to the schematics */
+ AM_RANGE(0x2000, 0x2000) AM_WRITENOP /* Not hooked up according to the schematics */
AM_RANGE(0x6000, 0x6000) AM_DEVWRITE("dac", dac_device, write_unsigned8)
AM_RANGE(0x7000, 0x7000) AM_READ(soundlatch_byte_r)
AM_RANGE(0x8000, 0xffff) AM_ROM
@@ -282,7 +282,7 @@ static INPUT_PORTS_START( capbowl )
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_COCKTAIL
PORT_DIPNAME( 0x40, 0x40, DEF_STR( Cabinet ) ) /* This version of Bowl-O-Rama */
- PORT_DIPSETTING( 0x40, DEF_STR( Upright ) ) /* is Upright only */
+ PORT_DIPSETTING( 0x40, DEF_STR( Upright ) ) /* is Upright only */
PORT_DIPSETTING( 0x00, DEF_STR( Cocktail ) )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN2 )