summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame
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
parentdecf1fd1fa17a45e2547c5b8d059da3665fb971b (diff)
srcclean (nw)
Diffstat (limited to 'src/mame')
-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
-rw-r--r--src/mame/includes/abc80x.h4
-rw-r--r--src/mame/includes/exterm.h2
-rw-r--r--src/mame/includes/fmtowns.h2
-rw-r--r--src/mame/includes/fuukifg2.h2
-rw-r--r--src/mame/includes/jaguar.h2
-rw-r--r--src/mame/includes/markham.h2
-rw-r--r--src/mame/includes/poly.h2
-rw-r--r--src/mame/includes/sub.h8
-rw-r--r--src/mame/includes/supbtime.h2
-rw-r--r--src/mame/includes/tatsumi.h2
-rw-r--r--src/mame/includes/tp84.h2
-rw-r--r--src/mame/layout/irrmaze.lay4
-rw-r--r--src/mame/machine/dc-ctrl.cpp4
-rw-r--r--src/mame/machine/dc-ctrl.h6
-rw-r--r--src/mame/machine/hal2.h2
-rw-r--r--src/mame/machine/interpro_ioga.cpp2
-rw-r--r--src/mame/machine/konppc.cpp4
-rw-r--r--src/mame/machine/model1io2.cpp84
-rw-r--r--src/mame/machine/naomi.cpp6
-rw-r--r--src/mame/machine/nb1412m2.cpp96
-rw-r--r--src/mame/machine/nb1412m2.h6
-rw-r--r--src/mame/machine/pgmprot_igs027a_type3.h2
-rw-r--r--src/mame/machine/poly.cpp44
-rw-r--r--src/mame/machine/seibucop/seibucop.cpp16
-rw-r--r--src/mame/machine/seicopbl.cpp108
-rw-r--r--src/mame/machine/seicopbl.h2
-rw-r--r--src/mame/mame.lst4
-rw-r--r--src/mame/video/deadang.cpp32
-rw-r--r--src/mame/video/sub.cpp6
-rw-r--r--src/mame/video/supbtime.cpp8
-rw-r--r--src/mame/video/tatsumi.cpp4
65 files changed, 384 insertions, 384 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 )
diff --git a/src/mame/includes/abc80x.h b/src/mame/includes/abc80x.h
index 81405a0d100..c3f61f25cbe 100644
--- a/src/mame/includes/abc80x.h
+++ b/src/mame/includes/abc80x.h
@@ -59,11 +59,11 @@
#define Z80SIO_TAG "z80sio"
#define Z80DART_TAG "z80dart"
#define DISCRETE_TAG "discrete"
-#define CASSETTE_TAG "cassette"
+#define CASSETTE_TAG "cassette"
#define RS232_A_TAG "rs232a"
#define RS232_B_TAG "rs232b"
#define ABC_KEYBOARD_PORT_TAG "kb"
-#define TIMER_CTC_TAG "timer_ctc"
+#define TIMER_CTC_TAG "timer_ctc"
#define TIMER_CASSETTE_TAG "timer_cass"
diff --git a/src/mame/includes/exterm.h b/src/mame/includes/exterm.h
index 22a29c32534..e913b844be3 100644
--- a/src/mame/includes/exterm.h
+++ b/src/mame/includes/exterm.h
@@ -26,7 +26,7 @@ public:
m_master_videoram(*this, "master_videoram"),
m_slave_videoram(*this, "slave_videoram"),
m_dial(*this, "DIAL%u", 0U),
- m_input(*this, "P%u", 1U) { }
+ m_input(*this, "P%u", 1U) { }
void exterm(machine_config &config);
diff --git a/src/mame/includes/fmtowns.h b/src/mame/includes/fmtowns.h
index fd69c8f3d03..ca7376ab6d7 100644
--- a/src/mame/includes/fmtowns.h
+++ b/src/mame/includes/fmtowns.h
@@ -147,7 +147,7 @@ class towns_state : public driver_device
required_device<rs232_port_device> m_rs232;
required_device<screen_device> m_screen;
required_device<msm58321_device> m_rtc;
-
+
required_memory_bank m_bank_cb000_r;
required_memory_bank m_bank_cb000_w;
required_memory_bank m_bank_f8000_r;
diff --git a/src/mame/includes/fuukifg2.h b/src/mame/includes/fuukifg2.h
index 73552fadf31..e0dcb2dfa7e 100644
--- a/src/mame/includes/fuukifg2.h
+++ b/src/mame/includes/fuukifg2.h
@@ -48,7 +48,7 @@ public:
required_shared_ptr<uint16_t> m_vregs;
required_shared_ptr<uint16_t> m_unknown;
required_shared_ptr<uint16_t> m_priority;
-
+
required_memory_bank m_soundbank;
/* video-related */
diff --git a/src/mame/includes/jaguar.h b/src/mame/includes/jaguar.h
index dc0d7cd0f79..db839dbe7e1 100644
--- a/src/mame/includes/jaguar.h
+++ b/src/mame/includes/jaguar.h
@@ -95,7 +95,7 @@ public:
optional_memory_region m_romboard_region;
optional_shared_ptr<uint32_t> m_mainram;
optional_shared_ptr<uint32_t> m_mainram2;
-
+
optional_memory_bank m_maingfxbank;
optional_memory_bank m_gpugfxbank;
optional_memory_bank m_mainsndbank;
diff --git a/src/mame/includes/markham.h b/src/mame/includes/markham.h
index cc12d4d7a36..11349331224 100644
--- a/src/mame/includes/markham.h
+++ b/src/mame/includes/markham.h
@@ -115,4 +115,4 @@ private:
uint8_t m_coin2_lock_cnt;
};
-#endif // MAME_INCLUDES_MARKHAM_H \ No newline at end of file
+#endif // MAME_INCLUDES_MARKHAM_H
diff --git a/src/mame/includes/poly.h b/src/mame/includes/poly.h
index 35271ad7e84..bcfa1421a7c 100644
--- a/src/mame/includes/poly.h
+++ b/src/mame/includes/poly.h
@@ -66,7 +66,7 @@ public:
, m_adlc(*this, "mc6854")
, m_ptm(*this, "ptm")
, m_irqs(*this, "irqs")
-// , m_kr2376(*this, "kr2376")
+// , m_kr2376(*this, "kr2376")
, m_kbd(*this, "X%u", 0)
, m_modifiers(*this, "MODIFIERS")
, m_speaker(*this, "speaker")
diff --git a/src/mame/includes/sub.h b/src/mame/includes/sub.h
index 6b531ca2453..7eedaa418c8 100644
--- a/src/mame/includes/sub.h
+++ b/src/mame/includes/sub.h
@@ -56,14 +56,14 @@ public:
void subm_map(address_map &map);
void subm_sound_io(address_map &map);
void subm_sound_map(address_map &map);
-
+
protected:
virtual void machine_start() override;
virtual void video_start() override;
-
+
private:
tilemap_t *m_tilemap;
-
+
required_device<cpu_device> m_maincpu;
required_device<cpu_device> m_soundcpu;
required_device<gfxdecode_device> m_gfxdecode;
@@ -75,7 +75,7 @@ private:
required_shared_ptr<uint8_t> m_spriteram;
required_shared_ptr<uint8_t> m_spriteram2;
required_shared_ptr<uint8_t> m_scrolly;
-
+
void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect);
};
diff --git a/src/mame/includes/supbtime.h b/src/mame/includes/supbtime.h
index 01316b61474..dd48e89d15e 100644
--- a/src/mame/includes/supbtime.h
+++ b/src/mame/includes/supbtime.h
@@ -2,7 +2,7 @@
// copyright-holders: Bryan McPhail, David Haywood, Dirk Best
/***************************************************************************
- Super Burger Time
+ Super Burger Time
***************************************************************************/
diff --git a/src/mame/includes/tatsumi.h b/src/mame/includes/tatsumi.h
index ef72037a996..9380a6fc62e 100644
--- a/src/mame/includes/tatsumi.h
+++ b/src/mame/includes/tatsumi.h
@@ -213,7 +213,7 @@ private:
required_shared_ptr<uint16_t> m_cyclwarr_cpub_ram;
required_shared_ptr_array<uint16_t, 2> m_cyclwarr_videoram;
required_region_ptr<uint8_t> m_cyclwarr_tileclut;
-
+
std::vector<uint8_t> m_mask;
tilemap_t *m_layer[4];
diff --git a/src/mame/includes/tp84.h b/src/mame/includes/tp84.h
index 7d38587e2c3..999e594e3cf 100644
--- a/src/mame/includes/tp84.h
+++ b/src/mame/includes/tp84.h
@@ -80,4 +80,4 @@ public:
void tp84b_cpu1_map(address_map &map);
};
-#endif // MAME_INCLUDES_TP84 \ No newline at end of file
+#endif // MAME_INCLUDES_TP84
diff --git a/src/mame/layout/irrmaze.lay b/src/mame/layout/irrmaze.lay
index ab1eefce7c8..8afa551b1e7 100644
--- a/src/mame/layout/irrmaze.lay
+++ b/src/mame/layout/irrmaze.lay
@@ -25,7 +25,7 @@ copyright-holders:Vas Crabb
<rect state="0"><color red="0.4" green="0.4" blue="0.4" /></rect>
<rect state="1"><color red="1" green="0.3" blue="0.2" /></rect>
</element>
-
+
<element name="timerlamp">
<disk state="0"><color red="0.3" green="0" blue="0" /></disk>
<disk state="1"><color red="1" green="0.3" blue="0.1" /></disk>
@@ -70,7 +70,7 @@ copyright-holders:Vas Crabb
<bezel element="marquee"><bounds x="0" y="0" width="23" height="2.5" /></bezel>
<bezel element="colorlamp" name="sit13"><bounds x="0" y="0" width="11.5" height="1" /></bezel>
- <bezel element="colorlamp" name="sit12"><bounds x="11.5" y="0" width="11.5" height="1" /></bezel>
+ <bezel element="colorlamp" name="sit12"><bounds x="11.5" y="0" width="11.5" height="1" /></bezel>
<bezel element="timerlamp" name="sit9"><bounds x="2" y="1.25" width="1" height="1" /></bezel>
<bezel element="timerlamp" name="sit8"><bounds x="4" y="1.25" width="1" height="1" /></bezel>
<bezel element="timerlamp" name="sit7"><bounds x="6" y="1.25" width="1" height="1" /></bezel>
diff --git a/src/mame/machine/dc-ctrl.cpp b/src/mame/machine/dc-ctrl.cpp
index 36b56ab73e0..30861245381 100644
--- a/src/mame/machine/dc-ctrl.cpp
+++ b/src/mame/machine/dc-ctrl.cpp
@@ -55,7 +55,7 @@ void dc_common_device::maple_w(const uint32_t *data, uint32_t in_size)
break;
}
}
-
+
/*******************************
*
* Dreamcast Controller
@@ -140,7 +140,7 @@ void dc_keyboard_device::fixed_status(uint32_t *dest)
dest[1] = 0x00201000; // 1st function
dest[2] = 0x00000008; // No 2nd function (doc returns 8 here tho?)
dest[3] = 0x00000000; // No 3rd function
- dest[4] = region;
+ dest[4] = region;
copy_with_spaces(((uint8_t *)dest) + 18, model, 30);
copy_with_spaces(((uint8_t *)dest) + 48, license, 60);
dest[27] = electric_current;
diff --git a/src/mame/machine/dc-ctrl.h b/src/mame/machine/dc-ctrl.h
index 51b040be08e..3b0aab2898d 100644
--- a/src/mame/machine/dc-ctrl.h
+++ b/src/mame/machine/dc-ctrl.h
@@ -50,14 +50,14 @@ protected:
uint32_t id;
uint32_t electric_current;
uint32_t region;
-
+
ioport_port *port[8];
-
+
virtual void fixed_status(uint32_t *dest) = 0;
virtual void free_status(uint32_t *dest) = 0;
virtual void read(uint32_t *dest) = 0;
};
-
+
class dc_controller_device : public dc_common_device
{
public:
diff --git a/src/mame/machine/hal2.h b/src/mame/machine/hal2.h
index c835fa69cab..4a0025c60b0 100644
--- a/src/mame/machine/hal2.h
+++ b/src/mame/machine/hal2.h
@@ -63,4 +63,4 @@ protected:
DECLARE_DEVICE_TYPE(SGI_HAL2, hal2_device)
-#endif // MAME_MACHINE_HAL2_H \ No newline at end of file
+#endif // MAME_MACHINE_HAL2_H
diff --git a/src/mame/machine/interpro_ioga.cpp b/src/mame/machine/interpro_ioga.cpp
index ee620503745..df0a601ce73 100644
--- a/src/mame/machine/interpro_ioga.cpp
+++ b/src/mame/machine/interpro_ioga.cpp
@@ -915,7 +915,7 @@ WRITE32_MEMBER(interpro_ioga_device::timer0_w)
// restart the timer
//if (m_prescaler & 0xffff)
- // m_timer0->adjust(attotime::zero, 0, attotime::from_ticks(m_prescaler & 0xffff, 60_Hz_XTAL));
+ // m_timer0->adjust(attotime::zero, 0, attotime::from_ticks(m_prescaler & 0xffff, 60_Hz_XTAL));
//else
m_timer0->adjust(attotime::zero, 0, attotime::from_hz(60_Hz_XTAL));
}
diff --git a/src/mame/machine/konppc.cpp b/src/mame/machine/konppc.cpp
index b1047a87d2a..866e8eee884 100644
--- a/src/mame/machine/konppc.cpp
+++ b/src/mame/machine/konppc.cpp
@@ -129,8 +129,8 @@ WRITE32_MEMBER( konppc_device::cgboard_dsp_comm_w_ppc )
if (cgboard_id < MAX_CG_BOARDS)
{
- cpu_device &dsp = *m_dsp[cgboard_id];
- if (offset == 0)
+ cpu_device &dsp = *m_dsp[cgboard_id];
+ if (offset == 0)
{
if (ACCESSING_BITS_24_31)
{
diff --git a/src/mame/machine/model1io2.cpp b/src/mame/machine/model1io2.cpp
index 9dff2ed14ed..28fe3d153da 100644
--- a/src/mame/machine/model1io2.cpp
+++ b/src/mame/machine/model1io2.cpp
@@ -4,45 +4,45 @@
Sega Model 1 I/O Board (Advanced)
- Used by:
- - Wing War (R360) (837-10859)
- - NetMerc (837-11659)
- - Virtua Cop (837-11130 with 837-11131)
-
- Diagnostic LCD:
-
- It's possible to attach a small LCD to the board and enable a
- diagnostic mode. To try this in MAME, enable the 'Diagnostic'
- view, then map keys to I/O board buttons. Hold button 0 and
- press F3 to reset. The main screen will display 'I/O board error'
- but the LCD at the bottom is now active. Control it with board
- buttons 0 (up), 1 (down) and 2 (select).
-
- It's also possible to show some debug values while the game is
- running. To do this, hold board button '1' and push reset. Use
- buttons 0 and 1 to scroll the screen.
-
- Debug mode:
-
- You can attach a terminal to SIO channel B. Attach it to the
- MAME slot option 'ioboard:cn8'. You need to enable both JP3
- and JP4 jumpers and hold board button 0 at startup.
-
- Default settings are 9600-8-N-1. It will output "RS".
- You can then enter the following commands:
-
- - DT[word1][word2]: Returns word2 bytes from location word1
- - GO: ?
- - IN[byte1]: Return value from I/O port byte1
- - LH: ?
- - OP[byte1][byte2]: Write value byte2 to I/O port byte1
- - T: Nothing
- - XR: Return 26 bytes starting at location ff07
- - XM[26 bytes]: Write 26 bytes to location starting at ff07
- - ZP[word1][word2]: ff03=word1, ff05=word2
- - VR: Return id string
-
- NMI is related to the debug mode, not hooked up.
+ Used by:
+ - Wing War (R360) (837-10859)
+ - NetMerc (837-11659)
+ - Virtua Cop (837-11130 with 837-11131)
+
+ Diagnostic LCD:
+
+ It's possible to attach a small LCD to the board and enable a
+ diagnostic mode. To try this in MAME, enable the 'Diagnostic'
+ view, then map keys to I/O board buttons. Hold button 0 and
+ press F3 to reset. The main screen will display 'I/O board error'
+ but the LCD at the bottom is now active. Control it with board
+ buttons 0 (up), 1 (down) and 2 (select).
+
+ It's also possible to show some debug values while the game is
+ running. To do this, hold board button '1' and push reset. Use
+ buttons 0 and 1 to scroll the screen.
+
+ Debug mode:
+
+ You can attach a terminal to SIO channel B. Attach it to the
+ MAME slot option 'ioboard:cn8'. You need to enable both JP3
+ and JP4 jumpers and hold board button 0 at startup.
+
+ Default settings are 9600-8-N-1. It will output "RS".
+ You can then enter the following commands:
+
+ - DT[word1][word2]: Returns word2 bytes from location word1
+ - GO: ?
+ - IN[byte1]: Return value from I/O port byte1
+ - LH: ?
+ - OP[byte1][byte2]: Write value byte2 to I/O port byte1
+ - T: Nothing
+ - XR: Return 26 bytes starting at location ff07
+ - XM[26 bytes]: Write 26 bytes to location starting at ff07
+ - ZP[word1][word2]: ff03=word1, ff05=word2
+ - VR: Return id string
+
+ NMI is related to the debug mode, not hooked up.
***************************************************************************/
@@ -72,10 +72,10 @@ void model1io2_device::mem_map(address_map &map)
map(0x8040, 0x8040).portr("board");
map(0x8080, 0x8080).portr("dsw1");
map(0x8100, 0x810f).rw(this, FUNC(model1io2_device::fpga_r), FUNC(model1io2_device::fpga_w));
-// map(0x8180, 0x8183).nopr(); // displayed as 4 byte values in the diagnostic screen
-// map(0x81a0, 0x81af).nopw(); // the (reserved) test in the diagnostic screen sets these
+// map(0x8180, 0x8183).nopr(); // displayed as 4 byte values in the diagnostic screen
+// map(0x81a0, 0x81af).nopw(); // the (reserved) test in the diagnostic screen sets these
map(0x8200, 0x8203).mirror(0x04).rw("adc", FUNC(msm6253_device::d0_r), FUNC(msm6253_device::address_w));
-// map(0x8400, 0x8400) // jumps here when debug mode is set and board button 0 is not active on reset
+// map(0x8400, 0x8400) // jumps here when debug mode is set and board button 0 is not active on reset
map(0xe000, 0xefff).ram(); // backup ram
map(0xf000, 0xffff).ram();
}
diff --git a/src/mame/machine/naomi.cpp b/src/mame/machine/naomi.cpp
index dcaf49d86ac..e4ecf881d6a 100644
--- a/src/mame/machine/naomi.cpp
+++ b/src/mame/machine/naomi.cpp
@@ -251,7 +251,7 @@ CUSTOM_INPUT_MEMBER(naomi_state::naomi_mp_r)
CUSTOM_INPUT_MEMBER(naomi_state::naomi_kb_r)
{
// TODO: player 2 input reading
-// const int *tagptr = (const int *)param;
+// const int *tagptr = (const int *)param;
uint8_t retval = 0;
static const char *const keynames[] =
{
@@ -261,10 +261,10 @@ CUSTOM_INPUT_MEMBER(naomi_state::naomi_kb_r)
for(int i=0;i<5;i++)
{
uint32_t row;
-
+
// read the current row
row = ioport(keynames[i])->read();
-
+
// if anything is pressed, convert the 32-bit raw value to keycode
if(row != 0)
{
diff --git a/src/mame/machine/nb1412m2.cpp b/src/mame/machine/nb1412m2.cpp
index f25e354fa5c..2af537f0a53 100644
--- a/src/mame/machine/nb1412m2.cpp
+++ b/src/mame/machine/nb1412m2.cpp
@@ -7,50 +7,50 @@ Nichibutsu 1412M2 device emulation
Written by Angelo Salese
Fancy data decrypter + timer + ?
-Most creative usage is hooked up in Mighty Guy sound CPU,
-other games just uses it as a much simpler protection chip providing code
+Most creative usage is hooked up in Mighty Guy sound CPU,
+other games just uses it as a much simpler protection chip providing code
snippets.
-It is unknown at current stage if inside the chip there's a MCU
+It is unknown at current stage if inside the chip there's a MCU
(with internal ROM).
TODO:
-- main sound timer is "jumpy" (like BGM tempo gets screwy then fixes itself somehow),
+- main sound timer is "jumpy" (like BGM tempo gets screwy then fixes itself somehow),
fiddling with port 0x90 seems to improve things, why?
- DAC timer is guessworked;
Legacy notes from drivers:
-- m_mAmazonProtReg[4] bit 0 used on hiscore data (clear on code),
- 0x29f vs 0x29e (not an offset?)
+- m_mAmazonProtReg[4] bit 0 used on hiscore data (clear on code),
+ 0x29f vs 0x29e (not an offset?)
- static const uint16_t mAmazonProtData[] =
{
- 0x0000,0x5000,0x5341,0x4b45,0x5349,0x4755,0x5245, <- default high scores (0x40db4) - wrong data ?
- 0x0000,0x4000,0x0e4b,0x4154,0x5544,0x4f4e,0x0e0e,
- 0x0000,0x3000,0x414e,0x4b41,0x4b45,0x5544,0x4f4e,
- 0x0000,0x2000,0x0e0e,0x4b49,0x5455,0x4e45,0x0e0e,
- 0x0000,0x1000,0x0e4b,0x414b,0x4553,0x4f42,0x410e,
-
- 0x4ef9,0x0000,0x62fa,0x0000,0x4ef9,0x0000,0x805E,0x0000, <- code (0x40d92)
- 0xc800 <- checksum
+ 0x0000,0x5000,0x5341,0x4b45,0x5349,0x4755,0x5245, <- default high scores (0x40db4) - wrong data ?
+ 0x0000,0x4000,0x0e4b,0x4154,0x5544,0x4f4e,0x0e0e,
+ 0x0000,0x3000,0x414e,0x4b41,0x4b45,0x5544,0x4f4e,
+ 0x0000,0x2000,0x0e0e,0x4b49,0x5455,0x4e45,0x0e0e,
+ 0x0000,0x1000,0x0e4b,0x414b,0x4553,0x4f42,0x410e,
+
+ 0x4ef9,0x0000,0x62fa,0x0000,0x4ef9,0x0000,0x805E,0x0000, <- code (0x40d92)
+ 0xc800 <- checksum
};
- static const uint16_t mAmatelasProtData[] =
{
- 0x0000,0x5000,0x5341,0x4b45,0x5349,0x4755,0x5245, <- default high scores (0x40db4)
- 0x0000,0x4000,0x0e4b,0x4154,0x5544,0x4f4e,0x0e0e,
- 0x0000,0x3000,0x414e,0x4b41,0x4b45,0x5544,0x4f4e,
- 0x0000,0x2000,0x0e0e,0x4b49,0x5455,0x4e45,0x0e0e,
- 0x0000,0x1000,0x0e4b,0x414b,0x4553,0x4f42,0x410e,
- 0x4ef9,0x0000,0x632e,0x0000,0x4ef9,0x0000,0x80C2,0x0000, <- code (0x40d92)
- 0x6100 <- checksum
+ 0x0000,0x5000,0x5341,0x4b45,0x5349,0x4755,0x5245, <- default high scores (0x40db4)
+ 0x0000,0x4000,0x0e4b,0x4154,0x5544,0x4f4e,0x0e0e,
+ 0x0000,0x3000,0x414e,0x4b41,0x4b45,0x5544,0x4f4e,
+ 0x0000,0x2000,0x0e0e,0x4b49,0x5455,0x4e45,0x0e0e,
+ 0x0000,0x1000,0x0e4b,0x414b,0x4553,0x4f42,0x410e,
+ 0x4ef9,0x0000,0x632e,0x0000,0x4ef9,0x0000,0x80C2,0x0000, <- code (0x40d92)
+ 0x6100 <- checksum
};
- static const uint16_t mHoreKidProtData[] =
{
- 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, <- N/A
- 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
- 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
- 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
- 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
- 0x4e75,0x4e75,0x4e75,0x4e75,0x4e75,0x4e75,0x4e75,0x4e75, <- code (0x40dba) It actually never jumps there?
- 0x1800 <- checksum
+ 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, <- N/A
+ 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
+ 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
+ 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
+ 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
+ 0x4e75,0x4e75,0x4e75,0x4e75,0x4e75,0x4e75,0x4e75,0x4e75, <- code (0x40dba) It actually never jumps there?
+ 0x1800 <- checksum
};
- mightguy:
@@ -70,7 +70,7 @@ Legacy notes from drivers:
*
* 0x92: data in/out (for dac?)
* 0x94: test register? (W 0xaa, checks if R 0xaa)
-
+
***************************************************************************/
#include "emu.h"
@@ -97,23 +97,23 @@ void nb1412m2_device::nb1412m2_map(address_map &map)
map(0x33, 0x34).w(this, FUNC(nb1412m2_device::rom_address_w));
map(0x35, 0x36).w(this, FUNC(nb1412m2_device::rom_adjust_w));
map(0x37, 0x37).r(this, FUNC(nb1412m2_device::rom_decrypt_r));
-
+
// timer
map(0x40, 0x40).w(this, FUNC(nb1412m2_device::timer_w));
map(0x41, 0x41).rw(this, FUNC(nb1412m2_device::timer_r), FUNC(nb1412m2_device::timer_ack_w));
map(0x42, 0x43).nopw(); // always 0x03
-
+
// DAC control
map(0x11, 0x11).nopw(); // - unknown (volume/channel control?)
map(0x18, 0x18).w(this, FUNC(nb1412m2_device::dac_timer_w)); // timer frequency
map(0x19, 0x19).nopw(); // 2 written at POST
map(0x51, 0x52).w(this, FUNC(nb1412m2_device::dac_address_w)); // start address
-
+
// latches?
map(0x90, 0x90).rw(this, FUNC(nb1412m2_device::const90_r),FUNC(nb1412m2_device::const90_w)); //ram();
map(0x92, 0x92).ram();
map(0x94, 0x94).ram(); //rw(this,FUNC(nb1412m2_device::xor_r),FUNC(nb1412m2_device::xor_w));
-
+
// 16-bit registers (1=upper address), more latches?
map(0xa0, 0xa1).ram();
map(0xa2, 0xa3).ram();
@@ -155,11 +155,11 @@ void nb1412m2_device::device_start()
save_item(NAME(m_dac_playback));
save_item(NAME(m_dac_frequency));
save_item(NAME(m_const90));
-
+
m_timer = timer_alloc(TIMER_MAIN);
m_timer->adjust(attotime::never);
m_dac_timer = timer_alloc(TIMER_DAC);
-
+
m_dac_cb.resolve_safe();
}
@@ -199,9 +199,9 @@ void nb1412m2_device::device_timer(emu_timer &timer, device_timer_id id, int par
m_dac_current_address++;
m_dac_current_address&= m_data.mask();
if(dac_value == 0x80)
- m_dac_playback = false;
+ m_dac_playback = false;
}
-
+
break;
default:
assert_always(false, "Unknown id in nb1412m2_device::device_timer");
@@ -214,7 +214,7 @@ void nb1412m2_device::device_timer(emu_timer &timer, device_timer_id id, int par
WRITE8_MEMBER( nb1412m2_device::rom_op_w )
{
-// data == 2 starts DAC playback
+// data == 2 starts DAC playback
if(data == 2)
{
m_dac_current_address = m_dac_start_address;
@@ -223,9 +223,9 @@ WRITE8_MEMBER( nb1412m2_device::rom_op_w )
m_dac_playback = true;
}
// TODO: data == 5 probably loads the result into 0x37
-// if(data != 5)
-// printf("%02x rom_op\n",data);
-
+// if(data != 5)
+// printf("%02x rom_op\n",data);
+
m_rom_op = data;
}
@@ -271,22 +271,22 @@ READ8_MEMBER( nb1412m2_device::rom_decrypt_r )
// summing adjust entry and actual value needed always make 0x143 therefore:
prot_adj = (0x43 - m_data[m_adj_address]) & 0xff;
-// printf("%02x %04x %04x %02x\n",m_data[m_adj_address],m_rom_address,m_adj_address,m_rom_op);
-
- return m_data[m_rom_address & 0x1fff] - prot_adj;
+// printf("%02x %04x %04x %02x\n",m_data[m_adj_address],m_rom_address,m_adj_address,m_rom_op);
+
+ return m_data[m_rom_address & 0x1fff] - prot_adj;
}
// Mighty Guy specifics
READ8_MEMBER( nb1412m2_device::timer_r )
{
- return m_timer_reg == true;
+ return m_timer_reg == true;
}
WRITE8_MEMBER( nb1412m2_device::timer_w )
{
if(data != 1)
logerror("nb1412m2: timer_w with data == %02x\n",data);
-
+
// TODO: timing of this, related to m_const90?
m_timer->adjust(attotime::from_hz(960));
}
@@ -315,8 +315,8 @@ WRITE8_MEMBER( nb1412m2_device::dac_address_w )
// 0xd0 - 0xe0 - 0xf0 are the settings used
WRITE8_MEMBER( nb1412m2_device::dac_timer_w )
{
-// popmessage("%02x",data);
- // TODO: unknown algo, 0xe0*18 gives 4032 Hz which seems close enough for sample 36
+// popmessage("%02x",data);
+ // TODO: unknown algo, 0xe0*18 gives 4032 Hz which seems close enough for sample 36
m_dac_frequency = data*18;
}
diff --git a/src/mame/machine/nb1412m2.h b/src/mame/machine/nb1412m2.h
index 6cc46c14542..a570a7a4021 100644
--- a/src/mame/machine/nb1412m2.h
+++ b/src/mame/machine/nb1412m2.h
@@ -40,7 +40,7 @@ public:
DECLARE_WRITE8_MEMBER( command_w );
DECLARE_WRITE8_MEMBER( data_w );
DECLARE_READ8_MEMBER( data_r );
-
+
DECLARE_WRITE8_MEMBER( rom_address_w );
DECLARE_READ8_MEMBER( rom_decrypt_r );
DECLARE_WRITE8_MEMBER( rom_op_w );
@@ -60,8 +60,8 @@ public:
void nb1412m2_map(address_map &map);
protected:
// device-level overrides
-// virtual void device_validity_check(validity_checker &valid) const override;
-// virtual void device_add_mconfig(machine_config &config) override;
+// virtual void device_validity_check(validity_checker &valid) const override;
+// virtual void device_add_mconfig(machine_config &config) override;
virtual void device_start() override;
virtual void device_reset() override;
virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) override;
diff --git a/src/mame/machine/pgmprot_igs027a_type3.h b/src/mame/machine/pgmprot_igs027a_type3.h
index a6582b7acb1..def297cc738 100644
--- a/src/mame/machine/pgmprot_igs027a_type3.h
+++ b/src/mame/machine/pgmprot_igs027a_type3.h
@@ -66,4 +66,4 @@ INPUT_PORTS_EXTERN(theglad);
INPUT_PORTS_EXTERN(happy6);
INPUT_PORTS_EXTERN(svg);
INPUT_PORTS_EXTERN(svgtw);
-INPUT_PORTS_EXTERN(svgpcb); \ No newline at end of file
+INPUT_PORTS_EXTERN(svgpcb);
diff --git a/src/mame/machine/poly.cpp b/src/mame/machine/poly.cpp
index 67d5112f62f..8d5fd97dda5 100644
--- a/src/mame/machine/poly.cpp
+++ b/src/mame/machine/poly.cpp
@@ -223,28 +223,28 @@ WRITE8_MEMBER(polydev_state::fdc_inv_w)
uint32_t poly_state::screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)
{
/*
- PA0 Not used. Connected to CA2.
- PA1 ( Mix colour 0) Blue 1) Green 0) Red 1) No
- PA2 ( Graphics 1 0) 0) 1) 1) Mix
- PA3 1 = Enable Teletext 1 screen
- PA4 1 = 480 Graphics mode. 0 = 240 Graphics mode.
- PA5 1 = Enable Graphics 1 screen or 480 Graphics screen.
- PA6 1 = Mix Mode 0 = Priority mode
- PA7 Must be 0. Connected to PA7 and timer G3.
-
- PB0 1 = Enable Teletext 2 screen.
- PB1 1 = Enable Graphics 2 (must be 0 for 480 Graphics)
- PB2 ( Mix colour 0) Blue 1) Green 0) Red 1) No
- PB3 ( Graphics 2 0) 0) 1) 1) Mix
- PB4 1 = Enable Red Background
- PB5 1 = Enable Green Background
- PB6 1 = Enable Blue Background
- PB7 Not used.
-
- CA1 Connected to PA7 and timer G3. Must be 0.
- CA2 Not used. Connected to PA0.
- CB1 Not used.
- CB2 Not used.
+ PA0 Not used. Connected to CA2.
+ PA1 ( Mix colour 0) Blue 1) Green 0) Red 1) No
+ PA2 ( Graphics 1 0) 0) 1) 1) Mix
+ PA3 1 = Enable Teletext 1 screen
+ PA4 1 = 480 Graphics mode. 0 = 240 Graphics mode.
+ PA5 1 = Enable Graphics 1 screen or 480 Graphics screen.
+ PA6 1 = Mix Mode 0 = Priority mode
+ PA7 Must be 0. Connected to PA7 and timer G3.
+
+ PB0 1 = Enable Teletext 2 screen.
+ PB1 1 = Enable Graphics 2 (must be 0 for 480 Graphics)
+ PB2 ( Mix colour 0) Blue 1) Green 0) Red 1) No
+ PB3 ( Graphics 2 0) 0) 1) 1) Mix
+ PB4 1 = Enable Red Background
+ PB5 1 = Enable Green Background
+ PB6 1 = Enable Blue Background
+ PB7 Not used.
+
+ CA1 Connected to PA7 and timer G3. Must be 0.
+ CA2 Not used. Connected to PA0.
+ CB1 Not used.
+ CB2 Not used.
*/
/* Enable Teletext 1 screen */
diff --git a/src/mame/machine/seibucop/seibucop.cpp b/src/mame/machine/seibucop/seibucop.cpp
index 8bdb5d5688d..1cf410684cb 100644
--- a/src/mame/machine/seibucop/seibucop.cpp
+++ b/src/mame/machine/seibucop/seibucop.cpp
@@ -36,10 +36,10 @@
- (fixed) several if not all enemies definitely wants some sort of "axis aligned bounding box" in order to stop from going out of range
(when i.e. first boss goes to bottom of the screen and become unreachable)
- (btanb) Throw is made by quickly double jumping (!)
- - (btanb) seldomly enemies thrown animates weirdly (bounces to the left when thrown to the right).
- Culprit is with command 0x905 param +0x28, but it looks like this parameter is coming
- from program ROM itself. Also a PCB recording video shows the same phenomenon, it's just sloppy
- programming basically.
+ - (btanb) seldomly enemies thrown animates weirdly (bounces to the left when thrown to the right).
+ Culprit is with command 0x905 param +0x28, but it looks like this parameter is coming
+ from program ROM itself. Also a PCB recording video shows the same phenomenon, it's just sloppy
+ programming basically.
Heated Barrel
- (btanb) if player moves in diagonal a bogus projectile is fired.
- gives random value to hi-score if you continue (only the first time, not a bug?);
@@ -49,9 +49,9 @@
- (fixed) level 3+ boss movements looks wrong;
- stage 3 "homing" missiles doesn't seem to like our 6200 hookup here, except it's NOT 6200!?
- (fixed) barrels seen in later levels seems to fail an axis aligned bounding box, not unlike Legionnaire.
- Godzilla
- - few elements doesn't collide properly (i.e. Super X missiles, Tokyo's tower in stage 1),
- Z axis check makes no sense whatsoever. Kludged to work in per-game driver_init.
+ Godzilla
+ - few elements doesn't collide properly (i.e. Super X missiles, Tokyo's tower in stage 1),
+ Z axis check makes no sense whatsoever. Kludged to work in per-game driver_init.
SD Gundam
- stage 3: mid-boss still has the sprite garbage bug;
- stage 4: has sprite stuck on bottom-left of screen;
@@ -537,7 +537,7 @@ int raiden2cop_device::find_trigger_match(uint16_t triggerval, uint16_t mask)
if (triggerval == 0xa180 || triggerval == 0xa980 || triggerval == 0xb100 || triggerval == 0xb900) /* collisions */
otherlog = 0;
-
+
// TODO: disable Z axis in driver code.
if (triggerval == 0xb000 || triggerval == 0xb800)
otherlog = 0;
diff --git a/src/mame/machine/seicopbl.cpp b/src/mame/machine/seicopbl.cpp
index f19425ee2d8..d31aff0cc8d 100644
--- a/src/mame/machine/seicopbl.cpp
+++ b/src/mame/machine/seicopbl.cpp
@@ -69,13 +69,13 @@ WRITE16_MEMBER(seibu_cop_bootleg_device::cmd_trigger_w)
m_host_space->write_word((m_reg[6] + offs + 4), ((m_host_space->read_word(m_reg[5] + offs + 4) + dir_offset) / div));
break;
}
-
+
/*
- read32 10(r0)
- add32 4(r0)
- addmem32 4(r0)
- addmem16 1c(r0)
- write16h 1c(r0)
+ read32 10(r0)
+ add32 4(r0)
+ addmem32 4(r0)
+ addmem16 1c(r0)
+ write16h 1c(r0)
*/
// 0x0204 variant used from time to time (goal post collision)
case 0x0204:
@@ -89,51 +89,51 @@ WRITE16_MEMBER(seibu_cop_bootleg_device::cmd_trigger_w)
m_host_space->write_word(m_reg[0] + 0x1c + offs, m_host_space->read_word(m_reg[0] + 0x1c + offs) + delta);
break;
}
-
+
// jumping is done with this
case 0x0905:
{
//printf("%08x %08x\n",m_reg[0],offs);
-
+
int val = m_host_space->read_dword(m_reg[0] + 16 + offs);
int delta = m_host_space->read_dword(m_reg[0] + 0x28 + offs);
-
+
//printf("%08x + %08x = ",val,delta);
val += delta;
//printf("%08x\n",val);
-
+
m_host_space->write_dword(m_reg[0] + 16 + offs, val);
break;
}
-
+
/*
- 0x138e
- write16h 8(r0)
- sub32 8(r1)
- ? 4(r0)
- sub32 4(r1)
- ? 36(r0)
- addmem16 34(r0)
- addmem16 34(r0)
- sub32 34(r0)
- 0xe38e
- write16h 8(r0)
- sub32 8(r2)
- ? 4(r0)
- sub32 4(r2)
- ? 36(r0)
- addmem16 34(r0)
- addmem16 34(r0)
- sub32 34(r0)
+ 0x138e
+ write16h 8(r0)
+ sub32 8(r1)
+ ? 4(r0)
+ sub32 4(r1)
+ ? 36(r0)
+ addmem16 34(r0)
+ addmem16 34(r0)
+ sub32 34(r0)
+ 0xe38e
+ write16h 8(r0)
+ sub32 8(r2)
+ ? 4(r0)
+ sub32 4(r2)
+ ? 36(r0)
+ addmem16 34(r0)
+ addmem16 34(r0)
+ sub32 34(r0)
*/
// normal tackle
- case 0x118e:
+ case 0x118e:
case 0x130e:
case 0x138e:
// tackling ball hit?
- case 0x330e:
+ case 0x330e:
case 0xe30e:
case 0xe18e:
{
@@ -142,7 +142,7 @@ WRITE16_MEMBER(seibu_cop_bootleg_device::cmd_trigger_w)
int sx = (m_host_space->read_dword(m_reg[0]+8) >> 16);
int dy = (m_host_space->read_dword(m_reg[target_reg]+4) >> 16);
int dx = (m_host_space->read_dword(m_reg[target_reg]+8) >> 16);
-
+
#if 0
if(data == 0xe30e)
{
@@ -152,7 +152,7 @@ WRITE16_MEMBER(seibu_cop_bootleg_device::cmd_trigger_w)
#endif
dy -= sy;
dx -= sx;
-
+
#if 0
if(data == 0xe30e)
{
@@ -162,25 +162,25 @@ WRITE16_MEMBER(seibu_cop_bootleg_device::cmd_trigger_w)
#endif
//m_status = 7;
- if(!dx)
+ if(!dx)
{
m_status = 0x8000;
m_angle = 0;
- }
+ }
else
{
m_status = 0;
m_angle = atan(double(dy)/double(dx)) * 128.0 / M_PI;
-
+
//printf("%f\n",atan(double(dy)/double(dx)));
-
+
if(dx<0)
{
m_angle += 0x80;
}
}
-
+
m_dy = dy;
m_dx = dx;
@@ -190,7 +190,7 @@ WRITE16_MEMBER(seibu_cop_bootleg_device::cmd_trigger_w)
{
return;
}
-
+
if(data & 0x80)
m_host_space->write_byte(m_reg[0]+(0x37), m_angle & 0xff);
@@ -213,7 +213,7 @@ WRITE16_MEMBER(seibu_cop_bootleg_device::cmd_trigger_w)
case 0x42c2:
{
int div = m_host_space->read_word(m_reg[0] + (0x34));
-
+
if (!div)
{
m_status |= 0x8000;
@@ -229,11 +229,11 @@ WRITE16_MEMBER(seibu_cop_bootleg_device::cmd_trigger_w)
// shoot/pass is done with this
/*
- 0x5105
- sub32 (r0)
- write16h 8(r0)
- addmem32 4(r0)
- outputs to 0x046/0x047 (d104_move_offset ?)
+ 0x5105
+ sub32 (r0)
+ write16h 8(r0)
+ addmem32 4(r0)
+ outputs to 0x046/0x047 (d104_move_offset ?)
*/
case 0x5105:
{
@@ -243,10 +243,10 @@ WRITE16_MEMBER(seibu_cop_bootleg_device::cmd_trigger_w)
break;
}
/*
- 0x5905
- write16h 10(r2)
- sub32 8(r0)
- addmem32 4(r1)
+ 0x5905
+ write16h 10(r2)
+ sub32 8(r0)
+ addmem32 4(r1)
*/
case 0x5905:
{
@@ -255,7 +255,7 @@ WRITE16_MEMBER(seibu_cop_bootleg_device::cmd_trigger_w)
m_host_space->write_dword(m_reg[1] + 4 + offs,val);
break;
}
-
+
/*
00000-0ffff:
amp = x/256
@@ -308,10 +308,10 @@ WRITE16_MEMBER(seibu_cop_bootleg_device::cmd_trigger_w)
}
/*
- sub32 4(r2)
- write16h (r3)
- addmem32 4(r1)
- outputs to 0x046/0x047 (d104_move_offset ?)
+ sub32 4(r2)
+ write16h (r3)
+ addmem32 4(r1)
+ outputs to 0x046/0x047 (d104_move_offset ?)
*/
case 0xd104:
{
diff --git a/src/mame/machine/seicopbl.h b/src/mame/machine/seicopbl.h
index f53d592fd58..4951366f356 100644
--- a/src/mame/machine/seicopbl.h
+++ b/src/mame/machine/seicopbl.h
@@ -30,7 +30,7 @@ public:
DECLARE_READ16_MEMBER( prng_r );
DECLARE_READ16_MEMBER( scale_r );
DECLARE_WRITE16_MEMBER( scale_w );
-
+
void seibucopbl_map(address_map &map);
protected:
// device-level overrides
diff --git a/src/mame/mame.lst b/src/mame/mame.lst
index cad04425b29..1830e45bfaf 100644
--- a/src/mame/mame.lst
+++ b/src/mame/mame.lst
@@ -11158,8 +11158,8 @@ deadang // (c) 1988 Seibu Kaihatsu
ghunter // (c) 1988 Seibu Kaihatsu
ghunters // (c) 1988 Seibu Kaihatsu + Segasa/Sonic license
leadang // (c) 1988 Seibu Kaihatsu
-popnrun // (c) 1987 Seibu Kaihatsu + Yukai Tsukai
-popnruna // (c) 1987 Seibu Kaihatsu + Yukai Tsukai
+popnrun // (c) 1987 Seibu Kaihatsu + Yukai Tsukai
+popnruna // (c) 1987 Seibu Kaihatsu + Yukai Tsukai
@source:dec0.cpp
automat // bootleg
diff --git a/src/mame/video/deadang.cpp b/src/mame/video/deadang.cpp
index 3771451eb04..bd1766e9921 100644
--- a/src/mame/video/deadang.cpp
+++ b/src/mame/video/deadang.cpp
@@ -99,10 +99,10 @@ TILE_GET_INFO_MEMBER(popnrun_state::get_popnrun_text_tile_info)
// TODO: not entirely correct (title screen/ranking colors)
// might be down to bitplanes too
int color = (attr & 3) ^ 1;
-
+
if(attr & 0x40)
tile |= 1;
-
+
SET_TILE_INFO_MEMBER(0,tile,color,0);
}
@@ -227,7 +227,7 @@ void popnrun_state::popnrun_draw_sprites(screen_device &screen, bitmap_ind16 &bi
if (fy) fy=0; else fy=1;
if (m_spriteram[offs+2]&0x100) x=0-(0xff-x);
#endif
-
+
color = (m_spriteram[offs+0]>>12)&0x7;
sprite = m_spriteram[offs+0]&0xfff;
@@ -239,7 +239,7 @@ void popnrun_state::popnrun_draw_sprites(screen_device &screen, bitmap_ind16 &bi
if (fy) fy=0; else fy=1;
}
#endif
-
+
m_gfxdecode->gfx(1)->prio_transpen(bitmap,cliprect,
sprite,
color,fx,fy,x,y,
@@ -252,23 +252,23 @@ uint32_t popnrun_state::popnrun_screen_update(screen_device &screen, bitmap_ind1
// TODO: different scroll RAM hookup
// 0x18 seems to enable the various layers
/* Setup the tilemaps */
-// m_pf3_layer->set_scrolly(0, ((m_scroll_ram[0x01]&0xf0)<<4)+((m_scroll_ram[0x02]&0x7f)<<1)+((m_scroll_ram[0x02]&0x80)>>7) );
-// m_pf3_layer->set_scrollx(0, ((m_scroll_ram[0x09]&0xf0)<<4)+((m_scroll_ram[0x0a]&0x7f)<<1)+((m_scroll_ram[0x0a]&0x80)>>7) );
-// m_pf1_layer->set_scrolly(0, ((m_scroll_ram[0x11]&0x10)<<4)+((m_scroll_ram[0x12]&0x7f)<<1)+((m_scroll_ram[0x12]&0x80)>>7) );
-// m_pf1_layer->set_scrollx(0, ((m_scroll_ram[0x19]&0x10)<<4)+((m_scroll_ram[0x1a]&0x7f)<<1)+((m_scroll_ram[0x1a]&0x80)>>7) );
-// m_pf2_layer->set_scrolly(0, ((m_scroll_ram[0x21]&0xf0)<<4)+((m_scroll_ram[0x22]&0x7f)<<1)+((m_scroll_ram[0x22]&0x80)>>7) );
-// m_pf2_layer->set_scrollx(0, ((m_scroll_ram[0x29]&0xf0)<<4)+((m_scroll_ram[0x2a]&0x7f)<<1)+((m_scroll_ram[0x2a]&0x80)>>7) );
+// m_pf3_layer->set_scrolly(0, ((m_scroll_ram[0x01]&0xf0)<<4)+((m_scroll_ram[0x02]&0x7f)<<1)+((m_scroll_ram[0x02]&0x80)>>7) );
+// m_pf3_layer->set_scrollx(0, ((m_scroll_ram[0x09]&0xf0)<<4)+((m_scroll_ram[0x0a]&0x7f)<<1)+((m_scroll_ram[0x0a]&0x80)>>7) );
+// m_pf1_layer->set_scrolly(0, ((m_scroll_ram[0x11]&0x10)<<4)+((m_scroll_ram[0x12]&0x7f)<<1)+((m_scroll_ram[0x12]&0x80)>>7) );
+// m_pf1_layer->set_scrollx(0, ((m_scroll_ram[0x19]&0x10)<<4)+((m_scroll_ram[0x1a]&0x7f)<<1)+((m_scroll_ram[0x1a]&0x80)>>7) );
+// m_pf2_layer->set_scrolly(0, ((m_scroll_ram[0x21]&0xf0)<<4)+((m_scroll_ram[0x22]&0x7f)<<1)+((m_scroll_ram[0x22]&0x80)>>7) );
+// m_pf2_layer->set_scrollx(0, ((m_scroll_ram[0x29]&0xf0)<<4)+((m_scroll_ram[0x2a]&0x7f)<<1)+((m_scroll_ram[0x2a]&0x80)>>7) );
m_pf3_layer->enable(!(m_scroll_ram[0x34]&1));
m_pf1_layer->enable(!(m_scroll_ram[0x34]&2));
m_pf2_layer->enable(!(m_scroll_ram[0x34]&4));
-// flip_screen_set(m_scroll_ram[0x34]&0x40 );
+// flip_screen_set(m_scroll_ram[0x34]&0x40 );
bitmap.fill(1, cliprect);
screen.priority().fill(0, cliprect);
// 32 pixels?
-// int scrollx = (m_scroll_ram[0x4/2] & 0x0f);
-
+// int scrollx = (m_scroll_ram[0x4/2] & 0x0f);
+
// debug tilemap code
// this is likely to be collision data
for(int x=0;x<16;x++)
@@ -277,7 +277,7 @@ uint32_t popnrun_state::popnrun_screen_update(screen_device &screen, bitmap_ind1
{
int tile = m_video_data[y+x*8+0xc0] & 0xff;
int res_x, res_y;
-
+
if(tile != 0)
{
res_x = (x*16) & 0xff;
@@ -287,7 +287,7 @@ uint32_t popnrun_state::popnrun_screen_update(screen_device &screen, bitmap_ind1
}
tile = m_video_data[y+x*8+0xc0] >> 8;
-
+
if(tile != 0)
{
res_x = (x*16) & 0xff;
@@ -297,7 +297,7 @@ uint32_t popnrun_state::popnrun_screen_update(screen_device &screen, bitmap_ind1
}
}
}
-
+
//m_pf3_layer->draw(screen, bitmap, cliprect, 0,1);
//m_pf1_layer->draw(screen, bitmap, cliprect, 0,2);
//m_pf2_layer->draw(screen, bitmap, cliprect, 0,4);
diff --git a/src/mame/video/sub.cpp b/src/mame/video/sub.cpp
index 9e092ae7318..9f7d243b04a 100644
--- a/src/mame/video/sub.cpp
+++ b/src/mame/video/sub.cpp
@@ -40,7 +40,7 @@ PALETTE_INIT_MEMBER(sub_state, sub)
TILE_GET_INFO_MEMBER(sub_state::get_tile_info)
{
int code = m_vram[tile_index] | ((m_attr[tile_index]&0xe0)<<3);
- int color = (m_attr[tile_index]&0x1f)+0x40;
+ int color = (m_attr[tile_index]&0x1f)+0x40;
SET_TILE_INFO_MEMBER(0, code, color, 0);
}
@@ -107,10 +107,10 @@ void sub_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect)
if(dx)
x = 0xe0 - x;
-
+
gfx->transpen(bitmap,cliprect,spr_offs,col,fx,fy,x,y,0);
- }
+ }
}
diff --git a/src/mame/video/supbtime.cpp b/src/mame/video/supbtime.cpp
index 97a734602f8..797e61d1e4d 100644
--- a/src/mame/video/supbtime.cpp
+++ b/src/mame/video/supbtime.cpp
@@ -2,10 +2,10 @@
// copyright-holders: Bryan McPhail, David Haywood, Dirk Best
/***************************************************************************
- Super Burger Time
-
- Video mixing
-
+ Super Burger Time
+
+ Video mixing
+
***************************************************************************/
#include "emu.h"
diff --git a/src/mame/video/tatsumi.cpp b/src/mame/video/tatsumi.cpp
index 63de3f673d2..58b18864d2d 100644
--- a/src/mame/video/tatsumi.cpp
+++ b/src/mame/video/tatsumi.cpp
@@ -1029,14 +1029,14 @@ uint32_t cyclwarr_state::screen_update_cyclwarr(screen_device &screen, bitmap_rg
}
bitmap.fill(m_palette->pen(0), cliprect);
-
+
draw_bg(screen, bitmap, cliprect, m_layer[3], &m_cyclwarr_videoram[1][0x000], &m_cyclwarr_videoram[1][0x100], 8, -0x80,false);
draw_bg(screen, bitmap, cliprect, m_layer[2], &m_cyclwarr_videoram[1][0x200], &m_cyclwarr_videoram[1][0x300], 8, -0x80,false);
draw_bg(screen, bitmap, cliprect, m_layer[1], &m_cyclwarr_videoram[0][0x000], &m_cyclwarr_videoram[0][0x100], 8, -0x40,true);
update_cluts(8192, 4096, 8192);
draw_sprites(bitmap,cliprect,0,(m_sprite_control_ram[0xe0]&0x1000) ? 0x1000 : 0);
draw_bg(screen, bitmap, cliprect, m_layer[0], &m_cyclwarr_videoram[0][0x200], &m_cyclwarr_videoram[0][0x300], 0x10, -0x80,false);
-
+
return 0;
}