summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2018-05-27 04:48:13 +1000
committer Vas Crabb <vas@vastheman.com>2018-05-27 04:48:13 +1000
commitc15531dddca6a144b9172077fe7251ea96f4cc7e (patch)
treef2ffe409c8d6f6392d99e16540a6492a18fa4630 /src/mame/drivers
parentdecf1fd1fa17a45e2547c5b8d059da3665fb971b (diff)
srcclean (nw)
Diffstat (limited to 'src/mame/drivers')
-rw-r--r--src/mame/drivers/abc80x.cpp18
-rw-r--r--src/mame/drivers/amaticmg.cpp2
-rw-r--r--src/mame/drivers/arkanoid.cpp12
-rw-r--r--src/mame/drivers/battlane.cpp4
-rw-r--r--src/mame/drivers/blmbycar.cpp12
-rw-r--r--src/mame/drivers/cps1.cpp8
-rw-r--r--src/mame/drivers/csplayh5.cpp4
-rw-r--r--src/mame/drivers/deadang.cpp32
-rw-r--r--src/mame/drivers/exerion.cpp14
-rw-r--r--src/mame/drivers/f1gp.cpp8
-rw-r--r--src/mame/drivers/fcombat.cpp22
-rw-r--r--src/mame/drivers/fidel6502.cpp2
-rw-r--r--src/mame/drivers/igs017.cpp2
-rw-r--r--src/mame/drivers/jaguar.cpp6
-rw-r--r--src/mame/drivers/mappy.cpp2
-rw-r--r--src/mame/drivers/markham.cpp10
-rw-r--r--src/mame/drivers/midzeus.cpp2
-rw-r--r--src/mame/drivers/mil4000.cpp2
-rw-r--r--src/mame/drivers/naomi.cpp20
-rw-r--r--src/mame/drivers/nmk16.cpp2
-rw-r--r--src/mame/drivers/pc9801.cpp28
-rw-r--r--src/mame/drivers/pgm.cpp2
-rw-r--r--src/mame/drivers/pk8020.cpp16
-rw-r--r--src/mame/drivers/qtsbc.cpp2
-rw-r--r--src/mame/drivers/rungun.cpp4
-rw-r--r--src/mame/drivers/seicupbl.cpp22
-rw-r--r--src/mame/drivers/seta2.cpp2
-rw-r--r--src/mame/drivers/simpl156.cpp4
-rw-r--r--src/mame/drivers/subsino.cpp2
-rw-r--r--src/mame/drivers/taitogn.cpp2
-rw-r--r--src/mame/drivers/tatsumi.cpp6
-rw-r--r--src/mame/drivers/vamphalf.cpp4
-rw-r--r--src/mame/drivers/vii.cpp2
-rw-r--r--src/mame/drivers/witch.cpp18
34 files changed, 149 insertions, 149 deletions
diff --git a/src/mame/drivers/abc80x.cpp b/src/mame/drivers/abc80x.cpp
index 2e44e449a83..95783abd92a 100644
--- a/src/mame/drivers/abc80x.cpp
+++ b/src/mame/drivers/abc80x.cpp
@@ -141,8 +141,8 @@ Notes:
TODO:
- - abc802 video is all black
- - abc850 is broken
+ - abc802 video is all black
+ - abc850 is broken
- cassette
*/
@@ -266,13 +266,13 @@ void abc806_state::read_pal_p4(offs_t offset, bool m1l, bool xml, offs_t &m, boo
vr = 1;
}
/*
- if (!m1l && (offset < 0x7800)
- {
- TODO 0..30k read from videoram if fetch opcode from 7800-7fff
- romd = 1;
- hre = 1;
- mux = 0;
- }
+ if (!m1l && (offset < 0x7800)
+ {
+ TODO 0..30k read from videoram if fetch opcode from 7800-7fff
+ romd = 1;
+ hre = 1;
+ mux = 0;
+ }
*/
size_t videoram_mask = m_ram->size() - 0x8001;
diff --git a/src/mame/drivers/amaticmg.cpp b/src/mame/drivers/amaticmg.cpp
index 92f9ab708ea..cfbc40e8dd0 100644
--- a/src/mame/drivers/amaticmg.cpp
+++ b/src/mame/drivers/amaticmg.cpp
@@ -1141,7 +1141,7 @@ ROM_END
Description: 4096 bit read/write nonvolatile memory partitioned
into sixteen pages of 256 bits each and a real time
- clock/calendar in binary format.
+ clock/calendar in binary format.
SCRATCHPAD:
Page0 (0H)
diff --git a/src/mame/drivers/arkanoid.cpp b/src/mame/drivers/arkanoid.cpp
index 7298d14a966..9662ba1ed99 100644
--- a/src/mame/drivers/arkanoid.cpp
+++ b/src/mame/drivers/arkanoid.cpp
@@ -2126,14 +2126,14 @@ void arkanoid_state::init_block2()
{
// combine these into a single swap..
int srctile = bitswap<16>(tile,15,14,13,12,
- 11,10, 9, 8,
- 7, 5, 6, 3,
- 1, 2, 4, 0);
+ 11,10, 9, 8,
+ 7, 5, 6, 3,
+ 1, 2, 4, 0);
srctile = bitswap<16>(srctile,15,14,13,12,
- 11, 9,10, 5,
- 7, 6, 8, 4,
- 3, 2, 1, 0);
+ 11, 9,10, 5,
+ 7, 6, 8, 4,
+ 3, 2, 1, 0);
srctile = srctile ^ 0xd4;
diff --git a/src/mame/drivers/battlane.cpp b/src/mame/drivers/battlane.cpp
index 948c1217769..70e7f17508f 100644
--- a/src/mame/drivers/battlane.cpp
+++ b/src/mame/drivers/battlane.cpp
@@ -53,8 +53,8 @@ WRITE8_MEMBER(battlane_state::battlane_cpu_command_w)
/*
if (~m_cpu_control & 0x08)
{
- m_maincpu->pulse_input_line(INPUT_LINE_NMI, attotime::zero);
- m_subcpu->pulse_input_line(INPUT_LINE_NMI, attotime::zero);
+ m_maincpu->pulse_input_line(INPUT_LINE_NMI, attotime::zero);
+ m_subcpu->pulse_input_line(INPUT_LINE_NMI, attotime::zero);
}
*/
diff --git a/src/mame/drivers/blmbycar.cpp b/src/mame/drivers/blmbycar.cpp
index ee4483b7333..a1a092b2f87 100644
--- a/src/mame/drivers/blmbycar.cpp
+++ b/src/mame/drivers/blmbycar.cpp
@@ -18,7 +18,7 @@ To Do:
Blomby Car is said to be a bootleg of Gaelco's World Rally and uses many
of the same fonts
-(Update: it actually is a bootleg of World Rally by looking how much
+(Update: it actually is a bootleg of World Rally by looking how much
similar the two HWs are, down to the dipswitches!)
Waterball
@@ -213,10 +213,10 @@ static INPUT_PORTS_START( blmbycar )
PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
PORT_START("P1_P2") /* $700002.w */
- PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_PLAYER(1) PORT_CONDITION("DSW", 0x18, EQUALS, 0x18)
- PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_PLAYER(1) PORT_CONDITION("DSW", 0x18, EQUALS, 0x18)
- PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(1) PORT_CONDITION("DSW", 0x18, EQUALS, 0x18)
- PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_PLAYER(1) PORT_CONDITION("DSW", 0x18, EQUALS, 0x18)
+ PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_PLAYER(1) PORT_CONDITION("DSW", 0x18, EQUALS, 0x18)
+ PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_PLAYER(1) PORT_CONDITION("DSW", 0x18, EQUALS, 0x18)
+ PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(1) PORT_CONDITION("DSW", 0x18, EQUALS, 0x18)
+ PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_PLAYER(1) PORT_CONDITION("DSW", 0x18, EQUALS, 0x18)
PORT_BIT( 0x000f, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_CONDITION("DSW", 0x18, NOTEQUALS, 0x18)
PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1) PORT_NAME("P1 Gear Shift") PORT_TOGGLE PORT_CONDITION("DSW", 0x18, NOTEQUALS, 0x18)
PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_CONDITION("DSW", 0x18, EQUALS, 0x18)
@@ -235,7 +235,7 @@ static INPUT_PORTS_START( blmbycar )
PORT_START("OPT_WHEEL") /* $700004.w */
PORT_BIT ( 0x00ff, 0x0000, IPT_DIAL ) PORT_SENSITIVITY(30) PORT_KEYDELTA(1) PORT_REVERSE PORT_CONDITION("DSW", 0x18, EQUALS, 0x08) PORT_NAME("P1 Opt Wheel")
-
+
PORT_START("POT_WHEEL")
PORT_BIT ( 0x00ff, 0x0080, IPT_AD_STICK_X ) PORT_SENSITIVITY(30) PORT_KEYDELTA(1) PORT_REVERSE PORT_CONDITION("DSW", 0x18, EQUALS, 0x10) PORT_NAME("P1 Pot Wheel")
diff --git a/src/mame/drivers/cps1.cpp b/src/mame/drivers/cps1.cpp
index 4ce30b53be3..2dc84e56ea2 100644
--- a/src/mame/drivers/cps1.cpp
+++ b/src/mame/drivers/cps1.cpp
@@ -8219,10 +8219,10 @@ ROM_END
/* B-Board 90629B-3 */
ROM_START( kodr2 )
ROM_REGION( CODE_SIZE, "maincpu", 0 ) /* 68000 code */
- ROM_LOAD16_BYTE( "kde_30.11e", 0x00000, 0x20000, CRC(f8dc4ce3) SHA1(3efc4ffd61b399235f27c97ffb6d556000d59b33) ) /* different CRC from kodr1, pcb verified */
- ROM_LOAD16_BYTE( "kde_37.11f", 0x00001, 0x20000, CRC(d1276c1c) SHA1(1f70972eb5b854ef58c6d0eaccda6e12611cf763) ) /* different CRC from kodr1, pcb verified */
- ROM_LOAD16_BYTE( "kde_31.12e", 0x40000, 0x20000, CRC(309debd8) SHA1(96aa498fe04c1b8f76dab1c0ab074eedd48053fa) ) /* different CRC from kodr1, pcb verified */
- ROM_LOAD16_BYTE( "kde_38.12f", 0x40001, 0x20000, CRC(76cd5738) SHA1(cb81f8db8400c9972f05ace38530f040fb66f93e) ) /* different CRC from kodr1, pcb verified */
+ ROM_LOAD16_BYTE( "kde_30.11e", 0x00000, 0x20000, CRC(f8dc4ce3) SHA1(3efc4ffd61b399235f27c97ffb6d556000d59b33) ) /* different CRC from kodr1, pcb verified */
+ ROM_LOAD16_BYTE( "kde_37.11f", 0x00001, 0x20000, CRC(d1276c1c) SHA1(1f70972eb5b854ef58c6d0eaccda6e12611cf763) ) /* different CRC from kodr1, pcb verified */
+ ROM_LOAD16_BYTE( "kde_31.12e", 0x40000, 0x20000, CRC(309debd8) SHA1(96aa498fe04c1b8f76dab1c0ab074eedd48053fa) ) /* different CRC from kodr1, pcb verified */
+ ROM_LOAD16_BYTE( "kde_38.12f", 0x40001, 0x20000, CRC(76cd5738) SHA1(cb81f8db8400c9972f05ace38530f040fb66f93e) ) /* different CRC from kodr1, pcb verified */
ROM_LOAD16_BYTE( "kd_28.9e", 0x80000, 0x20000, CRC(9367bcd9) SHA1(8243b4b9bb9756f3fa726717e19a166cb2f5b50a) )
ROM_LOAD16_BYTE( "kd_35.9f", 0x80001, 0x20000, CRC(4ca6a48a) SHA1(9d440ecd8d2d0e293fecf64ca3915252b94e7aef) )
ROM_LOAD16_BYTE( "kd_29.10e", 0xc0000, 0x20000, CRC(0360fa72) SHA1(274769c8717a874397cf37369e3ef80a682d9ef2) )
diff --git a/src/mame/drivers/csplayh5.cpp b/src/mame/drivers/csplayh5.cpp
index 984e2467ce4..5adcceb6e38 100644
--- a/src/mame/drivers/csplayh5.cpp
+++ b/src/mame/drivers/csplayh5.cpp
@@ -921,9 +921,9 @@ ROM_END
***************************************************************************/
// 1995
- GAME( 1995, csplayh1, 0, csplayh5, csplayh5, csplayh5_state, init_csplayh1, ROT0, "Sphinx/AV Japan/Astro System Japan", "Super CD Dai8dan Mahjong Hanafuda Cosplay Tengoku (Japan)", MACHINE_NOT_WORKING )
+ GAME( 1995, csplayh1, 0, csplayh5, csplayh5, csplayh5_state, init_csplayh1, ROT0, "Sphinx/AV Japan/Astro System Japan", "Super CD Dai8dan Mahjong Hanafuda Cosplay Tengoku (Japan)", MACHINE_NOT_WORKING )
- GAME( 1998, nichidvd, 0, csplayh5, csplayh5, csplayh5_state, empty_init, ROT0, "Nichibutsu", "Nichibutsu High Rate DVD BIOS", MACHINE_IS_BIOS_ROOT )
+ GAME( 1998, nichidvd, 0, csplayh5, csplayh5, csplayh5_state, empty_init, ROT0, "Nichibutsu", "Nichibutsu High Rate DVD BIOS", MACHINE_IS_BIOS_ROOT )
// 1998
/* 01 */ GAME( 1998, mjgalpri, nichidvd, csplayh5, csplayh5, csplayh5_state, init_mjgalpri, ROT0, "Nichibutsu/Just&Just", "Mahjong Gal-pri - World Gal-con Grandprix (Japan)", MACHINE_NOT_WORKING )
diff --git a/src/mame/drivers/deadang.cpp b/src/mame/drivers/deadang.cpp
index 361eb30c691..42084ffa976 100644
--- a/src/mame/drivers/deadang.cpp
+++ b/src/mame/drivers/deadang.cpp
@@ -443,19 +443,19 @@ MACHINE_CONFIG_END
/* ROMs */
ROM_START( popnrun )
ROM_REGION( 0x100000, "maincpu", ROMREGION_ERASE00 )
- ROM_LOAD16_BYTE( "popnrun-27512-1-6e.bin", 0xe0001, 0x010000, CRC(cf800494) SHA1(eaed51212c91ebb16e326f8133b60a0ecf0055e5) )
- ROM_LOAD16_BYTE( "popnrun-27512-2-6h.bin", 0xe0000, 0x010000, CRC(bad47dc4) SHA1(279236cfe5102b4724f9fb4405f514dba011ae3d) )
+ ROM_LOAD16_BYTE( "popnrun-27512-1-6e.bin", 0xe0001, 0x010000, CRC(cf800494) SHA1(eaed51212c91ebb16e326f8133b60a0ecf0055e5) )
+ ROM_LOAD16_BYTE( "popnrun-27512-2-6h.bin", 0xe0000, 0x010000, CRC(bad47dc4) SHA1(279236cfe5102b4724f9fb4405f514dba011ae3d) )
ROM_REGION( 0x100000, "sub", ROMREGION_ERASE00 )
ROM_LOAD16_BYTE( "popnrun-27256-3-17e.bin", 0xf0001, 0x008000, CRC(93f811aa) SHA1(75998375081d3cc5faa7533d39dd2d29a4ef3e7d) )
- ROM_LOAD16_BYTE( "popnrun-27256-4-17h.bin", 0xf0000, 0x008000, CRC(8fe0c064) SHA1(2a854238b8335a85cbe75c901480b51d479273a0) )
+ ROM_LOAD16_BYTE( "popnrun-27256-4-17h.bin", 0xf0000, 0x008000, CRC(8fe0c064) SHA1(2a854238b8335a85cbe75c901480b51d479273a0) )
ROM_REGION( 0x20000, "audiocpu", ROMREGION_ERASE00 )
- ROM_LOAD( "popnrun-2764-5-22c.bin", 0x000000, 0x002000, CRC(768a2ec7) SHA1(abc02ec6c6a495e612e8708377d9e7ca98981de4) )
- ROM_LOAD( "popnrun-27512-6-20c.bin", 0x010000, 0x010000, CRC(47d168ce) SHA1(36c16a400408834fcf0561c3f097e84a287560bd) )
+ ROM_LOAD( "popnrun-2764-5-22c.bin", 0x000000, 0x002000, CRC(768a2ec7) SHA1(abc02ec6c6a495e612e8708377d9e7ca98981de4) )
+ ROM_LOAD( "popnrun-27512-6-20c.bin", 0x010000, 0x010000, CRC(47d168ce) SHA1(36c16a400408834fcf0561c3f097e84a287560bd) )
ROM_REGION( 0x2000, "gfx1", ROMREGION_ERASE00 )
- ROM_LOAD( "popnrun-2764-7-1a.bin", 0x000000, 0x002000, CRC(5e508b8e) SHA1(3e49e8d25a3db83178965382295e7c437441b5fe) )
+ ROM_LOAD( "popnrun-2764-7-1a.bin", 0x000000, 0x002000, CRC(5e508b8e) SHA1(3e49e8d25a3db83178965382295e7c437441b5fe) )
ROM_REGION( 0x80000, "gfx2", ROMREGION_ERASEFF ) /* Sprites */
ROM_LOAD( "gfx2.bin", 0x0000, 0x80000, NO_DUMP )
@@ -482,24 +482,24 @@ ROM_START( popnrun )
ROM_REGION( 0x10000, "adpcm2", ROMREGION_ERASE00 )
ROM_REGION( 0x0100, "prom", ROMREGION_ERASE00 )
- ROM_LOAD( "popnrun-63s281-9b.bin", 0x000000, 0x000100, CRC(208d17ca) SHA1(a77d56337bcac8d9a7bc3411239dfb3045e069ec) )
+ ROM_LOAD( "popnrun-63s281-9b.bin", 0x000000, 0x000100, CRC(208d17ca) SHA1(a77d56337bcac8d9a7bc3411239dfb3045e069ec) )
ROM_END
ROM_START( popnruna )
ROM_REGION( 0x100000, "maincpu", ROMREGION_ERASE00 )
- ROM_LOAD16_BYTE( "1.e5.27512", 0xe0001, 0x010000, CRC(fe45b6c4) SHA1(efa0d4ce6c5963f25ca1195cd2d5745e730b3b95) )
- ROM_LOAD16_BYTE( "2.h5.27512", 0xe0000, 0x010000, CRC(1e325398) SHA1(ca481c1447de4bffdea695deb9bb46c269272c68) )
+ ROM_LOAD16_BYTE( "1.e5.27512", 0xe0001, 0x010000, CRC(fe45b6c4) SHA1(efa0d4ce6c5963f25ca1195cd2d5745e730b3b95) )
+ ROM_LOAD16_BYTE( "2.h5.27512", 0xe0000, 0x010000, CRC(1e325398) SHA1(ca481c1447de4bffdea695deb9bb46c269272c68) )
ROM_REGION( 0x100000, "sub", ROMREGION_ERASE00 )
ROM_LOAD16_BYTE( "popnrun-27256-3-17e.bin", 0xf0001, 0x008000, CRC(93f811aa) SHA1(75998375081d3cc5faa7533d39dd2d29a4ef3e7d) )
- ROM_LOAD16_BYTE( "popnrun-27256-4-17h.bin", 0xf0000, 0x008000, CRC(8fe0c064) SHA1(2a854238b8335a85cbe75c901480b51d479273a0) )
+ ROM_LOAD16_BYTE( "popnrun-27256-4-17h.bin", 0xf0000, 0x008000, CRC(8fe0c064) SHA1(2a854238b8335a85cbe75c901480b51d479273a0) )
ROM_REGION( 0x20000, "audiocpu", ROMREGION_ERASE00 )
- ROM_LOAD( "popnrun-2764-5-22c.bin", 0x000000, 0x002000, CRC(768a2ec7) SHA1(abc02ec6c6a495e612e8708377d9e7ca98981de4) )
- ROM_LOAD( "popnrun-27512-6-20c.bin", 0x010000, 0x010000, CRC(47d168ce) SHA1(36c16a400408834fcf0561c3f097e84a287560bd) )
+ ROM_LOAD( "popnrun-2764-5-22c.bin", 0x000000, 0x002000, CRC(768a2ec7) SHA1(abc02ec6c6a495e612e8708377d9e7ca98981de4) )
+ ROM_LOAD( "popnrun-27512-6-20c.bin", 0x010000, 0x010000, CRC(47d168ce) SHA1(36c16a400408834fcf0561c3f097e84a287560bd) )
ROM_REGION( 0x2000, "gfx1", ROMREGION_ERASE00 )
- ROM_LOAD( "popnrun-2764-7-1a.bin", 0x000000, 0x002000, CRC(5e508b8e) SHA1(3e49e8d25a3db83178965382295e7c437441b5fe) )
+ ROM_LOAD( "popnrun-2764-7-1a.bin", 0x000000, 0x002000, CRC(5e508b8e) SHA1(3e49e8d25a3db83178965382295e7c437441b5fe) )
ROM_REGION( 0x80000, "gfx2", ROMREGION_ERASEFF ) /* Sprites */
ROM_LOAD( "gfx2.bin", 0x0000, 0x80000, NO_DUMP )
@@ -522,7 +522,7 @@ ROM_START( popnruna )
ROM_LOAD( "gfx7.bin", 0x0000, 0x10000, NO_DUMP )
ROM_REGION( 0x0100, "prom", ROMREGION_ERASE00 )
- ROM_LOAD( "popnrun-63s281-9b.bin", 0x000000, 0x000100, CRC(208d17ca) SHA1(a77d56337bcac8d9a7bc3411239dfb3045e069ec) )
+ ROM_LOAD( "popnrun-63s281-9b.bin", 0x000000, 0x000100, CRC(208d17ca) SHA1(a77d56337bcac8d9a7bc3411239dfb3045e069ec) )
ROM_END
ROM_START( deadang )
@@ -723,8 +723,8 @@ void deadang_state::init_deadang()
void popnrun_state::init_popnrun()
{
-// m_adpcm1->decrypt();
-// m_adpcm2->decrypt();
+// m_adpcm1->decrypt();
+// m_adpcm2->decrypt();
}
void deadang_state::init_ghunter()
diff --git a/src/mame/drivers/exerion.cpp b/src/mame/drivers/exerion.cpp
index 528e67c796c..74339732714 100644
--- a/src/mame/drivers/exerion.cpp
+++ b/src/mame/drivers/exerion.cpp
@@ -556,9 +556,9 @@ void exerion_state::init_exerion()
for (uint32_t oldaddr = 0; oldaddr < length; oldaddr++)
{
uint32_t newaddr = ((oldaddr ) & 0x1f00) | /* keep n8-n4 */
- ((oldaddr << 3) & 0x00f0) | /* move n3-n0 */
- ((oldaddr >> 4) & 0x000e) | /* move v2-v0 */
- ((oldaddr ) & 0x0001); /* keep h2 */
+ ((oldaddr << 3) & 0x00f0) | /* move n3-n0 */
+ ((oldaddr >> 4) & 0x000e) | /* move v2-v0 */
+ ((oldaddr ) & 0x0001); /* keep h2 */
dst[newaddr] = src[oldaddr];
}
@@ -574,10 +574,10 @@ void exerion_state::init_exerion()
for (uint32_t oldaddr = 0; oldaddr < length; oldaddr++)
{
uint32_t newaddr = ((oldaddr << 1) & 0x3c00) | /* move n7-n4 */
- ((oldaddr >> 4) & 0x0200) | /* move n3 */
- ((oldaddr << 4) & 0x01c0) | /* move n2-n0 */
- ((oldaddr >> 3) & 0x003c) | /* move v3-v0 */
- ((oldaddr ) & 0xc003); /* keep n9-n8 h3-h2 */
+ ((oldaddr >> 4) & 0x0200) | /* move n3 */
+ ((oldaddr << 4) & 0x01c0) | /* move n2-n0 */
+ ((oldaddr >> 3) & 0x003c) | /* move v3-v0 */
+ ((oldaddr ) & 0xc003); /* keep n9-n8 h3-h2 */
dst[newaddr] = src[oldaddr];
}
}
diff --git a/src/mame/drivers/f1gp.cpp b/src/mame/drivers/f1gp.cpp
index 9b35edb9c1e..a2d8ad79c8d 100644
--- a/src/mame/drivers/f1gp.cpp
+++ b/src/mame/drivers/f1gp.cpp
@@ -196,7 +196,7 @@ void f1gp_state::f1gpb_cpu2_map(address_map &map)
}
static INPUT_PORTS_START( f1gp )
- PORT_START("INPUTS")
+ PORT_START("INPUTS")
PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY PORT_CONDITION("JOY_TYPE", 0x01, NOTEQUALS, 0x01)
PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY PORT_CONDITION("JOY_TYPE", 0x01, NOTEQUALS, 0x01)
PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY PORT_CONDITION("JOY_TYPE", 0x01, NOTEQUALS, 0x01)
@@ -220,7 +220,7 @@ static INPUT_PORTS_START( f1gp )
PORT_START("WHEEL")
PORT_BIT( 0xff, 0x80, IPT_AD_STICK_X ) PORT_SENSITIVITY(10) PORT_KEYDELTA(5)
-
+
PORT_START("DSW1")
// listed as "unused" in manual, actually enables free play
PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Free_Play ) ) PORT_DIPLOCATION("SW1:1")
@@ -282,7 +282,7 @@ static INPUT_PORTS_START( f1gp )
// listed as "Unused" in manual, it selects between joystick or steering wheel
PORT_DIPNAME( 0x8000, 0x8000, "Input Method" ) PORT_DIPLOCATION("SW3:8")
PORT_DIPSETTING( 0x8000, "Joystick" )
- // TODO: doesn't work in-game, reads from $fff002 ingame too but doesn't have an effect,
+ // TODO: doesn't work in-game, reads from $fff002 ingame too but doesn't have an effect,
// maybe outputs threshold to $fff000 or it's not supposed to be enabled like the manual claims.
PORT_DIPSETTING( 0x0000, "Steering Wheel" )
@@ -295,7 +295,7 @@ static INPUT_PORTS_START( f1gp )
PORT_DIPSETTING( 0x0004, DEF_STR( Hong_Kong ) )
PORT_DIPSETTING( 0x0008, DEF_STR( Taiwan ) )
/* all other values are invalid */
-
+
PORT_START("JOY_TYPE")
PORT_CONFNAME( 0x01, 0x01, "Joystick Type" )
PORT_CONFSETTING( 0x01, "2-Way" )
diff --git a/src/mame/drivers/fcombat.cpp b/src/mame/drivers/fcombat.cpp
index 92042911038..dc22509af7d 100644
--- a/src/mame/drivers/fcombat.cpp
+++ b/src/mame/drivers/fcombat.cpp
@@ -347,9 +347,9 @@ void fcombat_state::init_fcombat()
for (uint32_t oldaddr = 0; oldaddr < length; oldaddr++)
{
uint32_t newaddr = ((oldaddr ) & 0x1f00) | /* keep n8-n4 */
- ((oldaddr << 3) & 0x00f0) | /* move n3-n0 */
- ((oldaddr >> 4) & 0x000e) | /* move v2-v0 */
- ((oldaddr ) & 0x0001); /* keep h2 */
+ ((oldaddr << 3) & 0x00f0) | /* move n3-n0 */
+ ((oldaddr >> 4) & 0x000e) | /* move v2-v0 */
+ ((oldaddr ) & 0x0001); /* keep h2 */
dst[newaddr] = src[oldaddr];
}
@@ -366,10 +366,10 @@ void fcombat_state::init_fcombat()
for (uint32_t oldaddr = 0; oldaddr < length; oldaddr++)
{
uint32_t newaddr = ((oldaddr << 1) & 0x3c00) | /* move n7-n4 */
- ((oldaddr >> 4) & 0x0200) | /* move n3 */
- ((oldaddr << 4) & 0x01c0) | /* move n2-n0 */
- ((oldaddr >> 3) & 0x003c) | /* move v3-v0 */
- ((oldaddr ) & 0xc003); /* keep n9-n8 h3-h2 */
+ ((oldaddr >> 4) & 0x0200) | /* move n3 */
+ ((oldaddr << 4) & 0x01c0) | /* move n2-n0 */
+ ((oldaddr >> 3) & 0x003c) | /* move v3-v0 */
+ ((oldaddr ) & 0xc003); /* keep n9-n8 h3-h2 */
dst[newaddr] = src[oldaddr];
}
@@ -387,10 +387,10 @@ void fcombat_state::init_fcombat()
for (uint32_t oldaddr = 0; oldaddr < length; oldaddr++)
{
uint32_t newaddr = ((oldaddr << 1) & 0x3c00) | /* move n7-n4 */
- ((oldaddr >> 4) & 0x0200) | /* move n3 */
- ((oldaddr << 4) & 0x01c0) | /* move n2-n0 */
- ((oldaddr >> 3) & 0x003c) | /* move v3-v0 */
- ((oldaddr ) & 0xc003); /* keep n9-n8 h3-h2 */
+ ((oldaddr >> 4) & 0x0200) | /* move n3 */
+ ((oldaddr << 4) & 0x01c0) | /* move n2-n0 */
+ ((oldaddr >> 3) & 0x003c) | /* move v3-v0 */
+ ((oldaddr ) & 0xc003); /* keep n9-n8 h3-h2 */
dst[newaddr] = src[oldaddr];
}
diff --git a/src/mame/drivers/fidel6502.cpp b/src/mame/drivers/fidel6502.cpp
index 72174ca7553..f816d4942f6 100644
--- a/src/mame/drivers/fidel6502.cpp
+++ b/src/mame/drivers/fidel6502.cpp
@@ -20,7 +20,7 @@
the addressbus at read or write accesses.
- granits gives error beeps at start, need to press clear to play
- finish fphantom emulation
- - PC has 14KB RAM. 0000-0fff and 8000-9fff is certain, where does the remaining map to?
+ - PC has 14KB RAM. 0000-0fff and 8000-9fff is certain, where does the remaining map to?
******************************************************************************
diff --git a/src/mame/drivers/igs017.cpp b/src/mame/drivers/igs017.cpp
index b8459e7d0f8..bd9c8761b36 100644
--- a/src/mame/drivers/igs017.cpp
+++ b/src/mame/drivers/igs017.cpp
@@ -456,7 +456,7 @@ WRITE8_MEMBER(igs_incdec_device::dec_w)
READ8_MEMBER(igs_incdec_device::val_r)
{
- uint8_t res = (BIT(m_val, 0) << 7) |
+ uint8_t res = (BIT(m_val, 0) << 7) |
(BIT(m_val, 3) << 5) |
(BIT(m_val, 2) << 4) |
(BIT(m_val, 1) << 2) ;
diff --git a/src/mame/drivers/jaguar.cpp b/src/mame/drivers/jaguar.cpp
index ea72ee2615d..54efb91a2df 100644
--- a/src/mame/drivers/jaguar.cpp
+++ b/src/mame/drivers/jaguar.cpp
@@ -406,7 +406,7 @@ void cojag_devices(device_slot_interface &device)
* Machine init
*
*************************************/
-
+
void jaguar_state::machine_start()
{
/* configure banks for gfx/sound ROMs */
@@ -446,7 +446,7 @@ void jaguar_state::machine_reset()
m_butch_cmd_size = 1;
}
}
-
+
/* reset banks for gfx/sound ROMs */
if (m_romboard_region != nullptr)
{
@@ -1341,7 +1341,7 @@ void jaguar_state::jaguarcd_map(address_map &map)
* Main CPU memory handlers
*
*************************************/
-
+
void jaguar_state::r3000_map(address_map &map)
{
map(0x04000000, 0x047fffff).ram().share("sharedram");
diff --git a/src/mame/drivers/mappy.cpp b/src/mame/drivers/mappy.cpp
index 19e2aa731a0..f7b4395541e 100644
--- a/src/mame/drivers/mappy.cpp
+++ b/src/mame/drivers/mappy.cpp
@@ -1311,7 +1311,7 @@ WRITE8_MEMBER(mappy_state::out_lamps)
void mappy_state::machine_start()
{
m_leds.resolve();
-
+
save_item(NAME(m_main_irq_mask));
save_item(NAME(m_sub_irq_mask));
save_item(NAME(m_sub2_irq_mask));
diff --git a/src/mame/drivers/markham.cpp b/src/mame/drivers/markham.cpp
index c498e145ecc..ee973879726 100644
--- a/src/mame/drivers/markham.cpp
+++ b/src/mame/drivers/markham.cpp
@@ -202,11 +202,11 @@ void markham_state::strnskil_master_map(address_map &map)
// void markham_state::banbam_master_map(address_map &map)
// {
-// /* TODO: uncomment when ready */
-// strnskil_master_map(map);
-// map(0xd806, 0xd806).r(this, FUNC(markham_state::mcu_r)); /* mcu data read */
-// map(0xd80d, 0xd80d).w(this, FUNC(markham_state::mcu_w)); /* mcu data write */
-// map(0xd80c, 0xd80c).w(this, FUNC(markham_state::mcu_reset)); /* mcu reset? */
+// /* TODO: uncomment when ready */
+// strnskil_master_map(map);
+// map(0xd806, 0xd806).r(this, FUNC(markham_state::mcu_r)); /* mcu data read */
+// map(0xd80d, 0xd80d).w(this, FUNC(markham_state::mcu_w)); /* mcu data write */
+// map(0xd80c, 0xd80c).w(this, FUNC(markham_state::mcu_reset)); /* mcu reset? */
// }
void markham_state::markham_slave_map(address_map &map)
diff --git a/src/mame/drivers/midzeus.cpp b/src/mame/drivers/midzeus.cpp
index 4a85bf3cbd3..b2bef2461e0 100644
--- a/src/mame/drivers/midzeus.cpp
+++ b/src/mame/drivers/midzeus.cpp
@@ -91,7 +91,7 @@ public:
protected:
virtual void machine_start() override
{
- MACHINE_START_CALL_MEMBER(midzeus);
+ MACHINE_START_CALL_MEMBER(midzeus);
m_led.resolve();
m_lamp.resolve();
}
diff --git a/src/mame/drivers/mil4000.cpp b/src/mame/drivers/mil4000.cpp
index 78315a91980..98d5f789448 100644
--- a/src/mame/drivers/mil4000.cpp
+++ b/src/mame/drivers/mil4000.cpp
@@ -151,7 +151,7 @@ private:
required_device<cpu_device> m_maincpu;
required_device<gfxdecode_device> m_gfxdecode;
output_finder<7> m_lamps;
-
+
tilemap_t *m_sc0_tilemap;
tilemap_t *m_sc1_tilemap;
tilemap_t *m_sc2_tilemap;
diff --git a/src/mame/drivers/naomi.cpp b/src/mame/drivers/naomi.cpp
index 67e17988335..ab46ea963a5 100644
--- a/src/mame/drivers/naomi.cpp
+++ b/src/mame/drivers/naomi.cpp
@@ -2565,11 +2565,11 @@ static INPUT_PORTS_START( naomi_kb )
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_LCONTROL) PORT_NAME("P1 Left Control") PORT_PLAYER(1)
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_LSHIFT) PORT_NAME("P1 Left Shift") PORT_PLAYER(1)
PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_LALT) PORT_NAME("P1 Left Alt") PORT_PLAYER(1)
- PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_LWIN) PORT_NAME("P1 S1") PORT_PLAYER(1)
+ PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_LWIN) PORT_NAME("P1 S1") PORT_PLAYER(1)
PORT_BIT(0x10, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_RCONTROL) PORT_NAME("P1 Right Control") PORT_PLAYER(1)
PORT_BIT(0x20, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_RSHIFT) PORT_NAME("P1 Right Shift") PORT_PLAYER(1)
PORT_BIT(0x40, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_RALT) PORT_NAME("P1 Right Alt") PORT_PLAYER(1)
- PORT_BIT(0x80, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_RWIN) PORT_NAME("P1 S2") PORT_PLAYER(1)
+ PORT_BIT(0x80, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_RWIN) PORT_NAME("P1 S2") PORT_PLAYER(1)
PORT_START("P1.LD")
// TODO: LED information
@@ -2580,13 +2580,13 @@ static INPUT_PORTS_START( naomi_kb )
// ---- -x-- scroll lock
// ---- --x- caps lock
// ---- ---x num lock
-
+
PORT_START("P1.KC1")
PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_CUSTOM ) PORT_CUSTOM_MEMBER(DEVICE_SELF, naomi_state, naomi_kb_r, 0)
PORT_START("P1.KC2")
PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
-
+
PORT_START("P1.KC3")
PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
@@ -2631,14 +2631,14 @@ static INPUT_PORTS_START( naomi_kb )
PORT_BIT(0x10000000, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_PLAYER(1) PORT_CODE(KEYCODE_Y) PORT_NAME("P1 y / Y")
PORT_BIT(0x20000000, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_PLAYER(1) PORT_CODE(KEYCODE_Z) PORT_NAME("P1 z / Z")
PORT_BIT(0x40000000, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_PLAYER(1) PORT_CODE(KEYCODE_1) PORT_NAME("P1 1 / !")
- PORT_BIT(0x80000000, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_PLAYER(1) PORT_CODE(KEYCODE_2) PORT_NAME("P1 2 / “")
+ PORT_BIT(0x80000000, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_PLAYER(1) PORT_CODE(KEYCODE_2) PORT_NAME("P1 2 / \"")
PORT_START("P1.ROW1")
PORT_BIT(0x00000001, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_PLAYER(1) PORT_CODE(KEYCODE_3) PORT_NAME("P1 3 / #")
PORT_BIT(0x00000002, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_PLAYER(1) PORT_CODE(KEYCODE_4) PORT_NAME("P1 4 / $")
PORT_BIT(0x00000004, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_PLAYER(1) PORT_CODE(KEYCODE_5) PORT_NAME("P1 5 / %")
PORT_BIT(0x00000008, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_PLAYER(1) PORT_CODE(KEYCODE_6) PORT_NAME("P1 6 / &")
- PORT_BIT(0x00000010, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_PLAYER(1) PORT_CODE(KEYCODE_7) PORT_NAME("P1 7 / ‘")
+ PORT_BIT(0x00000010, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_PLAYER(1) PORT_CODE(KEYCODE_7) PORT_NAME("P1 7 / '")
PORT_BIT(0x00000020, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_PLAYER(1) PORT_CODE(KEYCODE_8) PORT_NAME("P1 8 / (")
PORT_BIT(0x00000040, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_PLAYER(1) PORT_CODE(KEYCODE_9) PORT_NAME("P1 9 / )")
PORT_BIT(0x00000080, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_PLAYER(1) PORT_CODE(KEYCODE_0) PORT_NAME("P1 0 / ~")
@@ -2687,7 +2687,7 @@ static INPUT_PORTS_START( naomi_kb )
PORT_BIT(0x00010000, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_PLAYER(1) PORT_CODE(KEYCODE_LEFT) PORT_NAME("P1 Left")
PORT_BIT(0x00020000, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_PLAYER(1) PORT_CODE(KEYCODE_DOWN) PORT_NAME("P1 Down")
PORT_BIT(0x00040000, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_PLAYER(1) PORT_CODE(KEYCODE_UP) PORT_NAME("P1 Up")
- PORT_BIT(0xfff80000, IP_ACTIVE_HIGH, IPT_UNUSED )
+ PORT_BIT(0xfff80000, IP_ACTIVE_HIGH, IPT_UNUSED )
PORT_START("P1.ROW3")
PORT_BIT(0x0000001f, IP_ACTIVE_HIGH, IPT_UNUSED )
@@ -2702,7 +2702,7 @@ static INPUT_PORTS_START( naomi_kb )
PORT_BIT(0x00000400, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_PLAYER(1) /*PORT_CODE(KEYCODE_?)*/ PORT_NAME("P1 Kanji Henkan")
PORT_BIT(0x00000800, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_PLAYER(1) /*PORT_CODE(KEYCODE_?)*/ PORT_NAME("P1 Kanji Muhenkan")
PORT_BIT(0xfffff000, IP_ACTIVE_HIGH, IPT_UNUSED )
-
+
// TODO: keyboard for player 2
PORT_START("P2.M")
PORT_DIPNAME( 0x01, 0x00, "P2.ROW0" )
@@ -2732,7 +2732,7 @@ static INPUT_PORTS_START( naomi_kb )
PORT_START("P2.LD")
// TODO: same as above
-
+
PORT_START("P2.KC1")
PORT_DIPNAME( 0x01, 0x00, "P2.ROW2" )
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
@@ -3022,7 +3022,7 @@ MACHINE_CONFIG_START(naomi_state::naomigd_kb)
MCFG_DC_KEYBOARD_ADD("dcctrl0", "maple_dc", 1, ":P1.M", ":P1.LD", ":P1.KC1", ":P1.KC2", ":P1.KC3", ":P1.KC4", ":P1.KC5", ":P1.KC6")
MCFG_DC_KEYBOARD_ADD("dcctrl1", "maple_dc", 2, ":P2.M", ":P2.LD", ":P2.KC1", ":P2.KC2", ":P2.KC3", ":P2.KC4", ":P2.KC5", ":P2.KC6")
MACHINE_CONFIG_END
-
+
/*
* Naomi 2
*/
diff --git a/src/mame/drivers/nmk16.cpp b/src/mame/drivers/nmk16.cpp
index 98101036977..065cbf8ee64 100644
--- a/src/mame/drivers/nmk16.cpp
+++ b/src/mame/drivers/nmk16.cpp
@@ -7054,7 +7054,7 @@ ROM_START( tomagic )
ROM_LOAD( "9.bin", 0x000000, 0x20000, CRC(fcceb24b) SHA1(49e3162c34dfa2ef54ffe190ba91bff73cebe12b) )
ROM_REGION( 0x80000, "bgtile", 0 )
- ROM_LOAD( "10.bin", 0x000000, 0x80000, CRC(14ef466c) SHA1(02711bd44e146dc30d68cd199023834a63170b0f) )
+ ROM_LOAD( "10.bin", 0x000000, 0x80000, CRC(14ef466c) SHA1(02711bd44e146dc30d68cd199023834a63170b0f) )
ROM_REGION( 0x200000, "sprites", 0 ) /* 16x16 sprite tiles */
ROM_LOAD16_BYTE( "7.bin", 0x100001, 0x80000, CRC(0a297c78) SHA1(effe1ee2ab64cb9fbeae0d168346168245942034) )
diff --git a/src/mame/drivers/pc9801.cpp b/src/mame/drivers/pc9801.cpp
index 2a16c07b68e..9b9d9475d8a 100644
--- a/src/mame/drivers/pc9801.cpp
+++ b/src/mame/drivers/pc9801.cpp
@@ -7,7 +7,7 @@
driver by Angelo Salese
TODO:
- - move sound bios ROMs into pc9801_26 / pc9801_86 devices
+ - move sound bios ROMs into pc9801_26 / pc9801_86 devices
- proper 8251 uart hook-up on keyboard
- SASI/SCSI support;
- Write a PC80S31K device (also used on PC-8801 and PC-88VA, it's the FDC + Z80 sub-system);
@@ -649,7 +649,7 @@ void pc9801_state::pc9801_map(address_map &map)
{
map(0xa0000, 0xa3fff).rw(this, FUNC(pc9801_state::tvram_r), FUNC(pc9801_state::tvram_w)); //TVRAM
map(0xa8000, 0xbffff).rw(this, FUNC(pc9801_state::gvram_r), FUNC(pc9801_state::gvram_w)); //bitmap VRAM
-// map(0xcc000, 0xcffff).rom().region("sound_bios", 0); //sound BIOS
+// map(0xcc000, 0xcffff).rom().region("sound_bios", 0); //sound BIOS
map(0xd6000, 0xd6fff).rom().region("fdc_bios_2dd", 0); //floppy BIOS 2dd
map(0xd7000, 0xd7fff).rom().region("fdc_bios_2hd", 0); //floppy BIOS 2hd
map(0xe8000, 0xfffff).rom().region("ipl", 0);
@@ -1405,8 +1405,8 @@ void pc9801_state::pc9821_map(address_map &map)
map(0x000a0000, 0x000a3fff).rw(this, FUNC(pc9801_state::tvram_r), FUNC(pc9801_state::tvram_w));
map(0x000a4000, 0x000a4fff).rw(this, FUNC(pc9801_state::pc9801rs_knjram_r), FUNC(pc9801_state::pc9801rs_knjram_w));
map(0x000a8000, 0x000bffff).rw(this, FUNC(pc9801_state::pc9821_grcg_gvram_r), FUNC(pc9801_state::pc9821_grcg_gvram_w));
-// map(0x000cc000, 0x000cffff).rom().region("sound_bios", 0); //sound BIOS
-// map(0x000d8000, 0x000d9fff).rom().region("ide",0)
+// map(0x000cc000, 0x000cffff).rom().region("sound_bios", 0); //sound BIOS
+// map(0x000d8000, 0x000d9fff).rom().region("ide",0)
map(0x000da000, 0x000dbfff).ram(); // ide ram
map(0x000e0000, 0x000e7fff).rw(this, FUNC(pc9801_state::pc9821_grcg_gvram0_r), FUNC(pc9801_state::pc9821_grcg_gvram0_w));
map(0x000e8000, 0x000fffff).m(m_ipl, FUNC(address_map_bank_device::amap16));
@@ -2680,21 +2680,21 @@ TODO: doesn't boot, missing roms?
ROM_START( pc9801vm )
ROM_REGION( 0x30000, "ipl", ROMREGION_ERASEFF )
-// ROM_LOAD( "itf_ux.rom", 0x10000, 0x08000, BAD_DUMP CRC(c7942563) SHA1(61bb210d64c7264be939b11df1e9cd14ffeee3c9) )
-// ROM_LOAD( "bios_vm.rom", 0x18000, 0x18000, CRC(2e2d7cee) SHA1(159549f845dc70bf61955f9469d2281a0131b47f) )
+// ROM_LOAD( "itf_ux.rom", 0x10000, 0x08000, BAD_DUMP CRC(c7942563) SHA1(61bb210d64c7264be939b11df1e9cd14ffeee3c9) )
+// ROM_LOAD( "bios_vm.rom", 0x18000, 0x18000, CRC(2e2d7cee) SHA1(159549f845dc70bf61955f9469d2281a0131b47f) )
// bios
- ROM_LOAD16_BYTE( "cpu_board_1a_23128e.bin", 0x10001, 0x4000, CRC(9965c914) SHA1(1ed318b774340bd532ef02ac02f39a012354dbf8) )
- ROM_LOAD16_BYTE( "cpu_board_4a_d23128ec.bin", 0x10000, 0x4000, CRC(e7c24a70) SHA1(cc9584b8e56b391f103e9d559d397d0bc6d00b35) )
+ ROM_LOAD16_BYTE( "cpu_board_1a_23128e.bin", 0x10001, 0x4000, CRC(9965c914) SHA1(1ed318b774340bd532ef02ac02f39a012354dbf8) )
+ ROM_LOAD16_BYTE( "cpu_board_4a_d23128ec.bin", 0x10000, 0x4000, CRC(e7c24a70) SHA1(cc9584b8e56b391f103e9d559d397d0bc6d00b35) )
// itf
- ROM_LOAD16_BYTE( "cpu_board_2a_d23c256ec.bin", 0x18001, 0x8000, CRC(3874970d) SHA1(e50ec5ae38f00dbfd156288dd42c7f2a2bf8bc35) )
- ROM_LOAD16_BYTE( "cpu_board_3a_23c256e.bin", 0x18000, 0x8000, CRC(4128276e) SHA1(32acb7eee779a31838a17ce51b05a9a987af4099) )
+ ROM_LOAD16_BYTE( "cpu_board_2a_d23c256ec.bin", 0x18001, 0x8000, CRC(3874970d) SHA1(e50ec5ae38f00dbfd156288dd42c7f2a2bf8bc35) )
+ ROM_LOAD16_BYTE( "cpu_board_3a_23c256e.bin", 0x18000, 0x8000, CRC(4128276e) SHA1(32acb7eee779a31838a17ce51b05a9a987af4099) )
ROM_REGION( 0x80000, "chargen", 0 )
-// ROM_LOAD( "font_vm.rom", 0x000000, 0x046800, BAD_DUMP CRC(456d9fc7) SHA1(78ba9960f135372825ab7244b5e4e73a810002ff) )
+// ROM_LOAD( "font_vm.rom", 0x000000, 0x046800, BAD_DUMP CRC(456d9fc7) SHA1(78ba9960f135372825ab7244b5e4e73a810002ff) )
// TODO: it invertes X pixel order and loads 8x8 charset bank in interleaved form, needs mods in own driver_init
- ROM_LOAD( "main_board_12f_d2364ec.bin", 0x000000, 0x002000, CRC(11197271) SHA1(8dbd2f25daeed545ea2c74d849f0a209ceaf4dd7) )
+ ROM_LOAD( "main_board_12f_d2364ec.bin", 0x000000, 0x002000, CRC(11197271) SHA1(8dbd2f25daeed545ea2c74d849f0a209ceaf4dd7) )
// contains some 8x16 chars
- ROM_LOAD( "main_board_8h_d23256ac.bin", 0x002000, 0x008000, CRC(62a32ba6) SHA1(cdab480ae0dad9d128e52afb15e6c0b2b122cc3f) )
+ ROM_LOAD( "main_board_8h_d23256ac.bin", 0x002000, 0x008000, CRC(62a32ba6) SHA1(cdab480ae0dad9d128e52afb15e6c0b2b122cc3f) )
ROM_REGION( 0x80000, "raw_kanji", ROMREGION_ERASEFF )
// on main board, uPD23100 type roms
@@ -2705,7 +2705,7 @@ ROM_START( pc9801vm )
ROM_REGION( 0x100000, "kanji", ROMREGION_ERASEFF )
ROM_REGION( 0x80000, "new_chargen", ROMREGION_ERASEFF )
-// LOAD_KANJI_ROMS
+// LOAD_KANJI_ROMS
// LOAD_IDE_ROM
ROM_END
diff --git a/src/mame/drivers/pgm.cpp b/src/mame/drivers/pgm.cpp
index e4c3ae7e645..c37033bf78f 100644
--- a/src/mame/drivers/pgm.cpp
+++ b/src/mame/drivers/pgm.cpp
@@ -4960,6 +4960,6 @@ GAME( 2008, kovshxas, kovshp, pgm_arm_type1, kovsh, pgm_arm_ty
//乱世拳皇/Luànshì quánhuáng
GAME( 200?, kovlsqh, kovshp, pgm_arm_type1, kovsh, pgm_arm_type1_state, init_kovlsqh2, ROT0, "bootleg", "Luanshi Quanhuang (bootleg of Knights of Valour Super Heroes Plus, ver. 200CN)", MACHINE_IMPERFECT_SOUND | MACHINE_UNEMULATED_PROTECTION | MACHINE_NOT_WORKING | MACHINE_SUPPORTS_SAVE ) /* need internal rom of IGS027A */
GAME( 200?, kovlsqh2, kovshp, pgm_arm_type1, kovsh, pgm_arm_type1_state, init_kovlsqh2, ROT0, "bootleg", "Luanshi Quanhuang 2 (bootleg of Knights of Valour Super Heroes Plus, ver. 200CN)", MACHINE_IMPERFECT_SOUND | MACHINE_UNEMULATED_PROTECTION | MACHINE_NOT_WORKING | MACHINE_SUPPORTS_SAVE ) /* need internal rom of IGS027A */
-//乱世街霸/Luànshì jiÄ“ bÃ
+//乱世街霸/Luànshì jiē bà
GAME( 200?, kovlsjb, kovshp, pgm_arm_type1, kovsh, pgm_arm_type1_state, init_kovlsqh2, ROT0, "bootleg", "Luanshi Jie Ba (bootleg of Knights of Valour Super Heroes Plus, ver. 200CN, set 1)", MACHINE_IMPERFECT_SOUND | MACHINE_UNEMULATED_PROTECTION | MACHINE_NOT_WORKING | MACHINE_SUPPORTS_SAVE ) /* need internal rom of IGS027A */
GAME( 200?, kovlsjba, kovshp, pgm_arm_type1, kovsh, pgm_arm_type1_state, init_kovlsqh2, ROT0, "bootleg", "Luanshi Jie Ba (bootleg of Knights of Valour Super Heroes Plus, ver. 200CN, set 2)", MACHINE_IMPERFECT_SOUND | MACHINE_UNEMULATED_PROTECTION | MACHINE_NOT_WORKING | MACHINE_SUPPORTS_SAVE ) /* need internal rom of IGS027A */
diff --git a/src/mame/drivers/pk8020.cpp b/src/mame/drivers/pk8020.cpp
index 2ca2c9852b1..b58e930bbe8 100644
--- a/src/mame/drivers/pk8020.cpp
+++ b/src/mame/drivers/pk8020.cpp
@@ -180,14 +180,14 @@ static void pk8020_floppies(device_slot_interface &device)
/*
* interrupts
*
- * 0 external devices
- * 1 uart rx ready
- * 2 uart tx ready
- * 3 lan
- * 4 vblank
- * 5 timer ch2
- * 6 printer
- * 7 floppy
+ * 0 external devices
+ * 1 uart rx ready
+ * 2 uart tx ready
+ * 3 lan
+ * 4 vblank
+ * 5 timer ch2
+ * 6 printer
+ * 7 floppy
*/
/* Machine driver */
MACHINE_CONFIG_START(pk8020_state::pk8020)
diff --git a/src/mame/drivers/qtsbc.cpp b/src/mame/drivers/qtsbc.cpp
index 3d54091e7e5..b4f8a4f723b 100644
--- a/src/mame/drivers/qtsbc.cpp
+++ b/src/mame/drivers/qtsbc.cpp
@@ -15,7 +15,7 @@ Chips: P8251, D8253C, MK3880N-4 (Z80). 3x 6-sw dips. Unmarked crystal.
A blue jumper marked 4M and 2M (between U11 and U12) selects the CPU clock.
The RS232 port uses a 26-pin header (J1) rather than the conventional DB25
-connector. The second 26-pin header (J2) is for the parallel port.
+connector. The second 26-pin header (J2) is for the parallel port.
Feature list from QT ad:
- 1K RAM (which can be located at any 1K boundary) plus one each
diff --git a/src/mame/drivers/rungun.cpp b/src/mame/drivers/rungun.cpp
index 5e5dfccdf8e..0646ccd52d6 100644
--- a/src/mame/drivers/rungun.cpp
+++ b/src/mame/drivers/rungun.cpp
@@ -109,7 +109,7 @@ WRITE16_MEMBER(rungun_state::sysregs_w)
membank("spriteram_bank")->set_entry((data & 0x80) >> 7);
m_video_mux_bank = ((data & 0x80) >> 7) ^ 1;
ioport("EEPROMOUT")->write(data, 0xff);
-
+
machine().bookkeeping().coin_counter_w(0, data & 0x08);
machine().bookkeeping().coin_counter_w(1, data & 0x10);
}
@@ -383,7 +383,7 @@ void rungun_state::machine_start()
save_item(NAME(m_sound_status));
save_item(NAME(m_sound_nmi_clk));
//save_item(NAME(m_ttl_vram));
-
+
}
void rungun_state::machine_reset()
diff --git a/src/mame/drivers/seicupbl.cpp b/src/mame/drivers/seicupbl.cpp
index f2000226e59..755543816fe 100644
--- a/src/mame/drivers/seicupbl.cpp
+++ b/src/mame/drivers/seicupbl.cpp
@@ -163,18 +163,18 @@ void seicupbl_state::draw_sprites(screen_device &screen, bitmap_ind16 &bitmap,co
switch (cur_pri)
{
// gumdam swamp monster l2
- case 0: pri_mask = -256; break;
+ case 0: pri_mask = -256; break;
// (players and football goal, should go above sidelines but behind portraits when there's a goal)
case 1: pri_mask = 0xfff0; break;
// masking effect for gundam l2 monster
- case 2: pri_mask = -4; break;
+ case 2: pri_mask = -4; break;
// cupsoc (radar dots)
- case 3: pri_mask = 0x0000; break;
+ case 3: pri_mask = 0x0000; break;
// gundam level 2/3 player
case 4: pri_mask = -32; break;
//case 5: pri_mask = 0; break;
// insert coin in gundam
- case 6: pri_mask = 0; break;
+ case 6: pri_mask = 0; break;
//case 7: pri_mask = 0; break;
default: printf("unhandled pri %d\n",cur_pri); pri_mask=0;
@@ -292,16 +292,16 @@ uint32_t seicupbl_state::screen_update( screen_device &screen, bitmap_ind16 &bit
m_sc_layer[i]->set_scrolly(0, m_vregs[i*2+1]);
}
- if (!(m_layer_disable&0x0001))
+ if (!(m_layer_disable&0x0001))
m_sc_layer[0]->draw(screen, bitmap, cliprect, 0, 1);
-
- if (!(m_layer_disable&0x0002))
+
+ if (!(m_layer_disable&0x0002))
m_sc_layer[1]->draw(screen, bitmap, cliprect, 0, 2);
-
- if (!(m_layer_disable&0x0004))
+
+ if (!(m_layer_disable&0x0004))
m_sc_layer[2]->draw(screen, bitmap, cliprect, 0, 4);
-
- if (!(m_layer_disable&0x0008))
+
+ if (!(m_layer_disable&0x0008))
m_sc_layer[3]->draw(screen, bitmap, cliprect, 0, 8);
if (!(m_layer_disable&0x0010))
diff --git a/src/mame/drivers/seta2.cpp b/src/mame/drivers/seta2.cpp
index 3b79cc77028..02d86d8226e 100644
--- a/src/mame/drivers/seta2.cpp
+++ b/src/mame/drivers/seta2.cpp
@@ -4258,7 +4258,7 @@ ROM_START( trophyh ) /* Version 1.00 - v: Thu Mar 28 12:35:50 2002 JST-9 - on a
ROM_REGION( 0x500000, "x1snd", 0 ) // Samples
// Leave 1MB empty (addressable by the chip)
- ROM_LOAD( "as1105m01.u18", 0x100000, 0x400000, CRC(633d0df8) SHA1(3401c424f5c207ef438a9269e0c0e7d482771fed) )
+ ROM_LOAD( "as1105m01.u18", 0x100000, 0x400000, CRC(633d0df8) SHA1(3401c424f5c207ef438a9269e0c0e7d482771fed) )
ROM_END
ROM_START( trophyht ) /* V1.00 Location Test - v: Tue Feb 26 18:18:43 2002 JST-9 - on a P0-145-1 main PCB with a P1-115A flash ROM board */
diff --git a/src/mame/drivers/simpl156.cpp b/src/mame/drivers/simpl156.cpp
index 3b0fac1d6c2..5468f372058 100644
--- a/src/mame/drivers/simpl156.cpp
+++ b/src/mame/drivers/simpl156.cpp
@@ -1056,8 +1056,8 @@ void simpl156_state::init_simpl156()
for (uint32_t x = 0; x < length; x++)
{
uint32_t addr = bitswap<24> (x,23,
- 22,21, 0,20,
- 19,18,17,16,
+ 22,21, 0,20,
+ 19,18,17,16,
15,14,13,12,
11,10, 9, 8,
7, 6, 5, 4,
diff --git a/src/mame/drivers/subsino.cpp b/src/mame/drivers/subsino.cpp
index e840760a910..3c2b9440e22 100644
--- a/src/mame/drivers/subsino.cpp
+++ b/src/mame/drivers/subsino.cpp
@@ -964,7 +964,7 @@ WRITE8_MEMBER(subsino_state::out_c_w)
for (uint8_t reel = 0; reel < 3; reel++)
m_reel_tilemap[reel]->mark_all_dirty();
-// popmessage("data %02x\n",data);
+// popmessage("data %02x\n",data);
}
void subsino_state::tisub_map(address_map &map)
diff --git a/src/mame/drivers/taitogn.cpp b/src/mame/drivers/taitogn.cpp
index 80130271701..895286ab5a5 100644
--- a/src/mame/drivers/taitogn.cpp
+++ b/src/mame/drivers/taitogn.cpp
@@ -592,7 +592,7 @@ READ32_MEMBER(taitogn_state::zsg2_ext_r)
switch (offset & 0x300000)
{
case 0x000000:
- case 0x100000:
+ case 0x100000:
case 0x200000: return m_sndflash[offset >> 20]->read(offset & 0xfffff) | m_sndflash[offset >> 20]->read((offset & 0xfffff) | 1) << 16;
default:
diff --git a/src/mame/drivers/tatsumi.cpp b/src/mame/drivers/tatsumi.cpp
index e85364ac1e6..2db25057156 100644
--- a/src/mame/drivers/tatsumi.cpp
+++ b/src/mame/drivers/tatsumi.cpp
@@ -27,7 +27,7 @@
changes the size at runtime.
Big Fight/Cyclewarriors - misc graphics problems.
Cyclewarriors - test mode text does not appear as it needs a -256 Y scroll offset from somewhere.
-
+
reference of bigfight : https://youtu.be/aUUoUCr6yhk
Emulation by Bryan McPhail, mish@tendril.co.uk
@@ -1028,7 +1028,7 @@ MACHINE_CONFIG_START(cyclwarr_state::cyclwarr)
SPEAKER(config, "rspeaker").front_right();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
-// MCFG_GENERIC_LATCH_DATA_PENDING_CB(INPUTLINE("audiocpu", INPUT_LINE_NMI))
+// MCFG_GENERIC_LATCH_DATA_PENDING_CB(INPUTLINE("audiocpu", INPUT_LINE_NMI))
MCFG_DEVICE_ADD("ymsnd", YM2151, CLOCK_1 / 4)
MCFG_YM2151_IRQ_HANDLER(INPUTLINE("audiocpu", INPUT_LINE_IRQ0))
@@ -1088,7 +1088,7 @@ MACHINE_CONFIG_START(cyclwarr_state::bigfight)
SPEAKER(config, "rspeaker").front_right();
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
-// MCFG_GENERIC_LATCH_DATA_PENDING_CB(INPUTLINE("audiocpu", INPUT_LINE_NMI))
+// MCFG_GENERIC_LATCH_DATA_PENDING_CB(INPUTLINE("audiocpu", INPUT_LINE_NMI))
MCFG_DEVICE_ADD("ymsnd", YM2151, CLOCK_1 / 4)
MCFG_YM2151_IRQ_HANDLER(INPUTLINE("audiocpu", INPUT_LINE_IRQ0))
diff --git a/src/mame/drivers/vamphalf.cpp b/src/mame/drivers/vamphalf.cpp
index 54fd538e360..e0a3fc4017f 100644
--- a/src/mame/drivers/vamphalf.cpp
+++ b/src/mame/drivers/vamphalf.cpp
@@ -138,7 +138,7 @@ public:
DECLARE_WRITE32_MEMBER(eeprom32_w);
DECLARE_WRITE16_MEMBER(flipscreen_w);
DECLARE_WRITE32_MEMBER(flipscreen32_w);
-
+
void banked_oki(int chip);
void common_map(address_map &map);
@@ -2845,7 +2845,7 @@ ROMs:
VROM1/VROM2 - ST M27C4001 4MBit DIP32 EPROM
ROM0/ROM1 - ST M27C4001 4MBit DIP32 EPROM
* ROM2/ROM3 - Unpopulated space for DIP32 EPROM (up to 4MBit)
-
+
*/
ROM_START( boonggab )
diff --git a/src/mame/drivers/vii.cpp b/src/mame/drivers/vii.cpp
index 4bbfd165317..982136b61b6 100644
--- a/src/mame/drivers/vii.cpp
+++ b/src/mame/drivers/vii.cpp
@@ -1289,7 +1289,7 @@ void spg2xx_cart_state::machine_start()
void spg2xx_game_state::machine_start()
{
- memset(m_video_regs, 0, 0x100 * sizeof(m_video_regs[0]));
+ memset(m_video_regs, 0, 0x100 * sizeof(m_video_regs[0]));
memset(m_io_regs, 0, 0x200 * sizeof(m_io_regs[0]));
m_current_bank = 0;
diff --git a/src/mame/drivers/witch.cpp b/src/mame/drivers/witch.cpp
index c7548f3089e..5e0f6f0181c 100644
--- a/src/mame/drivers/witch.cpp
+++ b/src/mame/drivers/witch.cpp
@@ -217,7 +217,7 @@ Interesting memory locations
TODO :
- Figure out the ports for the "PayOut" stuff (a006/a00c?);
- Hook up the OKI M5202;
- - lagging sprites on witch (especially noticeable when game scrolls up/down)
+ - lagging sprites on witch (especially noticeable when game scrolls up/down)
*/
#include "emu.h"
@@ -461,7 +461,7 @@ WRITE8_MEMBER(keirinou_state::write_keirinou_a002)
m_bg_bank = new_bg_bank;
m_gfx1_tilemap->mark_all_dirty();
}
-// m_mainbank->set_entry((data >> 6) & 3);
+// m_mainbank->set_entry((data >> 6) & 3);
}
WRITE8_MEMBER(witch_state::write_a006)
@@ -849,8 +849,8 @@ static INPUT_PORTS_START( keirinou )
PORT_DIPSETTING( 0x05, "90%" )
PORT_DIPSETTING( 0x04, "95%" )
PORT_DIPSETTING( 0x03, "100%" )
-// PORT_DIPSETTING( 0x01, "80%" )
-// PORT_DIPSETTING( 0x00, "90%" )
+// PORT_DIPSETTING( 0x01, "80%" )
+// PORT_DIPSETTING( 0x00, "90%" )
PORT_DIPNAME( 0x08, 0x08, "Double-Up Rate" )
PORT_DIPSETTING( 0x08, "90%" )
PORT_DIPSETTING( 0x00, "100%" )
@@ -1026,7 +1026,7 @@ MACHINE_CONFIG_START(keirinou_state::keirinou)
MCFG_PALETTE_ADD("palette", 0x200+0x80)
MCFG_GFXDECODE_MODIFY("gfxdecode", gfx_keirinou)
-// MCFG_PALETTE_FORMAT(IIBBGGRR)
+// MCFG_PALETTE_FORMAT(IIBBGGRR)
MCFG_DEVICE_MODIFY("ppi1") // Keirin Ou does have two individual PPIs (NEC D8255AC-2)
MCFG_I8255_OUT_PORTC_CB(WRITE8(*this, keirinou_state, write_keirinou_a002))
@@ -1137,20 +1137,20 @@ ROM_END
ROM_START( keirinou ) /* ES8611 PCB */
ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
- ROM_LOAD( "y5-03.y5", 0x000000, 0x008000, CRC(df2acc37) SHA1(9ad953843ba7859a55888fb87591cc8d322136ad) )
+ ROM_LOAD( "y5-03.y5", 0x000000, 0x008000, CRC(df2acc37) SHA1(9ad953843ba7859a55888fb87591cc8d322136ad) )
ROM_REGION( 0x10000, "sub", ROMREGION_ERASE00 )
- ROM_LOAD( "y8.y8", 0x000000, 0x008000, CRC(b34111ac) SHA1(4ed7229846adbb27695bf3dd532247b1f8f6e83e) )
+ ROM_LOAD( "y8.y8", 0x000000, 0x008000, CRC(b34111ac) SHA1(4ed7229846adbb27695bf3dd532247b1f8f6e83e) )
// rearranged so that it fits available gfx decode
ROM_REGION( 0x10000, "gfx1", ROMREGION_ERASE00 )
ROM_LOAD( "a6.a6", 0x0000, 0x4000, CRC(6d59a5e4) SHA1(4580756ee7db4a088ad02cd56f78fd55fef6ec0a) )
ROM_CONTINUE( 0x8000, 0x4000 )
- ROM_LOAD( "c6-02.c6", 0x4000, 0x4000, CRC(c3ecc620) SHA1(9d5e18acef2ad48b8f1c4ed5bb002bb48ab6e7a7) )
+ ROM_LOAD( "c6-02.c6", 0x4000, 0x4000, CRC(c3ecc620) SHA1(9d5e18acef2ad48b8f1c4ed5bb002bb48ab6e7a7) )
ROM_CONTINUE( 0xc000, 0x4000 )
ROM_REGION( 0x10000, "gfx2", ROMREGION_ERASE00 )
- ROM_LOAD( "k5.k5", 0x0000, 0x04000, CRC(1ba6d1c0) SHA1(95203af518c52d731969086e326c9335dee8c465) )
+ ROM_LOAD( "k5.k5", 0x0000, 0x04000, CRC(1ba6d1c0) SHA1(95203af518c52d731969086e326c9335dee8c465) )
ROM_CONTINUE( 0x8000, 0x04000 )
ROM_CONTINUE( 0x4000, 0x04000 )
ROM_CONTINUE( 0xc000, 0x04000 )