summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-06-26 16:05:46 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-06-26 16:05:46 +0000
commit3d1376ed9721ba2008ebf15cbca3226e09727c56 (patch)
treead63fcf3a342f39fcbe8b61ab6f0569120d8cc2b /src/mame
parenta31c92792bab018bdb4117967a4cc9a0dcdcbfb1 (diff)
Cleanups/version bump.mame0125u7
Diffstat (limited to 'src/mame')
-rw-r--r--src/mame/drivers/calomega.c106
-rw-r--r--src/mame/drivers/ddragon3.c2
-rw-r--r--src/mame/drivers/dkong.c8
-rw-r--r--src/mame/drivers/flstory.c2
-rw-r--r--src/mame/drivers/genesis.c2
-rw-r--r--src/mame/drivers/hornet.c102
-rw-r--r--src/mame/drivers/kaneko16.c4
-rw-r--r--src/mame/drivers/konamigx.c4
-rw-r--r--src/mame/drivers/mayumi.c2
-rw-r--r--src/mame/drivers/mcr68.c2
-rw-r--r--src/mame/drivers/mediagx.c2
-rw-r--r--src/mame/drivers/metro.c8
-rw-r--r--src/mame/drivers/mexico86.c2
-rw-r--r--src/mame/drivers/micro3d.c6
-rw-r--r--src/mame/drivers/midvunit.c2
-rw-r--r--src/mame/drivers/mitchell.c4
-rw-r--r--src/mame/drivers/model1.c6
-rw-r--r--src/mame/drivers/mystwarr.c2
-rw-r--r--src/mame/drivers/nbmj9195.c10
-rw-r--r--src/mame/drivers/niyanpai.c4
-rw-r--r--src/mame/drivers/nmk16.c2
-rw-r--r--src/mame/drivers/psikyo.c2
-rw-r--r--src/mame/drivers/seattle.c2
-rw-r--r--src/mame/drivers/segag80v.c2
-rw-r--r--src/mame/drivers/srmp6.c10
-rw-r--r--src/mame/drivers/tumbleb.c6
-rw-r--r--src/mame/drivers/vegas.c2
-rw-r--r--src/mame/drivers/williams.c2
-rw-r--r--src/mame/drivers/xexex.c2
-rw-r--r--src/mame/drivers/zr107.c68
-rw-r--r--src/mame/machine/konppc.c2
-rw-r--r--src/mame/machine/midwunit.c2
-rw-r--r--src/mame/machine/nb1413m3.c10
-rw-r--r--src/mame/machine/williams.c6
-rw-r--r--src/mame/video/namcofl.c2
-rw-r--r--src/mame/video/phoenix.c2
36 files changed, 201 insertions, 201 deletions
diff --git a/src/mame/drivers/calomega.c b/src/mame/drivers/calomega.c
index f1f2f1e9176..627ec61ad2c 100644
--- a/src/mame/drivers/calomega.c
+++ b/src/mame/drivers/calomega.c
@@ -273,7 +273,7 @@
This is the most famous game from Cal Omega 903 System. In the test mode you can see
the name "Gaming Draw Poker", but in the manual figure as "Casino Poker". Also in some
- game lists you can see it with another name: "Arcade Poker".
+ game lists you can see it with another name: "Arcade Poker".
The game uses the same GFX set that Jack Potten's Poker for cards and has similar
layout, but the game is different and the old discrete pitched sounds were replaced
@@ -613,7 +613,7 @@
#include "machine/6850acia.h"
#include "sound/ay8910.h"
-#include "deprecat.h"
+#include "deprecat.h"
/* UART */
@@ -844,7 +844,7 @@ static INPUT_PORTS_START( stand903 )
PORT_DIPSETTING( 0x08, "2400" )
PORT_DIPSETTING( 0x10, "4800" )
PORT_DIPSETTING( 0x20, "9600" )
-// PORT_DIPSETTING( 0x00, "No Conn" )
+// PORT_DIPSETTING( 0x00, "No Conn" )
PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unused ) ) PORT_DIPLOCATION("SW1:7")
PORT_DIPSETTING( 0x40, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
@@ -950,7 +950,7 @@ static INPUT_PORTS_START( stand904 )
PORT_DIPSETTING( 0x08, "2400" )
PORT_DIPSETTING( 0x10, "4800" )
PORT_DIPSETTING( 0x20, "9600" )
-// PORT_DIPSETTING( 0x00, "No Conn" )
+// PORT_DIPSETTING( 0x00, "No Conn" )
PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unused ) ) PORT_DIPLOCATION("SW1:7")
PORT_DIPSETTING( 0x40, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
@@ -1098,7 +1098,7 @@ static INPUT_PORTS_START( gdrawpkr )
PORT_DIPSETTING( 0x08, "2400" )
PORT_DIPSETTING( 0x10, "4800" )
PORT_DIPSETTING( 0x20, "9600" )
-// PORT_DIPSETTING( 0x00, "No Conn" )
+// PORT_DIPSETTING( 0x00, "No Conn" )
PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unused ) ) PORT_DIPLOCATION("SW1:7")
PORT_DIPSETTING( 0x40, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
@@ -1202,7 +1202,7 @@ static INPUT_PORTS_START( comg076 )
PORT_DIPSETTING( 0x08, "2400" )
PORT_DIPSETTING( 0x10, "4800" )
PORT_DIPSETTING( 0x20, "9600" )
-// PORT_DIPSETTING( 0x00, "No Conn" )
+// PORT_DIPSETTING( 0x00, "No Conn" )
PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unused ) ) PORT_DIPLOCATION("SW1:7")
PORT_DIPSETTING( 0x40, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
@@ -1307,7 +1307,7 @@ static INPUT_PORTS_START( comg128 )
PORT_DIPSETTING( 0x08, "2400" )
PORT_DIPSETTING( 0x10, "4800" )
PORT_DIPSETTING( 0x20, "9600" )
-// PORT_DIPSETTING( 0x00, "No Conn" )
+// PORT_DIPSETTING( 0x00, "No Conn" )
PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unused ) ) PORT_DIPLOCATION("SW1:7")
PORT_DIPSETTING( 0x40, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
@@ -1587,12 +1587,12 @@ GFXDECODE_END
Pin | Description | Wired to
-----+----------------+--------------------------
01 | VSS | GND
- 02 | Port A - bit 0 | U43 (4N23, multiplexer)
- 03 | Port A - bit 1 | U44 (4N23, multiplexer)
- 04 | Port A - bit 2 | U45 (4N23, multiplexer)
- 05 | Port A - bit 3 | U46 (4N23, multiplexer)
- 06 | Port A - bit 4 | U47 (4N23, multiplexer)
- 07 | Port A - bit 5 | U48 (4N23, multiplexer)
+ 02 | Port A - bit 0 | U43 (4N23, multiplexer)
+ 03 | Port A - bit 1 | U44 (4N23, multiplexer)
+ 04 | Port A - bit 2 | U45 (4N23, multiplexer)
+ 05 | Port A - bit 3 | U46 (4N23, multiplexer)
+ 06 | Port A - bit 4 | U47 (4N23, multiplexer)
+ 07 | Port A - bit 5 | U48 (4N23, multiplexer)
08 | Port A - bit 6 | SW1-5 (settings)
09 | Port A - bit 7 | U80 (4023B)
10 | Port B - bit 0 | U55 (MCT6) ---> L1
@@ -1611,14 +1611,14 @@ GFXDECODE_END
23 | CS2 | I/O
24 | CS1 | +5V
25 | E | 02 (= CPU clock)
- 26 | Data Bus D7 | D7
- 27 | Data Bus D6 | D6
- 28 | Data Bus D5 | D5
- 29 | Data Bus D4 | D4
- 30 | Data Bus D3 | D3
- 31 | Data Bus D2 | D2
- 32 | Data Bus D1 | D1
- 33 | Data Bus D0 | D0
+ 26 | Data Bus D7 | D7
+ 27 | Data Bus D6 | D6
+ 28 | Data Bus D5 | D5
+ 29 | Data Bus D4 | D4
+ 30 | Data Bus D3 | D3
+ 31 | Data Bus D2 | D2
+ 32 | Data Bus D1 | D1
+ 33 | Data Bus D0 | D0
34 | RES | RES
35 | RS1 | A1
36 | RS0 | A0
@@ -1669,14 +1669,14 @@ static const pia6821_interface sys903_pia0_intf =
23 | CS2 | I/O
24 | CS1 | +5V
25 | E | 02 (= CPU clock)
- 26 | Data Bus D7 | D7
- 27 | Data Bus D6 | D6
- 28 | Data Bus D5 | D5
- 29 | Data Bus D4 | D4
- 30 | Data Bus D3 | D3
- 31 | Data Bus D2 | D2
- 32 | Data Bus D1 | D1
- 33 | Data Bus D0 | D0
+ 26 | Data Bus D7 | D7
+ 27 | Data Bus D6 | D6
+ 28 | Data Bus D5 | D5
+ 29 | Data Bus D4 | D4
+ 30 | Data Bus D3 | D3
+ 31 | Data Bus D2 | D2
+ 32 | Data Bus D1 | D1
+ 33 | Data Bus D0 | D0
34 | RES | RES
35 | RS1 | A1
36 | RS0 | A0
@@ -1703,12 +1703,12 @@ static const pia6821_interface sys903_pia1_intf =
Pin | Description | Wired to
-----+----------------+--------------------------
01 | VSS | GND
- 02 | Port A - bit 0 | U45 (4N23, multiplexer)
- 03 | Port A - bit 1 | U45 (4N23, multiplexer)
- 04 | Port A - bit 2 | U46 (4N23, multiplexer)
- 05 | Port A - bit 3 | U46 (4N23, multiplexer)
- 06 | Port A - bit 4 | U47 (4N23, multiplexer)
- 07 | Port A - bit 5 | U47 (4N23, multiplexer)
+ 02 | Port A - bit 0 | U45 (4N23, multiplexer)
+ 03 | Port A - bit 1 | U45 (4N23, multiplexer)
+ 04 | Port A - bit 2 | U46 (4N23, multiplexer)
+ 05 | Port A - bit 3 | U46 (4N23, multiplexer)
+ 06 | Port A - bit 4 | U47 (4N23, multiplexer)
+ 07 | Port A - bit 5 | U47 (4N23, multiplexer)
08 | Port A - bit 6 | U61 (4023B) --> U57 (556, pin 5) [50/60]
09 | Port A - bit 7 | U57 (556, pin 2) --> SW to GND [50/60]
10 | Port B - bit 0 | U49 (MCT6) ---> L1
@@ -1727,14 +1727,14 @@ static const pia6821_interface sys903_pia1_intf =
23 | CS2 | I/O
24 | CS1 | +5V
25 | E | 02 (= CPU clock)
- 26 | Data Bus D7 | D7
- 27 | Data Bus D6 | D6
- 28 | Data Bus D5 | D5
- 29 | Data Bus D4 | D4
- 30 | Data Bus D3 | D3
- 31 | Data Bus D2 | D2
- 32 | Data Bus D1 | D1
- 33 | Data Bus D0 | D0
+ 26 | Data Bus D7 | D7
+ 27 | Data Bus D6 | D6
+ 28 | Data Bus D5 | D5
+ 29 | Data Bus D4 | D4
+ 30 | Data Bus D3 | D3
+ 31 | Data Bus D2 | D2
+ 32 | Data Bus D1 | D1
+ 33 | Data Bus D0 | D0
34 | RES | RES
35 | RS1 | A1
36 | RS0 | A0
@@ -1785,14 +1785,14 @@ static const pia6821_interface sys905_pia0_intf =
23 | CS2 | I/O
24 | CS1 | +5V
25 | E | 02 (= CPU clock)
- 26 | Data Bus D7 | D7
- 27 | Data Bus D6 | D6
- 28 | Data Bus D5 | D5
- 29 | Data Bus D4 | D4
- 30 | Data Bus D3 | D3
- 31 | Data Bus D2 | D2
- 32 | Data Bus D1 | D1
- 33 | Data Bus D0 | D0
+ 26 | Data Bus D7 | D7
+ 27 | Data Bus D6 | D6
+ 28 | Data Bus D5 | D5
+ 29 | Data Bus D4 | D4
+ 30 | Data Bus D3 | D3
+ 31 | Data Bus D2 | D2
+ 32 | Data Bus D1 | D1
+ 33 | Data Bus D0 | D0
34 | RES | RES
35 | RS1 | A1
36 | RS0 | A0
@@ -1997,8 +1997,8 @@ ROM_START( comg079 ) /* Cal Omega v7.9 (Arcade Poker) */
ROM_LOAD( "07-91.u5", 0x1800, 0x0800, CRC(da415c27) SHA1(be42f1d36579ff8fafd6df4e30a64a6141a7a2ae) )
ROM_LOAD( "07-92.u6", 0x2000, 0x0800, CRC(31211ed3) SHA1(799bc4ca77ee01a4d45320263e4cc2d066ec26e5) )
- /* code jumps to $2e64 where there's an inexistent mnemonic 0x32! (kill).
- also writes to $axxx (inexistent) and $08fx-$09xx (supposed to be $0880-$0881).
+ /* code jumps to $2e64 where there's an inexistent mnemonic 0x32! (kill).
+ also writes to $axxx (inexistent) and $08fx-$09xx (supposed to be $0880-$0881).
*/
ROM_LOAD( "07-93.u7", 0x2800, 0x0800, BAD_DUMP CRC(52c84b9c) SHA1(569d6384b9084a11fe84e291f1c165bc0df3ab49) )
ROM_LOAD( "07-94.u8", 0x3000, 0x0800, CRC(ed0e7d4a) SHA1(72f512ca2da573e4571ca6f164fb055daa26dd3c) )
diff --git a/src/mame/drivers/ddragon3.c b/src/mame/drivers/ddragon3.c
index 2730682ff58..c5907627cbc 100644
--- a/src/mame/drivers/ddragon3.c
+++ b/src/mame/drivers/ddragon3.c
@@ -358,7 +358,7 @@ static INPUT_PORTS_START( ctribe )
PORT_DIPSETTING( 0x0800, DEF_STR( On ) )
PORT_SERVICE_DIPLOC( 0x1000, IP_ACTIVE_LOW, "SW2:5" )
PORT_DIPNAME( 0x2000, 0x2000, "Stage Clear Energy" ) PORT_DIPLOCATION("SW2:6")
- PORT_DIPSETTING( 0x2000, "0" ) PORT_CONDITION("IN3",0x0100,PORTCOND_EQUALS,0x0100)
+ PORT_DIPSETTING( 0x2000, "0" ) PORT_CONDITION("IN3",0x0100,PORTCOND_EQUALS,0x0100)
PORT_DIPSETTING( 0x0000, "50" ) PORT_CONDITION("IN3",0x0100,PORTCOND_EQUALS,0x0100)
PORT_DIPSETTING( 0x2000, "100" ) PORT_CONDITION("IN3",0x0100,PORTCOND_EQUALS,0x0000)
PORT_DIPSETTING( 0x0000, "150" ) PORT_CONDITION("IN3",0x0100,PORTCOND_EQUALS,0x0000)
diff --git a/src/mame/drivers/dkong.c b/src/mame/drivers/dkong.c
index ff4d49c1d1b..70e36dbce7c 100644
--- a/src/mame/drivers/dkong.c
+++ b/src/mame/drivers/dkong.c
@@ -2867,7 +2867,7 @@ static void drakton_decrypt_rom(running_machine *machine, UINT8 mod, int offs, i
newbyte = (oldbyte & mod) | (~oldbyte & ~mod);
newbyte = BITSWAP8(newbyte, bs[0], bs[1], bs[2], bs[3], bs[4], bs[5], bs[6], bs[7]);
-
+
ROM[mem + offs] = newbyte;
}
}
@@ -2899,13 +2899,13 @@ static DRIVER_INIT( herodk )
static DRIVER_INIT( drakton )
{
- int bs[4][8] = {
+ int bs[4][8] = {
{7,6,1,3,0,4,2,5},
{7,1,4,3,0,6,2,5},
{7,6,1,0,3,4,2,5},
{7,1,4,0,3,6,2,5},
};
-
+
memory_install_read8_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x0000, 0x3fff, 0, 0, SMH_BANK1 );
/* While the PAL supports up to 16 decryption methods, only four
@@ -2921,7 +2921,7 @@ static DRIVER_INIT( drakton )
static DRIVER_INIT( strtheat )
{
- int bs[4][8] = {
+ int bs[4][8] = {
{0,6,1,7,3,4,2,5},
{0,6,4,1,3,7,2,5},
{6,3,1,7,0,4,2,5},
diff --git a/src/mame/drivers/flstory.c b/src/mame/drivers/flstory.c
index 443f8564d50..92667e6d50b 100644
--- a/src/mame/drivers/flstory.c
+++ b/src/mame/drivers/flstory.c
@@ -657,7 +657,7 @@ static MACHINE_DRIVER_START( flstory )
MDRV_CPU_VBLANK_INT("main", irq0_line_hold)
MDRV_CPU_ADD(Z80,XTAL_8MHz/2) /* verified on pcb */
- /* audio CPU */
+ /* audio CPU */
MDRV_CPU_PROGRAM_MAP(sound_map,0)
MDRV_CPU_VBLANK_INT_HACK(irq0_line_hold,2) /* IRQ generated by ??? */
/* NMI generated by the main CPU */
diff --git a/src/mame/drivers/genesis.c b/src/mame/drivers/genesis.c
index 2d081a29b30..9655ce3d1a8 100644
--- a/src/mame/drivers/genesis.c
+++ b/src/mame/drivers/genesis.c
@@ -318,7 +318,7 @@ READ16_HANDLER ( megaplay_68k_to_z80_r )
if ((offset >= 0x2000) && (offset <= 0x3fff))
{
offset &=0x1fff;
-// if(offset == 0) /* this read handler was used around MAME0.82 to read DSWB. Now it's (DSW0 & 0xff) */
+// if(offset == 0) /* this read handler was used around MAME0.82 to read DSWB. Now it's (DSW0 & 0xff) */
// return (input_port_read(machine, "DSW0") << 8) ^ 0xff00;
return (ic36_ram[offset] << 8) + ic36_ram[offset+1];
}
diff --git a/src/mame/drivers/hornet.c b/src/mame/drivers/hornet.c
index 73e4cf50256..7dcb15199ec 100644
--- a/src/mame/drivers/hornet.c
+++ b/src/mame/drivers/hornet.c
@@ -676,15 +676,15 @@ static READ8_HANDLER( sysreg_r )
break;
case 3: /* I/O port 3 */
- /*
- 0x80 = JVSINIT (JAMMA I/F SENSE)
- 0x40 = COMMST
- 0x20 = GSENSE
- 0x08 = EEPDO (EEPROM DO)
- 0x04 = ADEOC (ADC EOC)
- 0x02 = ADDOR (ADC DOR)
- 0x01 = ADDO (ADC DO)
- */
+ /*
+ 0x80 = JVSINIT (JAMMA I/F SENSE)
+ 0x40 = COMMST
+ 0x20 = GSENSE
+ 0x08 = EEPDO (EEPROM DO)
+ 0x04 = ADEOC (ADC EOC)
+ 0x02 = ADDOR (ADC DOR)
+ 0x01 = ADDO (ADC DO)
+ */
r = 0xf7 | (eeprom_read_bit() << 3);
break;
@@ -706,22 +706,22 @@ static WRITE8_HANDLER( sysreg_w )
case 1: /* LED Register 1 */
led_reg1 = data;
break;
-
+
case 2: /* Parallel data register */
mame_printf_debug("Parallel data = %02X\n", data);
break;
-
+
case 3: /* System Register 0 */
- /*
- 0x80 = EEPWEN (EEPROM write enable)
- 0x40 = EEPCS (EEPROM CS)
- 0x20 = EEPSCL (EEPROM SCL?)
- 0x10 = EEPDT (EEPROM data)
- 0x08 = JVSTXEN / LAMP3 (something about JAMMA interface)
- 0x04 = LAMP2
- 0x02 = LAMP1
- 0x01 = LAMP0
- */
+ /*
+ 0x80 = EEPWEN (EEPROM write enable)
+ 0x40 = EEPCS (EEPROM CS)
+ 0x20 = EEPSCL (EEPROM SCL?)
+ 0x10 = EEPDT (EEPROM data)
+ 0x08 = JVSTXEN / LAMP3 (something about JAMMA interface)
+ 0x04 = LAMP2
+ 0x02 = LAMP1
+ 0x01 = LAMP0
+ */
eeprom_write_bit((data & 0x10) ? 1 : 0);
eeprom_set_clock_line((data & 0x20) ? ASSERT_LINE : CLEAR_LINE);
eeprom_set_cs_line((data & 0x40) ? CLEAR_LINE : ASSERT_LINE);
@@ -729,50 +729,50 @@ static WRITE8_HANDLER( sysreg_w )
break;
case 4: /* System Register 1 */
- /*
- 0x80 = SNDRES (sound reset)
- 0x40 = COMRES (COM reset)
- 0x20 = COINRQ2 (EEPROM SCL?)
- 0x10 = COINRQ1 (EEPROM data)
- 0x08 = ADCS (ADC CS)
- 0x04 = ADCONV (ADC CONV)
- 0x02 = ADDI (ADC DI)
- 0x01 = ADDSCLK (ADC SCLK)
- */
+ /*
+ 0x80 = SNDRES (sound reset)
+ 0x40 = COMRES (COM reset)
+ 0x20 = COINRQ2 (EEPROM SCL?)
+ 0x10 = COINRQ1 (EEPROM data)
+ 0x08 = ADCS (ADC CS)
+ 0x04 = ADCONV (ADC CONV)
+ 0x02 = ADDI (ADC DI)
+ 0x01 = ADDSCLK (ADC SCLK)
+ */
cpunum_set_input_line(machine, 1, INPUT_LINE_RESET, (data & 0x80) ? CLEAR_LINE : ASSERT_LINE);
mame_printf_debug("System register 1 = %02X\n", data);
break;
-
+
case 5: /* Sound Control Register */
/*
- 0x80 = MODE1
- 0x40 = MUTE1
- 0x20 = DEEN1
- 0x10 = ATCK1
- 0x08 = MODE0
- 0x04 = MUTE0
- 0x02 = DEEN0
- 0x01 = ATCK0
- */
+ 0x80 = MODE1
+ 0x40 = MUTE1
+ 0x20 = DEEN1
+ 0x10 = ATCK1
+ 0x08 = MODE0
+ 0x04 = MUTE0
+ 0x02 = DEEN0
+ 0x01 = ATCK0
+ */
mame_printf_debug("Sound control register = %02X\n", data);
break;
case 6: /* WDT Register */
/*
- 0x80 = WDTCLK
- */
+ 0x80 = WDTCLK
+ */
if (data & 0x80)
watchdog_reset(machine);
break;
case 7: /* CG Control Register */
/*
- 0x80 = EXRES1
- 0x40 = EXRES0
- 0x20 = EXID1
- 0x10 = EXID0
- 0x01 = EXRGB
- */
+ 0x80 = EXRES1
+ 0x40 = EXRES0
+ 0x20 = EXID1
+ 0x10 = EXID0
+ 0x01 = EXRGB
+ */
if (data & 0x80)
cpunum_set_input_line(machine, 0, INPUT_LINE_IRQ1, CLEAR_LINE);
if (data & 0x40)
@@ -1146,7 +1146,7 @@ MACHINE_DRIVER_END
static MACHINE_DRIVER_START( hornet_2board_v2 )
MDRV_IMPORT_FROM(hornet_2board)
-
+
MDRV_3DFX_VOODOO_REMOVE("voodoo0")
MDRV_3DFX_VOODOO_2_ADD("voodoo0", STD_VOODOO_2_CLOCK, 2, "left")
MDRV_3DFX_VOODOO_TMU_MEMORY(0, 4)
@@ -1340,7 +1340,7 @@ static void init_hornet_2board(running_machine *machine, const UINT8 *backupdef)
static DRIVER_INIT(gradius4)
{
UINT8 backupdef[0x2000] = { 0 };
-
+
/* RTC data */
backupdef[0x00] = 0x47; // 'G'
backupdef[0x01] = 0x58; // 'X'
diff --git a/src/mame/drivers/kaneko16.c b/src/mame/drivers/kaneko16.c
index e9b1eabbac0..299bc9be6d0 100644
--- a/src/mame/drivers/kaneko16.c
+++ b/src/mame/drivers/kaneko16.c
@@ -604,7 +604,7 @@ static READ16_HANDLER( gtmr_wheel_r )
case 0x0000: // 'Both Sides' = 270deg Wheel
return (input_port_read(machine, "WHEEL0"));
break;
-
+
case 0x1000: // '1P Side' = 360' Wheel
return (input_port_read(machine, "WHEEL1"));
break;
@@ -1417,7 +1417,7 @@ static INPUT_PORTS_START( gtmr2 )
PORT_DIPNAME( 0x1800, 0x1800, DEF_STR( Controls ) ) PORT_DIPLOCATION("SW1:4,5")
PORT_DIPSETTING( 0x1800, DEF_STR( Joystick ) )
PORT_DIPSETTING( 0x0800, "Wheel (360)" ) // Not working correctly in race }
- PORT_DIPSETTING( 0x1000, "Wheel (270D)" ) // Not working correctly ! } seems to work ok to me! (minwah)
+ PORT_DIPSETTING( 0x1000, "Wheel (270D)" ) // Not working correctly ! } seems to work ok to me! (minwah)
PORT_DIPSETTING( 0x0000, "Wheel (270A)" ) // Not working correctly in race }
PORT_DIPNAME( 0x2000, 0x2000, "Optional Mode Of Pedal Function" ) PORT_DIPLOCATION("SW1:3")
PORT_DIPSETTING( 0x2000, "Microswitch" ) // "This mode also corresponds to the two buttons used with joystick."
diff --git a/src/mame/drivers/konamigx.c b/src/mame/drivers/konamigx.c
index 746526626fd..fe65f92168a 100644
--- a/src/mame/drivers/konamigx.c
+++ b/src/mame/drivers/konamigx.c
@@ -1331,9 +1331,9 @@ static MACHINE_DRIVER_START( konamigx )
MDRV_SCREEN_ADD("main", RASTER)
MDRV_SCREEN_RAW_PARAMS(6000000, 288+16+32+48, 0, 287, 224+16+8+16, 0, 223)
/* These parameters are actual value written to the CCU.
- tbyahhoo attract mode desync is caused by another matter. */
+ tbyahhoo attract mode desync is caused by another matter. */
-// MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(600))
+// MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(600))
MDRV_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
MDRV_SCREEN_SIZE(64*8, 32*8)
MDRV_SCREEN_VISIBLE_AREA(24, 24+288-1, 16, 16+224-1)
diff --git a/src/mame/drivers/mayumi.c b/src/mame/drivers/mayumi.c
index bc05f294dac..eae3646d662 100644
--- a/src/mame/drivers/mayumi.c
+++ b/src/mame/drivers/mayumi.c
@@ -57,7 +57,7 @@ static READ8_HANDLER( key_matrix_r )
{ "KEY5", "KEY6", "KEY7", "KEY8", "KEY9" },
{ "KEY0", "KEY1", "KEY2", "KEY3", "KEY4" }
};
-
+
ret = 0xff;
p = ~input_sel & 0x1f;
diff --git a/src/mame/drivers/mcr68.c b/src/mame/drivers/mcr68.c
index cec0a8ae419..d430bb61668 100644
--- a/src/mame/drivers/mcr68.c
+++ b/src/mame/drivers/mcr68.c
@@ -139,7 +139,7 @@ static READ16_HANDLER( spyhunt2_port_0_r )
int result = input_port_read(machine, "IN0");
int which = (control_word >> 3) & 3;
int analog = input_port_read(machine, portnames[which]);
-
+
return result | ((soundsgood_status_r(machine, 0) & 1) << 5) | (analog << 8);
}
diff --git a/src/mame/drivers/mediagx.c b/src/mame/drivers/mediagx.c
index df659a3d2ad..202ed52d87c 100644
--- a/src/mame/drivers/mediagx.c
+++ b/src/mame/drivers/mediagx.c
@@ -502,7 +502,7 @@ static WRITE32_HANDLER( io20_w )
static READ32_HANDLER( parallel_port_r )
{
UINT32 r = 0;
-// static const char *portnames[] = { "IN0", "IN1", "IN2", "IN3", "IN4", "IN5", "IN6", "IN7" };
+// static const char *portnames[] = { "IN0", "IN1", "IN2", "IN3", "IN4", "IN5", "IN6", "IN7" };
if (ACCESSING_BITS_8_15)
{
diff --git a/src/mame/drivers/metro.c b/src/mame/drivers/metro.c
index dc6f423ef35..838844b39b3 100644
--- a/src/mame/drivers/metro.c
+++ b/src/mame/drivers/metro.c
@@ -2980,13 +2980,13 @@ INPUT_PORTS_END
static INPUT_PORTS_START( lastfort )
PORT_START_TAG("IN0") /*$c00004*/
COINS
-
+
PORT_START_TAG("IN1") /*$c00006*/
JOY_LSB(1, BUTTON1, UNKNOWN, UNKNOWN, UNKNOWN) /* BUTTON2 and BUTTON3 in "test mode" only*/
-
+
PORT_START_TAG("IN2") /*$c00008*/
JOY_LSB(2, BUTTON1, UNKNOWN, UNKNOWN, UNKNOWN) /*BUTTON2 and BUTTON3 in "test mode" only*/
-
+
PORT_START_TAG("DSW0") /*$c0000a*/
COINAGE_DSW
@@ -3027,7 +3027,7 @@ INPUT_PORTS_END
/* Same as 'lastfort' but WORKING "Tiles" Dip Switch */
static INPUT_PORTS_START( lastfero )
PORT_INCLUDE( lastfort )
-
+
PORT_MODIFY("DSW1")
PORT_DIPNAME( 0x0003, 0x0003, DEF_STR( Difficulty ) ) // Timer speed
PORT_DIPSETTING( 0x0000, DEF_STR( Easiest ) ) // Slowest
diff --git a/src/mame/drivers/mexico86.c b/src/mame/drivers/mexico86.c
index 917e68f9be2..5983b091b95 100644
--- a/src/mame/drivers/mexico86.c
+++ b/src/mame/drivers/mexico86.c
@@ -167,7 +167,7 @@ static INPUT_PORTS_START( mexico86 )
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
- PORT_START_TAG("DSW0")
+ PORT_START_TAG("DSW0")
/* When Bit 1 is On, the machine waits a signal from another one */
/* Seems like if you can join two cabinets, one as master */
/* and the other as slave, probably to play four players */
diff --git a/src/mame/drivers/micro3d.c b/src/mame/drivers/micro3d.c
index 76851dae317..36aafdd58ed 100644
--- a/src/mame/drivers/micro3d.c
+++ b/src/mame/drivers/micro3d.c
@@ -742,7 +742,7 @@ static ADDRESS_MAP_START( hostmem, ADDRESS_SPACE_PROGRAM, 16 )
AM_RANGE(0x000000, 0x13ffff) AM_ROM /* 68000 Code ROM and Dr. Math object data */
AM_RANGE(0x200000, 0x20ffff) AM_RAM /* Battery-backed SRAM (64kB) & DS1215 */
AM_RANGE(0x800000, 0x83ffff) AM_RAM /* 68000/AM29000 shared RAM (256kB) */
- AM_RANGE(0x900000, 0x900001) AM_NOP //WRITE(mystery_w) /* ??????? 16-bit write here. rset? */
+ AM_RANGE(0x900000, 0x900001) AM_NOP //WRITE(mystery_w) /* ??????? 16-bit write here. rset? */
AM_RANGE(0x920000, 0x920001) AM_READ_PORT("IN1") /* User inputs C and D */
AM_RANGE(0x940000, 0x940001) AM_READ_PORT("IN0") /* User inputs A and B */
AM_RANGE(0x960000, 0x960001) AM_NOP /* Lamps */
@@ -761,8 +761,8 @@ static ADDRESS_MAP_START( vgbmem, ADDRESS_SPACE_PROGRAM, 16 )
AM_RANGE(0x00000000, 0x007fffff) AM_RAM AM_BASE(&micro3d_sprite_vram) /* 2 Banks */
AM_RANGE(0x00800000, 0x00bfffff) AM_RAM /* 512kB Main DRAM */
AM_RANGE(0x00c00000, 0x00c0000f) AM_READ_PORT("VGB") /* TI Monitor Mode switch */
- AM_RANGE(0x00e00000, 0x00e0000f) AM_RAM //WRITE(mystery2_w) /* CREGCLK ??? byte write here. */
- AM_RANGE(0x02000000, 0x0200ffff) AM_RAM_WRITE(paletteram16_BBBBBRRRRRGGGGGG_word_w) AM_BASE(&paletteram16) // AM_RANGE(0x02010000, 0x027fffff) AM_RAM /* ??????????? Mirror of VRAM??? */
+ AM_RANGE(0x00e00000, 0x00e0000f) AM_RAM //WRITE(mystery2_w) /* CREGCLK ??? byte write here. */
+ AM_RANGE(0x02000000, 0x0200ffff) AM_RAM_WRITE(paletteram16_BBBBBRRRRRGGGGGG_word_w) AM_BASE(&paletteram16) // AM_RANGE(0x02010000, 0x027fffff) AM_RAM /* ??????????? Mirror of VRAM??? */
AM_RANGE(0x02600000, 0x0260000f) AM_RAM /* XFER3dk???? 16-bit write */
AM_RANGE(0x02c00000, 0x02c0003f) AM_READ(ti_uart_r) /* SCN UART */
AM_RANGE(0x02e00000, 0x02e0003f) AM_WRITE(ti_uart_w)
diff --git a/src/mame/drivers/midvunit.c b/src/mame/drivers/midvunit.c
index c3989416ae1..74e52dfa856 100644
--- a/src/mame/drivers/midvunit.c
+++ b/src/mame/drivers/midvunit.c
@@ -164,7 +164,7 @@ static TIMER_CALLBACK( adc_ready )
static WRITE32_HANDLER( midvunit_adc_w )
{
static const char *adcnames[] = { "WHEEL", "ACCEL", "BRAKE" };
-
+
if (!(control_data & 0x20))
{
int which = (data >> adc_shift) - 4;
diff --git a/src/mame/drivers/mitchell.c b/src/mame/drivers/mitchell.c
index c2a356e6147..555f0d97da0 100644
--- a/src/mame/drivers/mitchell.c
+++ b/src/mame/drivers/mitchell.c
@@ -214,7 +214,7 @@ static READ8_HANDLER( block_input_r )
static int dir[2];
static const char *dialnames[] = { "DIAL1", "DIAL2" };
static const char *portnames[] = { "IN1", "IN2" };
-
+
if (dial_selected)
{
int delta;
@@ -632,7 +632,7 @@ INPUT_PORTS_END
static INPUT_PORTS_START( mgakuen )
PORT_INCLUDE( mj_common )
-
+
PORT_START_TAG("DSW1") /* DSW1 */
PORT_DIPNAME( 0x07, 0x07, DEF_STR( Coinage ) )
PORT_DIPSETTING( 0x00, DEF_STR( 4C_1C ) )
diff --git a/src/mame/drivers/model1.c b/src/mame/drivers/model1.c
index d10afa4a06a..13ffd481199 100644
--- a/src/mame/drivers/model1.c
+++ b/src/mame/drivers/model1.c
@@ -643,11 +643,11 @@ static READ16_HANDLER( io_r )
{
static const char *analognames[] = { "AN0", "AN1", "AN2", "AN3", "AN4", "AN5", "AN6", "AN7" };
static const char *inputnames[] = { "IN0", "IN1", "IN2" };
-
+
if(offset < 0x8)
return input_port_read(machine, analognames[offset]);
-
- if(offset < 0x10)
+
+ if(offset < 0x10)
{
offset -= 0x8;
if(offset < 3)
diff --git a/src/mame/drivers/mystwarr.c b/src/mame/drivers/mystwarr.c
index 3655a31fe15..7a0e35c305b 100644
--- a/src/mame/drivers/mystwarr.c
+++ b/src/mame/drivers/mystwarr.c
@@ -953,7 +953,7 @@ static MACHINE_DRIVER_START( mystwarr )
MDRV_VIDEO_ATTRIBUTES(VIDEO_HAS_SHADOWS | VIDEO_HAS_HIGHLIGHTS | VIDEO_UPDATE_AFTER_VBLANK)
MDRV_SCREEN_ADD("main", RASTER)
-// MDRV_SCREEN_REFRESH_RATE(60)
+// MDRV_SCREEN_REFRESH_RATE(60)
MDRV_SCREEN_RAW_PARAMS(6000000, 288+16+32+48, 0, 287, 224+16+8+16, 0, 223)
MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(600))
MDRV_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
diff --git a/src/mame/drivers/nbmj9195.c b/src/mame/drivers/nbmj9195.c
index d05a6b01577..5e4ccc5f685 100644
--- a/src/mame/drivers/nbmj9195.c
+++ b/src/mame/drivers/nbmj9195.c
@@ -204,7 +204,7 @@ static int tmpz84c011_pio_r(running_machine *machine, int offset)
portdata = input_port_read(machine, "KEY4");
break;
default:
- portdata = (input_port_read(machine, "KEY0") & input_port_read(machine, "KEY1") & input_port_read(machine, "KEY2")
+ portdata = (input_port_read(machine, "KEY0") & input_port_read(machine, "KEY1") & input_port_read(machine, "KEY2")
& input_port_read(machine, "KEY3") & input_port_read(machine, "KEY4"));
break;
}
@@ -229,7 +229,7 @@ static int tmpz84c011_pio_r(running_machine *machine, int offset)
portdata = input_port_read(machine, "KEY9");
break;
default:
- portdata = (input_port_read(machine, "KEY5") & input_port_read(machine, "KEY6") & input_port_read(machine, "KEY7")
+ portdata = (input_port_read(machine, "KEY5") & input_port_read(machine, "KEY6") & input_port_read(machine, "KEY7")
& input_port_read(machine, "KEY8") & input_port_read(machine, "KEY9"));
break;
}
@@ -1756,13 +1756,13 @@ ADDRESS_MAP_END
/********************************************************************************
These Nichibutsu Mahjong games use two different but very similar control ports:
- - the 1st type is the common control panel used by many other nbmj* drivers
- - the 2nd type also include coins and service bits
+ - the 1st type is the common control panel used by many other nbmj* drivers
+ - the 2nd type also include coins and service bits
********************************************************************************/
static INPUT_PORTS_START( nbmjtype2 )
PORT_INCLUDE( nbmjcontrols )
-
+
PORT_MODIFY("KEY4")
PORT_SERVICE( 0x40, IP_ACTIVE_LOW )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )
diff --git a/src/mame/drivers/niyanpai.c b/src/mame/drivers/niyanpai.c
index 92226ed1f2b..ce29228e93f 100644
--- a/src/mame/drivers/niyanpai.c
+++ b/src/mame/drivers/niyanpai.c
@@ -281,8 +281,8 @@ static READ16_HANDLER( musobana_inputport_0_r )
case 0x04: portdata = ((input_port_read(machine, "KEY2") << 8) | (input_port_read(machine, "KEY7"))); break;
case 0x08: portdata = ((input_port_read(machine, "KEY3") << 8) | (input_port_read(machine, "KEY8"))); break;
case 0x10: portdata = ((input_port_read(machine, "KEY4") << 8) | (input_port_read(machine, "KEY9"))); break;
- default: portdata = (((input_port_read(machine, "KEY0") << 8) | (input_port_read(machine, "KEY5")))) & (((input_port_read(machine, "KEY1") << 8) | (input_port_read(machine, "KEY6"))))
- & (((input_port_read(machine, "KEY2") << 8) | (input_port_read(machine, "KEY7")))) & (((input_port_read(machine, "KEY3") << 8) | (input_port_read(machine, "KEY8"))))
+ default: portdata = (((input_port_read(machine, "KEY0") << 8) | (input_port_read(machine, "KEY5")))) & (((input_port_read(machine, "KEY1") << 8) | (input_port_read(machine, "KEY6"))))
+ & (((input_port_read(machine, "KEY2") << 8) | (input_port_read(machine, "KEY7")))) & (((input_port_read(machine, "KEY3") << 8) | (input_port_read(machine, "KEY8"))))
& (((input_port_read(machine, "KEY4") << 8) | (input_port_read(machine, "KEY9")))); break;
}
diff --git a/src/mame/drivers/nmk16.c b/src/mame/drivers/nmk16.c
index e365bc5ec6a..24084de6887 100644
--- a/src/mame/drivers/nmk16.c
+++ b/src/mame/drivers/nmk16.c
@@ -2893,7 +2893,7 @@ INPUT_PORTS_END
static INPUT_PORTS_START( stagger1 )
PORT_INCLUDE( afega_common )
-
+
PORT_START_TAG("DSW1") // $080004.w
PORT_SERVICE( 0x0001, IP_ACTIVE_LOW )
PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Demo_Sounds ) )
diff --git a/src/mame/drivers/psikyo.c b/src/mame/drivers/psikyo.c
index 34ebcd2bca1..88d95554ed6 100644
--- a/src/mame/drivers/psikyo.c
+++ b/src/mame/drivers/psikyo.c
@@ -1420,7 +1420,7 @@ static INPUT_PORTS_START( tengai )
PSIKYO_PORT_PLAYER1
- PORT_START_TAG("COIN") // IN1PORT_START_TAG("DSW1") // IN2 - c00002&3
+ PORT_START_TAG("COIN") // IN1PORT_START_TAG("DSW1") // IN2 - c00002&3
PSIKYO_PORT_COIN
PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_UNKNOWN )
diff --git a/src/mame/drivers/seattle.c b/src/mame/drivers/seattle.c
index 9fcaf2f100e..88f018eda2f 100644
--- a/src/mame/drivers/seattle.c
+++ b/src/mame/drivers/seattle.c
@@ -525,7 +525,7 @@ static MACHINE_START( seattle )
cpunum_set_info_int(0, CPUINFO_INT_MIPS3_FASTRAM_END, 0x1fc7ffff);
cpunum_set_info_ptr(0, CPUINFO_PTR_MIPS3_FASTRAM_BASE, rombase);
cpunum_set_info_int(0, CPUINFO_INT_MIPS3_FASTRAM_READONLY, 1);
-
+
/* register for save states */
state_save_register_global_array(galileo.reg);
state_save_register_global(galileo.dma_active);
diff --git a/src/mame/drivers/segag80v.c b/src/mame/drivers/segag80v.c
index 4bd18b60ce4..5f5dd408499 100644
--- a/src/mame/drivers/segag80v.c
+++ b/src/mame/drivers/segag80v.c
@@ -718,7 +718,7 @@ static INPUT_PORTS_START( zektor )
PORT_MODIFY("D5D4")
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED ) /* P1.15 */
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED ) /* P1.19 */
-
+
PORT_MODIFY("FC")
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_START1 )
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START2 )
diff --git a/src/mame/drivers/srmp6.c b/src/mame/drivers/srmp6.c
index e5a7d59e5cf..31f20fa4740 100644
--- a/src/mame/drivers/srmp6.c
+++ b/src/mame/drivers/srmp6.c
@@ -291,15 +291,15 @@ static VIDEO_UPDATE(srmp6)
}
memcpy(sprram_old, sprram, 0x80000);
-
+
if(input_code_pressed_once(KEYCODE_Q))
{
FILE *p=fopen("tileram.bin","wb");
fwrite(tileram,1,0x100000*16,p);
fclose(p);
}
-
-
+
+
return 0;
}
@@ -561,8 +561,8 @@ static ADDRESS_MAP_START( srmp6, ADDRESS_SPACE_PROGRAM, 16 )
// AM_RANGE(0x5fff00, 0x5fffff) AM_WRITE(dma_w) AM_BASE(&dmaram)
AM_RANGE(0x4c0000, 0x4c006f) AM_READWRITE(video_regs_r, video_regs_w) AM_BASE(&video_regs) // ? gfx regs ST-0026 NiLe
- AM_RANGE(0x4e0000, 0x4e00ff) AM_READWRITE(nile_snd_r, nile_snd_w) AM_BASE(&nile_sound_regs)
- AM_RANGE(0x4e0100, 0x4e0101) AM_READWRITE(nile_sndctrl_r, nile_sndctrl_w)
+ AM_RANGE(0x4e0000, 0x4e00ff) AM_READWRITE(nile_snd_r, nile_snd_w) AM_BASE(&nile_sound_regs)
+ AM_RANGE(0x4e0100, 0x4e0101) AM_READWRITE(nile_sndctrl_r, nile_sndctrl_w)
// AM_RANGE(0x4e0110, 0x4e0111) AM_NOP // ? accessed once ($268dc, written $b.w)
// AM_RANGE(0x5fff00, 0x5fff1f) AM_RAM // ? see routine $5ca8, video_regs related ???
diff --git a/src/mame/drivers/tumbleb.c b/src/mame/drivers/tumbleb.c
index 46395eceb35..f8eb0729444 100644
--- a/src/mame/drivers/tumbleb.c
+++ b/src/mame/drivers/tumbleb.c
@@ -1413,7 +1413,7 @@ static INPUT_PORTS_START( fncywld )
PORT_DIPSETTING( 0x20, DEF_STR( 4C_1C ) )
PORT_DIPSETTING( 0x40, DEF_STR( 3C_1C ) )
PORT_DIPSETTING( 0x60, DEF_STR( 2C_1C ) )
-// PORT_DIPSETTING( 0x00, DEF_STR( 2C_1C ) ) // duplicated setting
+// PORT_DIPSETTING( 0x00, DEF_STR( 2C_1C ) ) // duplicated setting
PORT_DIPSETTING( 0xe0, DEF_STR( 1C_1C ) )
PORT_DIPSETTING( 0xc0, DEF_STR( 1C_2C ) )
PORT_DIPSETTING( 0xa0, DEF_STR( 1C_3C ) )
@@ -1909,8 +1909,8 @@ static INPUT_PORTS_START( dquizgo )
PORT_DIPSETTING( 0x02, "Level 7" )
PORT_DIPSETTING( 0x0c, "Level 8" )
PORT_DIPNAME( 0x70, 0x70, DEF_STR( Coinage ) ) PORT_DIPLOCATION("SW1:4,3,2")
-// PORT_DIPSETTING( 0x00, DEF_STR( 3C_1C ) )
-// PORT_DIPSETTING( 0x20, DEF_STR( 3C_1C ) )
+// PORT_DIPSETTING( 0x00, DEF_STR( 3C_1C ) )
+// PORT_DIPSETTING( 0x20, DEF_STR( 3C_1C ) )
PORT_DIPSETTING( 0x40, DEF_STR( 3C_1C ) )
PORT_DIPSETTING( 0x60, DEF_STR( 2C_1C ) )
PORT_DIPSETTING( 0x70, DEF_STR( 1C_1C ) )
diff --git a/src/mame/drivers/vegas.c b/src/mame/drivers/vegas.c
index b898917872d..60da5152dfd 100644
--- a/src/mame/drivers/vegas.c
+++ b/src/mame/drivers/vegas.c
@@ -559,7 +559,7 @@ static MACHINE_START( vegas )
cpunum_set_info_int(0, CPUINFO_INT_MIPS3_FASTRAM_END, 0x1fc7ffff);
cpunum_set_info_ptr(0, CPUINFO_PTR_MIPS3_FASTRAM_BASE, rombase);
cpunum_set_info_int(0, CPUINFO_INT_MIPS3_FASTRAM_READONLY, 1);
-
+
/* register for save states */
state_save_register_global(nile_irq_state);
state_save_register_global(ide_irq_state);
diff --git a/src/mame/drivers/williams.c b/src/mame/drivers/williams.c
index 1fb67548644..a70510b2fcb 100644
--- a/src/mame/drivers/williams.c
+++ b/src/mame/drivers/williams.c
@@ -1305,7 +1305,7 @@ INPUT_PORTS_END
static INPUT_PORTS_START( inferno )
- PORT_START_TAG("IN0")
+ PORT_START_TAG("IN0")
PORT_BIT( 0xFF, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(williams_mux_r, "INP1\0INP2")
PORT_START_TAG("IN1")
diff --git a/src/mame/drivers/xexex.c b/src/mame/drivers/xexex.c
index 97eef056b78..6956b262063 100644
--- a/src/mame/drivers/xexex.c
+++ b/src/mame/drivers/xexex.c
@@ -476,7 +476,7 @@ static MACHINE_DRIVER_START( xexex )
MDRV_VIDEO_ATTRIBUTES(VIDEO_HAS_SHADOWS | VIDEO_HAS_HIGHLIGHTS | VIDEO_UPDATE_BEFORE_VBLANK)
MDRV_SCREEN_ADD("main", RASTER)
-// MDRV_SCREEN_REFRESH_RATE(8000000/512/288)
+// MDRV_SCREEN_REFRESH_RATE(8000000/512/288)
MDRV_SCREEN_RAW_PARAMS(8000000, 384+33+40+55, 0, 383, 256+12+6+14, 0, 255)
MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MDRV_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
diff --git a/src/mame/drivers/zr107.c b/src/mame/drivers/zr107.c
index a610578fd6e..61cb49f24c1 100644
--- a/src/mame/drivers/zr107.c
+++ b/src/mame/drivers/zr107.c
@@ -306,7 +306,7 @@ static CUSTOM_INPUT( adcdo_r )
static READ8_HANDLER( sysreg_r )
{
UINT32 r = 0;
-
+
switch (offset)
{
case 0: /* I/O port 0 */
@@ -315,17 +315,17 @@ static READ8_HANDLER( sysreg_r )
case 3: /* System Port 0 */
r = input_port_read_indexed(machine, offset);
break;
-
+
case 4: /* System Port 1 */
- /*
- 0x80 = PARAACK
- 0x40 = unused
- 0x20 = SARS (A/D busy flag)
- 0x10 = EEPDO (EEPROM DO)
- */
+ /*
+ 0x80 = PARAACK
+ 0x40 = unused
+ 0x20 = SARS (A/D busy flag)
+ 0x10 = EEPDO (EEPROM DO)
+ */
r = (adc083x_sars_read(0) << 5) | (eeprom_read_bit() << 4);
break;
-
+
case 5: /* Parallel data port */
break;
}
@@ -339,44 +339,44 @@ static WRITE8_HANDLER( sysreg_w )
case 0: /* LED Register 0 */
led_reg0 = data;
break;
-
+
case 1: /* LED Register 1 */
led_reg1 = data;
break;
-
+
case 2: /* Parallel data register */
mame_printf_debug("Parallel data = %02X\n", data);
break;
-
+
case 3: /* System Register 0 */
- /*
- 0x80 = unused
- 0x40 = COINREQ1
- 0x20 = COINREQ2
- 0x10 = SNDRES
- 0x08 = unused
- 0x04 = EEPCS
- 0x02 = EEPCLK
- 0x01 = EEPDI
- */
+ /*
+ 0x80 = unused
+ 0x40 = COINREQ1
+ 0x20 = COINREQ2
+ 0x10 = SNDRES
+ 0x08 = unused
+ 0x04 = EEPCS
+ 0x02 = EEPCLK
+ 0x01 = EEPDI
+ */
eeprom_write_bit((data & 0x01) ? 1 : 0);
eeprom_set_clock_line((data & 0x02) ? ASSERT_LINE : CLEAR_LINE);
eeprom_set_cs_line((data & 0x04) ? CLEAR_LINE : ASSERT_LINE);
cpunum_set_input_line(machine, 1, INPUT_LINE_RESET, (data & 0x10) ? CLEAR_LINE : ASSERT_LINE);
mame_printf_debug("System register 0 = %02X\n", data);
break;
-
+
case 4: /* System Register 1 */
/*
- 0x80 = EXRES1
- 0x40 = EXRES0
- 0x20 = EXID1
- 0x10 = EXID0
- 0x08 = unused
- 0x04 = ADCS (ADC CS)
- 0x02 = ADDI (ADC DI)
- 0x01 = ADDSCLK (ADC SCLK)
- */
+ 0x80 = EXRES1
+ 0x40 = EXRES0
+ 0x20 = EXID1
+ 0x10 = EXID0
+ 0x08 = unused
+ 0x04 = ADCS (ADC CS)
+ 0x02 = ADDI (ADC DI)
+ 0x01 = ADDSCLK (ADC SCLK)
+ */
if (data & 0x80) /* CG Board 1 IRQ Ack */
cpunum_set_input_line(machine, 0, INPUT_LINE_IRQ1, CLEAR_LINE);
if (data & 0x40) /* CG Board 0 IRQ Ack */
@@ -390,8 +390,8 @@ static WRITE8_HANDLER( sysreg_w )
case 5: /* System Register 2 */
/*
- 0x01 = AFE
- */
+ 0x01 = AFE
+ */
if (data & 0x01)
watchdog_reset(machine);
break;
diff --git a/src/mame/machine/konppc.c b/src/mame/machine/konppc.c
index 91e2492619f..d1ce8948e1c 100644
--- a/src/mame/machine/konppc.c
+++ b/src/mame/machine/konppc.c
@@ -60,7 +60,7 @@ void init_konami_cgboard(int num_boards, int type)
nwk_fifo[i] = auto_malloc(sizeof(UINT32) * 0x800);
nwk_ram[i] = auto_malloc(sizeof(UINT32) * 0x2000);
-
+
state_save_register_item_array("konppc", i, dsp_comm_ppc[i]);
state_save_register_item_array("konppc", i, dsp_comm_sharc[i]);
state_save_register_item("konppc", i, dsp_shared_ram_bank[i]);
diff --git a/src/mame/machine/midwunit.c b/src/mame/machine/midwunit.c
index 7121ff9672c..8cc46a67e70 100644
--- a/src/mame/machine/midwunit.c
+++ b/src/mame/machine/midwunit.c
@@ -180,7 +180,7 @@ WRITE16_HANDLER( midxunit_unknown_w )
READ16_HANDLER( midwunit_io_r )
{
static const char *portnames[] = { "IN0", "IN1", "DSW", "IN2" };
-
+
/* apply I/O shuffling */
offset = ioshuffle[offset % 16];
diff --git a/src/mame/machine/nb1413m3.c b/src/mame/machine/nb1413m3.c
index 0e327bce4ab..1fc21f00c8f 100644
--- a/src/mame/machine/nb1413m3.c
+++ b/src/mame/machine/nb1413m3.c
@@ -385,7 +385,7 @@ READ8_HANDLER( nb1413m3_inputport0_r )
case NB1413M3_PASTELG:
return ((input_port_read(machine, "SYSTEM") & 0xfe) | (nb1413m3_busyflag & 0x01));
default:
- return ((input_port_read(machine, "SYSTEM") & 0xfc) | ((nb1413m3_outcoin_flag & 0x01) << 1) | (nb1413m3_busyflag & 0x01));
+ return ((input_port_read(machine, "SYSTEM") & 0xfc) | ((nb1413m3_outcoin_flag & 0x01) << 1) | (nb1413m3_busyflag & 0x01));
}
}
@@ -414,7 +414,7 @@ READ8_HANDLER( nb1413m3_inputport1_r )
case 0x04: return input_port_read(machine, "KEY2");
case 0x08: return input_port_read(machine, "KEY3");
case 0x10: return input_port_read(machine, "KEY4");
- default: return (input_port_read(machine, "KEY0") & input_port_read(machine, "KEY1") & input_port_read(machine, "KEY2")
+ default: return (input_port_read(machine, "KEY0") & input_port_read(machine, "KEY1") & input_port_read(machine, "KEY2")
& input_port_read(machine, "KEY3") & input_port_read(machine, "KEY4"));
}
}
@@ -432,7 +432,7 @@ READ8_HANDLER( nb1413m3_inputport1_r )
case 0x04: return input_port_read(machine, "KEY2");
case 0x08: return input_port_read(machine, "KEY3");
case 0x10: return input_port_read(machine, "KEY4");
- default: return (input_port_read(machine, "KEY0") & input_port_read(machine, "KEY1") & input_port_read(machine, "KEY2")
+ default: return (input_port_read(machine, "KEY0") & input_port_read(machine, "KEY1") & input_port_read(machine, "KEY2")
& input_port_read(machine, "KEY3") & input_port_read(machine, "KEY4"));
}
break;
@@ -464,7 +464,7 @@ READ8_HANDLER( nb1413m3_inputport2_r )
case 0x04: return input_port_read(machine, "KEY7");
case 0x08: return input_port_read(machine, "KEY8");
case 0x10: return input_port_read(machine, "KEY9");
- default: return (input_port_read(machine, "KEY5") & input_port_read(machine, "KEY6") & input_port_read(machine, "KEY7")
+ default: return (input_port_read(machine, "KEY5") & input_port_read(machine, "KEY6") & input_port_read(machine, "KEY7")
& input_port_read(machine, "KEY8") & input_port_read(machine, "KEY9"));
}
}
@@ -482,7 +482,7 @@ READ8_HANDLER( nb1413m3_inputport2_r )
case 0x04: return input_port_read(machine, "KEY7");
case 0x08: return input_port_read(machine, "KEY8");
case 0x10: return input_port_read(machine, "KEY9");
- default: return (input_port_read(machine, "KEY5") & input_port_read(machine, "KEY6") & input_port_read(machine, "KEY7")
+ default: return (input_port_read(machine, "KEY5") & input_port_read(machine, "KEY6") & input_port_read(machine, "KEY7")
& input_port_read(machine, "KEY8") & input_port_read(machine, "KEY9"));
}
break;
diff --git a/src/mame/machine/williams.c b/src/mame/machine/williams.c
index e8b4b384c3f..da907a0afd1 100644
--- a/src/mame/machine/williams.c
+++ b/src/mame/machine/williams.c
@@ -559,10 +559,10 @@ CUSTOM_INPUT( williams_mux_r )
{
const char *tag = param;
- if (port_select != 0)
+ if (port_select != 0)
tag += strlen(tag) + 1;
-
- return input_port_read(field->port->machine, tag);
+
+ return input_port_read(field->port->machine, tag);
}
/*
diff --git a/src/mame/video/namcofl.c b/src/mame/video/namcofl.c
index 04e757bb59e..1a0192dd1e0 100644
--- a/src/mame/video/namcofl.c
+++ b/src/mame/video/namcofl.c
@@ -180,7 +180,7 @@ static int FLobjcode2tile( int code )
VIDEO_START( namcofl )
{
credits1 = credits2 = 0;
- old_coin_state = 0x00;
+ old_coin_state = 0x00;
//input_port_read_indexed(machine, 3)&0x30;
namco_tilemap_init( NAMCONB1_TILEGFX, memory_region(machine, NAMCONB1_TILEMASKREGION), TilemapCB );
diff --git a/src/mame/video/phoenix.c b/src/mame/video/phoenix.c
index f7958ace840..d8ae74e7f1b 100644
--- a/src/mame/video/phoenix.c
+++ b/src/mame/video/phoenix.c
@@ -322,7 +322,7 @@ CUSTOM_INPUT( pleiads_protection_r )
}
/*
- Protection. There is a 14 pin part connected to the 8910 Port B D0 labeled DL57S22
+ Protection. There is a 14 pin part connected to the 8910 Port B D0 labeled DL57S22
Inputs are demangled at 0x1ae6-0x1b04 using the table at 0x1b26
and bit 0 of the data from the AY8910 port B. The equation is: