summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame')
-rw-r--r--src/mame/drivers/4enraya.cpp6
-rw-r--r--src/mame/drivers/abc1600.cpp44
-rw-r--r--src/mame/drivers/anes.cpp12
-rw-r--r--src/mame/drivers/bottom9.cpp2
-rw-r--r--src/mame/drivers/cv1k.cpp4
-rw-r--r--src/mame/drivers/dec0.cpp74
-rw-r--r--src/mame/drivers/europc.cpp10
-rw-r--r--src/mame/drivers/gamate.cpp4
-rw-r--r--src/mame/drivers/hikaru.cpp2
-rw-r--r--src/mame/drivers/isbc.cpp4
-rw-r--r--src/mame/drivers/jalmah.cpp2
-rw-r--r--src/mame/drivers/megasys1.cpp2
-rw-r--r--src/mame/drivers/mephisto_montec.cpp8
-rw-r--r--src/mame/drivers/naomi.cpp6
-rw-r--r--src/mame/drivers/pc.cpp4
-rw-r--r--src/mame/drivers/pgm2.cpp8
-rw-r--r--src/mame/drivers/rx78.cpp10
-rw-r--r--src/mame/drivers/saturn.cpp18
-rw-r--r--src/mame/drivers/segasp.cpp2
-rw-r--r--src/mame/drivers/seibucats.cpp50
-rw-r--r--src/mame/drivers/stv.cpp16
-rw-r--r--src/mame/drivers/targeth.cpp20
-rw-r--r--src/mame/drivers/tmc600.cpp34
-rw-r--r--src/mame/includes/saturn.h20
-rw-r--r--src/mame/includes/stv.h2
-rw-r--r--src/mame/layout/mephisto_mondial2.lay106
-rw-r--r--src/mame/layout/notechan.lay20
-rw-r--r--src/mame/machine/dec0.cpp2
-rw-r--r--src/mame/machine/kay_kbd.cpp2
-rw-r--r--src/mame/machine/saturn.cpp4
-rw-r--r--src/mame/machine/seibucop/seibucop_dma.hxx4
-rw-r--r--src/mame/machine/taitoio.cpp2
-rw-r--r--src/mame/mame.lst12
-rw-r--r--src/mame/video/gamate.cpp62
-rw-r--r--src/mame/video/legionna.cpp8
-rw-r--r--src/mame/video/taito_b.cpp2
-rw-r--r--src/mame/video/ygv608.cpp94
-rw-r--r--src/mame/video/ygv608.h82
38 files changed, 383 insertions, 381 deletions
diff --git a/src/mame/drivers/4enraya.cpp b/src/mame/drivers/4enraya.cpp
index b4606282d12..b165007c8c5 100644
--- a/src/mame/drivers/4enraya.cpp
+++ b/src/mame/drivers/4enraya.cpp
@@ -543,7 +543,7 @@ ROM_START( 4enrayaa )
ROM_END
-/*
+/*
Unknown 'Pac-Man' gambling game.
*/
ROM_START(unkpacg)
@@ -557,7 +557,7 @@ ROM_START(unkpacg)
ROM_LOAD( "5.u18", 0x0000, 0x2000, CRC(44f272d2) SHA1(b39cbc1f290d9fb2453396906e4da4a682c41ef4) )
ROM_END
-/*
+/*
Unknown 'Space Invaders' gambling game.
All roms are 0x8000 but only the last 0x2000 of each is used.
*/
@@ -587,7 +587,7 @@ ROM_START( unksig )
ROM_CONTINUE( 0x4000, 0x2000) // only data here matters
ROM_END
-/*
+/*
Unknown 'Space Invaders' gambling game
All roms are 0x10000 but with a lot of addressing issues
diff --git a/src/mame/drivers/abc1600.cpp b/src/mame/drivers/abc1600.cpp
index 828d4bece86..5d86e84729b 100644
--- a/src/mame/drivers/abc1600.cpp
+++ b/src/mame/drivers/abc1600.cpp
@@ -41,28 +41,28 @@
should be
[:mac] ':3f' (089A8) MAC 7e4a2:1fe4a2 (SEGA 00f SEGD 0f PGA 0fc PGD 43fc NONX 0 WP 1)
- [:mac] ':3f' (100082) SEGMENT 80eeb:27 (SEGA 000 SEGD 27)
- [:mac] ':3f' (100084) PAGE 80ee8:02 (SEGA 000 SEGD 27 PGA 271 PGD 0283)
- [:mac] ':3f' (100084) PAGE 80ee9:83 (SEGA 000 SEGD 27 PGA 271 PGD 0283)
- [:mac] ':3f' (100082) SEGMENT 806eb:27 (SEGA 000 SEGD 27)
- [:mac] ':3f' (100084) PAGE 806e8:02 (SEGA 000 SEGD 27 PGA 270 PGD 0282)
- [:mac] ':3f' (100084) PAGE 806e9:82 (SEGA 000 SEGD 27 PGA 270 PGD 0282)
- [:mac] ':3f' (100082) MAC 7feea:1b8eea (SEGA 00f SEGD 36 PGA 36f PGD 0371 NONX 0 WP 0)
- [:mac] ':3f' (100082): unmapped program memory write to 1B8EEA = 00 & FF
- [:mac] ':3f' (100082) MAC 7feeb:1b8eeb (SEGA 00f SEGD 36 PGA 36f PGD 0371 NONX 0 WP 0)
- [:mac] ':3f' (100082): unmapped program memory write to 1B8EEB = 27 & FF
- [:mac] ':3f' (100084) MAC 7fee8:1b8ee8 (SEGA 00f SEGD 36 PGA 36f PGD 0371 NONX 0 WP 0)
- [:mac] ':3f' (100084): unmapped program memory write to 1B8EE8 = 02 & FF
- [:mac] ':3f' (100084) MAC 7fee9:1b8ee9 (SEGA 00f SEGD 36 PGA 36f PGD 0371 NONX 0 WP 0)
- [:mac] ':3f' (100084): unmapped program memory write to 1B8EE9 = 81 & FF
- [:mac] ':3f' (100082) MAC 7f6ea:1b86ea (SEGA 00f SEGD 36 PGA 36e PGD 0370 NONX 0 WP 0)
- [:mac] ':3f' (100082): unmapped program memory write to 1B86EA = 00 & FF
- [:mac] ':3f' (100082) MAC 7f6eb:1b86eb (SEGA 00f SEGD 36 PGA 36e PGD 0370 NONX 0 WP 0)
- [:mac] ':3f' (100082): unmapped program memory write to 1B86EB = 27 & FF
- [:mac] ':3f' (100084) MAC 7f6e8:1b86e8 (SEGA 00f SEGD 36 PGA 36e PGD 0370 NONX 0 WP 0)
- [:mac] ':3f' (100084): unmapped program memory write to 1B86E8 = 02 & FF
- [:mac] ':3f' (100084) MAC 7f6e9:1b86e9 (SEGA 00f SEGD 36 PGA 36e PGD 0370 NONX 0 WP 0)
- [:mac] ':3f' (100084): unmapped program memory write to 1B86E9 = 80 & FF
+ [:mac] ':3f' (100082) SEGMENT 80eeb:27 (SEGA 000 SEGD 27)
+ [:mac] ':3f' (100084) PAGE 80ee8:02 (SEGA 000 SEGD 27 PGA 271 PGD 0283)
+ [:mac] ':3f' (100084) PAGE 80ee9:83 (SEGA 000 SEGD 27 PGA 271 PGD 0283)
+ [:mac] ':3f' (100082) SEGMENT 806eb:27 (SEGA 000 SEGD 27)
+ [:mac] ':3f' (100084) PAGE 806e8:02 (SEGA 000 SEGD 27 PGA 270 PGD 0282)
+ [:mac] ':3f' (100084) PAGE 806e9:82 (SEGA 000 SEGD 27 PGA 270 PGD 0282)
+ [:mac] ':3f' (100082) MAC 7feea:1b8eea (SEGA 00f SEGD 36 PGA 36f PGD 0371 NONX 0 WP 0)
+ [:mac] ':3f' (100082): unmapped program memory write to 1B8EEA = 00 & FF
+ [:mac] ':3f' (100082) MAC 7feeb:1b8eeb (SEGA 00f SEGD 36 PGA 36f PGD 0371 NONX 0 WP 0)
+ [:mac] ':3f' (100082): unmapped program memory write to 1B8EEB = 27 & FF
+ [:mac] ':3f' (100084) MAC 7fee8:1b8ee8 (SEGA 00f SEGD 36 PGA 36f PGD 0371 NONX 0 WP 0)
+ [:mac] ':3f' (100084): unmapped program memory write to 1B8EE8 = 02 & FF
+ [:mac] ':3f' (100084) MAC 7fee9:1b8ee9 (SEGA 00f SEGD 36 PGA 36f PGD 0371 NONX 0 WP 0)
+ [:mac] ':3f' (100084): unmapped program memory write to 1B8EE9 = 81 & FF
+ [:mac] ':3f' (100082) MAC 7f6ea:1b86ea (SEGA 00f SEGD 36 PGA 36e PGD 0370 NONX 0 WP 0)
+ [:mac] ':3f' (100082): unmapped program memory write to 1B86EA = 00 & FF
+ [:mac] ':3f' (100082) MAC 7f6eb:1b86eb (SEGA 00f SEGD 36 PGA 36e PGD 0370 NONX 0 WP 0)
+ [:mac] ':3f' (100082): unmapped program memory write to 1B86EB = 27 & FF
+ [:mac] ':3f' (100084) MAC 7f6e8:1b86e8 (SEGA 00f SEGD 36 PGA 36e PGD 0370 NONX 0 WP 0)
+ [:mac] ':3f' (100084): unmapped program memory write to 1B86E8 = 02 & FF
+ [:mac] ':3f' (100084) MAC 7f6e9:1b86e9 (SEGA 00f SEGD 36 PGA 36e PGD 0370 NONX 0 WP 0)
+ [:mac] ':3f' (100084): unmapped program memory write to 1B86E9 = 80 & FF
- short/long reset (RSTBUT)
- CIO
diff --git a/src/mame/drivers/anes.cpp b/src/mame/drivers/anes.cpp
index 6be2d5ace8b..7a3823c91f9 100644
--- a/src/mame/drivers/anes.cpp
+++ b/src/mame/drivers/anes.cpp
@@ -38,7 +38,7 @@ public:
DECLARE_WRITE8_MEMBER(vram_offset_w);
DECLARE_WRITE8_MEMBER(blit_trigger_w);
-
+
uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
protected:
@@ -69,7 +69,7 @@ WRITE8_MEMBER(anes_state::blit_trigger_w)
writes 1 to port $0b, writes to program space, writes 2 to port $0b, writes to program space
writes a mode to port $0b, writes to trigger port $0a
*/
-
+
//printf("%02x%02x%02x\n",m_vram_offset[0],m_vram_offset[1],m_vram_offset[2]);
}
@@ -81,18 +81,18 @@ ADDRESS_MAP_END
static ADDRESS_MAP_START( io_map, AS_IO, 8, anes_state )
ADDRESS_MAP_GLOBAL_MASK(0xff)
ADDRESS_MAP_UNMAP_HIGH
-
+
AM_RANGE(0x07, 0x07) AM_WRITENOP // mux write
AM_RANGE(0x08, 0x09) AM_DEVWRITE("ym", ym2413_device, write)
AM_RANGE(0x0a, 0x0a) AM_WRITE(blit_trigger_w)
-// AM_RANGE(0x0b, 0x0b) AM_WRITE(blit_mode_w)
+// AM_RANGE(0x0b, 0x0b) AM_WRITE(blit_mode_w)
AM_RANGE(0x0c, 0x0e) AM_WRITE(vram_offset_w)
AM_RANGE(0x11, 0x11) AM_READ_PORT("DSW1")
AM_RANGE(0x12, 0x12) AM_READ_PORT("DSW2")
AM_RANGE(0x13, 0x13) AM_READ_PORT("DSW3")
AM_RANGE(0x14, 0x15) AM_READNOP // mux read
AM_RANGE(0x16, 0x16) AM_READ_PORT("IN0") AM_WRITENOP
-// AM_RANGE(0xfe, 0xfe) banking? unknown ROM range
+// AM_RANGE(0xfe, 0xfe) banking? unknown ROM range
ADDRESS_MAP_END
@@ -100,7 +100,7 @@ static INPUT_PORTS_START( anes )
PORT_START("IN0")
PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN ) // blitter busy status
PORT_BIT( 0xef, IP_ACTIVE_LOW, IPT_UNKNOWN ) // used, coin?
-
+
PORT_START("DSW1")
PORT_DIPUNKNOWN_DIPLOC(0x01, 0x01, "SW1:1")
PORT_DIPUNKNOWN_DIPLOC(0x02, 0x02, "SW1:2")
diff --git a/src/mame/drivers/bottom9.cpp b/src/mame/drivers/bottom9.cpp
index e87fe73c247..1c5e800ccf1 100644
--- a/src/mame/drivers/bottom9.cpp
+++ b/src/mame/drivers/bottom9.cpp
@@ -454,7 +454,7 @@ ROM_START( bottom9n )
ROM_LOAD32_BYTE( "891e05h", 0xc0002, 0x10000, CRC(b0aba53b) SHA1(e76b345ae354533959ed06217b91ce3c93b22a23) )
ROM_LOAD32_BYTE( "891e05d", 0xc0003, 0x10000, CRC(f6d3f886) SHA1(b8bdcc9470aa93849b8c8a1f03971281cacc6d44) )
-
+
ROM_REGION( 0x020000, "k051316", 0 )
ROM_LOAD( "891e07a", 0x00000, 0x10000, CRC(b8d8b939) SHA1(ee91fb46d70db2d17f5909c4ea7ee1cf2d317d10) ) /* zoom/rotate */
ROM_LOAD( "891e07b", 0x10000, 0x10000, CRC(83b2f92d) SHA1(c4972018e1f8109656784fae3e023a5522622c4b) )
diff --git a/src/mame/drivers/cv1k.cpp b/src/mame/drivers/cv1k.cpp
index a8979fb08c4..03e3fbe46f5 100644
--- a/src/mame/drivers/cv1k.cpp
+++ b/src/mame/drivers/cv1k.cpp
@@ -354,7 +354,7 @@ static ADDRESS_MAP_START( cv1k_d_map, AS_PROGRAM, 64, cv1k_state )
AM_RANGE(0x10400000, 0x10400007) AM_DEVWRITE8("ymz770", ymz770_device, write, 0xffffffffffffffffU)
AM_RANGE(0x10C00000, 0x10C00007) AM_READWRITE8(serial_rtc_eeprom_r, serial_rtc_eeprom_w, 0xffffffffffffffffU)
// AM_RANGE(0x18000000, 0x18000057) // blitter, installed on reset
- AM_RANGE(0xf0000000, 0xf0ffffff) AM_RAM // mem mapped cache (sh3 internal?)
+ AM_RANGE(0xf0000000, 0xf0ffffff) AM_RAM // mem mapped cache (sh3 internal?)
ADDRESS_MAP_END
static ADDRESS_MAP_START( cv1k_port, AS_IO, 64, cv1k_state )
@@ -848,7 +848,7 @@ void cv1k_state::install_speedups(uint32_t idleramoff, uint32_t idlepc, bool is_
m_idlepc = idlepc;
m_maincpu->sh2drc_set_options(SH2DRC_FASTEST_OPTIONS);
-
+
m_maincpu->sh2drc_add_pcflush(idlepc+2);
m_maincpu->space(AS_PROGRAM).install_read_handler(0xc000000+m_idleramoffs, 0xc000000+m_idleramoffs+7, read64_delegate(FUNC(cv1k_state::speedup_r),this));
diff --git a/src/mame/drivers/dec0.cpp b/src/mame/drivers/dec0.cpp
index 23261159d76..5a010d14dd6 100644
--- a/src/mame/drivers/dec0.cpp
+++ b/src/mame/drivers/dec0.cpp
@@ -890,7 +890,7 @@ INPUT_PORTS_END
static const ioport_value rotary_table[12] =
{
- 0xfffe, 0xfffd, 0xfffb, 0xfff7,
+ 0xfffe, 0xfffd, 0xfffb, 0xfff7,
0xffef, 0xffdf, 0xffbf, 0xff7f,
0xfeff, 0xfdff, 0xfbff, 0xf7ff
};
@@ -906,25 +906,25 @@ INPUT_PORTS_END
static INPUT_PORTS_START( rotary_null )
PORT_START("AN0")
PORT_BIT( 0xffff, IP_ACTIVE_LOW, IPT_UNKNOWN )
-
+
PORT_START("AN1")
PORT_BIT( 0xffff, IP_ACTIVE_LOW, IPT_UNKNOWN )
INPUT_PORTS_END
static INPUT_PORTS_START( hbarrel )
PORT_INCLUDE( dec0 )
-
+
PORT_MODIFY("INPUTS")
PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("P1 Fire")
PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("P1 Bomb")
- PORT_BIT( 0x00c0, IP_ACTIVE_LOW, IPT_UNUSED )
+ PORT_BIT( 0x00c0, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL PORT_NAME("P2 Fire")
PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_COCKTAIL PORT_NAME("P2 Bomb")
PORT_BIT( 0xc000, IP_ACTIVE_LOW, IPT_UNUSED )
-
+
PORT_MODIFY("SYSTEM")
PORT_BIT( 0x0003, IP_ACTIVE_LOW, IPT_UNUSED )
-
+
PORT_START("DSW")
PORT_DIPNAME( 0x0003, 0x0003, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("SW1:1,2")
PORT_DIPSETTING( 0x0000, DEF_STR( 2C_1C ) )
@@ -972,16 +972,16 @@ static INPUT_PORTS_START( birdtry )
PORT_INCLUDE( dec0 )
PORT_MODIFY("INPUTS")
-// PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("P1 Shoot")
-// PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("P1 Select")
- PORT_BIT( 0x00c0, IP_ACTIVE_LOW, IPT_UNUSED )
-// PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL PORT_NAME("P2 Shoot")
-// PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_COCKTAIL PORT_NAME("P2 Select")
+// PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("P1 Shoot")
+// PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("P1 Select")
+ PORT_BIT( 0x00c0, IP_ACTIVE_LOW, IPT_UNUSED )
+// PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL PORT_NAME("P2 Shoot")
+// PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_COCKTAIL PORT_NAME("P2 Select")
PORT_BIT( 0xc000, IP_ACTIVE_LOW, IPT_UNUSED )
-
+
PORT_MODIFY("SYSTEM")
PORT_BIT( 0x0003, IP_ACTIVE_LOW, IPT_UNUSED )
-
+
PORT_START("DSW")
DEC0_COIN_SETTING
PORT_SERVICE_DIPLOC( 0x0010, IP_ACTIVE_LOW, "SW1:5" )
@@ -1031,7 +1031,7 @@ static INPUT_PORTS_START( birdtry )
*/
PORT_INCLUDE( rotary_null )
-// TODO: trackball inputs
+// TODO: trackball inputs
INPUT_PORTS_END
static INPUT_PORTS_START( baddudes )
@@ -1040,14 +1040,14 @@ static INPUT_PORTS_START( baddudes )
PORT_MODIFY("INPUTS")
PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("P1 Attack")
PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("P1 Jump")
- PORT_BIT( 0x00c0, IP_ACTIVE_LOW, IPT_UNUSED )
+ PORT_BIT( 0x00c0, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL PORT_NAME("P2 Attack")
PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_COCKTAIL PORT_NAME("P2 Jump")
PORT_BIT( 0xc000, IP_ACTIVE_LOW, IPT_UNUSED )
-
+
PORT_MODIFY("SYSTEM")
PORT_BIT( 0x0003, IP_ACTIVE_LOW, IPT_UNUSED )
-
+
PORT_START("DSW")
DEC0_COIN_SETTING
PORT_SERVICE_DIPLOC( 0x0010, IP_ACTIVE_LOW, "SW1:5" )
@@ -1101,14 +1101,14 @@ static INPUT_PORTS_START( robocop )
PORT_MODIFY("INPUTS")
PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("P1 Attack")
PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("P1 Jump")
- PORT_BIT( 0x00c0, IP_ACTIVE_LOW, IPT_UNUSED )
+ PORT_BIT( 0x00c0, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL PORT_NAME("P2 Attack")
PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_COCKTAIL PORT_NAME("P2 Jump")
PORT_BIT( 0xc000, IP_ACTIVE_LOW, IPT_UNUSED )
-
+
PORT_MODIFY("SYSTEM")
PORT_BIT( 0x0003, IP_ACTIVE_LOW, IPT_UNUSED )
-
+
PORT_START("DSW")
DEC0_COIN_SETTING
PORT_DIPUNUSED_DIPLOC( 0x0010, IP_ACTIVE_LOW, "SW1:5" ) // Always OFF
@@ -1156,13 +1156,13 @@ static INPUT_PORTS_START( hippodrm )
PORT_MODIFY("INPUTS")
PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("P1 Attack")
PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("P1 Jump")
- PORT_BIT( 0x00c0, IP_ACTIVE_LOW, IPT_UNUSED )
+ PORT_BIT( 0x00c0, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL PORT_NAME("P2 Attack")
PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_COCKTAIL PORT_NAME("P2 Jump")
PORT_BIT( 0xc000, IP_ACTIVE_LOW, IPT_UNUSED )
-
+
PORT_MODIFY("SYSTEM")
- PORT_BIT( 0x0003, IP_ACTIVE_LOW, IPT_UNUSED )
+ PORT_BIT( 0x0003, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_START("DSW")
DEC0_COIN_SETTING
@@ -1197,7 +1197,7 @@ static INPUT_PORTS_START( hippodrm )
PORT_START("VBLANK")
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_CUSTOM ) PORT_VBLANK("screen")
-
+
PORT_INCLUDE( rotary_null )
INPUT_PORTS_END
@@ -1233,7 +1233,7 @@ static INPUT_PORTS_START( slyspy )
PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL PORT_NAME("P2 Attack")
PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_COCKTAIL PORT_NAME("P2 Jump")
PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_UNUSED )
-
+
PORT_START("DSW")
DEC0_COIN_SETTING
PORT_SERVICE_DIPLOC( 0x0010, IP_ACTIVE_LOW, "SW1:5" )
@@ -1277,7 +1277,7 @@ static INPUT_PORTS_START( midres )
PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL PORT_NAME("P2 Fire")
PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_COCKTAIL PORT_NAME("P2 Jump")
PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_UNUSED )
-
+
PORT_START("DSW")
DEC0_COIN_SETTING
PORT_DIPUNUSED_DIPLOC( 0x0010, IP_ACTIVE_LOW, "SW1:5" ) // Always OFF
@@ -1330,13 +1330,13 @@ static INPUT_PORTS_START( midresb )
PORT_MODIFY("INPUTS")
PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("P1 Fire")
PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("P1 Jump")
- PORT_BIT( 0x00c0, IP_ACTIVE_LOW, IPT_UNUSED )
+ PORT_BIT( 0x00c0, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL PORT_NAME("P2 Fire")
PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_COCKTAIL PORT_NAME("P2 Jump")
PORT_BIT( 0xc000, IP_ACTIVE_LOW, IPT_UNUSED )
-
+
PORT_MODIFY("SYSTEM")
- PORT_BIT( 0x0003, IP_ACTIVE_LOW, IPT_UNUSED )
+ PORT_BIT( 0x0003, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_START("DSW")
DEC0_COIN_SETTING
@@ -1381,16 +1381,16 @@ static INPUT_PORTS_START( bouldash )
PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON1 ) // squeeze diamond
PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON2 ) // escape
PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_UNUSED ) /* Button 3 - only in Service Mode */
-// PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_START1 )
+// PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_START1 )
PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY PORT_COCKTAIL
PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY PORT_COCKTAIL
PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY PORT_COCKTAIL
PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY PORT_COCKTAIL
PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL // squeeze diamond
PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_COCKTAIL // escape
- PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_UNUSED )
-// PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_START2 )
-
+ PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_UNUSED )
+// PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_START2 )
+
PORT_MODIFY("SYSTEM")
PORT_BIT( 0x0008, IP_ACTIVE_HIGH, IPT_CUSTOM ) PORT_VBLANK("screen") /* extremely slow palette fades with ACTIVE_HIGH */
@@ -1441,7 +1441,7 @@ static INPUT_PORTS_START( bouldash )
PORT_DIPNAME( 0x8000, 0x0000, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:8")
PORT_DIPSETTING( 0x8000, DEF_STR( Off ) )
PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
-
+
PORT_INCLUDE( rotary_null )
INPUT_PORTS_END
@@ -3643,10 +3643,10 @@ ROM_END
DRIVER_INIT_MEMBER(dec0_state,midresb)
{
-// m_maincpu->space(AS_PROGRAM).install_read_handler(0x00180000, 0x0018000f, read16_delegate(FUNC(dec0_state::dec0_controls_r),this));
-// m_maincpu->space(AS_PROGRAM).install_read_handler(0x001a0000, 0x001a000f, read16_delegate(FUNC(dec0_state::dec0_rotary_r),this));
+// m_maincpu->space(AS_PROGRAM).install_read_handler(0x00180000, 0x0018000f, read16_delegate(FUNC(dec0_state::dec0_controls_r),this));
+// m_maincpu->space(AS_PROGRAM).install_read_handler(0x001a0000, 0x001a000f, read16_delegate(FUNC(dec0_state::dec0_rotary_r),this));
-// m_maincpu->space(AS_PROGRAM).install_write_handler(0x00180014, 0x00180015, write16_delegate(FUNC(dec0_state::midres_sound_w),this));
+// m_maincpu->space(AS_PROGRAM).install_write_handler(0x00180014, 0x00180015, write16_delegate(FUNC(dec0_state::midres_sound_w),this));
}
READ16_MEMBER(dec0_state::ffantasybl_242024_r)
diff --git a/src/mame/drivers/europc.cpp b/src/mame/drivers/europc.cpp
index 1d70be8e6af..0dc89e55a4f 100644
--- a/src/mame/drivers/europc.cpp
+++ b/src/mame/drivers/europc.cpp
@@ -575,11 +575,11 @@ ROM_START( europc )
ROM_SYSTEM_BIOS( 4, "v2.08a", "EuroPC v2.08a" )
ROMX_LOAD("bios_v2.08a.bin", 0x8000, 0x8000, CRC(872520b7) SHA1(9c94d33c0d454fab7bcd0c4516b50f1c3c6a30b8), ROM_BIOS(5))
ROM_SYSTEM_BIOS( 5, "v2.08b", "EuroPC v2.08b" )
- ROMX_LOAD("bios_v2.08b.bin", 0x8000, 0x8000, CRC(668c0d19) SHA1(69412e58e0ed1d141e633f094af91ec5f7ae064b), ROM_BIOS(6))
- ROM_SYSTEM_BIOS( 6, "v2.04", "EuroPC v2.04" )
- ROMX_LOAD("bios_v2.04.bin", 0x8000, 0x8000, CRC(e623967c) SHA1(5196b14018da1f3198e2950af0e6eab41425f556), ROM_BIOS(7))
- ROM_SYSTEM_BIOS( 7, "v2.05", "EuroPC v2.05" )
- ROMX_LOAD("bios_2.05.bin", 0x8000, 0x8000, CRC(372ceed6) SHA1(bb3d3957a22422f98be2225bdc47705bcab96f56), ROM_BIOS(8)) // v2.04 and v2.05 don't work yet, , see comment section
+ ROMX_LOAD("bios_v2.08b.bin", 0x8000, 0x8000, CRC(668c0d19) SHA1(69412e58e0ed1d141e633f094af91ec5f7ae064b), ROM_BIOS(6))
+ ROM_SYSTEM_BIOS( 6, "v2.04", "EuroPC v2.04" )
+ ROMX_LOAD("bios_v2.04.bin", 0x8000, 0x8000, CRC(e623967c) SHA1(5196b14018da1f3198e2950af0e6eab41425f556), ROM_BIOS(7))
+ ROM_SYSTEM_BIOS( 7, "v2.05", "EuroPC v2.05" )
+ ROMX_LOAD("bios_2.05.bin", 0x8000, 0x8000, CRC(372ceed6) SHA1(bb3d3957a22422f98be2225bdc47705bcab96f56), ROM_BIOS(8)) // v2.04 and v2.05 don't work yet, , see comment section
ROM_END
ROM_START( europc2 )
diff --git a/src/mame/drivers/gamate.cpp b/src/mame/drivers/gamate.cpp
index 49dcdd3e792..6aad71d332c 100644
--- a/src/mame/drivers/gamate.cpp
+++ b/src/mame/drivers/gamate.cpp
@@ -71,7 +71,7 @@ READ8_MEMBER( gamate_state::card_available_check )
{
// bits 0 and 1 checked
return m_card_available ? 3: 1;
-}
+}
WRITE8_MEMBER( gamate_state::card_reset )
{
@@ -115,7 +115,7 @@ READ8_MEMBER(gamate_state::read_cart)
}
static ADDRESS_MAP_START( gamate_mem, AS_PROGRAM, 8, gamate_state )
- AM_RANGE(0x0000, 0x03ff) AM_MIRROR(0x1c00) AM_RAM
+ AM_RANGE(0x0000, 0x03ff) AM_MIRROR(0x1c00) AM_RAM
AM_RANGE(0x4000, 0x400f) AM_MIRROR(0x03f0) AM_READWRITE(sound_r,sound_w)
AM_RANGE(0x4400, 0x4400) AM_MIRROR(0x03ff) AM_READ_PORT("JOY")
AM_RANGE(0x4800, 0x4800) AM_MIRROR(0x03ff) AM_READ(gamate_nmi_r)
diff --git a/src/mame/drivers/hikaru.cpp b/src/mame/drivers/hikaru.cpp
index 129fc920c3b..ddc1feb620a 100644
--- a/src/mame/drivers/hikaru.cpp
+++ b/src/mame/drivers/hikaru.cpp
@@ -498,7 +498,7 @@ static MACHINE_CONFIG_START( hikaru )
// MCFG_CPU_IO_MAP(hikaru_port)
MCFG_CPU_FORCE_NO_DRC()
// MCFG_CPU_VBLANK_INT("screen", hikaru,vblank)
-
+
MCFG_CPU_ADD("slave", SH4LE, CPU_CLOCK)
MCFG_CPU_PROGRAM_MAP(hikaru_map_slave)
MCFG_CPU_FORCE_NO_DRC()
diff --git a/src/mame/drivers/isbc.cpp b/src/mame/drivers/isbc.cpp
index 23071ef9b94..c777aab8bab 100644
--- a/src/mame/drivers/isbc.cpp
+++ b/src/mame/drivers/isbc.cpp
@@ -417,8 +417,8 @@ static MACHINE_CONFIG_DERIVED( isbc8630, rpc86 )
MCFG_ISBC_215_IRQ(DEVWRITELINE("pic_0", pic8259_device, ir5_w))
MCFG_DEVICE_ADD("statuslatch", LS259, 0) // U14
-// MCFG_ADDRESSABLE_LATCH_Q0_OUT_CB(DEVWRITELINE("pit", pit8253_device, write_gate0))
-// MCFG_ADDRESSABLE_LATCH_Q1_OUT_CB(DEVWRITELINE("pit", pit8253_device, write_gate1))
+// MCFG_ADDRESSABLE_LATCH_Q0_OUT_CB(DEVWRITELINE("pit", pit8253_device, write_gate0))
+// MCFG_ADDRESSABLE_LATCH_Q1_OUT_CB(DEVWRITELINE("pit", pit8253_device, write_gate1))
MCFG_ADDRESSABLE_LATCH_Q2_OUT_CB(WRITELINE(isbc_state, nmi_mask_w))
MCFG_ADDRESSABLE_LATCH_Q3_OUT_CB(WRITELINE(isbc_state, override_w))
MCFG_ADDRESSABLE_LATCH_Q4_OUT_CB(WRITELINE(isbc_state, bus_intr_out1_w))
diff --git a/src/mame/drivers/jalmah.cpp b/src/mame/drivers/jalmah.cpp
index 7119c10621c..45e4ab5f1a5 100644
--- a/src/mame/drivers/jalmah.cpp
+++ b/src/mame/drivers/jalmah.cpp
@@ -753,7 +753,7 @@ void jalmah_state::daireika_palette_dma(uint16_t val)
/*a1=88000*/
if(val == 0)
return;
-
+
src_addr = 0x301c0 + (val * 0x40);
// popmessage("%08x",src_addr);
for(index_1 = 0; index_1 < 0x200; index_1 += 0x20)
diff --git a/src/mame/drivers/megasys1.cpp b/src/mame/drivers/megasys1.cpp
index 0cfe72d4590..a86dc50fc0d 100644
--- a/src/mame/drivers/megasys1.cpp
+++ b/src/mame/drivers/megasys1.cpp
@@ -28,7 +28,7 @@ Year + Game System Protection
Plus Alpha A Yes + Encryption (key 2)
Saint Dragon A Yes + Encryption (key 1)
90 RodLand (World, set 1) / A Encryption (key 3)
- RodLand (World, set 2) A Encryption (key 2)
+ RodLand (World, set 2) A Encryption (key 2)
RodLand (Japan) A Encryption (key 2)
R&T (Prototype?) A Encryption (key 2)
Phantasm (Japan) / A Encryption (key 1)
diff --git a/src/mame/drivers/mephisto_montec.cpp b/src/mame/drivers/mephisto_montec.cpp
index da2e53e0263..b01caadf534 100644
--- a/src/mame/drivers/mephisto_montec.cpp
+++ b/src/mame/drivers/mephisto_montec.cpp
@@ -317,11 +317,11 @@ WRITE8_MEMBER(mephisto_montec_state::mondial2_input_mux_w)
{
if (!BIT(leds_data, i))
{
- if (data & 0x10) output().set_led_value(100 + i, 1);
- if (data & 0x20) output().set_led_value( 8 + i, 1);
- if (data & 0x40) output().set_led_value( 0 + i, 1);
+ if (data & 0x10) output().set_led_value(100 + i, 1);
+ if (data & 0x20) output().set_led_value( 8 + i, 1);
+ if (data & 0x40) output().set_led_value( 0 + i, 1);
}
- }
+ }
m_input_mux = data ^ 0xff;
m_beeper->set_state(BIT(data, 7));
diff --git a/src/mame/drivers/naomi.cpp b/src/mame/drivers/naomi.cpp
index ee8862fdcd1..2ac54b96b14 100644
--- a/src/mame/drivers/naomi.cpp
+++ b/src/mame/drivers/naomi.cpp
@@ -1956,7 +1956,7 @@ static ADDRESS_MAP_START( aw_map, AS_PROGRAM, 64, atomiswave_state )
AM_RANGE(0x08000000, 0x0bffffff) AM_NOP // 'Unassigned'
/* Area 3 */
- AM_RANGE(0x0c000000, 0x0cffffff) AM_RAM AM_SHARE("dc_ram")
+ AM_RANGE(0x0c000000, 0x0cffffff) AM_RAM AM_SHARE("dc_ram")
AM_RANGE(0x0d000000, 0x0dffffff) AM_RAM AM_SHARE("dc_ram") // extra ram on Naomi (mirror on DC)
AM_RANGE(0x0e000000, 0x0effffff) AM_RAM AM_SHARE("dc_ram") // mirror
AM_RANGE(0x0f000000, 0x0fffffff) AM_RAM AM_SHARE("dc_ram") // mirror
@@ -2699,9 +2699,9 @@ MACHINE_RESET_MEMBER(naomi_state,naomi)
MCFG_CPU_PROGRAM_MAP(naomi_map)
MCFG_CPU_IO_MAP(naomi_port)
MCFG_CPU_FORCE_NO_DRC()
-
+
MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", dc_state, dc_scanline, "screen", 0, 1)
-
+
MCFG_CPU_ADD("soundcpu", ARM7, ((XTAL_33_8688MHz*2)/3)/8) // AICA bus clock is 2/3rds * 33.8688. ARM7 gets 1 bus cycle out of each 8.
MCFG_CPU_PROGRAM_MAP(dc_audio_map)
diff --git a/src/mame/drivers/pc.cpp b/src/mame/drivers/pc.cpp
index 6b38c897a35..fc0a5d30df5 100644
--- a/src/mame/drivers/pc.cpp
+++ b/src/mame/drivers/pc.cpp
@@ -333,7 +333,7 @@ Form Factor: Luggable
CPU: 8088 @ 4.77MHz
RAM: 256K, expandable to 512K and 640K
Mainboard with 4 ISA slots, video decoder circuitry to show 16 levels of grayscale on the internal monitor, interface to WD1002-HD0 harddisk controller
-Bus: 4x ISA: 1) 8088 slot CPU, keyboard connector, reset switch,
+Bus: 4x ISA: 1) 8088 slot CPU, keyboard connector, reset switch,
2) Floppy disk controller, serial, parallel, RAM expansion
3) Kaypro CGA card with composite and colour TTL outputs, ROM 81-820 needs to be dumped
4) empty
@@ -804,7 +804,7 @@ static MACHINE_CONFIG_DERIVED(kaypro16, pccga)
MCFG_DEVICE_MODIFY("isa3")
MCFG_SLOT_FIXED(true)
MCFG_DEVICE_MODIFY("isa4")
- MCFG_SLOT_FIXED(true)
+ MCFG_SLOT_FIXED(true)
MCFG_DEVICE_MODIFY("isa5")
MCFG_SLOT_DEFAULT_OPTION(nullptr)
MCFG_DEVICE_MODIFY(RAM_TAG)
diff --git a/src/mame/drivers/pgm2.cpp b/src/mame/drivers/pgm2.cpp
index 79ead536042..fc6b8011e3a 100644
--- a/src/mame/drivers/pgm2.cpp
+++ b/src/mame/drivers/pgm2.cpp
@@ -464,10 +464,10 @@ ROM_START( ddpdojh )
ROM_LOAD16_WORD_SWAP( "ddpdoj_wave0.u12", 0x00000000, 0x1000000, CRC(2b71a324) SHA1(f69076cc561f40ca564d804bc7bd455066f8d77c) )
ROM_END
-/*
- The Kov3 Program rom is a module consisting of a NOR flash and a FPGA, this provides an extra layer of encryption on top of the usual
+/*
+ The Kov3 Program rom is a module consisting of a NOR flash and a FPGA, this provides an extra layer of encryption on top of the usual
that is only unlocked when the correct sequence is recieved from the ARM MCU (IGS036)
-
+
Newer gambling games use the same modules.
*/
@@ -661,7 +661,7 @@ void pgm2_state::decrypt_kov3_module(uint32_t addrxor, uint16_t dataxor)
for (int i = 0; i < size/2; i++)
buffer[i] = src[i^addrxor]^dataxor;
-
+
memcpy(src, &buffer[0], size);
}
diff --git a/src/mame/drivers/rx78.cpp b/src/mame/drivers/rx78.cpp
index 735a6ec0962..34790927f93 100644
--- a/src/mame/drivers/rx78.cpp
+++ b/src/mame/drivers/rx78.cpp
@@ -471,12 +471,12 @@ static MACHINE_CONFIG_START( rx78 )
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
-// MCFG_SCREEN_REFRESH_RATE(60)
-// MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500)) /* not accurate */
-// MCFG_SCREEN_SIZE(192, 184)
-// MCFG_SCREEN_VISIBLE_AREA(0, 192-1, 0, 184-1)
+// MCFG_SCREEN_REFRESH_RATE(60)
+// MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500)) /* not accurate */
+// MCFG_SCREEN_SIZE(192, 184)
+// MCFG_SCREEN_VISIBLE_AREA(0, 192-1, 0, 184-1)
/* guess: generic NTSC video timing at 256x224, system runs at 192x184, suppose with some border area to compensate */
- MCFG_SCREEN_RAW_PARAMS(MASTER_CLOCK/4, 442, 0, 256, 263, 0, 224)
+ MCFG_SCREEN_RAW_PARAMS(MASTER_CLOCK/4, 442, 0, 256, 263, 0, 224)
MCFG_SCREEN_UPDATE_DRIVER(rx78_state, screen_update)
MCFG_SCREEN_PALETTE("palette")
diff --git a/src/mame/drivers/saturn.cpp b/src/mame/drivers/saturn.cpp
index 115f0823c50..5b5537ab5d0 100644
--- a/src/mame/drivers/saturn.cpp
+++ b/src/mame/drivers/saturn.cpp
@@ -484,12 +484,12 @@ public:
uint8_t saturn_direct_port_read(bool which);
uint8_t smpc_direct_mode(uint16_t in_value, bool which);
uint8_t smpc_th_control_mode(uint16_t in_value, bool which);
-
+
void nvram_init(nvram_device &nvram, void *data, size_t size);
required_device<sat_cart_slot_device> m_exp;
required_device<nvram_device> m_nvram;
-
+
required_device<saturn_control_port_device> m_ctrl1;
required_device<saturn_control_port_device> m_ctrl2;
@@ -587,7 +587,7 @@ void sat_console_state::nvram_init(nvram_device &nvram, void *data, size_t size)
MACHINE_START_MEMBER(sat_console_state, saturn)
-{
+{
machine().device<scsp_device>("scsp")->set_ram_base(m_sound_ram);
m_maincpu->space(AS_PROGRAM).install_readwrite_handler(0x02400000, 0x027fffff, read32_delegate(FUNC(sat_console_state::saturn_null_ram_r),this), write32_delegate(FUNC(sat_console_state::saturn_null_ram_w),this));
@@ -644,7 +644,7 @@ MACHINE_START_MEMBER(sat_console_state, saturn)
}
// save states
-// save_pointer(NAME(m_scu_regs.get()), 0x100/4);
+// save_pointer(NAME(m_scu_regs.get()), 0x100/4);
save_item(NAME(m_en_68k));
save_item(NAME(m_scsp_last_line));
save_item(NAME(m_vdp2.odd));
@@ -717,8 +717,8 @@ inline uint8_t sat_console_state::saturn_direct_port_read(bool which)
uint8_t cur_mode = m_smpc_hle->get_ddr(which);
uint8_t res = 0;
uint16_t ctrl_read = port->read_direct();
-
-// check for control method
+
+// check for control method
switch(cur_mode & 0x60)
{
case 0: break;
@@ -873,7 +873,7 @@ MACHINE_CONFIG_DERIVED( saturnus, saturn )
MCFG_DEVICE_MODIFY("smpc")
smpc_hle_device::static_set_region_code(*device, 4);
-
+
MACHINE_CONFIG_END
MACHINE_CONFIG_DERIVED( saturneu, saturn )
@@ -909,7 +909,7 @@ MACHINE_CONFIG_END
void sat_console_state::saturn_init_driver(int rgn)
{
-// m_saturn_region = rgn;
+// m_saturn_region = rgn;
m_vdp2.pal = (rgn == 12) ? 1 : 0;
// set compatible options
@@ -929,7 +929,7 @@ void sat_console_state::saturn_init_driver(int rgn)
m_minit_boost_timeslice = attotime::zero;
m_sinit_boost_timeslice = attotime::zero;
-// m_scu_regs = make_unique_clear<uint32_t[]>(0x100/4);
+// m_scu_regs = make_unique_clear<uint32_t[]>(0x100/4);
m_backupram = make_unique_clear<uint8_t[]>(0x8000);
}
diff --git a/src/mame/drivers/segasp.cpp b/src/mame/drivers/segasp.cpp
index e187e153130..391fafa9e4b 100644
--- a/src/mame/drivers/segasp.cpp
+++ b/src/mame/drivers/segasp.cpp
@@ -324,7 +324,7 @@ MACHINE_CONFIG_END
ROM_LOAD16_WORD( "mb_serial.ic57", 0x0000, 0x0080, CRC(e1e3c009) SHA1(66bc636c527389c3338f631d78c788b4bd4e93be) )
// net_firm_119.ic72 - Network/Media Board firmware VER 1.19(VxWorks), 1st half contain original 1.10 version
-// fpr-24407.ic72 - version 1.25
+// fpr-24407.ic72 - version 1.25
#define SEGASP_NETFIRM \
ROM_REGION( 0x200000, "netcpu", 0) \
ROM_LOAD( "net_eeprom.ic74s", 0x00000000, 0x200, CRC(77cc5a6c) SHA1(cbfba546256b70bce6c6fd0030d7e2e410a25526) ) \
diff --git a/src/mame/drivers/seibucats.cpp b/src/mame/drivers/seibucats.cpp
index 5dcaddb9bdf..8aeeb792914 100644
--- a/src/mame/drivers/seibucats.cpp
+++ b/src/mame/drivers/seibucats.cpp
@@ -95,9 +95,9 @@ public:
}
// screen updates
-// uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
-// IRQ_CALLBACK_MEMBER(spi_irq_callback);
-// INTERRUPT_GEN_MEMBER(spi_interrupt);
+// uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
+// IRQ_CALLBACK_MEMBER(spi_irq_callback);
+// INTERRUPT_GEN_MEMBER(spi_interrupt);
DECLARE_READ16_MEMBER(input_mux_r);
DECLARE_WRITE16_MEMBER(input_select_w);
@@ -109,7 +109,7 @@ protected:
virtual void machine_start() override;
virtual void machine_reset() override;
-// virtual void video_start() override;
+// virtual void video_start() override;
private:
@@ -284,14 +284,14 @@ static MACHINE_CONFIG_START( seibucats )
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
-// MCFG_SCREEN_UPDATE_DRIVER(seibucats_state, screen_update)
+// MCFG_SCREEN_UPDATE_DRIVER(seibucats_state, screen_update)
MCFG_SCREEN_UPDATE_DRIVER(seibuspi_state, screen_update_sys386f)
MCFG_SCREEN_RAW_PARAMS(PIXEL_CLOCK, SPI_HTOTAL, SPI_HBEND, SPI_HBSTART, SPI_VTOTAL, SPI_VBEND, SPI_VBSTART)
MCFG_GFXDECODE_ADD("gfxdecode", "palette", seibucats)
MCFG_PALETTE_ADD_INIT_BLACK("palette", 8192)
-// MCFG_PALETTE_FORMAT(xBBBBBGGGGGRRRRR)
+// MCFG_PALETTE_FORMAT(xBBBBBGGGGGRRRRR)
//MCFG_PALETTE_INIT_OWNER(seibucats_state, seibucats)
/* sound hardware */
@@ -311,16 +311,16 @@ MACHINE_CONFIG_END
ROM_START( emjjoshi )
ROM_REGION32_LE( 0x200000, "ipl", 0 ) /* i386 program */
- ROM_LOAD32_BYTE( "prg0.u016", 0x000000, 0x080000, CRC(e69bed6d) SHA1(e9626e704c5d28419cfa6a7a2c1b13b4b46f941c) )
- ROM_LOAD32_BYTE( "prg1.u011", 0x000001, 0x080000, CRC(1082ede1) SHA1(0d1a682f37ede5c9070c14d1c3491a3082ad0759) )
- ROM_LOAD32_BYTE( "prg2.u017", 0x000002, 0x080000, CRC(df85a8f7) SHA1(83226767b0c33e8cc3baee6f6bb17e4f1a6c9c27) )
- ROM_LOAD32_BYTE( "prg3.u015", 0x000003, 0x080000, CRC(6fe7fd41) SHA1(e7ea9cb83bdeed4872f9e423b8294b9ca4b29b6b) )
-
+ ROM_LOAD32_BYTE( "prg0.u016", 0x000000, 0x080000, CRC(e69bed6d) SHA1(e9626e704c5d28419cfa6a7a2c1b13b4b46f941c) )
+ ROM_LOAD32_BYTE( "prg1.u011", 0x000001, 0x080000, CRC(1082ede1) SHA1(0d1a682f37ede5c9070c14d1c3491a3082ad0759) )
+ ROM_LOAD32_BYTE( "prg2.u017", 0x000002, 0x080000, CRC(df85a8f7) SHA1(83226767b0c33e8cc3baee6f6bb17e4f1a6c9c27) )
+ ROM_LOAD32_BYTE( "prg3.u015", 0x000003, 0x080000, CRC(6fe7fd41) SHA1(e7ea9cb83bdeed4872f9e423b8294b9ca4b29b6b) )
+
ROM_REGION( 0x30000, "gfx1", ROMREGION_ERASEFF ) /* text layer roms - none! */
ROM_REGION( 0x900000, "gfx2", ROMREGION_ERASEFF ) /* background layer roms - none! */
- ROM_REGION( 0x600000, "gfx3", 0)
+ ROM_REGION( 0x600000, "gfx3", 0)
ROM_LOAD("obj1.u0231", 0x000000, 0x200000, NO_DUMP )
ROM_LOAD("obj2.u0233", 0x200000, 0x200000, NO_DUMP )
ROM_LOAD("obj3.u0232", 0x400000, 0x200000, NO_DUMP )
@@ -334,16 +334,16 @@ ROM_END
// MJ1-1537
ROM_START( emjscanb )
ROM_REGION32_LE( 0x200000, "ipl", 0 ) /* i386 program */
- ROM_LOAD32_BYTE( "prg0.u016", 0x000000, 0x080000, CRC(6e5c7c16) SHA1(19c00833357b97d0ed91a962e95d3ae2582da66c) )
- ROM_LOAD32_BYTE( "prg1.u011", 0x000001, 0x080000, CRC(a5a17fdd) SHA1(3295ecb1055cf1ab612eb915aabe8d2895aeca6a) )
- ROM_LOAD32_BYTE( "prg2.u017", 0x000002, 0x080000, CRC(b89d7693) SHA1(174b2ecfd8a3c593a81905c1c9d62728f710f5d1) )
- ROM_LOAD32_BYTE( "prg3.u015", 0x000003, 0x080000, CRC(6b38a07b) SHA1(2131ae726fc38c8054801c1de4d17eec5b55dd2d) )
-
+ ROM_LOAD32_BYTE( "prg0.u016", 0x000000, 0x080000, CRC(6e5c7c16) SHA1(19c00833357b97d0ed91a962e95d3ae2582da66c) )
+ ROM_LOAD32_BYTE( "prg1.u011", 0x000001, 0x080000, CRC(a5a17fdd) SHA1(3295ecb1055cf1ab612eb915aabe8d2895aeca6a) )
+ ROM_LOAD32_BYTE( "prg2.u017", 0x000002, 0x080000, CRC(b89d7693) SHA1(174b2ecfd8a3c593a81905c1c9d62728f710f5d1) )
+ ROM_LOAD32_BYTE( "prg3.u015", 0x000003, 0x080000, CRC(6b38a07b) SHA1(2131ae726fc38c8054801c1de4d17eec5b55dd2d) )
+
ROM_REGION( 0x30000, "gfx1", ROMREGION_ERASEFF ) /* text layer roms - none! */
ROM_REGION( 0x900000, "gfx2", ROMREGION_ERASEFF ) /* background layer roms - none! */
- ROM_REGION( 0x600000, "gfx3", 0)
+ ROM_REGION( 0x600000, "gfx3", 0)
ROM_LOAD("obj1.u0231", 0x000000, 0x200000, NO_DUMP )
ROM_LOAD("obj2.u0233", 0x200000, 0x200000, NO_DUMP )
ROM_LOAD("obj3.u0232", 0x400000, 0x200000, NO_DUMP )
@@ -355,16 +355,16 @@ ROM_END
ROM_START( emjtrapz )
ROM_REGION32_LE( 0x200000, "ipl", 0 ) /* i386 program */
- ROM_LOAD32_BYTE( "prg0.u016", 0x000000, 0x080000, CRC(88e4ef2a) SHA1(110451c09983ce4720f75b89282ca49f47169a85) )
- ROM_LOAD32_BYTE( "prg1.u011", 0x000001, 0x080000, CRC(e4716996) SHA1(6abd84c1e4facf6570988db0a63968a1647144b1) )
- ROM_LOAD32_BYTE( "prg2.u017", 0x000002, 0x080000, CRC(69995273) SHA1(a7e10d21a524a286acd0a8c19c41a101eee30626) )
- ROM_LOAD32_BYTE( "prg3.u015", 0x000003, 0x080000, CRC(99f86a19) SHA1(41deb5eb78c0a675da7e1b1bbd5c440e157c7a25) )
-
+ ROM_LOAD32_BYTE( "prg0.u016", 0x000000, 0x080000, CRC(88e4ef2a) SHA1(110451c09983ce4720f75b89282ca49f47169a85) )
+ ROM_LOAD32_BYTE( "prg1.u011", 0x000001, 0x080000, CRC(e4716996) SHA1(6abd84c1e4facf6570988db0a63968a1647144b1) )
+ ROM_LOAD32_BYTE( "prg2.u017", 0x000002, 0x080000, CRC(69995273) SHA1(a7e10d21a524a286acd0a8c19c41a101eee30626) )
+ ROM_LOAD32_BYTE( "prg3.u015", 0x000003, 0x080000, CRC(99f86a19) SHA1(41deb5eb78c0a675da7e1b1bbd5c440e157c7a25) )
+
ROM_REGION( 0x30000, "gfx1", ROMREGION_ERASEFF ) /* text layer roms - none! */
ROM_REGION( 0x900000, "gfx2", ROMREGION_ERASEFF ) /* background layer roms - none! */
- ROM_REGION( 0x600000, "gfx3", 0)
+ ROM_REGION( 0x600000, "gfx3", 0)
ROM_LOAD("obj1.u0231", 0x000000, 0x200000, NO_DUMP )
ROM_LOAD("obj2.u0233", 0x200000, 0x200000, NO_DUMP )
ROM_LOAD("obj3.u0232", 0x400000, 0x200000, NO_DUMP )
@@ -403,4 +403,4 @@ ROM_END
/* 25 */ // Oshioki
/* 26 */ // Private Eyes
/* 27 */ // Gal Jong Kakutou Club
-/* 28 */ // BINKAN Lips Plus
+/* 28 */ // BINKAN Lips Plus
diff --git a/src/mame/drivers/stv.cpp b/src/mame/drivers/stv.cpp
index 3a832c9f7c2..8d0df302af0 100644
--- a/src/mame/drivers/stv.cpp
+++ b/src/mame/drivers/stv.cpp
@@ -421,7 +421,7 @@ DRIVER_INIT_MEMBER(stv_state,stv)
m_minit_boost_timeslice = attotime::zero;
m_sinit_boost_timeslice = attotime::zero;
-// m_scu_regs = std::make_unique<uint32_t[]>(0x100/4);
+// m_scu_regs = std::make_unique<uint32_t[]>(0x100/4);
m_backupram = std::make_unique<uint8_t[]>(0x8000);
memset(m_backupram.get(), 0, sizeof(uint8_t) * 0x8000);
@@ -1086,7 +1086,7 @@ static MACHINE_CONFIG_START( stv )
MCFG_SMPC_HLE_MASTER_RESET_CB(WRITELINE(saturn_state, master_sh2_reset_w))
MCFG_SMPC_HLE_MASTER_NMI_CB(WRITELINE(saturn_state, master_sh2_nmi_w))
MCFG_SMPC_HLE_SLAVE_RESET_CB(WRITELINE(saturn_state, slave_sh2_reset_w))
-// MCFG_SMPC_HLE_SOUND_RESET_CB(WRITELINE(saturn_state, sound_68k_reset_w)) // ST-V games controls reset line via PDR2
+// MCFG_SMPC_HLE_SOUND_RESET_CB(WRITELINE(saturn_state, sound_68k_reset_w)) // ST-V games controls reset line via PDR2
MCFG_SMPC_HLE_SYSTEM_RESET_CB(WRITELINE(saturn_state, system_reset_w))
MCFG_SMPC_HLE_SYSTEM_HALT_CB(WRITELINE(saturn_state, system_halt_w))
MCFG_SMPC_HLE_DOT_SELECT_CB(WRITELINE(saturn_state, dot_select_w))
@@ -1216,7 +1216,7 @@ MACHINE_RESET_MEMBER(stv_state,stv)
else
m_cart_reg[3] = nullptr;
-
+
m_en_68k = 0;
m_port_sel = m_mux_data = 0;
@@ -1270,7 +1270,7 @@ MACHINE_START_MEMBER(stv_state,stv)
machine().device<scsp_device>("scsp")->set_ram_base(m_sound_ram);
// save states
-// save_pointer(NAME(m_scu_regs.get()), 0x100/4);
+// save_pointer(NAME(m_scu_regs.get()), 0x100/4);
save_item(NAME(m_en_68k));
save_item(NAME(m_prev_gamebank_select));
save_item(NAME(m_port_sel));
@@ -1356,19 +1356,19 @@ INPUT_PORTS_END
static INPUT_PORTS_START( batmanfr )
PORT_INCLUDE( stv )
-
+
PORT_MODIFY("PORTA")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) PORT_NAME("P1 Jump")
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1) PORT_NAME("P1 Punch")
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(1) PORT_NAME("P1 Kick")
-
+
PORT_MODIFY("PORTB")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2) PORT_NAME("P2 Jump")
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2) PORT_NAME("P2 Punch")
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(2) PORT_NAME("P2 Kick")
-
+
PORT_MODIFY("PORTE")
PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
@@ -2887,7 +2887,7 @@ ROM_START( sfish2 )
DISK_REGION( "cdrom" )
DISK_IMAGE_READONLY( "cdp-00428", 0, SHA1(166cb5518fa5e0ab15d40dade70fa8913089dcd2) )
- ROM_REGION32_BE( 0x3000000, "abus", ROMREGION_ERASE00 ) /* SH2 code */
+ ROM_REGION32_BE( 0x3000000, "abus", ROMREGION_ERASE00 ) /* SH2 code */
ROM_END
ROM_START( sfish2j )
diff --git a/src/mame/drivers/targeth.cpp b/src/mame/drivers/targeth.cpp
index d2be1095d38..9b9751282c7 100644
--- a/src/mame/drivers/targeth.cpp
+++ b/src/mame/drivers/targeth.cpp
@@ -8,16 +8,16 @@ Driver by Manuel Abadia <emumanu+mame@gmail.com>
** NOTES: Merge with wrally.ccp??? Address map nearly identical & PCB
is reworked to add connections for light guns and different RAM
-
- is the visible area correct? if it's larger than the startup
- screen then scene 5 of desert chariots doesn't cover the entire
- screen either.
-
- the instructions say to reload the gun after each shot, but
- there is no reload button listed in service mode, and it doesn't
- seem to be required, was it a mechanical feature of the gun or
- is our logic inverted somewhere, the gun test shows 'ON' when
- you're not pressing fire too.
+
+ is the visible area correct? if it's larger than the startup
+ screen then scene 5 of desert chariots doesn't cover the entire
+ screen either.
+
+ the instructions say to reload the gun after each shot, but
+ there is no reload button listed in service mode, and it doesn't
+ seem to be required, was it a mechanical feature of the gun or
+ is our logic inverted somewhere, the gun test shows 'ON' when
+ you're not pressing fire too.
REF.940531
+-------------------------------------------------+
diff --git a/src/mame/drivers/tmc600.cpp b/src/mame/drivers/tmc600.cpp
index baf635780b6..5ab8ae1df32 100644
--- a/src/mame/drivers/tmc600.cpp
+++ b/src/mame/drivers/tmc600.cpp
@@ -50,26 +50,26 @@ Notes:
CN2 - 10x2 pin printer connector [TMC-700]
CN3 - 32x3 pin EURO connector
CN4 - DIN5D tape connector
- 1 input (500 mV / 47 kohm)
- 2 GND
- 3 output (580 mV / 47 kohm)
- 4 input (500 mV / 47 kohm)
- 5 output (580 mV / 47 kohm)
+ 1 input (500 mV / 47 kohm)
+ 2 GND
+ 3 output (580 mV / 47 kohm)
+ 4 input (500 mV / 47 kohm)
+ 5 output (580 mV / 47 kohm)
CN5 - DIN5X video connector
- 1 GND
- 2 GND
- 3 ?
- 4 GND
- 5 ?
+ 1 GND
+ 2 GND
+ 3 ?
+ 4 GND
+ 5 ?
CN6 - DIN2 power connector
- 1 8..12V DC..400Hz 300mA
- 2 GND
+ 1 8..12V DC..400Hz 300mA
+ 2 GND
CN7 - DIN5D audio connector [TMCP-300]
- 1 NC
- 2 GND
- 3 AUDIO
- 4 NC
- 5 AUDIO
+ 1 NC
+ 2 GND
+ 3 AUDIO
+ 4 NC
+ 5 AUDIO
CN8 - 10x2 pin keyboard connector
SW1 - RUN/STOP switch
SW2 - internal speaker/external audio switch [TMCP-300]
diff --git a/src/mame/includes/saturn.h b/src/mame/includes/saturn.h
index 0bffd8e9862..fbd8e7613ec 100644
--- a/src/mame/includes/saturn.h
+++ b/src/mame/includes/saturn.h
@@ -53,14 +53,14 @@ public:
memory_region *m_cart_reg[4];
std::unique_ptr<uint8_t[]> m_backupram;
-// std::unique_ptr<uint32_t[]> m_scu_regs;
+// std::unique_ptr<uint32_t[]> m_scu_regs;
std::unique_ptr<uint16_t[]> m_vdp2_regs;
std::unique_ptr<uint32_t[]> m_vdp2_vram;
std::unique_ptr<uint32_t[]> m_vdp2_cram;
std::unique_ptr<uint32_t[]> m_vdp1_vram;
std::unique_ptr<uint16_t[]> m_vdp1_regs;
- uint8_t m_en_68k;
+ uint8_t m_en_68k;
int m_minit_boost;
int m_sinit_boost;
@@ -365,7 +365,7 @@ public:
uint8_t line_screen_enabled;
uint8_t mosaic_screen_enabled;
bool roz_mode3;
-
+
int layer_name; /* just to keep track */
} stv2_current_tilemap;
@@ -591,9 +591,9 @@ public:
DECLARE_WRITE_LINE_MEMBER(m68k_reset_callback);
-// DECLARE_WRITE_LINE_MEMBER(scudsp_end_w);
-// DECLARE_READ16_MEMBER(scudsp_dma_r);
-// DECLARE_WRITE16_MEMBER(scudsp_dma_w);
+// DECLARE_WRITE_LINE_MEMBER(scudsp_end_w);
+// DECLARE_READ16_MEMBER(scudsp_dma_r);
+// DECLARE_WRITE16_MEMBER(scudsp_dma_w);
// SMPC HLE delegates
DECLARE_WRITE_LINE_MEMBER(master_sh2_reset_w);
@@ -605,10 +605,10 @@ public:
DECLARE_WRITE_LINE_MEMBER(dot_select_w);
-// void debug_scudma_command(int ref, const std::vector<std::string> &params);
-// void debug_scuirq_command(int ref, const std::vector<std::string> &params);
-// void debug_help_command(int ref, const std::vector<std::string> &params);
-// void debug_commands(int ref, const std::vector<std::string> &params);
+// void debug_scudma_command(int ref, const std::vector<std::string> &params);
+// void debug_scuirq_command(int ref, const std::vector<std::string> &params);
+// void debug_help_command(int ref, const std::vector<std::string> &params);
+// void debug_commands(int ref, const std::vector<std::string> &params);
};
diff --git a/src/mame/includes/stv.h b/src/mame/includes/stv.h
index 3c28545fcb5..959b75770f7 100644
--- a/src/mame/includes/stv.h
+++ b/src/mame/includes/stv.h
@@ -133,7 +133,7 @@ public:
uint16_t crypt_read_callback(uint32_t addr);
uint16_t crypt_read_callback_ch1(uint32_t addr);
uint16_t crypt_read_callback_ch2(uint32_t addr);
-
+
DECLARE_READ8_MEMBER(pdr1_input_r);
DECLARE_READ8_MEMBER(pdr2_input_r);
DECLARE_WRITE8_MEMBER(pdr1_output_w);
diff --git a/src/mame/layout/mephisto_mondial2.lay b/src/mame/layout/mephisto_mondial2.lay
index 84e23a50fca..acdf037fca2 100644
--- a/src/mame/layout/mephisto_mondial2.lay
+++ b/src/mame/layout/mephisto_mondial2.lay
@@ -85,58 +85,58 @@
<group name="panel">
<bezel element="panel_background"><bounds x="0" y="0" width="78" height="12" /></bezel>
- <bezel name="led100" element="led"> <bounds x="1.1" y="0.25" width="1.3" height="1" /> </bezel>
- <bezel name="led101" element="led"> <bounds x="11.1" y="0.25" width="1.3" height="1" /> </bezel>
- <bezel name="led102" element="led"> <bounds x="21.1" y="0.25" width="1.3" height="1" /> </bezel>
- <bezel name="led103" element="led"> <bounds x="31.1" y="0.25" width="1.3" height="1" /> </bezel>
- <bezel name="led104" element="led"> <bounds x="41.1" y="0.25" width="1.3" height="1" /> </bezel>
- <bezel name="led105" element="led"> <bounds x="51.1" y="0.25" width="1.3" height="1" /> </bezel>
- <bezel name="led106" element="led"> <bounds x="61.1" y="0.25" width="1.3" height="1" /> </bezel>
- <bezel name="led107" element="led"> <bounds x="71.1" y="0.25" width="1.3" height="1" /> </bezel>
-
- <bezel element="hlb" inputtag="KEY.1" inputmask="0x01"> <bounds x="1" y="2" width="6" height="4" /> </bezel>
- <bezel element="hlb" inputtag="KEY.1" inputmask="0x02"> <bounds x="11" y="2" width="6" height="4" /> </bezel>
- <bezel element="hlb" inputtag="KEY.1" inputmask="0x04"> <bounds x="21" y="2" width="6" height="4" /> </bezel>
- <bezel element="hlb" inputtag="KEY.1" inputmask="0x08"> <bounds x="31" y="2" width="6" height="4" /> </bezel>
- <bezel element="hlb" inputtag="KEY.1" inputmask="0x10"> <bounds x="41" y="2" width="6" height="4" /> </bezel>
- <bezel element="hlb" inputtag="KEY.1" inputmask="0x20"> <bounds x="51" y="2" width="6" height="4" /> </bezel>
- <bezel element="hlb" inputtag="KEY.1" inputmask="0x40"> <bounds x="61" y="2" width="6" height="4" /> </bezel>
- <bezel element="hlb" inputtag="KEY.1" inputmask="0x80"> <bounds x="71" y="2" width="6" height="4" /> </bezel>
- <bezel element="hlb" inputtag="KEY.0" inputmask="0x01"> <bounds x="1" y="7.5" width="6" height="4" /> </bezel>
- <bezel element="hlb" inputtag="KEY.0" inputmask="0x02"> <bounds x="11" y="7.5" width="6" height="4" /> </bezel>
- <bezel element="hlb" inputtag="KEY.0" inputmask="0x04"> <bounds x="21" y="7.5" width="6" height="4" /> </bezel>
- <bezel element="hlb" inputtag="KEY.0" inputmask="0x08"> <bounds x="31" y="7.5" width="6" height="4" /> </bezel>
- <bezel element="hlb" inputtag="KEY.0" inputmask="0x10"> <bounds x="41" y="7.5" width="6" height="4" /> </bezel>
- <bezel element="hlb" inputtag="KEY.0" inputmask="0x20"> <bounds x="51" y="7.5" width="6" height="4" /> </bezel>
- <bezel element="hlb" inputtag="KEY.0" inputmask="0x40"> <bounds x="61" y="7.5" width="6" height="4" /> </bezel>
- <bezel element="hlb" inputtag="KEY.0" inputmask="0x80"> <bounds x="71" y="7.5" width="6" height="4" /> </bezel>
-
- <bezel element="text_play"> <bounds x="3" y="0" width="4" height="1.5" /> </bezel>
- <bezel element="text_pos"> <bounds x="13" y="0" width="3" height="1.5" /> </bezel>
- <bezel element="text_mem"> <bounds x="23" y="0" width="3" height="1.5" /> </bezel>
- <bezel element="text_info"> <bounds x="33" y="0" width="4" height="1.5" /> </bezel>
- <bezel element="text_err"> <bounds x="43" y="0" width="3" height="1.5" /> </bezel>
- <bezel element="text_plus"> <bounds x="53" y="0" width="3" height="1.5" /> </bezel>
- <bezel element="text_black"> <bounds x="63" y="0" width="1" height="1.5" /> </bezel>
- <bezel element="text_white"> <bounds x="73.5" y="0" width="1" height="1.5" /> </bezel>
-
- <bezel element="text_b1"> <bounds x="2" y="2.5" width="4" height="1.5" /> </bezel>
- <bezel element="text_b2"> <bounds x="12" y="2.5" width="4" height="1.5" /> </bezel>
- <bezel element="text_b3"> <bounds x="22" y="2.5" width="4" height="1.5" /> </bezel>
- <bezel element="text_b4"> <bounds x="32" y="2.5" width="4" height="1.5" /> </bezel>
- <bezel element="text_b5"> <bounds x="42" y="2.5" width="4" height="1.5" /> </bezel>
- <bezel element="text_b6"> <bounds x="52" y="2.5" width="4" height="1.5" /> </bezel>
- <bezel element="text_b7"> <bounds x="62" y="2.5" width="4" height="1.5" /> </bezel>
- <bezel element="text_b8"> <bounds x="72" y="2.5" width="4" height="1.5" /> </bezel>
-
- <bezel element="text_play"> <bounds x="2" y="9.5" width="4" height="1.5" /> </bezel>
- <bezel element="text_pos"> <bounds x="12" y="9.5" width="4" height="1.5" /> </bezel>
- <bezel element="text_mem"> <bounds x="22" y="9.5" width="4" height="1.5" /> </bezel>
- <bezel element="text_info"> <bounds x="32" y="9.5" width="4" height="1.5" /> </bezel>
- <bezel element="text_cl"> <bounds x="42" y="9.5" width="4" height="1.5" /> </bezel>
- <bezel element="text_lev"> <bounds x="52" y="9.5" width="4" height="1.5" /> </bezel>
- <bezel element="text_ent"> <bounds x="62" y="9.5" width="4" height="1.5" /> </bezel>
- <bezel element="text_res"> <bounds x="72" y="9.5" width="4" height="1.5" /> </bezel>
+ <bezel name="led100" element="led"> <bounds x="1.1" y="0.25" width="1.3" height="1" /> </bezel>
+ <bezel name="led101" element="led"> <bounds x="11.1" y="0.25" width="1.3" height="1" /> </bezel>
+ <bezel name="led102" element="led"> <bounds x="21.1" y="0.25" width="1.3" height="1" /> </bezel>
+ <bezel name="led103" element="led"> <bounds x="31.1" y="0.25" width="1.3" height="1" /> </bezel>
+ <bezel name="led104" element="led"> <bounds x="41.1" y="0.25" width="1.3" height="1" /> </bezel>
+ <bezel name="led105" element="led"> <bounds x="51.1" y="0.25" width="1.3" height="1" /> </bezel>
+ <bezel name="led106" element="led"> <bounds x="61.1" y="0.25" width="1.3" height="1" /> </bezel>
+ <bezel name="led107" element="led"> <bounds x="71.1" y="0.25" width="1.3" height="1" /> </bezel>
+
+ <bezel element="hlb" inputtag="KEY.1" inputmask="0x01"> <bounds x="1" y="2" width="6" height="4" /> </bezel>
+ <bezel element="hlb" inputtag="KEY.1" inputmask="0x02"> <bounds x="11" y="2" width="6" height="4" /> </bezel>
+ <bezel element="hlb" inputtag="KEY.1" inputmask="0x04"> <bounds x="21" y="2" width="6" height="4" /> </bezel>
+ <bezel element="hlb" inputtag="KEY.1" inputmask="0x08"> <bounds x="31" y="2" width="6" height="4" /> </bezel>
+ <bezel element="hlb" inputtag="KEY.1" inputmask="0x10"> <bounds x="41" y="2" width="6" height="4" /> </bezel>
+ <bezel element="hlb" inputtag="KEY.1" inputmask="0x20"> <bounds x="51" y="2" width="6" height="4" /> </bezel>
+ <bezel element="hlb" inputtag="KEY.1" inputmask="0x40"> <bounds x="61" y="2" width="6" height="4" /> </bezel>
+ <bezel element="hlb" inputtag="KEY.1" inputmask="0x80"> <bounds x="71" y="2" width="6" height="4" /> </bezel>
+ <bezel element="hlb" inputtag="KEY.0" inputmask="0x01"> <bounds x="1" y="7.5" width="6" height="4" /> </bezel>
+ <bezel element="hlb" inputtag="KEY.0" inputmask="0x02"> <bounds x="11" y="7.5" width="6" height="4" /> </bezel>
+ <bezel element="hlb" inputtag="KEY.0" inputmask="0x04"> <bounds x="21" y="7.5" width="6" height="4" /> </bezel>
+ <bezel element="hlb" inputtag="KEY.0" inputmask="0x08"> <bounds x="31" y="7.5" width="6" height="4" /> </bezel>
+ <bezel element="hlb" inputtag="KEY.0" inputmask="0x10"> <bounds x="41" y="7.5" width="6" height="4" /> </bezel>
+ <bezel element="hlb" inputtag="KEY.0" inputmask="0x20"> <bounds x="51" y="7.5" width="6" height="4" /> </bezel>
+ <bezel element="hlb" inputtag="KEY.0" inputmask="0x40"> <bounds x="61" y="7.5" width="6" height="4" /> </bezel>
+ <bezel element="hlb" inputtag="KEY.0" inputmask="0x80"> <bounds x="71" y="7.5" width="6" height="4" /> </bezel>
+
+ <bezel element="text_play"> <bounds x="3" y="0" width="4" height="1.5" /> </bezel>
+ <bezel element="text_pos"> <bounds x="13" y="0" width="3" height="1.5" /> </bezel>
+ <bezel element="text_mem"> <bounds x="23" y="0" width="3" height="1.5" /> </bezel>
+ <bezel element="text_info"> <bounds x="33" y="0" width="4" height="1.5" /> </bezel>
+ <bezel element="text_err"> <bounds x="43" y="0" width="3" height="1.5" /> </bezel>
+ <bezel element="text_plus"> <bounds x="53" y="0" width="3" height="1.5" /> </bezel>
+ <bezel element="text_black"> <bounds x="63" y="0" width="1" height="1.5" /> </bezel>
+ <bezel element="text_white"> <bounds x="73.5" y="0" width="1" height="1.5" /> </bezel>
+
+ <bezel element="text_b1"> <bounds x="2" y="2.5" width="4" height="1.5" /> </bezel>
+ <bezel element="text_b2"> <bounds x="12" y="2.5" width="4" height="1.5" /> </bezel>
+ <bezel element="text_b3"> <bounds x="22" y="2.5" width="4" height="1.5" /> </bezel>
+ <bezel element="text_b4"> <bounds x="32" y="2.5" width="4" height="1.5" /> </bezel>
+ <bezel element="text_b5"> <bounds x="42" y="2.5" width="4" height="1.5" /> </bezel>
+ <bezel element="text_b6"> <bounds x="52" y="2.5" width="4" height="1.5" /> </bezel>
+ <bezel element="text_b7"> <bounds x="62" y="2.5" width="4" height="1.5" /> </bezel>
+ <bezel element="text_b8"> <bounds x="72" y="2.5" width="4" height="1.5" /> </bezel>
+
+ <bezel element="text_play"> <bounds x="2" y="9.5" width="4" height="1.5" /> </bezel>
+ <bezel element="text_pos"> <bounds x="12" y="9.5" width="4" height="1.5" /> </bezel>
+ <bezel element="text_mem"> <bounds x="22" y="9.5" width="4" height="1.5" /> </bezel>
+ <bezel element="text_info"> <bounds x="32" y="9.5" width="4" height="1.5" /> </bezel>
+ <bezel element="text_cl"> <bounds x="42" y="9.5" width="4" height="1.5" /> </bezel>
+ <bezel element="text_lev"> <bounds x="52" y="9.5" width="4" height="1.5" /> </bezel>
+ <bezel element="text_ent"> <bounds x="62" y="9.5" width="4" height="1.5" /> </bezel>
+ <bezel element="text_res"> <bounds x="72" y="9.5" width="4" height="1.5" /> </bezel>
</group>
<view name="Chessboard + Display">
@@ -305,7 +305,7 @@
<bezel element="panel_background"><bounds x="0" y="88.5" width="84" height="13.5" /></bezel>
<group ref="panel"><bounds x="3" y="89" width="78" height="12" /></group>
</view>
-
+
<view name="Display">
<group ref="panel"><bounds x="0" y="0" width="78" height="12" /></group>
</view>
diff --git a/src/mame/layout/notechan.lay b/src/mame/layout/notechan.lay
index 811badcf7dc..e379c0e0be6 100644
--- a/src/mame/layout/notechan.lay
+++ b/src/mame/layout/notechan.lay
@@ -2,15 +2,15 @@
<mamelayout version="2">
<!--
- Test panel for Note Chance.
- Written by Roberto Fresca.
+ Test panel for Note Chance.
+ Written by Roberto Fresca.
- 4 rows of 8 lines.
- From D7 to D0.
+ 4 rows of 8 lines.
+ From D7 to D0.
-->
<!--
- ****** Elements ******
+ ****** Elements ******
-->
<element name="L0" defstate="0">
@@ -436,14 +436,14 @@
<!--
- ****** Screen & Position ******
+ ****** Screen & Position ******
-->
<view name="Button Lamps">
<bounds left="0" top="0" right="4" bottom="4" />
<!--
- ****** 1st row ******
+ ****** 1st row ******
-->
<bezel name="lamp0" element="L0">
@@ -472,7 +472,7 @@
</bezel>
<!--
- ****** 2nd row ******
+ ****** 2nd row ******
-->
<bezel name="lamp8" element="L8">
@@ -501,7 +501,7 @@
</bezel>
<!--
- ****** 3rd row ******
+ ****** 3rd row ******
-->
<bezel name="lamp16" element="L16">
@@ -530,7 +530,7 @@
</bezel>
<!--
- ****** 4th row ******
+ ****** 4th row ******
-->
<bezel name="lamp24" element="L24">
diff --git a/src/mame/machine/dec0.cpp b/src/mame/machine/dec0.cpp
index a5f59d8b347..0dc090e32be 100644
--- a/src/mame/machine/dec0.cpp
+++ b/src/mame/machine/dec0.cpp
@@ -71,7 +71,7 @@ READ16_MEMBER(dec0_state::midres_controls_r)
case 0xa: // clr.w
return 0;
-
+
case 0xc:
return 0; /* ?? watchdog ?? */
}
diff --git a/src/mame/machine/kay_kbd.cpp b/src/mame/machine/kay_kbd.cpp
index 29054381891..473a77f8ac4 100644
--- a/src/mame/machine/kay_kbd.cpp
+++ b/src/mame/machine/kay_kbd.cpp
@@ -18,6 +18,8 @@
******************************************************************************/
#include "emu.h"
+#include "machine/kay_kbd.h"
+
#include "sound/beep.h"
#include "includes/kaypro.h"
diff --git a/src/mame/machine/saturn.cpp b/src/mame/machine/saturn.cpp
index fcea8b20e19..b13fe92b4aa 100644
--- a/src/mame/machine/saturn.cpp
+++ b/src/mame/machine/saturn.cpp
@@ -340,7 +340,7 @@ WRITE_LINE_MEMBER(saturn_state::master_sh2_nmi_w)
WRITE_LINE_MEMBER( saturn_state::slave_sh2_reset_w )
{
m_slave->set_input_line(INPUT_LINE_RESET, state ? ASSERT_LINE : CLEAR_LINE);
-// m_smpc.slave_on = state;
+// m_smpc.slave_on = state;
}
WRITE_LINE_MEMBER( saturn_state::sound_68k_reset_w )
@@ -378,7 +378,7 @@ WRITE_LINE_MEMBER(saturn_state::system_halt_w)
WRITE_LINE_MEMBER(saturn_state::dot_select_w)
{
uint32_t xtal;
-
+
xtal = state ? MASTER_CLOCK_320 : MASTER_CLOCK_352;
machine().device("maincpu")->set_unscaled_clock(xtal/2);
diff --git a/src/mame/machine/seibucop/seibucop_dma.hxx b/src/mame/machine/seibucop/seibucop_dma.hxx
index 904caa64511..114d2c432c9 100644
--- a/src/mame/machine/seibucop/seibucop_dma.hxx
+++ b/src/mame/machine/seibucop/seibucop_dma.hxx
@@ -49,7 +49,7 @@ void raiden2cop_device::dma_palette_brightness()
src = (cop_dma_src[cop_dma_mode] << 6);
dst = (cop_dma_dst[cop_dma_mode] << 6);
size = ((cop_dma_size[cop_dma_mode] << 5) - (cop_dma_dst[cop_dma_mode] << 6) + 0x20) / 2;
-
+
for (i = 0; i < size; i++)
{
uint16_t pal_val;
@@ -94,7 +94,7 @@ void raiden2cop_device::dma_palette_brightness()
g = (paldata & 0x03e0) >> 5;
rt = (targetpaldata & 0x001f) >> 0;
r = (paldata & 0x001f) >> 0;
-
+
// TODO: presumably any brightness value that isn't 0x0000-0x000f has no effect here
if (pal_brightness_val == 0x10)
pal_val = bt << 10 | gt << 5 | rt << 0;
diff --git a/src/mame/machine/taitoio.cpp b/src/mame/machine/taitoio.cpp
index b4b94bdf69a..4dbf86e6620 100644
--- a/src/mame/machine/taitoio.cpp
+++ b/src/mame/machine/taitoio.cpp
@@ -257,7 +257,7 @@ void tc0220ioc_device::device_reset()
MACHINE_CONFIG_MEMBER( tc0220ioc_device::device_add_mconfig )
MCFG_WATCHDOG_ADD("watchdog")
-// MCFG_WATCHDOG_TIME_INIT(attotime::from_msec(3200))
+// MCFG_WATCHDOG_TIME_INIT(attotime::from_msec(3200))
MACHINE_CONFIG_END
/*****************************************************************************
diff --git a/src/mame/mame.lst b/src/mame/mame.lst
index faa465f0c45..e54b6e9a650 100644
--- a/src/mame/mame.lst
+++ b/src/mame/mame.lst
@@ -8711,7 +8711,7 @@ bishi // GX575 (c) 1996 (Japan)
sbishi // GX675 (c) 1998 (Japan)
sbishik // GX675 (c) 1998 (Korea)
sbishika // GX675 (c) 1998 (Korea)
-dobouchn //
+dobouchn //
@source:bitgraph.cpp
bitgrpha //
@@ -17125,7 +17125,7 @@ kaypro4a // Kaypro 4 - 4/84
kaypro4p88 // Kaypro 4 - 4/83 w/plus88 board installed
kayproii // Kaypro II - 2/83
omni2 // Omni II
-omni4 // Omni 4
+omni4 // Omni 4
robie // Kaypro Robie
@source:kc.cpp
@@ -33451,7 +33451,7 @@ fpoint1 // (c) 1989 (Japan, FD1094)
fpoint1d //
fpointbj // (c) 1989 (Datsu bootleg, Japan)
fpointbl // (c) 1989 (Datsu bootleg)
-fpointbla //
+fpointbla //
fpointd //
goldnaxe // (c) 1989 (8751)
goldnaxe1 // (c) 1989 (FD1094)
@@ -33745,9 +33745,9 @@ strkfgtr // 1991.06 Strike Fighter (World)
strkfgtrj // 1991.06 Strike Fighter (Japan)
@source:seibucats.cpp
-emjjoshi // (c) 1999 Seibu Kaihatsu / CATS
-emjscanb // (c) 2001 Seibu Kaihatsu / CATS
-emjtrapz // (c) 2001 Seibu Kaihatsu / CATS
+emjjoshi // (c) 1999 Seibu Kaihatsu / CATS
+emjscanb // (c) 2001 Seibu Kaihatsu / CATS
+emjtrapz // (c) 2001 Seibu Kaihatsu / CATS
@source:seibuspi.cpp
batlball // (c) 1995 Seibu Kaihatsu (Tuning License)
diff --git a/src/mame/video/gamate.cpp b/src/mame/video/gamate.cpp
index 90b224f4034..02d82ab6b98 100644
--- a/src/mame/video/gamate.cpp
+++ b/src/mame/video/gamate.cpp
@@ -2,26 +2,26 @@
// copyright-holders:David Haywood, Peter Wilhelmsen, Kevtris
/*
- Notes:
+ Notes:
- Some games are glitchy, most of these glitches are verified to happen on hardware
- for example
+ Some games are glitchy, most of these glitches are verified to happen on hardware
+ for example
- Badly flipped sprites in Tornado and Insect War
- Heavy flickering sprites in many games
+ Badly flipped sprites in Tornado and Insect War
+ Heavy flickering sprites in many games
- Most of these issues are difficult to notice on real hardware due to the poor
- quality display.
+ Most of these issues are difficult to notice on real hardware due to the poor
+ quality display.
- Thanks to Kevtris for the documentation on which this implementation is based
- (some comments taken directly from this)
- http://blog.kevtris.org/blogfiles/Gamate%20Inside.txt
+ Thanks to Kevtris for the documentation on which this implementation is based
+ (some comments taken directly from this)
+ http://blog.kevtris.org/blogfiles/Gamate%20Inside.txt
- ToDo:
+ ToDo:
- Emulate vram pull / LCD refresh timings more accurately.
- Interrupt should maybe be in here, not in drivers/gamate.cpp?
- Verify both Window modes act the same as hardware.
+ Emulate vram pull / LCD refresh timings more accurately.
+ Interrupt should maybe be in here, not in drivers/gamate.cpp?
+ Verify both Window modes act the same as hardware.
*/
#include "emu.h"
@@ -125,7 +125,7 @@ WRITE8_MEMBER(gamate_video_device::xpos_w)
/*
BxxX XXXX
B: Bitplane. 0 = lower (bitplane 0), 1 = upper (bitplane 1)
- X: 5 lower bits of the 13 bit VRAM address.
+ X: 5 lower bits of the 13 bit VRAM address.
*/
m_bitplaneselect = (data & 0x80) >> 7;
set_vram_addr_lower_5bits(data & 0x1f);
@@ -135,7 +135,7 @@ WRITE8_MEMBER(gamate_video_device::ypos_w)
{
/*
YYYY YYYY
- Y: 8 upper bits of 13 bit VRAM address.
+ Y: 8 upper bits of 13 bit VRAM address.
*/
set_vram_addr_upper_8bits(data);
}
@@ -170,13 +170,13 @@ void gamate_video_device::get_real_x_and_y(int &ret_x, int &ret_y, int scanline)
{
/* the Gamate video has 2 'Window' modes,
Mode 1 is enabled with an actual register
- Mode 2 is enabled automatically based on the yscroll value
-
+ Mode 2 is enabled automatically based on the yscroll value
+
both modes seem designed to allow for a non-scrolling status bar at
the top of the display.
*/
- if (m_scrolly < 0xc8)
+ if (m_scrolly < 0xc8)
{
ret_y = scanline + m_scrolly;
@@ -199,8 +199,8 @@ void gamate_video_device::get_real_x_and_y(int &ret_x, int &ret_y, int scanline)
ret_x = m_scrollx;
/*
- Using Yscroll values of C8-CF, D8-DF, E8-EF, and F8-FF will result in the same
- effect as if a Yscroll value of 00h were used.
+ Using Yscroll values of C8-CF, D8-DF, E8-EF, and F8-FF will result in the same
+ effect as if a Yscroll value of 00h were used.
*/
if (m_scrolly & 0x08) // values of C8-CF, D8-DF, E8-EF, and F8-FF
{
@@ -210,13 +210,13 @@ void gamate_video_device::get_real_x_and_y(int &ret_x, int &ret_y, int scanline)
else
{
/*
- Values D0-D7, E0-E7, and F0-F7 all produce a bit more useful effect. The upper
- 1-8 scanlines will be pulled from rows F8-FFh in VRAM (i.e. 1F00h = row F8h).
+ Values D0-D7, E0-E7, and F0-F7 all produce a bit more useful effect. The upper
+ 1-8 scanlines will be pulled from rows F8-FFh in VRAM (i.e. 1F00h = row F8h).
- If F0 is selected, then the upper 8 rows will be the last 8 rows in VRAM-
- 1F00-1FFFh area. If F1 is selected, the upper 8 rows will be the last 7 rows
- in VRAM and so on. This special window area DOES NOT SCROLL with X making it
- useful for status bars. I don't think any games actually used it, though.
+ If F0 is selected, then the upper 8 rows will be the last 8 rows in VRAM-
+ 1F00-1FFFh area. If F1 is selected, the upper 8 rows will be the last 7 rows
+ in VRAM and so on. This special window area DOES NOT SCROLL with X making it
+ useful for status bars. I don't think any games actually used it, though.
*/
int fixedscanlines = m_scrolly & 0x7;
@@ -232,7 +232,7 @@ void gamate_video_device::get_real_x_and_y(int &ret_x, int &ret_y, int scanline)
ret_y = scanline;// +m_scrolly;
//if (ret_y >= 0xc8)
- // ret_y -= 0xc8;
+ // ret_y -= 0xc8;
}
}
@@ -299,9 +299,9 @@ PALETTE_INIT_MEMBER(gamate_video_device, gamate)
}
/*
- Of the 150 scanlines emitted, all contain pixel data pulled from RAM. There are
- exactly 72900 clocks per frame, so at the nominal 4.433MHz rate, this means the
- frame rate is 60.8093Hz.
+ Of the 150 scanlines emitted, all contain pixel data pulled from RAM. There are
+ exactly 72900 clocks per frame, so at the nominal 4.433MHz rate, this means the
+ frame rate is 60.8093Hz.
*/
MACHINE_CONFIG_MEMBER( gamate_video_device::device_add_mconfig )
diff --git a/src/mame/video/legionna.cpp b/src/mame/video/legionna.cpp
index ff22e34adba..76eec7f87eb 100644
--- a/src/mame/video/legionna.cpp
+++ b/src/mame/video/legionna.cpp
@@ -583,7 +583,7 @@ uint32_t legionna_state::screen_update_legionna(screen_device &screen, bitmap_in
draw_sprites(screen,bitmap,cliprect);
//if (machine().input().code_pressed_once(KEYCODE_Z))
- // if (m_raiden2cop) m_raiden2cop->dump_table();
+ // if (m_raiden2cop) m_raiden2cop->dump_table();
return 0;
}
@@ -604,7 +604,7 @@ uint32_t legionna_state::screen_update_heatbrl(screen_device &screen, bitmap_ind
draw_sprites(screen,bitmap,cliprect);
//if (machine().input().code_pressed_once(KEYCODE_Z))
- // if (m_raiden2cop) m_raiden2cop->dump_table();
+ // if (m_raiden2cop) m_raiden2cop->dump_table();
return 0;
}
@@ -625,7 +625,7 @@ uint32_t legionna_state::screen_update_godzilla(screen_device &screen, bitmap_in
draw_sprites(screen,bitmap,cliprect);
//if (machine().input().code_pressed_once(KEYCODE_Z))
- // if (m_raiden2cop) m_raiden2cop->dump_table();
+ // if (m_raiden2cop) m_raiden2cop->dump_table();
return 0;
@@ -652,7 +652,7 @@ uint32_t legionna_state::screen_update_grainbow(screen_device &screen, bitmap_in
draw_sprites(screen,bitmap,cliprect);
//if (machine().input().code_pressed_once(KEYCODE_Z))
- // if (m_raiden2cop) m_raiden2cop->dump_table();
+ // if (m_raiden2cop) m_raiden2cop->dump_table();
return 0;
}
diff --git a/src/mame/video/taito_b.cpp b/src/mame/video/taito_b.cpp
index b4ce3fd91a6..caf0590af34 100644
--- a/src/mame/video/taito_b.cpp
+++ b/src/mame/video/taito_b.cpp
@@ -377,7 +377,7 @@ uint32_t taitob_state::screen_update_taitob(screen_device &screen, bitmap_ind16
m_tc0180vcu->tilemap_draw(screen, bitmap, cliprect, 1, 0);
- // TODO: only hiticej properly enables this up during attract mode,
+ // TODO: only hiticej properly enables this up during attract mode,
// hitice / hiticerb keeps this disabled, maybe a btanb fixed in later revision?
if (m_pixel_bitmap && (m_pixel_scroll[0] & 0x5800) == 0x5000) /* hitice only */
{
diff --git a/src/mame/video/ygv608.cpp b/src/mame/video/ygv608.cpp
index d8fe6a80395..1dda727ad85 100644
--- a/src/mame/video/ygv608.cpp
+++ b/src/mame/video/ygv608.cpp
@@ -47,8 +47,8 @@
*
*
*/
-
-
+
+
#include "emu.h"
#include "video/ygv608.h"
#include "screen.h"
@@ -255,12 +255,12 @@ static ADDRESS_MAP_START( regs_map, AS_IO, 8, ygv608_device )
AM_RANGE( 1, 1) AM_READWRITE(pattern_name_table_x_r,pattern_name_table_x_w)
AM_RANGE( 2, 2) AM_READWRITE(ram_access_ctrl_r,ram_access_ctrl_w)
-
+
AM_RANGE( 3, 3) AM_READWRITE(sprite_address_r,sprite_address_w)
AM_RANGE( 4, 4) AM_READWRITE(scroll_address_r,scroll_address_w)
AM_RANGE( 5, 5) AM_READWRITE(palette_address_r,palette_address_w)
AM_RANGE( 6, 6) AM_READWRITE(sprite_bank_r,sprite_bank_w)
-
+
// screen control
AM_RANGE( 7, 7) AM_READWRITE(screen_ctrl_7_r, screen_ctrl_7_w)
AM_RANGE( 8, 8) AM_READWRITE(screen_ctrl_8_r, screen_ctrl_8_w)
@@ -327,8 +327,8 @@ ygv608_device::ygv608_device( const machine_config &mconfig, const char *tag, de
//-------------------------------------------------
void ygv608_device::device_start()
{
-// memset(&m_ports, 0, sizeof(m_ports));
-// memset(&m_regs, 0, sizeof(m_regs));
+// memset(&m_ports, 0, sizeof(m_ports));
+// memset(&m_regs, 0, sizeof(m_regs));
memset(&m_pattern_name_table, 0, sizeof(m_pattern_name_table));
memset(&m_sprite_attribute_table, 0, sizeof(m_sprite_attribute_table));
@@ -444,7 +444,7 @@ inline int ygv608_device::get_col_division(int raw_col)
{
if((m_v_div_size & 4) == 0)
return 0;
-
+
return ((raw_col >> m_col_shift) * 2) & 0x7f;
}
@@ -467,7 +467,7 @@ TILE_GET_INFO_MEMBER( ygv608_device::get_tile_info_A_8 )
int col = tile_index >> 6;
int row = tile_index & 0x3f;
int translated_column = get_col_division(col);
-
+
uint8_t attr = 0;
int pattern_name_base = 0;
int set = (m_md == MD_1PLANE_256COLOUR
@@ -527,7 +527,7 @@ TILE_GET_INFO_MEMBER( ygv608_device::get_tile_info_A_8 )
}
page &= 0x1f;
-
+
/* add page, base address to pattern name */
j += ( (int)m_scroll_data_table[0][0xc0+page] << 10 );
j += ( m_base_addr[0][base] << 8 );
@@ -850,8 +850,8 @@ void ygv608_device::postload()
void ygv608_device::register_state_save()
{
-// save_item(NAME(m_ports.b));
-// save_item(NAME(m_regs.b));
+// save_item(NAME(m_ports.b));
+// save_item(NAME(m_regs.b));
save_item(NAME(m_pattern_name_table));
save_item(NAME(m_sprite_attribute_table.b));
save_item(NAME(m_scroll_data_table));
@@ -860,7 +860,7 @@ void ygv608_device::register_state_save()
save_item(NAME(m_color_state_r));
save_item(NAME(m_color_state_w));
// TODO: register save for the newly added variables
-
+
machine().save().register_postload(save_prepost_delegate(FUNC(ygv608_device::postload), this));
}
@@ -912,13 +912,13 @@ void ygv608_device::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect
flipy = (g_attr & SZ_VERTREVERSE) != 0;
}
- // calculate code and apply sprite base address
+ // calculate code and apply sprite base address
code = ( (int)(m_sprite_bank & sprite_mask[size]) << sprite_shift[size] ) | (int)sa->sn;
// apply spf to color (invalidates individual attribute bits for color)
if (spf != 0)
color = ( code >> ( (spf + spf_shift[size]) * 2 ) ) & 0x0f;
// check code boundary (TODO: do we really need this?)
- if( code >= layout_total(size) )
+ if( code >= layout_total(size) )
{
logerror( "SZ_%d: sprite=%d\n", size, code );
code = 0;
@@ -948,7 +948,7 @@ void ygv608_device::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect
flipx,flipy,
sx-512,sy-512,0x00);
}
-
+
}
#endif
@@ -1064,7 +1064,7 @@ uint32_t ygv608_device::update_screen(screen_device &screen, bitmap_ind16 &bitma
for( col=0; col<m_page_x; col++ )
{
int translated_column = get_col_division(col);
-
+
m_tilemap_B->set_scrolly(col,
( (int)m_scroll_data_table[1][translated_column] +
( (int)m_scroll_data_table[1][translated_column+1] << 8 ) ) );
@@ -1130,7 +1130,7 @@ uint32_t ygv608_device::update_screen(screen_device &screen, bitmap_ind16 &bitma
draw_sprites(bitmap, finalclip);
draw_layer_roz(screen, m_work_bitmap, finalclip, m_tilemap_A);
-
+
if(m_planeA_trans_enable == true)
copybitmap_trans( bitmap, m_work_bitmap, 0, 0, 0, 0, finalclip, 0);
else
@@ -1408,7 +1408,7 @@ WRITE8_MEMBER( ygv608_device::sprite_data_w )
WRITE8_MEMBER( ygv608_device::scroll_data_w )
{
m_scroll_data_table[m_ba_plane_scroll_select][m_scroll_address] = data;
-
+
if (m_scaw == true)
{
m_scroll_address++;
@@ -1505,15 +1505,15 @@ void ygv608_device::HandleReset()
m_register_address = 0;
m_register_autoinc_r = false;
m_register_autoinc_w = false;
-
+
/* Clear registers #0-38, #47-49 */
for(i=0;i<39;i++)
m_iospace->write_byte(i, 0x00);
for(i=47;i<50;i++)
m_iospace->write_byte(i, 0x00);
-// memset( &m_regs.b[0], 0, 39 );
-// memset( &m_regs.b[47], 0, 3 );
+// memset( &m_regs.b[0], 0, 39 );
+// memset( &m_regs.b[47], 0, 3 );
/* Clear internal ram */
memset( m_pattern_name_table, 0, 4096 );
@@ -1639,12 +1639,12 @@ WRITE8_MEMBER( ygv608_device::pattern_name_table_x_w )
* ---- x--- SCAW Address autoincrements after scroll data write
* ---- -x-- SCAR Address autoincrements after scroll data read
* ---- --x- SAAW Address autoincrements after sprite attribute table write
- * ---- ---x SAAR Address autoincrements after sprite attribute table read
+ * ---- ---x SAAR Address autoincrements after sprite attribute table read
***/
READ8_MEMBER( ygv608_device::ram_access_ctrl_r )
{
return (m_cpaw<<7) | (m_cpar<<6) |
- (m_ba_plane_scroll_select<<4) |
+ (m_ba_plane_scroll_select<<4) |
(m_scaw<<3) | (m_scar<<2) | (m_saaw<<1) | (m_saar<<0);
}
@@ -1725,7 +1725,7 @@ WRITE8_MEMBER( ygv608_device::sprite_bank_w )
READ8_MEMBER( ygv608_device::screen_ctrl_7_r )
{
return (m_dckm<<7)|(m_flip<<6)|
- (m_zron<<3)|((m_md & 3)<<1)|(m_dspe<<0);
+ (m_zron<<3)|((m_md & 3)<<1)|(m_dspe<<0);
}
// R#7W - screen control 7
@@ -1740,31 +1740,31 @@ WRITE8_MEMBER( ygv608_device::screen_ctrl_7_w )
m_zron = BIT(data,3);
m_md = new_md;
m_dspe = BIT(data,0);
-
+
m_na8_mask = ((m_flip == true) ? 0x03 : 0x0f );
-
+
// changing mode resets the pattern name table states (Mappy Arrange)
p0_state_w = 0;
p0_state_r = 0;
pattern_mode_setup();
// TODO: add dot clock into CRTC
-// screen_configure();
+// screen_configure();
}
inline void ygv608_device::pattern_mode_setup()
-{
+{
m_bits16 = (m_md == MD_2PLANE_8BIT ? 0 : 1 );
-
+
if(m_md == MD_2PLANE_16BIT )
m_page_x = m_page_y = 32;
- else
+ else
{
- if (m_page_size == false )
+ if (m_page_size == false )
{
m_page_x = 64;
m_page_y = 32;
}
- else
+ else
{
m_page_x = 32;
m_page_y = 64;
@@ -1787,7 +1787,7 @@ inline void ygv608_device::pattern_mode_setup()
READ8_MEMBER( ygv608_device::screen_ctrl_8_r )
{
return (m_h_display_size<<6)|(m_v_display_size<<4)|
- (m_roz_wrap_disable<<3)|(m_scroll_wrap_disable<<2)|
+ (m_roz_wrap_disable<<3)|(m_scroll_wrap_disable<<2)|
(m_page_size<<0);
}
@@ -1796,13 +1796,13 @@ WRITE8_MEMBER( ygv608_device::screen_ctrl_8_w )
{
if( (data & 1) != m_page_size)
m_tilemap_resize = 1;
-
-/**/m_h_display_size = (data >> 6) & 3;
-/**/m_v_display_size = (data >> 4) & 3;
+
+/**/m_h_display_size = (data >> 6) & 3;
+/**/m_v_display_size = (data >> 4) & 3;
m_roz_wrap_disable = BIT(data,3);
/**/m_scroll_wrap_disable = BIT(data,2);
m_page_size = BIT(data,0);
-
+
pattern_mode_setup();
}
@@ -1820,22 +1820,22 @@ WRITE8_MEMBER( ygv608_device::screen_ctrl_8_w )
READ8_MEMBER( ygv608_device::screen_ctrl_9_r )
{
return (m_pattern_size<<6)|
- (m_h_div_size<<3)|(m_v_div_size<<0);
+ (m_h_div_size<<3)|(m_v_div_size<<0);
}
WRITE8_MEMBER( ygv608_device::screen_ctrl_9_w )
{
uint8_t new_pts = (data >> 6) & 3;
-
+
if(new_pts != m_pattern_size)
m_tilemap_resize = 1;
-
+
m_pattern_size = new_pts;
/**/m_h_div_size = (data >> 3) & 7;
m_v_div_size = (data >> 0) & 7;
//popmessage("%02x %02x",m_h_div_size,m_v_div_size);
-
+
// TODO: this code is garbage ...
if(m_v_div_size == 0)
m_col_shift = 8;
@@ -1854,7 +1854,7 @@ WRITE8_MEMBER( ygv608_device::screen_ctrl_9_w )
}
}
}
-
+
// R#10R - screen control 10: mosaic & sprite
/***
* xx-- ---- SPAx: Auxiliary bits of sprite attribute table (0=8x8 or no flip, 1=16x16 or flipy, 2=32x32 or flipx, 3=64x64 or flipx & y )
@@ -1887,7 +1887,7 @@ WRITE8_MEMBER( ygv608_device::screen_ctrl_10_w )
READ8_MEMBER( ygv608_device::screen_ctrl_11_r )
{
return (m_scm<<6)|(m_yse<<5)|(m_cbdr<<4)|
- (m_priority_mode<<2)|(m_planeB_trans_enable<<1)|(m_planeA_trans_enable<<0);
+ (m_priority_mode<<2)|(m_planeB_trans_enable<<1)|(m_planeA_trans_enable<<0);
}
// R#11W - screen control 11
@@ -2089,13 +2089,13 @@ WRITE8_MEMBER( ygv608_device::crtc_w )
case 40:
{
int new_display_width = (data & 0x3f) * 16;
-
+
m_crtc.htotal &= ~0x600;
m_crtc.htotal |= ((data & 0xc0) << 3);
if(new_display_width != m_crtc.display_width)
m_screen_resize = 1;
-
+
m_crtc.display_width = new_display_width;
break;
}
@@ -2130,7 +2130,7 @@ WRITE8_MEMBER( ygv608_device::crtc_w )
// TODO: VSLS, bit 6
if(new_display_height != m_crtc.display_height)
m_screen_resize = 1;
-
+
m_crtc.display_height = new_display_height;
break;
}
@@ -2150,7 +2150,7 @@ WRITE8_MEMBER( ygv608_device::crtc_w )
{
m_crtc.vtotal &= ~0xff;
m_crtc.vtotal |= data & 0xff;
-
+
// TODO: call it for all mods in the CRTC, add sanity checks
screen_configure();
diff --git a/src/mame/video/ygv608.h b/src/mame/video/ygv608.h
index 25043a604e9..575e5463028 100644
--- a/src/mame/video/ygv608.h
+++ b/src/mame/video/ygv608.h
@@ -166,7 +166,7 @@ private:
uint8_t m_na8_mask; // mask on/off na11/9:8
int m_col_shift; // shift in scroll table column index
-
+
// base address shortcuts
uint32_t m_base_addr[2][8];
uint32_t m_base_y_shift; // for extracting pattern y coord 'base'
@@ -181,8 +181,8 @@ private:
// === new variable handling starts here ===
uint8_t m_screen_status; /**< port #6: status port r/w */
- uint8_t m_dma_status; /**< port #7: system control port r/w */
-
+ uint8_t m_dma_status; /**< port #7: system control port r/w */
+
uint8_t m_register_address; /**< RN: Register address select */
bool m_register_autoinc_r; /**< RRAI: Register address auto-increment on read */
bool m_register_autoinc_w; /**< RWAI: Register address auto-increment on write */
@@ -210,41 +210,41 @@ private:
uint8_t m_sprite_aux_reg; /**< SPA: auxiliary bits of sprite attribute table */
uint8_t m_border_color; /**< BDC: border color */
- bool m_saar; /**< SAAR: Address autoinc after reading sprite attribute table */
- bool m_saaw; /**< SAAW: Address autoinc after writing sprite attribute table */
- bool m_scar; /**< SCAR: Address autoinc after reading scroll data table */
- bool m_scaw; /**< SCAW: Address autoinc after writing scroll data table */
- bool m_cpar; /**< CPAR: Address autoinc after reading color palette */
- bool m_cpaw; /**< CPAW: Address autoinc after writing color palette */
- bool m_ba_plane_scroll_select; /**< B/(A) P#2 gains access to scroll data table in A/B plane */
-
- bool m_dspe; /**< DSPE: display permission of pattern plane(s) (screen blanked if 0) */
- uint8_t m_md; /**< MDx: mode for pattern planes */
- bool m_zron; /**< ZRON: enable ROZ features */
- bool m_flip; /**< FLIP: enable flip for attribute bits 11 & 10 */
- bool m_dckm; /**< DCKM: dot clock frequency select */
-
- bool m_page_size; /**< PGS: page size setter */
- uint8_t m_h_display_size; /**< HDS: horizontal display domain */
- uint8_t m_v_display_size; /**< VDS: vertical display domain */
- bool m_roz_wrap_disable; /**< RLRT: ROZ wraparound disable */
- bool m_scroll_wrap_disable; /**< RLSC: ROZ wraparound disable */
-
- uint8_t m_pattern_size; /**< PTS: pattern size of pattern plane */
- uint8_t m_h_div_size; /**< SLH: size of horizontal division in screen division scrolling */
- uint8_t m_v_div_size; /**< SLV: size of vertical division in screen division scrolling */
-
- bool m_planeA_trans_enable; /**< CTPA: enable transparency for plane A */
- bool m_planeB_trans_enable; /**< CTPA: enable transparency for plane B */
- uint8_t m_priority_mode; /**< PRM: priority mode select */
- bool m_cbdr; /**< CBDR: color bus terminals CB7 to 0 and SPRT */
- bool m_yse; /**< YSE: permission control of trasparency timing output of YS terminal */
- uint8_t m_scm; /**< SCM: output frequency of clock signal output from terminal FSC */
-
- uint8_t m_planeA_color_fetch; /**< APF: A plane color fetch mode */
- uint8_t m_planeB_color_fetch; /**< BPF: B plane color fetch mode */
- uint8_t m_sprite_color_fetch; /**< SPF: sprite color fetch mode */
-
+ bool m_saar; /**< SAAR: Address autoinc after reading sprite attribute table */
+ bool m_saaw; /**< SAAW: Address autoinc after writing sprite attribute table */
+ bool m_scar; /**< SCAR: Address autoinc after reading scroll data table */
+ bool m_scaw; /**< SCAW: Address autoinc after writing scroll data table */
+ bool m_cpar; /**< CPAR: Address autoinc after reading color palette */
+ bool m_cpaw; /**< CPAW: Address autoinc after writing color palette */
+ bool m_ba_plane_scroll_select; /**< B/(A) P#2 gains access to scroll data table in A/B plane */
+
+ bool m_dspe; /**< DSPE: display permission of pattern plane(s) (screen blanked if 0) */
+ uint8_t m_md; /**< MDx: mode for pattern planes */
+ bool m_zron; /**< ZRON: enable ROZ features */
+ bool m_flip; /**< FLIP: enable flip for attribute bits 11 & 10 */
+ bool m_dckm; /**< DCKM: dot clock frequency select */
+
+ bool m_page_size; /**< PGS: page size setter */
+ uint8_t m_h_display_size; /**< HDS: horizontal display domain */
+ uint8_t m_v_display_size; /**< VDS: vertical display domain */
+ bool m_roz_wrap_disable; /**< RLRT: ROZ wraparound disable */
+ bool m_scroll_wrap_disable; /**< RLSC: ROZ wraparound disable */
+
+ uint8_t m_pattern_size; /**< PTS: pattern size of pattern plane */
+ uint8_t m_h_div_size; /**< SLH: size of horizontal division in screen division scrolling */
+ uint8_t m_v_div_size; /**< SLV: size of vertical division in screen division scrolling */
+
+ bool m_planeA_trans_enable; /**< CTPA: enable transparency for plane A */
+ bool m_planeB_trans_enable; /**< CTPA: enable transparency for plane B */
+ uint8_t m_priority_mode; /**< PRM: priority mode select */
+ bool m_cbdr; /**< CBDR: color bus terminals CB7 to 0 and SPRT */
+ bool m_yse; /**< YSE: permission control of trasparency timing output of YS terminal */
+ uint8_t m_scm; /**< SCM: output frequency of clock signal output from terminal FSC */
+
+ uint8_t m_planeA_color_fetch; /**< APF: A plane color fetch mode */
+ uint8_t m_planeB_color_fetch; /**< BPF: B plane color fetch mode */
+ uint8_t m_sprite_color_fetch; /**< SPF: sprite color fetch mode */
+
// screen section
devcb_write_line m_vblank_handler;
devcb_write_line m_raster_handler;
@@ -257,9 +257,9 @@ private:
void vblank_irq_check(); /**< mask + pend check for vblank irq */
void raster_irq_check(); /**< mask + pend check for raster irq */
void pattern_name_autoinc_check(); /**< check autoinc for tile pointers */
- void pattern_mode_setup(); /**< refresh pattern mode at register 7/8 change*/
- int get_col_division(int raw_col); /**< calculate column scroll */
-
+ void pattern_mode_setup(); /**< refresh pattern mode at register 7/8 change*/
+ int get_col_division(int raw_col); /**< calculate column scroll */
+
enum
{
VBLANK_TIMER,