summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2018-08-26 13:50:14 +1000
committer Vas Crabb <vas@vastheman.com>2018-08-26 13:50:14 +1000
commite1ffc337ffb21282afc61269959815674f35cbd8 (patch)
treebed0e13ef5961b431b5a4d92472385b5ef0029ff /src/mame
parentb0ae30ee16c472f9c75ed1c6822cc3d79229f124 (diff)
srcclean and manual fixup (nw)
Diffstat (limited to 'src/mame')
-rw-r--r--src/mame/audio/sprint8.cpp2
-rw-r--r--src/mame/audio/taito_zm.cpp2
-rw-r--r--src/mame/audio/taito_zm.h2
-rw-r--r--src/mame/audio/targ.cpp2
-rw-r--r--src/mame/drivers/4roses.cpp2
-rw-r--r--src/mame/drivers/amaticmg.cpp2
-rw-r--r--src/mame/drivers/ambush.cpp2
-rw-r--r--src/mame/drivers/bingor.cpp2
-rw-r--r--src/mame/drivers/blitz68k.cpp12
-rw-r--r--src/mame/drivers/btime.cpp2
-rw-r--r--src/mame/drivers/cedar_magnet.cpp22
-rw-r--r--src/mame/drivers/citycon.cpp2
-rw-r--r--src/mame/drivers/coinmstr.cpp2
-rw-r--r--src/mame/drivers/coinmvga.cpp2
-rw-r--r--src/mame/drivers/cvs.cpp4
-rw-r--r--src/mame/drivers/cwheel.cpp24
-rw-r--r--src/mame/drivers/dec0.cpp6
-rw-r--r--src/mame/drivers/deco156.cpp2
-rw-r--r--src/mame/drivers/dynax.cpp2
-rw-r--r--src/mame/drivers/excali64.cpp6
-rw-r--r--src/mame/drivers/gaelco2.cpp22
-rw-r--r--src/mame/drivers/goldstar.cpp2
-rw-r--r--src/mame/drivers/goupil.cpp8
-rw-r--r--src/mame/drivers/gstream.cpp2
-rw-r--r--src/mame/drivers/hng64.cpp492
-rw-r--r--src/mame/drivers/igs_m027.cpp4
-rw-r--r--src/mame/drivers/jokrwild.cpp2
-rw-r--r--src/mame/drivers/m10.cpp24
-rw-r--r--src/mame/drivers/mainevt.cpp24
-rw-r--r--src/mame/drivers/mario.cpp16
-rw-r--r--src/mame/drivers/mastboyo.cpp2
-rw-r--r--src/mame/drivers/maygay1b.cpp14
-rw-r--r--src/mame/drivers/micropin.cpp2
-rw-r--r--src/mame/drivers/mpu12wbk.cpp2
-rw-r--r--src/mame/drivers/naomi.cpp22
-rw-r--r--src/mame/drivers/nightmare.cpp22
-rw-r--r--src/mame/drivers/nyny.cpp12
-rw-r--r--src/mame/drivers/opwolf.cpp12
-rw-r--r--src/mame/drivers/pgm.cpp2
-rw-r--r--src/mame/drivers/policetr.cpp54
-rw-r--r--src/mame/drivers/ql.cpp4
-rw-r--r--src/mame/drivers/r2dtank.cpp12
-rw-r--r--src/mame/drivers/spiders.cpp12
-rw-r--r--src/mame/drivers/super6.cpp8
-rw-r--r--src/mame/drivers/supercrd.cpp2
-rw-r--r--src/mame/drivers/system16.cpp2
-rw-r--r--src/mame/drivers/ti99_2.cpp16
-rw-r--r--src/mame/drivers/vgmplay.cpp10
-rw-r--r--src/mame/drivers/wrally.cpp2
-rw-r--r--src/mame/drivers/zodiack.cpp2
-rw-r--r--src/mame/includes/hng64.h2
-rw-r--r--src/mame/layout/vgmplay.lay2
-rw-r--r--src/mame/machine/315-5838_317-0229_comp.h6
-rw-r--r--src/mame/machine/pce_cd.cpp2
-rw-r--r--src/mame/machine/trs80m3.cpp20
-rw-r--r--src/mame/mame.lst6
-rw-r--r--src/mame/video/deco_zoomspr.cpp2
-rw-r--r--src/mame/video/hng64_3d.hxx38
-rw-r--r--src/mame/video/hng64_sprite.hxx2
-rw-r--r--src/mame/video/opwolf.cpp2
-rw-r--r--src/mame/video/powervr2.cpp2
61 files changed, 498 insertions, 498 deletions
diff --git a/src/mame/audio/sprint8.cpp b/src/mame/audio/sprint8.cpp
index 74c4fea6d09..e187173cbcd 100644
--- a/src/mame/audio/sprint8.cpp
+++ b/src/mame/audio/sprint8.cpp
@@ -331,4 +331,4 @@ MACHINE_CONFIG_START(sprint8_state::sprint8_audio)
motor.q_out_cb<6>().set("discrete", FUNC(discrete_device::write_line<SPRINT8_MOTOR7_EN>));
motor.q_out_cb<7>().set("discrete", FUNC(discrete_device::write_line<SPRINT8_MOTOR8_EN>));
MACHINE_CONFIG_END
-; \ No newline at end of file
+;
diff --git a/src/mame/audio/taito_zm.cpp b/src/mame/audio/taito_zm.cpp
index bdb1da11987..4e931efd9dd 100644
--- a/src/mame/audio/taito_zm.cpp
+++ b/src/mame/audio/taito_zm.cpp
@@ -115,7 +115,7 @@ void taito_zoom_device::update_status_pin(int state)
{
printf("inside callback set status to %d\n",state);
m_soundcpu->set_input_line(1, state);
- machine().scheduler().synchronize(); // the fix to all problems
+ machine().scheduler().synchronize(); // the fix to all problems
}
void taito_zoom_device::taitozoom_mn_map(address_map &map)
diff --git a/src/mame/audio/taito_zm.h b/src/mame/audio/taito_zm.h
index 0fc63114738..11d32a8d23d 100644
--- a/src/mame/audio/taito_zm.h
+++ b/src/mame/audio/taito_zm.h
@@ -57,7 +57,7 @@ private:
uint8_t m_tms_ctrl;
bool m_use_flash;
std::unique_ptr<uint8_t[]> m_snd_shared_ram;
-
+
void update_status_pin(int state);
};
diff --git a/src/mame/audio/targ.cpp b/src/mame/audio/targ.cpp
index 08567e3e1de..11320a14ba9 100644
--- a/src/mame/audio/targ.cpp
+++ b/src/mame/audio/targ.cpp
@@ -63,7 +63,7 @@ WRITE8_MEMBER( exidy_state::targ_audio_1_w )
/* shot */
if (FALLING_EDGE(0x02) && !m_samples->playing(0)) m_samples->start(0,1);
- if (RISING_EDGE(0x02)) m_samples->start(0,1);
+ if (RISING_EDGE(0x02)) m_samples->start(0,1);
/* crash */
if (RISING_EDGE(0x20))
diff --git a/src/mame/drivers/4roses.cpp b/src/mame/drivers/4roses.cpp
index 9fdbf48c848..e80e9dca94e 100644
--- a/src/mame/drivers/4roses.cpp
+++ b/src/mame/drivers/4roses.cpp
@@ -460,7 +460,7 @@ MACHINE_CONFIG_START(_4roses_state::_4roses)
MCFG_DEVICE_PROGRAM_MAP(_4roses_map)
MCFG_DEVICE_OPCODES_MAP(_4roses_opcodes_map)
-// NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0);
+// NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0);
/* video hardware */
diff --git a/src/mame/drivers/amaticmg.cpp b/src/mame/drivers/amaticmg.cpp
index 7c8e5eafca2..bc575f01d2f 100644
--- a/src/mame/drivers/amaticmg.cpp
+++ b/src/mame/drivers/amaticmg.cpp
@@ -849,7 +849,7 @@ MACHINE_CONFIG_START(amaticmg_state::amaticmg)
MCFG_DEVICE_PROGRAM_MAP(amaticmg_map)
MCFG_DEVICE_IO_MAP(amaticmg_portmap)
-// NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0);
+// NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0);
/* 3x 8255 */
MCFG_DEVICE_ADD("ppi8255_0", I8255A, 0)
diff --git a/src/mame/drivers/ambush.cpp b/src/mame/drivers/ambush.cpp
index 83462718b38..1ef64c55042 100644
--- a/src/mame/drivers/ambush.cpp
+++ b/src/mame/drivers/ambush.cpp
@@ -1,4 +1,4 @@
-// license: BSD-3-Clause
+// license: BSD-3-Clause
// copyright-holders: Zsolt Vasvari, Dirk Best
/***************************************************************************
diff --git a/src/mame/drivers/bingor.cpp b/src/mame/drivers/bingor.cpp
index c6d1d54596c..94cf6b99993 100644
--- a/src/mame/drivers/bingor.cpp
+++ b/src/mame/drivers/bingor.cpp
@@ -701,7 +701,7 @@ MACHINE_CONFIG_START(bingor_state::bingor)
MCFG_DEVICE_ADD("pic", PIC16C57, 12000000) //?? Mhz
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_bingor)
-// NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0);
+// NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0);
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_REFRESH_RATE(60)
diff --git a/src/mame/drivers/blitz68k.cpp b/src/mame/drivers/blitz68k.cpp
index f25f1272a96..8ad214c4749 100644
--- a/src/mame/drivers/blitz68k.cpp
+++ b/src/mame/drivers/blitz68k.cpp
@@ -1816,7 +1816,7 @@ MACHINE_CONFIG_START(blitz68k_state::bankrob)
// MC68HC705C8P (MCU2)
-// NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0);
+// NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0);
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_REFRESH_RATE(60)
@@ -1846,7 +1846,7 @@ MACHINE_CONFIG_START(blitz68k_state::bankroba)
// MC68HC705C8P (MCU)
-// NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0);
+// NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0);
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_REFRESH_RATE(60)
@@ -1875,7 +1875,7 @@ MACHINE_CONFIG_START(blitz68k_state::deucesw2)
// MC68HC705C8P (MCU)
-// NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0);
+// NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0);
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_REFRESH_RATE(60)
@@ -1906,7 +1906,7 @@ MACHINE_CONFIG_START(blitz68k_state::dualgame)
// MC68HC705C8P (MCU2)
-// NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0);
+// NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0);
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_REFRESH_RATE(60)
@@ -1935,7 +1935,7 @@ MACHINE_CONFIG_START(blitz68k_state::hermit)
// MC68HC705C8P (MCU)
-// NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0);
+// NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0);
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_REFRESH_RATE(60)
@@ -1969,7 +1969,7 @@ MACHINE_CONFIG_START(blitz68k_state::maxidbl)
// MC68HC705C8P (MCU3)
-// NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0);
+// NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0);
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_REFRESH_RATE(60)
diff --git a/src/mame/drivers/btime.cpp b/src/mame/drivers/btime.cpp
index 4d0db81edce..404b898b6ee 100644
--- a/src/mame/drivers/btime.cpp
+++ b/src/mame/drivers/btime.cpp
@@ -2019,7 +2019,7 @@ void btime_state::init_tisland()
unmapped area that causes the game to fail in several circumstances.On the Cassette
version the RLA (33) is in reality a BIT (24),so I'm guessing that there's something
wrong going on in the encryption scheme.
-
+
There are other locations with similar problems. These ROMs have NOT yet been
confirmed on multiple PCBs, so this could still be a bad dump.
*/
diff --git a/src/mame/drivers/cedar_magnet.cpp b/src/mame/drivers/cedar_magnet.cpp
index 8f28bd4d21d..843d5adcb45 100644
--- a/src/mame/drivers/cedar_magnet.cpp
+++ b/src/mame/drivers/cedar_magnet.cpp
@@ -27,7 +27,7 @@
notes:
- high scores will be defaulted if the data in the table is corrupt, the games give no
option to do this otherwise. A backup copy of the score table is kept, so you also
- have to enter and exit service mode.
+ have to enter and exit service mode.
*/
@@ -852,10 +852,10 @@ ROM_END
/*
Data after 0xd56b0 would not read consistently, however the game only appears to use the first 24 tracks (up to 0x48fff)
- as it loads once on startup, not during gameplay, and all tracks before that gave consistent reads. There is data after this
- point but it is likely leftovers from another game / whatever was on the disk before, so for our purposes this should be fine.
+ as it loads once on startup, not during gameplay, and all tracks before that gave consistent reads. There is data after this
+ point but it is likely leftovers from another game / whatever was on the disk before, so for our purposes this should be fine.
- Some bullets do seem to spawn from locations where there are no enemies, but I think this is just annoying game design.
+ Some bullets do seem to spawn from locations where there are no enemies, but I think this is just annoying game design.
*/
ROM_START( mag_war )
BIOS_ROM
@@ -865,7 +865,7 @@ ROM_START( mag_war )
ROM_END
/*
- Data read 100% consistently with multiple drives
+ Data read 100% consistently with multiple drives
*/
ROM_START( mag_wara )
BIOS_ROM
@@ -875,7 +875,7 @@ ROM_START( mag_wara )
ROM_END
/*
- Data read 100% consistently with multiple drives
+ Data read 100% consistently with multiple drives
*/
ROM_START( mag_burn )
BIOS_ROM
@@ -885,12 +885,12 @@ ROM_START( mag_burn )
ROM_END
/*
- Data read 100% consistently with non-original drive (usually gives worse results)
- later tracks showed differences with original drive on each read (around 0xeef80 onwards, doesn't seem to be game data)
+ Data read 100% consistently with non-original drive (usually gives worse results)
+ later tracks showed differences with original drive on each read (around 0xeef80 onwards, doesn't seem to be game data)
- weirdly there's was a single byte in an earlier track that read consistently, but in a different way for each drive
- 0x2480e: 9d (non-original) vs 1d (original drive)
- 1d seems to be correct as the same data is also elsewhere on the disc
+ weirdly there's was a single byte in an earlier track that read consistently, but in a different way for each drive
+ 0x2480e: 9d (non-original) vs 1d (original drive)
+ 1d seems to be correct as the same data is also elsewhere on the disc
*/
ROM_START( mag_day )
BIOS_ROM
diff --git a/src/mame/drivers/citycon.cpp b/src/mame/drivers/citycon.cpp
index 7e13d7c0bc9..9df45c061c1 100644
--- a/src/mame/drivers/citycon.cpp
+++ b/src/mame/drivers/citycon.cpp
@@ -304,7 +304,7 @@ ROM_START( citycona )
ROM_LOAD( "citycon_82s123n.r4", 0x0100, 0x0020, CRC(29221e13) SHA1(232fd02811f157197c7ce44716dc495ed49a80cc) )
ROM_LOAD( "citycon_82s129.l6", 0x0200, 0x0100, CRC(91a7b6e3) SHA1(6135b264a69978d17aa8636d24eb1eba41d16c89) )
- // Same PROM content on J10 and L6 sockets
+ // Same PROM content on J10 and L6 sockets
//ROM_LOAD( "citycon_82s129.j10", 0x0300, 0x0100, CRC(91a7b6e3) SHA1(6135b264a69978d17aa8636d24eb1eba41d16c89) )
ROM_REGION( 0x0600, "plds", 0 )
diff --git a/src/mame/drivers/coinmstr.cpp b/src/mame/drivers/coinmstr.cpp
index d3ba04f7adf..2fc4f6ec92e 100644
--- a/src/mame/drivers/coinmstr.cpp
+++ b/src/mame/drivers/coinmstr.cpp
@@ -1325,7 +1325,7 @@ MACHINE_CONFIG_START(coinmstr_state::jpcoin)
MCFG_DEVICE_MODIFY("maincpu")
MCFG_DEVICE_PROGRAM_MAP(jpcoin_map)
MCFG_DEVICE_IO_MAP(jpcoin_io_map)
-// NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0);
+// NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0);
MACHINE_CONFIG_END
/*
diff --git a/src/mame/drivers/coinmvga.cpp b/src/mame/drivers/coinmvga.cpp
index 3a6f6cccf5c..c74de251f78 100644
--- a/src/mame/drivers/coinmvga.cpp
+++ b/src/mame/drivers/coinmvga.cpp
@@ -644,7 +644,7 @@ MACHINE_CONFIG_START(coinmvga_state::coinmvga)
MCFG_DEVICE_IO_MAP(coinmvga_io_map)
MCFG_DEVICE_VBLANK_INT_DRIVER("screen", coinmvga_state, vblank_irq) /* wrong, fix me */
-// NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0);
+// NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0);
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
diff --git a/src/mame/drivers/cvs.cpp b/src/mame/drivers/cvs.cpp
index 2efaa6cb419..3fdc6e71f2a 100644
--- a/src/mame/drivers/cvs.cpp
+++ b/src/mame/drivers/cvs.cpp
@@ -1597,7 +1597,7 @@ void cvs_state::init_superbik()
READ8_MEMBER(cvs_state::hero_prot_r)
{
u8 *ROM = memregion("maincpu")->base() + 0x73f0;
-
+
switch (offset + 0x73f0)
{
case 0x73f0: // pc: 7d, ab9
@@ -1608,7 +1608,7 @@ READ8_MEMBER(cvs_state::hero_prot_r)
case 0x73f2: // pc: 86, needs to match read from 0x73f0
return 0xff & 0x7e; // 0x04 at this address in ROM
-
+
case 0x73f9: // pc: A9f, not sure what this is suppose to do?
return 0x00; // 0x1e at this address in ROM
diff --git a/src/mame/drivers/cwheel.cpp b/src/mame/drivers/cwheel.cpp
index 482ef54e4d3..4351cade431 100644
--- a/src/mame/drivers/cwheel.cpp
+++ b/src/mame/drivers/cwheel.cpp
@@ -2,18 +2,18 @@
// copyright-holders:Ryan Holtz
/******************************************************************************
- Gamebar Catherine Wheel skeleton driver
-
- Notable parts:
- - ST62T28C6: 8-bit microcontroller from STmicro, ST6 series
- - 3x MM5450N LED drivers
- - 8MHz crystal oscillator
- - 60x red LEDs in a circle
- - 5x 7-segment 1-digit LEDs
- - ULN2003A darlington transistor array
-
- TODO:
- - Everything
+ Gamebar Catherine Wheel skeleton driver
+
+ Notable parts:
+ - ST62T28C6: 8-bit microcontroller from STmicro, ST6 series
+ - 3x MM5450N LED drivers
+ - 8MHz crystal oscillator
+ - 60x red LEDs in a circle
+ - 5x 7-segment 1-digit LEDs
+ - ULN2003A darlington transistor array
+
+ TODO:
+ - Everything
*******************************************************************************/
diff --git a/src/mame/drivers/dec0.cpp b/src/mame/drivers/dec0.cpp
index ae2f1ac7686..445892464e9 100644
--- a/src/mame/drivers/dec0.cpp
+++ b/src/mame/drivers/dec0.cpp
@@ -1972,9 +1972,9 @@ MACHINE_CONFIG_END
MACHINE_CONFIG_START(dec0_state::ffantasybl)
dec0(config);
-// H6280(config, m_subcpu, XTAL(21'477'272) / 16);
-// m_subcpu->set_addrmap(AS_PROGRAM, &dec0_state::hippodrm_sub_map);
-// m_subcpu->add_route(ALL_OUTPUTS, "mono", 0); // internal sound unused
+// H6280(config, m_subcpu, XTAL(21'477'272) / 16);
+// m_subcpu->set_addrmap(AS_PROGRAM, &dec0_state::hippodrm_sub_map);
+// m_subcpu->add_route(ALL_OUTPUTS, "mono", 0); // internal sound unused
// MCFG_QUANTUM_TIME(attotime::from_hz(300)) /* Interleave between H6280 & 68000 */
diff --git a/src/mame/drivers/deco156.cpp b/src/mame/drivers/deco156.cpp
index 7a5de2512b5..57c8db238c0 100644
--- a/src/mame/drivers/deco156.cpp
+++ b/src/mame/drivers/deco156.cpp
@@ -10,7 +10,7 @@
How to get the version and region:
Heavy Smash: Exit test mode
- World Cup Volleyball 95: Boot the game holding down player 2 button 1
+ World Cup Volleyball 95: Boot the game holding down player 2 button 1
Emulation by Bryan McPhail, mish@tendril.co.uk
*/
diff --git a/src/mame/drivers/dynax.cpp b/src/mame/drivers/dynax.cpp
index 6b3a3a748b5..f1e40db1b14 100644
--- a/src/mame/drivers/dynax.cpp
+++ b/src/mame/drivers/dynax.cpp
@@ -4203,7 +4203,7 @@ MACHINE_CONFIG_START(dynax_state::cdracula)
MCFG_MACHINE_START_OVERRIDE(dynax_state,dynax)
MCFG_MACHINE_RESET_OVERRIDE(dynax_state,dynax)
-// NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0); // no battery
+// NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0); // no battery
RST_POS_BUFFER(config, m_mainirq, 0).int_callback().set_inputline(m_maincpu, 0);
diff --git a/src/mame/drivers/excali64.cpp b/src/mame/drivers/excali64.cpp
index 689667dd6e0..839da6a9652 100644
--- a/src/mame/drivers/excali64.cpp
+++ b/src/mame/drivers/excali64.cpp
@@ -617,11 +617,11 @@ MACHINE_CONFIG_START(excali64_state::excali64)
MCFG_Z80DMA_OUT_IORQ_CB(WRITE8(*this, excali64_state, io_write_byte))
TTL74123(config, m_u12, 0);
- m_u12->set_connection_type(TTL74123_GROUNDED); /* Hook up type (no idea what this means) */
+ m_u12->set_connection_type(TTL74123_GROUNDED); /* Hook up type (no idea what this means) */
m_u12->set_resistor_value(RES_K(100)); /* resistor connected between RCext & 5v */
m_u12->set_capacitor_value(CAP_U(100)); /* capacitor connected between Cext and RCext */
- m_u12->set_a_pin_value(0); /* A pin - grounded */
- m_u12->set_b_pin_value(1); /* B pin - driven by port e4 bit 5 */
+ m_u12->set_a_pin_value(0); /* A pin - grounded */
+ m_u12->set_b_pin_value(1); /* B pin - driven by port e4 bit 5 */
m_u12->set_clear_pin_value(1); /* Clear pin - pulled high */
m_u12->out_cb().set(FUNC(excali64_state::motor_w));
diff --git a/src/mame/drivers/gaelco2.cpp b/src/mame/drivers/gaelco2.cpp
index 9023804abdb..97df3103c2f 100644
--- a/src/mame/drivers/gaelco2.cpp
+++ b/src/mame/drivers/gaelco2.cpp
@@ -715,9 +715,9 @@ MACHINE_CONFIG_START(bang_state::bang)
LS259(config, m_mainlatch);
m_mainlatch->q_out_cb<0>().set(FUNC(gaelco2_state::coin1_counter_w));
m_mainlatch->q_out_cb<1>().set(FUNC(gaelco2_state::coin2_counter_w));
- m_mainlatch->q_out_cb<4>().set("eeprom", FUNC(eeprom_serial_93cxx_device::di_write)); /* EEPROM data */
- m_mainlatch->q_out_cb<5>().set("eeprom", FUNC(eeprom_serial_93cxx_device::clk_write)); /* EEPROM serial clock */
- m_mainlatch->q_out_cb<6>().set("eeprom", FUNC(eeprom_serial_93cxx_device::cs_write)); /* EEPROM chip select */
+ m_mainlatch->q_out_cb<4>().set("eeprom", FUNC(eeprom_serial_93cxx_device::di_write)); /* EEPROM data */
+ m_mainlatch->q_out_cb<5>().set("eeprom", FUNC(eeprom_serial_93cxx_device::clk_write)); /* EEPROM serial clock */
+ m_mainlatch->q_out_cb<6>().set("eeprom", FUNC(eeprom_serial_93cxx_device::cs_write)); /* EEPROM chip select */
/* video hardware */
MCFG_DEVICE_ADD("spriteram", BUFFERED_SPRITERAM16)
@@ -1565,9 +1565,9 @@ MACHINE_CONFIG_START(gaelco2_state::snowboar)
LS259(config, m_mainlatch);
m_mainlatch->q_out_cb<0>().set(FUNC(gaelco2_state::coin1_counter_w));
m_mainlatch->q_out_cb<1>().set(FUNC(gaelco2_state::coin2_counter_w));
- m_mainlatch->q_out_cb<4>().set("eeprom", FUNC(eeprom_serial_93cxx_device::di_write)); /* EEPROM data */
- m_mainlatch->q_out_cb<5>().set("eeprom", FUNC(eeprom_serial_93cxx_device::clk_write)); /* EEPROM serial clock */
- m_mainlatch->q_out_cb<6>().set("eeprom", FUNC(eeprom_serial_93cxx_device::cs_write)); /* EEPROM chip select */
+ m_mainlatch->q_out_cb<4>().set("eeprom", FUNC(eeprom_serial_93cxx_device::di_write)); /* EEPROM data */
+ m_mainlatch->q_out_cb<5>().set("eeprom", FUNC(eeprom_serial_93cxx_device::clk_write)); /* EEPROM serial clock */
+ m_mainlatch->q_out_cb<6>().set("eeprom", FUNC(eeprom_serial_93cxx_device::cs_write)); /* EEPROM chip select */
/* video hardware */
MCFG_DEVICE_ADD("spriteram", BUFFERED_SPRITERAM16)
@@ -1608,9 +1608,9 @@ MACHINE_CONFIG_START(gaelco2_state::maniacsqs)
LS259(config, m_mainlatch);
m_mainlatch->q_out_cb<0>().set(FUNC(gaelco2_state::coin1_counter_w));
m_mainlatch->q_out_cb<1>().set(FUNC(gaelco2_state::coin2_counter_w));
- m_mainlatch->q_out_cb<4>().set("eeprom", FUNC(eeprom_serial_93cxx_device::di_write)); /* EEPROM data */
- m_mainlatch->q_out_cb<5>().set("eeprom", FUNC(eeprom_serial_93cxx_device::clk_write)); /* EEPROM serial clock */
- m_mainlatch->q_out_cb<6>().set("eeprom", FUNC(eeprom_serial_93cxx_device::cs_write)); /* EEPROM chip select */
+ m_mainlatch->q_out_cb<4>().set("eeprom", FUNC(eeprom_serial_93cxx_device::di_write)); /* EEPROM data */
+ m_mainlatch->q_out_cb<5>().set("eeprom", FUNC(eeprom_serial_93cxx_device::clk_write)); /* EEPROM serial clock */
+ m_mainlatch->q_out_cb<6>().set("eeprom", FUNC(eeprom_serial_93cxx_device::cs_write)); /* EEPROM chip select */
/* video hardware */
MCFG_DEVICE_ADD("spriteram", BUFFERED_SPRITERAM16)
@@ -1855,8 +1855,8 @@ MACHINE_CONFIG_START(wrally2_state::wrally2)
LS259(config, m_mainlatch); // IC6
m_mainlatch->q_out_cb<0>().set(FUNC(gaelco2_state::coin1_counter_w));
m_mainlatch->q_out_cb<1>().set(FUNC(gaelco2_state::coin2_counter_w));
- m_mainlatch->q_out_cb<5>().set(FUNC(wrally2_state::wrally2_adc_clk)); /* ADCs clock-in line */
- m_mainlatch->q_out_cb<6>().set(FUNC(wrally2_state::wrally2_adc_cs)); /* ADCs chip select line */
+ m_mainlatch->q_out_cb<5>().set(FUNC(wrally2_state::wrally2_adc_clk)); /* ADCs clock-in line */
+ m_mainlatch->q_out_cb<6>().set(FUNC(wrally2_state::wrally2_adc_cs)); /* ADCs chip select line */
/* video hardware */
MCFG_DEVICE_ADD("spriteram", BUFFERED_SPRITERAM16)
diff --git a/src/mame/drivers/goldstar.cpp b/src/mame/drivers/goldstar.cpp
index 71c3122bf54..942326cf61d 100644
--- a/src/mame/drivers/goldstar.cpp
+++ b/src/mame/drivers/goldstar.cpp
@@ -9324,7 +9324,7 @@ MACHINE_CONFIG_START(unkch_state::megaline)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_megaline)
MCFG_PALETTE_ADD("palette", 256)
MCFG_PALETTE_INIT_OWNER(goldstar_state, lucky8)
-// NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_1);
+// NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_1);
MCFG_VIDEO_START_OVERRIDE(goldstar_state,goldstar)
diff --git a/src/mame/drivers/goupil.cpp b/src/mame/drivers/goupil.cpp
index 2edb7938366..8b092ed4124 100644
--- a/src/mame/drivers/goupil.cpp
+++ b/src/mame/drivers/goupil.cpp
@@ -551,15 +551,15 @@ void goupil_base_state::base(machine_config &config)
FLOPPY_CONNECTOR(config, m_floppy1, goupil_floppies, "525qd", floppy_image_device::default_floppy_formats);
i8279_device &i8279_kb1(I8279(config, "i8279_kb1", CPU_CLOCK));
- i8279_kb1.out_sl_callback().set(FUNC(goupil_g1_state::scanlines_kbd1_w)); // scan SL lines
- i8279_kb1.in_rl_callback().set(FUNC(goupil_g1_state::kbd1_r)); // kbd RL lines
+ i8279_kb1.out_sl_callback().set(FUNC(goupil_g1_state::scanlines_kbd1_w)); // scan SL lines
+ i8279_kb1.in_rl_callback().set(FUNC(goupil_g1_state::kbd1_r)); // kbd RL lines
i8279_kb1.in_shift_callback().set(FUNC(goupil_g1_state::shift_kb1_r));
i8279_kb1.in_ctrl_callback().set(FUNC(goupil_g1_state::ctrl_kb1_r));
i8279_kb1.out_irq_callback().set(m_via_keyb, FUNC(via6522_device::write_ca1));
i8279_device &i8279_kb2(I8279(config, "i8279_kb2", CPU_CLOCK));
- i8279_kb2.out_sl_callback().set(FUNC(goupil_g1_state::scanlines_kbd2_w)); // scan SL lines
- i8279_kb2.in_rl_callback().set(FUNC(goupil_g1_state::kbd2_r)); // kbd RL lines
+ i8279_kb2.out_sl_callback().set(FUNC(goupil_g1_state::scanlines_kbd2_w)); // scan SL lines
+ i8279_kb2.in_rl_callback().set(FUNC(goupil_g1_state::kbd2_r)); // kbd RL lines
i8279_kb2.in_shift_callback().set_constant(1);
i8279_kb2.in_ctrl_callback().set_constant(1);
}
diff --git a/src/mame/drivers/gstream.cpp b/src/mame/drivers/gstream.cpp
index 5718ce91c6a..7fd776c0629 100644
--- a/src/mame/drivers/gstream.cpp
+++ b/src/mame/drivers/gstream.cpp
@@ -869,7 +869,7 @@ MACHINE_CONFIG_START(gstream_state::x2222)
MCFG_DEVICE_IO_MAP(x2222_io)
MCFG_DEVICE_VBLANK_INT_DRIVER("screen", gstream_state, irq0_line_hold)
-// NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_1);
+// NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_1);
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
diff --git a/src/mame/drivers/hng64.cpp b/src/mame/drivers/hng64.cpp
index fd676786f03..10d02f4944d 100644
--- a/src/mame/drivers/hng64.cpp
+++ b/src/mame/drivers/hng64.cpp
@@ -122,9 +122,9 @@ No. PCB Label IC Markings IC Package
23 ROM1 ALTERA EPC1PC8 DIP8 (130817 bytes, archived as ROM1.BIN)
24 SRAM5 TC55257DFL-85L SOP28
- * The IDT 7133 / 7143 lack interrupts and just act as 0x1000 bytes (2x 0x800 16-bit words) of RAM
- IDT 7133 - 32K (2K X 16 Bit) MASTER Dual-Port SRAM
- IDT 7143 - 32K (2K X 16 Bit) SLAVE Dual-Port SRAM
+ * The IDT 7133 / 7143 lack interrupts and just act as 0x1000 bytes (2x 0x800 16-bit words) of RAM
+ IDT 7133 - 32K (2K X 16 Bit) MASTER Dual-Port SRAM
+ IDT 7143 - 32K (2K X 16 Bit) SLAVE Dual-Port SRAM
PCB Layout (Bottom)
@@ -206,9 +206,9 @@ Notes:
2. If the game cart is not plugged in, the hardware shows nothing on screen.
3. The IOCTR I/O MCU runs at 8 MHz.
- *"IDT71321 is function-compatible (but not pin-compatible) with MB8421" ( src\devices\machine\mb8421.cpp )
- It appears unlikely the interrupt function of the DPRAM is unused unless address pins are all inverted as
- there aren't any accesses to 7ff / 7fe outside of the RAM testing, commands are put at byte 0 by the MIPS
+ *"IDT71321 is function-compatible (but not pin-compatible) with MB8421" ( src\devices\machine\mb8421.cpp )
+ It appears unlikely the interrupt function of the DPRAM is unused unless address pins are all inverted as
+ there aren't any accesses to 7ff / 7fe outside of the RAM testing, commands are put at byte 0 by the MIPS
Hyper Neo Geo game cartridges
-----------------------------
@@ -634,13 +634,13 @@ WRITE32_MEMBER(hng64_state::hng64_irqc_w)
I'm not really convinced these are commands in this sense based on code analysis, probably just a non-standard way of controlling the lines
- command table:
- 0x0b = ? mode input polling (sams64, bbust2, sams64_2 & roadedge) (*)
- 0x0c = cut down connections, treats the dualport to be normal RAM
- 0x11 = ? mode input polling (fatfurwa, xrally, buriki) (*)
- 0x20 = asks for MCU machine code (probably not, this is also written in the function after the TLCS870 requests an interrupt on the MIPS)
+ command table:
+ 0x0b = ? mode input polling (sams64, bbust2, sams64_2 & roadedge) (*)
+ 0x0c = cut down connections, treats the dualport to be normal RAM
+ 0x11 = ? mode input polling (fatfurwa, xrally, buriki) (*)
+ 0x20 = asks for MCU machine code (probably not, this is also written in the function after the TLCS870 requests an interrupt on the MIPS)
- (*) 0x11 is followed by 0x0b if the latter is used, JVS-esque indirect/direct mode?
+ (*) 0x11 is followed by 0x0b if the latter is used, JVS-esque indirect/direct mode?
----
*/
@@ -714,19 +714,19 @@ Beast Busters 2 outputs (all at offset == 0x1c):
/*
- MIPS clearly writes commands for the TLCS870 MCU at 00 here
- first command it writes after the startup checks is 0x0a, it should also trigger an EXTINT0 on the TLCS870
- around that time, as the EXTINT0 reads the command.
-
- call at CBB0 in the MCU is to read the command from shared RAM
- value is used in the jump table at CBC5
- command 0x0a points at ccbd
- which starts with a call to copy 0x40 bytes of data from 0x200 in shared RAM to the internal RAM of the MCU
- the MIPS (at least in Fatal Fury) uploads this data to shared RAM prior to the call.
-
- need to work out what triggers the interrupt, as a write to 0 wouldn't as the Dual Port RAM interrupts
- are on addresses 0x7fe and 0x7ff (we're using an address near the system regs, based on code analysis
- it seems correct, see hng64_mips_to_iomcu_irq_w )
+ MIPS clearly writes commands for the TLCS870 MCU at 00 here
+ first command it writes after the startup checks is 0x0a, it should also trigger an EXTINT0 on the TLCS870
+ around that time, as the EXTINT0 reads the command.
+
+ call at CBB0 in the MCU is to read the command from shared RAM
+ value is used in the jump table at CBC5
+ command 0x0a points at ccbd
+ which starts with a call to copy 0x40 bytes of data from 0x200 in shared RAM to the internal RAM of the MCU
+ the MIPS (at least in Fatal Fury) uploads this data to shared RAM prior to the call.
+
+ need to work out what triggers the interrupt, as a write to 0 wouldn't as the Dual Port RAM interrupts
+ are on addresses 0x7fe and 0x7ff (we're using an address near the system regs, based on code analysis
+ it seems correct, see hng64_mips_to_iomcu_irq_w )
*/
WRITE8_MEMBER(hng64_state::hng64_dualport_w)
@@ -1498,202 +1498,202 @@ void hng64_state::set_irq(uint32_t irq_vector)
- is there an irq mask mechanism?
- is irq level cleared too when the irq acks?
- IRQ level read at 0x80008cac
- IO RAM is at bf808000 on the MIPS
-
- -- irq table in Fatal Fury WA - 'empty' entries just do minimum 'interrupt service' with no real function.
- 80000400: 80039F20 irq00 vblank irq
- 80000404: 80039F84 1rq01 jump based on ram content
- 80000408: 8003A08C irq02 'empty'
- 8000040C: 8006FF04 irq03 3d FIFO?
- 80000410: A0000410 irq04 INVALID
- 80000414: A0000414 irq05 INVALID
- 80000418: A0000418 irq06 INVALID
- 8000041C: A000041C irq07 INVALID
- 80000420: A0000420 irq08 INVALID
- 80000424: 8003A00C irq09 'empty' writes to sysreg 1074 instead of loading/storing regs tho
- 80000428: 80039FD0 irq0a 'empty' writes to sysreg 1074 instead of loading/storing regs tho
- 8000042C: 8003A0C0 irq0b 'empty'(network on xrally?) writes to sysreg 1074 instead of loading/storing regs tho
- 80000430: 8003A050 irq0c 'empty' writes to sysreg 1074 instead of loading/storing regs tho
- 80000434: A0000434 irq0d INVALID
- 80000438: A0000438 irq0e INVALID
- 8000043C: A000043C irq0f INVALID
- 80000440: A0000440 irq10 INVALID
- 80000444: 8003A0FC irq11 IO MCU related? write to sysreg 1084 instead of loading/storing regs, accesses dualport RAM
- 80000448: A0000448 irq12 INVALID
- 8000044C: A000044C irq13 INVALID
- 80000450: A0000450 irq14 INVALID
- 80000454: A0000454 irq15 INVALID
- 80000458: A0000458 irq16 INVALID
- 8000045C: 8003A1D4 irq17 'empty' write to sysreg 1084 instead of loading/storing regs tho (like irq 0x11)
- 80000460: A0000460 irq18 INVALID
- (all other entries, invalid)
-
- Xrally (invalid IRQs are more obviously invalid, pointing at 0)
- 80000400: 80016ED0 irq00
- 80000404: 80016F58 irq01
- 80000408: 80017048 irq02
- 8000040C: 80013484 irq03
- 80000410: 00000000 irq04 INVALID
- 80000414: 00000000 irq05 INVALID
- 80000418: 00000000 irq06 INVALID
- 8000041C: 00000000 irq07 INVALID
- 80000420: 00000000 irq08 INVALID
- 80000424: 80016FC8 irq09
- 80000428: 80016F8C irq0a
- 8000042C: 8001707C irq0b
- 80000430: 8001700C irq0c
- 80000434: 00000000 irq0d INVALID
- 80000438: 00000000 irq0e INVALID
- 8000043C: 00000000 irq0f INVALID
- 80000440: 00000000 irq10 INVALID
- 80000444: 800170C0 irq11
- 80000448: 00000000 irq12 INVALID
- 8000044C: 00000000 irq13 INVALID
- 80000450: 00000000 irq14 INVALID
- 80000454: 00000000 irq15 INVALID
- 80000458: 00000000 irq16 INVALID
- 8000045C: 80017198 irq17
- 80000460: 00000000 irq18 INVALID
- (all other entries, invalid)
-
- Buriki
- 80000400: 800C49C4
- 80000404: 800C4748
- 80000408: 800C4828
- 8000040C: 800C4B80
- 80000410: 00000000
- 80000414: 00000000
- 80000418: 00000000
- 8000041C: 00000000
- 80000420: 00000000
- 80000424: 800C47B0
- 80000428: 800C4778
- 8000042C: 800C4858
- 80000430: 800C47F0
- 80000434: 00000000
- 80000438: 00000000
- 8000043C: 00000000
- 80000440: 00000000
- 80000444: 800C4890
- 80000448: 00000000
- 8000044C: 00000000
- 80000450: 00000000
- 80000454: 00000000
- 80000458: 00000000
- 8000045C: 800C498C
- 80000460: 00000000
-
- Beast Busters 2
- 80000400: 8000E9D8
- 80000404: 8000EAFC
- 80000408: 8000EBFC
- 8000040C: 80012D90
- 80000410: FFFFFFFF
- 80000414: FFFFFFFF
- 80000418: FFFFFFFF
- 8000041C: FFFFFFFF
- 80000420: FFFFFFFF
- 80000424: 8000EB74
- 80000428: 8000EB34
- 8000042C: 8000EC34
- 80000430: 8000EBBC
- 80000434: FFFFFFFF
- 80000438: FFFFFFFF
- 8000043C: FFFFFFFF
- 80000440: FFFFFFFF
- 80000444: 8000E508
- 80000448: FFFFFFFF
- 8000044C: FFFFFFFF
- 80000450: FFFFFFFF
- 80000454: FFFFFFFF
- 80000458: FFFFFFFF
- 8000045C: FFFFFFFF irq17 INVALID (not even a stub routine here)
- 80000460: FFFFFFFF
-
- Roads Edge
- 80000400: 80028B04
- 80000404: 80028B88
- 80000408: 80028C68
- 8000040C: 80036FAC
- 80000410: 00000000
- 80000414: 00000000
- 80000418: 00000000
- 8000041C: 00000000
- 80000420: 00000000
- 80000424: 80028BF0
- 80000428: 80028BB8
- 8000042C: 80028C98
- 80000430: 80028C30
- 80000434: 00000000
- 80000438: 00000000
- 8000043C: 00000000
- 80000440: 00000000
- 80000444: 80027340
- 80000448: 00000000
- 8000044C: 00000000
- 80000450: 00000000
- 80000454: 00000000
- 80000458: 00000000
- 8000045C: 00000000 irq17 INVALID (not even a stub routine here)
- 80000460: 00000000
-
- SamSho 64 code is more complex, irqs point to functions that get a jump address from a fixed ram location for each IRQ, most are invalid tho?
- the ingame table is copied from 80005DD0
- bootup ingame
- 80000400: 800C03E0 irq00 80005dd0 800c02e0 800cfcc8
- 80000404: 800C041C irq01 80005dd4 800c0000
- 80000408: 800C0458 irq02 80005dd8 800c0000
- 8000040C: 800C0494 irq03 80005ddc 800c3054 800cfd58
- 80000410: 800C04D0 irq04 80005de0 800c3070 800cfdf8 - interesting because this level is invalid on other games
- 80000414: 800C032C irq05 80000478 00000000
- 80000418: 800C0368 irq06 80000478 00000000
- 8000041C: 800C03A4 irq07 80000478 00000000
- 80000420: 800C050C irq08 80005df0 800c0000
- 80000424: 800C0548 irq09 80005df4 800c0000
- 80000428: 800C0584 irq0a 80005df8 800c0000
- 8000042C: 800C05C0 irq0b 80005dfc 800c0000
- 80000430: 800C05FC irq0c 80005e00 800c0000
- 80000434: 800C02F0 irq0d 80000478 00000000
- 80000438: 800C02F0 irq0e 80000478 00000000
- 8000043C: 800C02F0 irq0f 80000478 00000000
- 80000440: 800C0638 irq10 80005e10 800c0000
- 80000444: 800C0674 irq11 80005e14 800c0000
- 80000448: 800C06B0 irq12 80005e18 800c0000
- 8000044C: 800C06EC irq13 80005e1c 800c0000
- 80000450: 800C0728 irq14 80005e20 800c0000
- 80000454: 800C0764 irq15 80005e24 800c0000
- 80000458: 800C07A0 irq16 80005e28 800c0000
- 8000045C: 800C07DC irq17 80005e2c 800c0000
- 80000460: 00000000 (invalid)
-
- SamSho 64 2 is the same types as SamSho 64
- bootup ingame
- 80000400: 801008DC irq00 802011e0 801007e0 8011f6b4
- 80000404: 80100918 irq01 802011e4 80100500
- 80000408: 80100954 irq02 802011e8 80100500
- 8000040C: 80100990 irq03 802011ec 80101b38 8011f7b8
- 80000410: 801009CC irq04 802011f0 80101b54 80101b54
- 80000414: 80100828 irq05 80000478 0000000b
- 80000418: 80100864 irq06 80000478 0000000b
- 8000041C: 801008A0 irq07 80000478 0000000b
- 80000420: 80100A08 irq08 80201200 80100500
- 80000424: 80100A44 irq09 80201204 80100500
- 80000428: 80100A80 irq0a 80201208 80100500
- 8000042C: 80100ABC irq0b 8020120c 80100500
- 80000430: 80100AF8 irq0c 80201210 80100500
- 80000434: 801007EC irq0d 80000478 0000000b
- 80000438: 801007EC irq0e 80000478 0000000b
- 8000043C: 801007EC irq0f 80000478 0000000b
- 80000440: 80100B34 irq10 80201220 80100500
- 80000444: 80100B70 irq11 80201224 80100500
- 80000448: 80100BAC irq12 80201228 80100500
- 8000044C: 80100BE8 irq13 8020122c 80100500
- 80000450: 80100C24 irq14 80201230 80100500
- 80000454: 80100C60 irq15 80201234 80100500
- 80000458: 80100C9C irq16 80201238 80100500
- 8000045C: 80100CD8 irq17 8020123c 80100500
- 80000460: 00000000 (invalid)
+ IRQ level read at 0x80008cac
+ IO RAM is at bf808000 on the MIPS
+
+ -- irq table in Fatal Fury WA - 'empty' entries just do minimum 'interrupt service' with no real function.
+ 80000400: 80039F20 irq00 vblank irq
+ 80000404: 80039F84 1rq01 jump based on ram content
+ 80000408: 8003A08C irq02 'empty'
+ 8000040C: 8006FF04 irq03 3d FIFO?
+ 80000410: A0000410 irq04 INVALID
+ 80000414: A0000414 irq05 INVALID
+ 80000418: A0000418 irq06 INVALID
+ 8000041C: A000041C irq07 INVALID
+ 80000420: A0000420 irq08 INVALID
+ 80000424: 8003A00C irq09 'empty' writes to sysreg 1074 instead of loading/storing regs tho
+ 80000428: 80039FD0 irq0a 'empty' writes to sysreg 1074 instead of loading/storing regs tho
+ 8000042C: 8003A0C0 irq0b 'empty'(network on xrally?) writes to sysreg 1074 instead of loading/storing regs tho
+ 80000430: 8003A050 irq0c 'empty' writes to sysreg 1074 instead of loading/storing regs tho
+ 80000434: A0000434 irq0d INVALID
+ 80000438: A0000438 irq0e INVALID
+ 8000043C: A000043C irq0f INVALID
+ 80000440: A0000440 irq10 INVALID
+ 80000444: 8003A0FC irq11 IO MCU related? write to sysreg 1084 instead of loading/storing regs, accesses dualport RAM
+ 80000448: A0000448 irq12 INVALID
+ 8000044C: A000044C irq13 INVALID
+ 80000450: A0000450 irq14 INVALID
+ 80000454: A0000454 irq15 INVALID
+ 80000458: A0000458 irq16 INVALID
+ 8000045C: 8003A1D4 irq17 'empty' write to sysreg 1084 instead of loading/storing regs tho (like irq 0x11)
+ 80000460: A0000460 irq18 INVALID
+ (all other entries, invalid)
+
+ Xrally (invalid IRQs are more obviously invalid, pointing at 0)
+ 80000400: 80016ED0 irq00
+ 80000404: 80016F58 irq01
+ 80000408: 80017048 irq02
+ 8000040C: 80013484 irq03
+ 80000410: 00000000 irq04 INVALID
+ 80000414: 00000000 irq05 INVALID
+ 80000418: 00000000 irq06 INVALID
+ 8000041C: 00000000 irq07 INVALID
+ 80000420: 00000000 irq08 INVALID
+ 80000424: 80016FC8 irq09
+ 80000428: 80016F8C irq0a
+ 8000042C: 8001707C irq0b
+ 80000430: 8001700C irq0c
+ 80000434: 00000000 irq0d INVALID
+ 80000438: 00000000 irq0e INVALID
+ 8000043C: 00000000 irq0f INVALID
+ 80000440: 00000000 irq10 INVALID
+ 80000444: 800170C0 irq11
+ 80000448: 00000000 irq12 INVALID
+ 8000044C: 00000000 irq13 INVALID
+ 80000450: 00000000 irq14 INVALID
+ 80000454: 00000000 irq15 INVALID
+ 80000458: 00000000 irq16 INVALID
+ 8000045C: 80017198 irq17
+ 80000460: 00000000 irq18 INVALID
+ (all other entries, invalid)
+
+ Buriki
+ 80000400: 800C49C4
+ 80000404: 800C4748
+ 80000408: 800C4828
+ 8000040C: 800C4B80
+ 80000410: 00000000
+ 80000414: 00000000
+ 80000418: 00000000
+ 8000041C: 00000000
+ 80000420: 00000000
+ 80000424: 800C47B0
+ 80000428: 800C4778
+ 8000042C: 800C4858
+ 80000430: 800C47F0
+ 80000434: 00000000
+ 80000438: 00000000
+ 8000043C: 00000000
+ 80000440: 00000000
+ 80000444: 800C4890
+ 80000448: 00000000
+ 8000044C: 00000000
+ 80000450: 00000000
+ 80000454: 00000000
+ 80000458: 00000000
+ 8000045C: 800C498C
+ 80000460: 00000000
+
+ Beast Busters 2
+ 80000400: 8000E9D8
+ 80000404: 8000EAFC
+ 80000408: 8000EBFC
+ 8000040C: 80012D90
+ 80000410: FFFFFFFF
+ 80000414: FFFFFFFF
+ 80000418: FFFFFFFF
+ 8000041C: FFFFFFFF
+ 80000420: FFFFFFFF
+ 80000424: 8000EB74
+ 80000428: 8000EB34
+ 8000042C: 8000EC34
+ 80000430: 8000EBBC
+ 80000434: FFFFFFFF
+ 80000438: FFFFFFFF
+ 8000043C: FFFFFFFF
+ 80000440: FFFFFFFF
+ 80000444: 8000E508
+ 80000448: FFFFFFFF
+ 8000044C: FFFFFFFF
+ 80000450: FFFFFFFF
+ 80000454: FFFFFFFF
+ 80000458: FFFFFFFF
+ 8000045C: FFFFFFFF irq17 INVALID (not even a stub routine here)
+ 80000460: FFFFFFFF
+
+ Roads Edge
+ 80000400: 80028B04
+ 80000404: 80028B88
+ 80000408: 80028C68
+ 8000040C: 80036FAC
+ 80000410: 00000000
+ 80000414: 00000000
+ 80000418: 00000000
+ 8000041C: 00000000
+ 80000420: 00000000
+ 80000424: 80028BF0
+ 80000428: 80028BB8
+ 8000042C: 80028C98
+ 80000430: 80028C30
+ 80000434: 00000000
+ 80000438: 00000000
+ 8000043C: 00000000
+ 80000440: 00000000
+ 80000444: 80027340
+ 80000448: 00000000
+ 8000044C: 00000000
+ 80000450: 00000000
+ 80000454: 00000000
+ 80000458: 00000000
+ 8000045C: 00000000 irq17 INVALID (not even a stub routine here)
+ 80000460: 00000000
+
+ SamSho 64 code is more complex, irqs point to functions that get a jump address from a fixed ram location for each IRQ, most are invalid tho?
+ the ingame table is copied from 80005DD0
+ bootup ingame
+ 80000400: 800C03E0 irq00 80005dd0 800c02e0 800cfcc8
+ 80000404: 800C041C irq01 80005dd4 800c0000
+ 80000408: 800C0458 irq02 80005dd8 800c0000
+ 8000040C: 800C0494 irq03 80005ddc 800c3054 800cfd58
+ 80000410: 800C04D0 irq04 80005de0 800c3070 800cfdf8 - interesting because this level is invalid on other games
+ 80000414: 800C032C irq05 80000478 00000000
+ 80000418: 800C0368 irq06 80000478 00000000
+ 8000041C: 800C03A4 irq07 80000478 00000000
+ 80000420: 800C050C irq08 80005df0 800c0000
+ 80000424: 800C0548 irq09 80005df4 800c0000
+ 80000428: 800C0584 irq0a 80005df8 800c0000
+ 8000042C: 800C05C0 irq0b 80005dfc 800c0000
+ 80000430: 800C05FC irq0c 80005e00 800c0000
+ 80000434: 800C02F0 irq0d 80000478 00000000
+ 80000438: 800C02F0 irq0e 80000478 00000000
+ 8000043C: 800C02F0 irq0f 80000478 00000000
+ 80000440: 800C0638 irq10 80005e10 800c0000
+ 80000444: 800C0674 irq11 80005e14 800c0000
+ 80000448: 800C06B0 irq12 80005e18 800c0000
+ 8000044C: 800C06EC irq13 80005e1c 800c0000
+ 80000450: 800C0728 irq14 80005e20 800c0000
+ 80000454: 800C0764 irq15 80005e24 800c0000
+ 80000458: 800C07A0 irq16 80005e28 800c0000
+ 8000045C: 800C07DC irq17 80005e2c 800c0000
+ 80000460: 00000000 (invalid)
+
+ SamSho 64 2 is the same types as SamSho 64
+ bootup ingame
+ 80000400: 801008DC irq00 802011e0 801007e0 8011f6b4
+ 80000404: 80100918 irq01 802011e4 80100500
+ 80000408: 80100954 irq02 802011e8 80100500
+ 8000040C: 80100990 irq03 802011ec 80101b38 8011f7b8
+ 80000410: 801009CC irq04 802011f0 80101b54 80101b54
+ 80000414: 80100828 irq05 80000478 0000000b
+ 80000418: 80100864 irq06 80000478 0000000b
+ 8000041C: 801008A0 irq07 80000478 0000000b
+ 80000420: 80100A08 irq08 80201200 80100500
+ 80000424: 80100A44 irq09 80201204 80100500
+ 80000428: 80100A80 irq0a 80201208 80100500
+ 8000042C: 80100ABC irq0b 8020120c 80100500
+ 80000430: 80100AF8 irq0c 80201210 80100500
+ 80000434: 801007EC irq0d 80000478 0000000b
+ 80000438: 801007EC irq0e 80000478 0000000b
+ 8000043C: 801007EC irq0f 80000478 0000000b
+ 80000440: 80100B34 irq10 80201220 80100500
+ 80000444: 80100B70 irq11 80201224 80100500
+ 80000448: 80100BAC irq12 80201228 80100500
+ 8000044C: 80100BE8 irq13 8020122c 80100500
+ 80000450: 80100C24 irq14 80201230 80100500
+ 80000454: 80100C60 irq15 80201234 80100500
+ 80000458: 80100C9C irq16 80201238 80100500
+ 8000045C: 80100CD8 irq17 8020123c 80100500
+ 80000460: 00000000 (invalid)
Register 111c is connected to the interrupts and written in each one (IRQ ack / latch clear?)
@@ -1701,26 +1701,26 @@ void hng64_state::set_irq(uint32_t irq_vector)
HNG64 writing to SYSTEM Registers 0x0000111c == 0x00000002. (PC=80009b5c) 0x01 <empty> (not empty of ffwa)
HNG64 writing to SYSTEM Registers 0x0000111c == 0x00000004. (PC=80009b64) 0x02 <empty>
HNG64 writing to SYSTEM Registers 0x0000111c == 0x00000008. (PC=80009b6c) 0x03 3d fifo processed irq
- 00010
- 00020
- 00040
- 00080
- 00100
+ 00010
+ 00020
+ 00040
+ 00080
+ 00100
HNG64 writing to SYSTEM Registers 0x0000111c == 0x00000200. (PC=80009b70) 0x09
HNG64 writing to SYSTEM Registers 0x0000111c == 0x00000400. (PC=80009b78) 0x0a
HNG64 writing to SYSTEM Registers 0x0000111c == 0x00000800. (PC=80009b88) 0x0b network irq, needed by xrally and roadedge
- 01000
- 02000
- 04000
- 08000
- 10000
+ 01000
+ 02000
+ 04000
+ 08000
+ 10000
HNG64 writing to SYSTEM Registers 0x0000111c == 0x00020000. (PC=80009b80) 0x11 MCU related irq?
- 40000
- 80000
- 100000
- 200000
- 400000
- 800000 0x17 MCU related irq?
+ 40000
+ 80000
+ 100000
+ 200000
+ 400000
+ 800000 0x17 MCU related irq?
samsho64 / samsho64_2 does this during running:
HNG64 writing to SYSTEM Registers 0x0000111c == 0x00000000. (PC=800008fc) just checking?
@@ -1922,13 +1922,13 @@ WRITE8_MEMBER(hng64_state::hng64_shoot_lamps7_w)
}
/*
- Beast Busters 2 outputs (all written to offset 0x1c in dualport ram):
- 0x00000001 start #1
- 0x00000002 start #2
- 0x00000004 start #3
- 0x00001000 gun #1
- 0x00002000 gun #2
- 0x00004000 gun #3
+ Beast Busters 2 outputs (all written to offset 0x1c in dualport ram):
+ 0x00000001 start #1
+ 0x00000002 start #2
+ 0x00000004 start #3
+ 0x00001000 gun #1
+ 0x00002000 gun #2
+ 0x00004000 gun #3
*/
WRITE8_MEMBER(hng64_state::hng64_shoot_lamps6_w)
@@ -2227,13 +2227,13 @@ MACHINE_CONFIG_END
ROM_LOAD_HNG64_BIOS( 2, "bios_export.bin", 0x00000, 0x080000, CRC(bbf07ec6) SHA1(5656aa077f6a6d43953f15b5123eea102a9d5313) ) \
ROM_SYSTEM_BIOS( 3, "korea", "Korea" ) \
ROM_LOAD_HNG64_BIOS( 3, "bios_korea.bin", 0x00000, 0x080000, CRC(ac953e2e) SHA1(f502188ef252b7c9d04934c4b525730a116de48b) ) \
- /* KL5C80 BIOS (network CPU) */ \
+ /* KL5C80 BIOS (network CPU) */ \
ROM_REGION( 0x0100000, "user2", 0 ) \
ROM_LOAD ( "from1.bin", 0x000000, 0x080000, CRC(6b933005) SHA1(e992747f46c48b66e5509fe0adf19c91250b00c7) ) \
/* FPGA (unknown) */ \
ROM_REGION( 0x0100000, "fpga", 0 ) /* FPGA data */ \
ROM_LOAD ( "rom1.bin", 0x000000, 0x01ff32, CRC(4a6832dc) SHA1(ae504f7733c2f40450157cd1d3b85bc83fac8569) ) \
- /* TMP87PH40AN (I/O MCU) */ \
+ /* TMP87PH40AN (I/O MCU) */ \
ROM_REGION( 0x10000, "iomcu", 0 ) /* "64Bit I/O Controller Ver 1.0 1997.06.29(C)SNK" internal ID string */ \
ROM_LOAD ( "tmp87ph40an.bin", 0x8000, 0x8000, CRC(b70df21f) SHA1(5b742e8a0bbf4c0ae4f4398d34c7058fb24acc92) )
diff --git a/src/mame/drivers/igs_m027.cpp b/src/mame/drivers/igs_m027.cpp
index 3d296c35720..326c29e80f4 100644
--- a/src/mame/drivers/igs_m027.cpp
+++ b/src/mame/drivers/igs_m027.cpp
@@ -331,7 +331,7 @@ MACHINE_CONFIG_START(igs_m027_state::igs_majhong)
MCFG_DEVICE_ADD("maincpu", ARM7, 20000000)
MCFG_DEVICE_PROGRAM_MAP(igs_majhong_map)
-// NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0);
+// NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0);
MCFG_SCREEN_ADD("screen", RASTER)
@@ -364,7 +364,7 @@ MACHINE_CONFIG_START(igs_m027_state::amazonia)
MCFG_DEVICE_ADD("maincpu", ARM7, 20000000)
MCFG_DEVICE_PROGRAM_MAP(igs_majhong_map)
-// NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0);
+// NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0);
diff --git a/src/mame/drivers/jokrwild.cpp b/src/mame/drivers/jokrwild.cpp
index 2c5b1f53cf5..c2ae2c7f257 100644
--- a/src/mame/drivers/jokrwild.cpp
+++ b/src/mame/drivers/jokrwild.cpp
@@ -415,7 +415,7 @@ MACHINE_CONFIG_START(jokrwild_state::jokrwild)
MCFG_DEVICE_ADD("maincpu", M6809, MASTER_CLOCK/2) /* guess */
MCFG_DEVICE_PROGRAM_MAP(jokrwild_map)
-// NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0);
+// NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0);
pia6821_device &pia0(PIA6821(config, "pia0", 0));
pia0.readpa_handler().set_ioport("IN0");
diff --git a/src/mame/drivers/m10.cpp b/src/mame/drivers/m10.cpp
index a1032ab00d1..c10c017db51 100644
--- a/src/mame/drivers/m10.cpp
+++ b/src/mame/drivers/m10.cpp
@@ -838,22 +838,22 @@ MACHINE_CONFIG_START(m10_state::m10)
/* 74LS123 */
TTL74123(config, m_ic8j1, 0); /* completely illegible */
- m_ic8j1->set_connection_type(TTL74123_NOT_GROUNDED_DIODE); /* the hook up type */
- m_ic8j1->set_resistor_value(RES_K(1)); /* resistor connected to RCext */
- m_ic8j1->set_capacitor_value(CAP_U(1)); /* capacitor connected to Cext and RCext */
- m_ic8j1->set_a_pin_value(1); /* A pin - driven by the CRTC */
- m_ic8j1->set_b_pin_value(1); /* B pin - pulled high */
- m_ic8j1->set_clear_pin_value(1); /* Clear pin - pulled high */
+ m_ic8j1->set_connection_type(TTL74123_NOT_GROUNDED_DIODE); /* the hook up type */
+ m_ic8j1->set_resistor_value(RES_K(1)); /* resistor connected to RCext */
+ m_ic8j1->set_capacitor_value(CAP_U(1)); /* capacitor connected to Cext and RCext */
+ m_ic8j1->set_a_pin_value(1); /* A pin - driven by the CRTC */
+ m_ic8j1->set_b_pin_value(1); /* B pin - pulled high */
+ m_ic8j1->set_clear_pin_value(1); /* Clear pin - pulled high */
m_ic8j1->out_cb().set(FUNC(m10_state::ic8j1_output_changed));
TTL74123(config, m_ic8j2, 0);
- m_ic8j2->set_connection_type(TTL74123_NOT_GROUNDED_DIODE); /* the hook up type */
+ m_ic8j2->set_connection_type(TTL74123_NOT_GROUNDED_DIODE); /* the hook up type */
/* 10k + 20k variable resistor */
- m_ic8j2->set_resistor_value(RES_K(22)); /* resistor connected to RCext */
- m_ic8j2->set_capacitor_value(CAP_U(2.2)); /* capacitor connected to Cext and RCext */
- m_ic8j2->set_a_pin_value(1); /* A pin - driven by the CRTC */
- m_ic8j2->set_b_pin_value(1); /* B pin - pulled high */
- m_ic8j2->set_clear_pin_value(1); /* Clear pin - pulled high */
+ m_ic8j2->set_resistor_value(RES_K(22)); /* resistor connected to RCext */
+ m_ic8j2->set_capacitor_value(CAP_U(2.2)); /* capacitor connected to Cext and RCext */
+ m_ic8j2->set_a_pin_value(1); /* A pin - driven by the CRTC */
+ m_ic8j2->set_b_pin_value(1); /* B pin - pulled high */
+ m_ic8j2->set_clear_pin_value(1); /* Clear pin - pulled high */
m_ic8j2->out_cb().set(FUNC(m10_state::ic8j2_output_changed));
/* sound hardware */
diff --git a/src/mame/drivers/mainevt.cpp b/src/mame/drivers/mainevt.cpp
index 9f6ec0439d7..96d1ac86cc1 100644
--- a/src/mame/drivers/mainevt.cpp
+++ b/src/mame/drivers/mainevt.cpp
@@ -11,9 +11,9 @@ Notes:
- Schematics show a palette/work RAM bank selector, but this doesn't seem
to be used?
-- Devastators: has player-trench collision detection issues, player isn't
+- Devastators: has player-trench collision detection issues, player isn't
supposed to go through them.
-
+
- Devastators: shadows don't work. Bit 7 of the sprite attribute is always 0,
could there be a global enable flag in the 051960?
This is particularly evident in level 2 where plane shadows cover other sprites.
@@ -23,8 +23,8 @@ Notes:
- Devastators: sprite zooming for the planes in level 2 is particularly bad.
-- Devastators: title screen white backdrop is always supposed to flicker,
- it currently do that only from second/fourth attract cycles (supposed to always
+- Devastators: title screen white backdrop is always supposed to flicker,
+ it currently do that only from second/fourth attract cycles (supposed to always
flicker from PCB video);
***************************************************************************/
@@ -432,10 +432,10 @@ MACHINE_CONFIG_START(mainevt_state::mainevt)
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
-// MCFG_SCREEN_REFRESH_RATE(60)
-// MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
-// MCFG_SCREEN_SIZE(64*8, 32*8)
-// MCFG_SCREEN_VISIBLE_AREA(14*8, (64-14)*8-1, 2*8, 30*8-1 )
+// MCFG_SCREEN_REFRESH_RATE(60)
+// MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+// MCFG_SCREEN_SIZE(64*8, 32*8)
+// MCFG_SCREEN_VISIBLE_AREA(14*8, (64-14)*8-1, 2*8, 30*8-1 )
MCFG_SCREEN_RAW_PARAMS(XTAL(24'000'000)/3, 528, 14*8, (64-14)*8, 256, 16, 240) // assume 59.17 like Devastators
MCFG_SCREEN_UPDATE_DRIVER(mainevt_state, screen_update_mainevt)
MCFG_SCREEN_PALETTE("palette")
@@ -481,10 +481,10 @@ MACHINE_CONFIG_START(mainevt_state::devstors)
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
-// MCFG_SCREEN_REFRESH_RATE(60)
-// MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
-// MCFG_SCREEN_SIZE(64*8, 32*8)
-// MCFG_SCREEN_VISIBLE_AREA(13*8, (64-13)*8-1, 2*8, 30*8-1 )
+// MCFG_SCREEN_REFRESH_RATE(60)
+// MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+// MCFG_SCREEN_SIZE(64*8, 32*8)
+// MCFG_SCREEN_VISIBLE_AREA(13*8, (64-13)*8-1, 2*8, 30*8-1 )
MCFG_SCREEN_RAW_PARAMS(XTAL(24'000'000)/3, 528, 13*8, (64-13)*8, 256, 16, 240) // measured 59.17
MCFG_SCREEN_UPDATE_DRIVER(mainevt_state, screen_update_dv)
MCFG_SCREEN_PALETTE("palette")
diff --git a/src/mame/drivers/mario.cpp b/src/mame/drivers/mario.cpp
index 036e3d48d49..1ffb77dd821 100644
--- a/src/mame/drivers/mario.cpp
+++ b/src/mame/drivers/mario.cpp
@@ -349,14 +349,14 @@ MACHINE_CONFIG_START(mario_state::mario_base)
MCFG_Z80DMA_OUT_MREQ_CB(WRITE8(*this, mario_state, memory_write_byte))
ls259_device &mainlatch(LS259(config, "mainlatch")); // 2L (7E80H)
- mainlatch.q_out_cb<0>().set(FUNC(mario_state::gfx_bank_w)); // ~T ROM
- mainlatch.q_out_cb<1>().set_nop(); // 2 PSL
- mainlatch.q_out_cb<2>().set(FUNC(mario_state::flip_w)); // FLIP
- mainlatch.q_out_cb<3>().set(FUNC(mario_state::palette_bank_w)); // CREF 0
- mainlatch.q_out_cb<4>().set(FUNC(mario_state::nmi_mask_w)); // NMI EI
- mainlatch.q_out_cb<5>().set("z80dma", FUNC(z80dma_device::rdy_w)); // DMA SET
- mainlatch.q_out_cb<6>().set(FUNC(mario_state::coin_counter_1_w)); // COUNTER 2 (misnumbered on schematic)
- mainlatch.q_out_cb<7>().set(FUNC(mario_state::coin_counter_2_w)); // COUNTER 1 (misnumbered on schematic)
+ mainlatch.q_out_cb<0>().set(FUNC(mario_state::gfx_bank_w)); // ~T ROM
+ mainlatch.q_out_cb<1>().set_nop(); // 2 PSL
+ mainlatch.q_out_cb<2>().set(FUNC(mario_state::flip_w)); // FLIP
+ mainlatch.q_out_cb<3>().set(FUNC(mario_state::palette_bank_w)); // CREF 0
+ mainlatch.q_out_cb<4>().set(FUNC(mario_state::nmi_mask_w)); // NMI EI
+ mainlatch.q_out_cb<5>().set("z80dma", FUNC(z80dma_device::rdy_w)); // DMA SET
+ mainlatch.q_out_cb<6>().set(FUNC(mario_state::coin_counter_1_w)); // COUNTER 2 (misnumbered on schematic)
+ mainlatch.q_out_cb<7>().set(FUNC(mario_state::coin_counter_2_w)); // COUNTER 1 (misnumbered on schematic)
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
diff --git a/src/mame/drivers/mastboyo.cpp b/src/mame/drivers/mastboyo.cpp
index 4b08e93e1ab..c8c71205d4e 100644
--- a/src/mame/drivers/mastboyo.cpp
+++ b/src/mame/drivers/mastboyo.cpp
@@ -168,7 +168,7 @@ static INPUT_PORTS_START( mastboyo )
PORT_DIPNAME( 0x80, 0x80, "Test Inicial" )
PORT_DIPSETTING( 0x80, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
-// PORT_SERVICE( 0x80, IP_ACTIVE_LOW ) <--- Why to mask and hide the test mode???
+// PORT_SERVICE( 0x80, IP_ACTIVE_LOW ) <--- Why to mask and hide the test mode???
INPUT_PORTS_END
diff --git a/src/mame/drivers/maygay1b.cpp b/src/mame/drivers/maygay1b.cpp
index b6799c9e29b..07d86582e3b 100644
--- a/src/mame/drivers/maygay1b.cpp
+++ b/src/mame/drivers/maygay1b.cpp
@@ -784,13 +784,13 @@ MACHINE_CONFIG_START(maygay1b_state::maygay_m1)
pia.writepb_handler().set(FUNC(maygay1b_state::m1_pia_portb_w));
hc259_device &mainlatch(HC259(config, "mainlatch")); // U29
- mainlatch.q_out_cb<0>().set(FUNC(maygay1b_state::ramen_w)); // m_RAMEN
- mainlatch.q_out_cb<1>().set(FUNC(maygay1b_state::alarmen_w)); // AlarmEn
- mainlatch.q_out_cb<2>().set(FUNC(maygay1b_state::nmien_w)); // Enable
- mainlatch.q_out_cb<3>().set(FUNC(maygay1b_state::rts_w)); // RTS
- mainlatch.q_out_cb<4>().set(FUNC(maygay1b_state::psurelay_w)); // PSURelay
- mainlatch.q_out_cb<5>().set(FUNC(maygay1b_state::wdog_w)); // WDog
- mainlatch.q_out_cb<6>().set(FUNC(maygay1b_state::srsel_w)); // Srsel
+ mainlatch.q_out_cb<0>().set(FUNC(maygay1b_state::ramen_w)); // m_RAMEN
+ mainlatch.q_out_cb<1>().set(FUNC(maygay1b_state::alarmen_w)); // AlarmEn
+ mainlatch.q_out_cb<2>().set(FUNC(maygay1b_state::nmien_w)); // Enable
+ mainlatch.q_out_cb<3>().set(FUNC(maygay1b_state::rts_w)); // RTS
+ mainlatch.q_out_cb<4>().set(FUNC(maygay1b_state::psurelay_w)); // PSURelay
+ mainlatch.q_out_cb<5>().set(FUNC(maygay1b_state::wdog_w)); // WDog
+ mainlatch.q_out_cb<6>().set(FUNC(maygay1b_state::srsel_w)); // Srsel
MCFG_S16LF01_ADD("vfd",0)
SPEAKER(config, "lspeaker").front_left();
diff --git a/src/mame/drivers/micropin.cpp b/src/mame/drivers/micropin.cpp
index 14201e08ff0..c0c01f897e5 100644
--- a/src/mame/drivers/micropin.cpp
+++ b/src/mame/drivers/micropin.cpp
@@ -342,7 +342,7 @@ MACHINE_CONFIG_START(micropin_state::pentacup2)
MCFG_DEVICE_IO_MAP(pentacup2_io)
//MCFG_DEVICE_PERIODIC_INT_DRIVER(micropin_state, irq2_line_hold, 50)
-// NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0);
+// NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0);
/* Sound */
genpin_audio(config);
diff --git a/src/mame/drivers/mpu12wbk.cpp b/src/mame/drivers/mpu12wbk.cpp
index d9b90c1c128..563e0662d3e 100644
--- a/src/mame/drivers/mpu12wbk.cpp
+++ b/src/mame/drivers/mpu12wbk.cpp
@@ -496,7 +496,7 @@ MACHINE_CONFIG_START(mpu12wbk_state::mpu12wbk)
MCFG_DEVICE_ADD("maincpu", MC6809, MASTER_CLOCK)
MCFG_DEVICE_PROGRAM_MAP(mpu12wbk_map)
-// NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0);
+// NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0);
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
diff --git a/src/mame/drivers/naomi.cpp b/src/mame/drivers/naomi.cpp
index f5169bf1774..578fc400624 100644
--- a/src/mame/drivers/naomi.cpp
+++ b/src/mame/drivers/naomi.cpp
@@ -9853,17 +9853,17 @@ ROM_START( clubkcyc )
ROM_LOAD( "317-0358-com.pic", 0x000000, 0x004000, CRC(dd33e50f) SHA1(c51712754022fc3adc350fa0714bf60fd0d163cf) )
/*
- Cycraft Motion PC:
- Mainboard Advantech PCM-5820
- CAN Module PCM-3680
- IO Module PCM-3724
- 128mb PC133 Ram
-
- SanDisk CF With Linux:
- Simuline CYCRAFT
- SMCP: V1.65
- GAME: Club-Kart
- (c) 2003 Simuline Inc.
+ Cycraft Motion PC:
+ Mainboard Advantech PCM-5820
+ CAN Module PCM-3680
+ IO Module PCM-3724
+ 128mb PC133 Ram
+
+ SanDisk CF With Linux:
+ Simuline CYCRAFT
+ SMCP: V1.65
+ GAME: Club-Kart
+ (c) 2003 Simuline Inc.
*/
DISK_REGION( "cycraft" )
DISK_IMAGE( "cycraft_clubkart_smcp_v1.65", 0, SHA1(c77df6eaf425e4e86f871914aa024debc1940713) )
diff --git a/src/mame/drivers/nightmare.cpp b/src/mame/drivers/nightmare.cpp
index e748132b6f2..9310db538fd 100644
--- a/src/mame/drivers/nightmare.cpp
+++ b/src/mame/drivers/nightmare.cpp
@@ -51,7 +51,7 @@
2x CDP1852 (I/O).
1x Xtal @ 2.9500 MHz.
-
+
Sound ROM is missing.
Overall the board is pretty much dead, no interruptions observed, no video sync output.
@@ -114,7 +114,7 @@
PINOUTS
-------
-
+
Main Board:
@@ -135,7 +135,7 @@
J3: Pin marked 4 ---> IC8 CDP1852CE, pin 16. J4: Pin marked GND -> GND.
J3: Pin marked 5 ---> IC8 CDP1852CE, pin 18.
J3: Pin marked 6 ---> IC8 CDP1852CE, pin 20.
- J3: Pin marked 7 ---> IC8 CDP1852CE, pin 22. J5: Pin marked GND --> GND.
+ J3: Pin marked 7 ---> IC8 CDP1852CE, pin 22. J5: Pin marked GND --> GND.
J3: Pin marked D ---> IC7 CDP1802ACE, pin 21. J5: Pins marked 1-8 -> CPU data bus.
J3: Pin marked GND -> GND . J5: Pin marked 9 ----> Mainboard IC5 CD4001, pin 11.
J3: Pin marked T ---> IC7 CDP1802ACE, pin 22.
@@ -169,7 +169,7 @@
Since STWL is connected to GND, the control word is set to 8-bit lenght.
-
+
Sound Board:
(also used on some Pinball machines)
@@ -409,8 +409,8 @@ static INPUT_PORTS_START( nightmare )
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START2 )
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN1 )
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN2 )
- PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 )
- PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 )
+ PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 )
+ PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 )
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_COCKTAIL
@@ -437,10 +437,10 @@ void nightmare_state::nightmare(machine_config &config)
CDP1802(config, m_soundcpu, SOUND_CLOCK);
m_soundcpu->set_addrmap(AS_PROGRAM, &nightmare_state::nightmare_sound_map);
m_soundcpu->set_addrmap(AS_IO, &nightmare_state::nightmare_sound_io_map);
- m_soundcpu->set_disable();
+ m_soundcpu->set_disable();
/* i/o hardware */
- cdp1852_device &ic8(CDP1852(config, "ic8"));
+ cdp1852_device &ic8(CDP1852(config, "ic8"));
ic8.mode_cb().set_constant(0);
ic8.di_cb().set_ioport("IN0");
@@ -448,7 +448,7 @@ void nightmare_state::nightmare(machine_config &config)
ic9.mode_cb().set_constant(0);
ic9.di_cb().set_ioport("IN1");
- cdp1852_device &ic10(CDP1852(config, "ic10"));
+ cdp1852_device &ic10(CDP1852(config, "ic10"));
ic10.mode_cb().set_constant(1);
ic10.do_cb().set(FUNC(nightmare_state::ic10_w));
@@ -475,10 +475,10 @@ ROM_START( nightmare )
ROM_LOAD( "nm1-ib1.bin", 0x2000, 0x2000, CRC(c10695f7) SHA1(929467fe7529782e8181d3caae3a67bb0a8d8753) )
ROM_LOAD( "nm1-ic1.bin", 0x4000, 0x2000, CRC(a3117246) SHA1(ca9601401f7ab34200c969e41ffae50bee0aca4d) )
- ROM_REGION( 0x10000, "cdp1802_sound", 0 )
+ ROM_REGION( 0x10000, "cdp1802_sound", 0 )
ROM_LOAD( "sound.bin", 0x0000, 0x4000, NO_DUMP )
- ROM_REGION( 0x40, "eeprom", 0 )
+ ROM_REGION( 0x40, "eeprom", 0 )
ROM_LOAD( "eeprom", 0x00, 0x40, CRC(7824e1f8) SHA1(2ccac62b4e8abcb2b3d66fa4025947fea184664e) )
ROM_END
diff --git a/src/mame/drivers/nyny.cpp b/src/mame/drivers/nyny.cpp
index 6dd450ac0d4..beac5ad47bf 100644
--- a/src/mame/drivers/nyny.cpp
+++ b/src/mame/drivers/nyny.cpp
@@ -626,12 +626,12 @@ MACHINE_CONFIG_START(nyny_state::nyny)
/* 74LS123 */
TTL74123(config, m_ic48_1, 0);
- m_ic48_1->set_connection_type(TTL74123_GROUNDED); /* the hook up type */
- m_ic48_1->set_resistor_value(RES_K(22)); /* resistor connected to RCext */
- m_ic48_1->set_capacitor_value(CAP_U(0.01)); /* capacitor connected to Cext and RCext */
- m_ic48_1->set_a_pin_value(1); /* A pin - driven by the CRTC */
- m_ic48_1->set_b_pin_value(1); /* B pin - pulled high */
- m_ic48_1->set_clear_pin_value(1); /* Clear pin - pulled high */
+ m_ic48_1->set_connection_type(TTL74123_GROUNDED); /* the hook up type */
+ m_ic48_1->set_resistor_value(RES_K(22)); /* resistor connected to RCext */
+ m_ic48_1->set_capacitor_value(CAP_U(0.01)); /* capacitor connected to Cext and RCext */
+ m_ic48_1->set_a_pin_value(1); /* A pin - driven by the CRTC */
+ m_ic48_1->set_b_pin_value(1); /* B pin - pulled high */
+ m_ic48_1->set_clear_pin_value(1); /* Clear pin - pulled high */
m_ic48_1->out_cb().set(FUNC(nyny_state::ic48_1_74123_output_changed));
PIA6821(config, m_pia1, 0);
diff --git a/src/mame/drivers/opwolf.cpp b/src/mame/drivers/opwolf.cpp
index e2d085af9f9..1cfcd4607b0 100644
--- a/src/mame/drivers/opwolf.cpp
+++ b/src/mame/drivers/opwolf.cpp
@@ -334,7 +334,7 @@ READ8_MEMBER(opwolf_state::z80_input2_r)
WRITE8_MEMBER(opwolf_state::counters_w)
{
//logerror("counters_w data=%2x\n",data );
-
+
machine().bookkeeping().coin_lockout_w(1, data & 0x80);
machine().bookkeeping().coin_lockout_w(0, data & 0x40);
machine().bookkeeping().coin_counter_w(1, data & 0x20);
@@ -358,11 +358,11 @@ WRITE8_MEMBER(opwolf_state::sound_bankswitch_w)
void opwolf_state::opwolf_map(address_map &map)
{
map(0x000000, 0x03ffff).rom();
-// map(0x0f0000, 0x0f07ff).mirror(0xf000).r(FUNC(opwolf_state::opwolf_cchip_data_r));
-// map(0x0f0802, 0x0f0803).mirror(0xf000).r(FUNC(opwolf_state::opwolf_cchip_status_r));
-// map(0x0ff000, 0x0ff7ff).w(FUNC(opwolf_state::opwolf_cchip_data_w));
-// map(0x0ff802, 0x0ff803).w(FUNC(opwolf_state::opwolf_cchip_status_w));
-// map(0x0ffc00, 0x0ffc01).w(FUNC(opwolf_state::opwolf_cchip_bank_w));
+// map(0x0f0000, 0x0f07ff).mirror(0xf000).r(FUNC(opwolf_state::opwolf_cchip_data_r));
+// map(0x0f0802, 0x0f0803).mirror(0xf000).r(FUNC(opwolf_state::opwolf_cchip_status_r));
+// map(0x0ff000, 0x0ff7ff).w(FUNC(opwolf_state::opwolf_cchip_data_w));
+// map(0x0ff802, 0x0ff803).w(FUNC(opwolf_state::opwolf_cchip_status_w));
+// map(0x0ffc00, 0x0ffc01).w(FUNC(opwolf_state::opwolf_cchip_bank_w));
map(0x0f0000, 0x0f07ff).mirror(0xf000).rw(m_cchip, FUNC(taito_cchip_device::mem68_r), FUNC(taito_cchip_device::mem68_w)).umask16(0x00ff);
map(0x0f0800, 0x0f0fff).mirror(0xf000).rw(m_cchip, FUNC(taito_cchip_device::asic_r), FUNC(taito_cchip_device::asic68_w)).umask16(0x00ff);
map(0x100000, 0x107fff).ram();
diff --git a/src/mame/drivers/pgm.cpp b/src/mame/drivers/pgm.cpp
index e0bdb8a21d3..cf3415aed40 100644
--- a/src/mame/drivers/pgm.cpp
+++ b/src/mame/drivers/pgm.cpp
@@ -4992,6 +4992,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/policetr.cpp b/src/mame/drivers/policetr.cpp
index 67a7cccfe47..73d1c587440 100644
--- a/src/mame/drivers/policetr.cpp
+++ b/src/mame/drivers/policetr.cpp
@@ -284,40 +284,40 @@ void sshooter_state::mem(address_map &map)
static INPUT_PORTS_START( policetr )
PORT_START("IN0")
- PORT_BIT( 0x00010000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /P2SPR1 (note 1) */
- PORT_BIT( 0x00020000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /P2PUSH3 (note 1) */
- PORT_BIT( 0x00040000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /P2PUSH2 (note 1) */
- PORT_BIT( 0x00080000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /P2USH1 (note 1) */
- PORT_BIT( 0x00100000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /P2RIGHT (note 1) */
- PORT_BIT( 0x00200000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /P2LEFT (note 1) */
- PORT_BIT( 0x00400000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /P2DOWN (note 1) */
- PORT_BIT( 0x00800000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /P2UP (note 1) */
- PORT_BIT( 0x01000000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /P1SPR1 (note 1) */
- PORT_BIT( 0x02000000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /P1PUSH3 (note 1) */
- PORT_BIT( 0x04000000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /P1PUSH2 (note 1) */
- PORT_BIT( 0x08000000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /P1PUSH1 (note 1) */
- PORT_BIT( 0x10000000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /P1RIGHT (note 1) */
- PORT_BIT( 0x20000000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /P1LEFT (note 1) */
- PORT_BIT( 0x40000000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /P1DOWN (note 1) */
- PORT_BIT( 0x80000000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /P1UP (note 1) */
+ PORT_BIT( 0x00010000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /P2SPR1 (note 1) */
+ PORT_BIT( 0x00020000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /P2PUSH3 (note 1) */
+ PORT_BIT( 0x00040000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /P2PUSH2 (note 1) */
+ PORT_BIT( 0x00080000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /P2USH1 (note 1) */
+ PORT_BIT( 0x00100000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /P2RIGHT (note 1) */
+ PORT_BIT( 0x00200000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /P2LEFT (note 1) */
+ PORT_BIT( 0x00400000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /P2DOWN (note 1) */
+ PORT_BIT( 0x00800000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /P2UP (note 1) */
+ PORT_BIT( 0x01000000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /P1SPR1 (note 1) */
+ PORT_BIT( 0x02000000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /P1PUSH3 (note 1) */
+ PORT_BIT( 0x04000000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /P1PUSH2 (note 1) */
+ PORT_BIT( 0x08000000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /P1PUSH1 (note 1) */
+ PORT_BIT( 0x10000000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /P1RIGHT (note 1) */
+ PORT_BIT( 0x20000000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /P1LEFT (note 1) */
+ PORT_BIT( 0x40000000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /P1DOWN (note 1) */
+ PORT_BIT( 0x80000000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /P1UP (note 1) */
PORT_START("IN1")
PORT_BIT( 0x00010000, IP_ACTIVE_LOW, IPT_START2 )
PORT_BIT( 0x00020000, IP_ACTIVE_LOW, IPT_START1 )
PORT_BIT( 0x00040000, IP_ACTIVE_LOW, IPT_COIN2 )
PORT_BIT( 0x00080000, IP_ACTIVE_LOW, IPT_COIN1 )
- PORT_BIT( 0x00100000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /TILT (note 1) */
+ PORT_BIT( 0x00100000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /TILT (note 1) */
PORT_BIT( 0x00200000, IP_ACTIVE_LOW, IPT_SERVICE1 )
- PORT_BIT( 0x00400000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /SERVICE (note 1) */
- PORT_BIT( 0x00800000, IP_ACTIVE_HIGH, IPT_CUSTOM ) PORT_CUSTOM_MEMBER(DEVICE_SELF, policetr_state, bsmt_status_r, nullptr)
- PORT_BIT( 0x01000000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1)
- PORT_BIT( 0x02000000, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* /XSW2 (note 2) */
- PORT_BIT( 0x04000000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2)
- PORT_BIT( 0x08000000, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* /XSW2 (note 2) */
- PORT_BIT( 0x10000000, IP_ACTIVE_LOW, IPT_UNUSED ) /* TKTSNS (note 3) */
- PORT_BIT( 0x20000000, IP_ACTIVE_HIGH, IPT_CUSTOM ) PORT_READ_LINE_DEVICE_MEMBER("eeprom", eeprom_serial_93cxx_device, do_read) /* EEPROM read */
- PORT_BIT( 0x40000000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /VOLMDN (note 1) */
- PORT_BIT( 0x80000000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /VOLMUP (note 1) */
+ PORT_BIT( 0x00400000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /SERVICE (note 1) */
+ PORT_BIT( 0x00800000, IP_ACTIVE_HIGH, IPT_CUSTOM ) PORT_CUSTOM_MEMBER(DEVICE_SELF, policetr_state, bsmt_status_r, nullptr)
+ PORT_BIT( 0x01000000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1)
+ PORT_BIT( 0x02000000, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* /XSW2 (note 2) */
+ PORT_BIT( 0x04000000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2)
+ PORT_BIT( 0x08000000, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* /XSW2 (note 2) */
+ PORT_BIT( 0x10000000, IP_ACTIVE_LOW, IPT_UNUSED ) /* TKTSNS (note 3) */
+ PORT_BIT( 0x20000000, IP_ACTIVE_HIGH, IPT_CUSTOM ) PORT_READ_LINE_DEVICE_MEMBER("eeprom", eeprom_serial_93cxx_device, do_read) /* EEPROM read */
+ PORT_BIT( 0x40000000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /VOLMDN (note 1) */
+ PORT_BIT( 0x80000000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /VOLMUP (note 1) */
/* Note 1: Input is unused but is shown in the service menu and noted as written on the I/O schematic in the Police Trainer manual. */
/* Note 2: It is unknown if this input is used, but it is noted as written on the I/O schematic in the Police Trainer manual. */
diff --git a/src/mame/drivers/ql.cpp b/src/mame/drivers/ql.cpp
index 7a5e5799dba..148b2e2385b 100644
--- a/src/mame/drivers/ql.cpp
+++ b/src/mame/drivers/ql.cpp
@@ -1009,9 +1009,9 @@ void ql_state::opd(machine_config &config)
void ql_state::megaopd(machine_config &config)
{
- ql(config);
+ ql(config);
// internal ram
- m_ram->set_default_size("256K");
+ m_ram->set_default_size("256K");
}
*/
diff --git a/src/mame/drivers/r2dtank.cpp b/src/mame/drivers/r2dtank.cpp
index 7d5feaa3c0c..e029d18f330 100644
--- a/src/mame/drivers/r2dtank.cpp
+++ b/src/mame/drivers/r2dtank.cpp
@@ -466,12 +466,12 @@ MACHINE_CONFIG_START(r2dtank_state::r2dtank)
/* 74LS123 */
ttl74123_device &ttl74123(TTL74123(config, "74123", 0));
- ttl74123.set_connection_type(TTL74123_GROUNDED); /* the hook up type */
- ttl74123.set_resistor_value(RES_K(22)); /* resistor connected to RCext */
- ttl74123.set_capacitor_value(CAP_U(0.01)); /* capacitor connected to Cext and RCext */
- ttl74123.set_a_pin_value(1); /* A pin - driven by the CRTC */
- ttl74123.set_b_pin_value(1); /* B pin - pulled high */
- ttl74123.set_clear_pin_value(1); /* Clear pin - pulled high */
+ ttl74123.set_connection_type(TTL74123_GROUNDED); /* the hook up type */
+ ttl74123.set_resistor_value(RES_K(22)); /* resistor connected to RCext */
+ ttl74123.set_capacitor_value(CAP_U(0.01)); /* capacitor connected to Cext and RCext */
+ ttl74123.set_a_pin_value(1); /* A pin - driven by the CRTC */
+ ttl74123.set_b_pin_value(1); /* B pin - pulled high */
+ ttl74123.set_clear_pin_value(1); /* Clear pin - pulled high */
ttl74123.out_cb().set(FUNC(r2dtank_state::ttl74123_output_changed));
PIA6821(config, m_pia_main, 0);
diff --git a/src/mame/drivers/spiders.cpp b/src/mame/drivers/spiders.cpp
index 392e600cda7..b3f2ee5a0eb 100644
--- a/src/mame/drivers/spiders.cpp
+++ b/src/mame/drivers/spiders.cpp
@@ -571,12 +571,12 @@ MACHINE_CONFIG_START(spiders_state::spiders)
m_pia[3]->irqa_handler().set_inputline("audiocpu", M6802_IRQ_LINE);
ttl74123_device &ic60(TTL74123(config, "ic60", 0));
- ic60.set_connection_type(TTL74123_GROUNDED); /* the hook up type */
- ic60.set_resistor_value(RES_K(22)); /* resistor connected to RCext */
- ic60.set_capacitor_value(CAP_U(0.01)); /* capacitor connected to Cext and RCext */
- ic60.set_a_pin_value(1); /* A pin - driven by the CRTC */
- ic60.set_b_pin_value(1); /* B pin - pulled high */
- ic60.set_clear_pin_value(1); /* Clear pin - pulled high */
+ ic60.set_connection_type(TTL74123_GROUNDED); /* the hook up type */
+ ic60.set_resistor_value(RES_K(22)); /* resistor connected to RCext */
+ ic60.set_capacitor_value(CAP_U(0.01)); /* capacitor connected to Cext and RCext */
+ ic60.set_a_pin_value(1); /* A pin - driven by the CRTC */
+ ic60.set_b_pin_value(1); /* B pin - pulled high */
+ ic60.set_clear_pin_value(1); /* Clear pin - pulled high */
ic60.out_cb().set(FUNC(spiders_state::ic60_74123_output_changed));
/* audio hardware */
diff --git a/src/mame/drivers/super6.cpp b/src/mame/drivers/super6.cpp
index 15d0032d57d..a704a203c95 100644
--- a/src/mame/drivers/super6.cpp
+++ b/src/mame/drivers/super6.cpp
@@ -402,10 +402,10 @@ WRITE_LINE_MEMBER( super6_state::fdc_drq_w )
// no evidence of daisy chain in use - removed for now
//static const z80_daisy_config super6_daisy_chain[] =
//{
-// { Z80CTC_TAG },
-// { Z80DART_TAG },
-// { Z80PIO_TAG },
-// { nullptr }
+// { Z80CTC_TAG },
+// { Z80DART_TAG },
+// { Z80PIO_TAG },
+// { nullptr }
//};
diff --git a/src/mame/drivers/supercrd.cpp b/src/mame/drivers/supercrd.cpp
index 9e83a78dcde..ab8dfc3288c 100644
--- a/src/mame/drivers/supercrd.cpp
+++ b/src/mame/drivers/supercrd.cpp
@@ -423,7 +423,7 @@ MACHINE_CONFIG_START(supercrd_state::supercrd)
MCFG_DEVICE_ADD("maincpu", Z80, MASTER_CLOCK/8) /* 2MHz, guess */
MCFG_DEVICE_PROGRAM_MAP(supercrd_map)
-// NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0);
+// NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0);
// MCFG_DEVICE_ADD("ppi8255_0", I8255, 0)
// MCFG_DEVICE_ADD("ppi8255_1", I8255, 0)
diff --git a/src/mame/drivers/system16.cpp b/src/mame/drivers/system16.cpp
index c1b48641ed0..7a1197cc50a 100644
--- a/src/mame/drivers/system16.cpp
+++ b/src/mame/drivers/system16.cpp
@@ -3125,7 +3125,7 @@ ROM_START( dduxbl )
ROM_REGION( 0x10000, "soundcpu", 0 ) /* sound CPU */
ROM_LOAD( "dduxb01.bin", 0x0000, 0x8000, CRC(0dbef0d7) SHA1(8b9afb2fcb946cec467b1e691c267194b503f841) )
-
+
/* stuff below isn't used but loaded because it was on the board .. */
ROM_REGION( 0x0200, "proms", 0 )
ROM_LOAD( "dduxb_5_82s129.b1", 0x0000, 0x0100, CRC(a7c22d96) SHA1(160deae8053b09c09328325246598b3518c7e20b) )
diff --git a/src/mame/drivers/ti99_2.cpp b/src/mame/drivers/ti99_2.cpp
index 85604d10689..d910d0327ef 100644
--- a/src/mame/drivers/ti99_2.cpp
+++ b/src/mame/drivers/ti99_2.cpp
@@ -417,12 +417,12 @@ void ti99_2_state::ti99_224(machine_config& config)
using namespace bus::ti99::internal;
screen_device& screen(SCREEN(config, TI992_SCREEN_TAG, SCREEN_TYPE_RASTER));
- screen.set_raw(XTAL(10'738'635) / 2, \
+ screen.set_raw(XTAL(10'738'635) / 2,
video992_device::TOTAL_HORZ,
video992_device::HORZ_DISPLAY_START-12,
- video992_device::HORZ_DISPLAY_START + 256 + 12, \
- video992_device::TOTAL_VERT_NTSC, \
- video992_device::VERT_DISPLAY_START_NTSC - 12, \
+ video992_device::HORZ_DISPLAY_START + 256 + 12,
+ video992_device::TOTAL_VERT_NTSC,
+ video992_device::VERT_DISPLAY_START_NTSC - 12,
video992_device::VERT_DISPLAY_START_NTSC + 192 + 12 );
screen.set_screen_update(TI992_VDC_TAG, FUNC(video992_device::screen_update));
@@ -441,12 +441,12 @@ void ti99_2_state::ti99_232(machine_config& config)
using namespace bus::ti99::internal;
screen_device& screen(SCREEN(config, TI992_SCREEN_TAG, SCREEN_TYPE_RASTER));
- screen.set_raw(XTAL(10'738'635) / 2, \
+ screen.set_raw(XTAL(10'738'635) / 2,
video992_device::TOTAL_HORZ,
video992_device::HORZ_DISPLAY_START-12,
- video992_device::HORZ_DISPLAY_START + 256 + 12, \
- video992_device::TOTAL_VERT_NTSC, \
- video992_device::VERT_DISPLAY_START_NTSC - 12, \
+ video992_device::HORZ_DISPLAY_START + 256 + 12,
+ video992_device::TOTAL_VERT_NTSC,
+ video992_device::VERT_DISPLAY_START_NTSC - 12,
video992_device::VERT_DISPLAY_START_NTSC + 192 + 12 );
screen.set_screen_update(TI992_VDC_TAG, FUNC(video992_device::screen_update));
diff --git a/src/mame/drivers/vgmplay.cpp b/src/mame/drivers/vgmplay.cpp
index a3a37f27178..056940ed3d6 100644
--- a/src/mame/drivers/vgmplay.cpp
+++ b/src/mame/drivers/vgmplay.cpp
@@ -2284,7 +2284,7 @@ QUICKLOAD_LOAD_MEMBER(vgmplay_state, load_file)
m_file_data.resize(quickload_size);
- if (!quickload_size ||
+ if (!quickload_size ||
image.fread(&m_file_data[0], quickload_size) != quickload_size)
{
m_file_data.clear();
@@ -2322,7 +2322,7 @@ QUICKLOAD_LOAD_MEMBER(vgmplay_state, load_file)
str.avail_out = decomp.size() - str.total_out;
err = inflate(&str, Z_SYNC_FLUSH);
} while(err == Z_OK);
-
+
if(err != Z_STREAM_END)
{
logerror("broken gzip file\n");
@@ -2536,14 +2536,14 @@ QUICKLOAD_LOAD_MEMBER(vgmplay_state, load_file)
m_ga20[0]->set_unscaled_clock(version >= 0x171 && header_size >= 0xe4 ? r32(0xe0) & ~0x40000000 : 0);
m_ga20[1]->set_unscaled_clock(version >= 0x171 && header_size >= 0xe4 && (r32(0xe0) & 0x40000000) ? r32(0xe0) & ~0x40000000 : 0);
-
+
for (device_t &child : subdevices())
if (child.clock() != 0)
logerror("%s %d\n", child.tag(), child.clock());
//for (auto &stream : machine().sound().streams())
- // if (stream->sample_rate() != 0)
- // logerror("%s %d\n", stream->device().tag(), stream->sample_rate());
+ // if (stream->sample_rate() != 0)
+ // logerror("%s %d\n", stream->device().tag(), stream->sample_rate());
machine().schedule_soft_reset();
diff --git a/src/mame/drivers/wrally.cpp b/src/mame/drivers/wrally.cpp
index 8d485f27bd9..bb5566b1491 100644
--- a/src/mame/drivers/wrally.cpp
+++ b/src/mame/drivers/wrally.cpp
@@ -292,7 +292,7 @@ MACHINE_CONFIG_START(wrally_state::wrally)
m_outlatch->q_out_cb<1>().set(FUNC(wrally_state::coin2_lockout_w));
m_outlatch->q_out_cb<2>().set(FUNC(wrally_state::coin1_counter_w));
m_outlatch->q_out_cb<3>().set(FUNC(wrally_state::coin2_counter_w));
- m_outlatch->q_out_cb<4>().set_nop(); /* Sound muting */
+ m_outlatch->q_out_cb<4>().set_nop(); /* Sound muting */
m_outlatch->q_out_cb<5>().set(FUNC(wrally_state::flipscreen_w)); /* Flip screen */
m_outlatch->q_out_cb<6>().set_nop(); /* ??? */
m_outlatch->q_out_cb<7>().set_nop(); /* ??? */
diff --git a/src/mame/drivers/zodiack.cpp b/src/mame/drivers/zodiack.cpp
index 03c67485ee5..10e379f8640 100644
--- a/src/mame/drivers/zodiack.cpp
+++ b/src/mame/drivers/zodiack.cpp
@@ -515,7 +515,7 @@ void zodiack_state::zodiack(machine_config &config)
orca_ovg_40c_device &videopcb(ORCA_OVG_40C(config, "videopcb", 0));
videopcb.set_palette("videopcb:palette");
-
+
/* sound hardware */
SPEAKER(config, "mono").front_center();
diff --git a/src/mame/includes/hng64.h b/src/mame/includes/hng64.h
index 4cc273c09b5..c4d6965f2f3 100644
--- a/src/mame/includes/hng64.h
+++ b/src/mame/includes/hng64.h
@@ -342,7 +342,7 @@ private:
DECLARE_READ8_MEMBER(hng64_fbcontrol_r);
DECLARE_WRITE8_MEMBER(hng64_fbcontrol_w);
-
+
DECLARE_WRITE16_MEMBER(hng64_fbunkpair_w);
DECLARE_WRITE16_MEMBER(hng64_fbscroll_w);
diff --git a/src/mame/layout/vgmplay.lay b/src/mame/layout/vgmplay.lay
index abc86f786bf..d79b1a07916 100644
--- a/src/mame/layout/vgmplay.lay
+++ b/src/mame/layout/vgmplay.lay
@@ -1,4 +1,4 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<mamelayout version="2">
<!--
Activity LEDs:
diff --git a/src/mame/machine/315-5838_317-0229_comp.h b/src/mame/machine/315-5838_317-0229_comp.h
index ebd26ae38b4..4e4ab7d2d6a 100644
--- a/src/mame/machine/315-5838_317-0229_comp.h
+++ b/src/mame/machine/315-5838_317-0229_comp.h
@@ -9,8 +9,8 @@
DECLARE_DEVICE_TYPE(SEGA315_5838_COMP, sega_315_5838_comp_device)
-class sega_315_5838_comp_device : public device_t,
- public device_rom_interface
+class sega_315_5838_comp_device : public device_t,
+ public device_rom_interface
{
public:
// construction/destruction
@@ -30,7 +30,7 @@ public:
HACK_MODE_NO_KEY,
HACK_MODE_DOA
};
-
+
void set_hack_mode(int mode) { m_hackmode = mode; }
protected:
diff --git a/src/mame/machine/pce_cd.cpp b/src/mame/machine/pce_cd.cpp
index 1f882bfcf20..94986e2a424 100644
--- a/src/mame/machine/pce_cd.cpp
+++ b/src/mame/machine/pce_cd.cpp
@@ -242,7 +242,7 @@ void pce_cd_device::nvram_init(nvram_device &nvram, void *data, size_t size)
// TODO: left and right speaker tags should be passed from the parent config, instead of using the hard-coded ones below!?!
MACHINE_CONFIG_START(pce_cd_device::device_add_mconfig)
- NVRAM(config, "bram").set_custom_handler(FUNC(pce_cd_device::nvram_init));
+ NVRAM(config, "bram").set_custom_handler(FUNC(pce_cd_device::nvram_init));
MCFG_CDROM_ADD("cdrom")
MCFG_CDROM_INTERFACE("pce_cdrom")
diff --git a/src/mame/machine/trs80m3.cpp b/src/mame/machine/trs80m3.cpp
index 3c4b8296a84..ff02d8a32f0 100644
--- a/src/mame/machine/trs80m3.cpp
+++ b/src/mame/machine/trs80m3.cpp
@@ -442,16 +442,16 @@ INTERRUPT_GEN_MEMBER(trs80m3_state::rtc_interrupt)
}
// Also, if cpu is in wait, unlock it and trigger NMI
// Don't, it breaks disk loading
-// if (m_wait)
-// {
-// m_wait = false;
-// m_maincpu->set_input_line(Z80_INPUT_LINE_WAIT, CLEAR_LINE);
-// if (BIT(m_nmi_mask, 6))
-// {
-// m_nmi_data |= 0x40;
-// m_maincpu->set_input_line(INPUT_LINE_NMI, HOLD_LINE);
-// }
-// }
+// if (m_wait)
+// {
+// m_wait = false;
+// m_maincpu->set_input_line(Z80_INPUT_LINE_WAIT, CLEAR_LINE);
+// if (BIT(m_nmi_mask, 6))
+// {
+// m_nmi_data |= 0x40;
+// m_maincpu->set_input_line(INPUT_LINE_NMI, HOLD_LINE);
+// }
+// }
}
// The floppy sector has been read. Enable CPU and NMI.
diff --git a/src/mame/mame.lst b/src/mame/mame.lst
index 3d6c564ccfc..02f4588c54a 100644
--- a/src/mame/mame.lst
+++ b/src/mame/mame.lst
@@ -1160,7 +1160,7 @@ ambushj // (c) 1983 Nippon Amuse license
ambushv // (c) 1983 Volt Electronics license
dkong3abl // bootleg
mariobl // bootleg
-mariobla // bootleg
+mariobla // bootleg
@source:amerihok.cpp
amerihok //
@@ -10824,7 +10824,7 @@ superbik // (c) 1983 Century
wallst // (c) 1982 Century
@source:cwheel.cpp
-cwheel // (c) 19?? Gamebar
+cwheel // (c) 19?? Gamebar
@source:cxgz80.cpp
ch2001 //
@@ -30285,7 +30285,7 @@ vandykejal2 // UPL-90064 (c) Jaleco
trocana // NTC / NMK
@source:nightmare.cpp
-nightmare // (c) 1982 E.F.O.
+nightmare // (c) 1982 E.F.O.
@source:nokia_3310.cpp
noki3210 //
diff --git a/src/mame/video/deco_zoomspr.cpp b/src/mame/video/deco_zoomspr.cpp
index 8502fb4ebde..3413231f01d 100644
--- a/src/mame/video/deco_zoomspr.cpp
+++ b/src/mame/video/deco_zoomspr.cpp
@@ -240,7 +240,7 @@ void deco_zoomspr_device::dragngun_draw_sprites( bitmap_rgb32 &bitmap, const rec
0x00000020 - ? Used for background at 'frog' boss and title screen dragon.
0x00000040 - ? priority?
0x00000080 - Alpha blending enable
- 0x40000000 - Additive/Subtractable blend? (dragngun)
+ 0x40000000 - Additive/Subtractable blend? (dragngun)
Word 7 :
diff --git a/src/mame/video/hng64_3d.hxx b/src/mame/video/hng64_3d.hxx
index 218c54b5abc..810c1e21586 100644
--- a/src/mame/video/hng64_3d.hxx
+++ b/src/mame/video/hng64_3d.hxx
@@ -19,15 +19,15 @@ hng64_poly_renderer::hng64_poly_renderer(hng64_state& state)
/* Hardware calls these '3d buffers'
- They're only read during the startup check, never written
+ They're only read during the startup check, never written
- They're definitely mirrored in the startup test, according to ElSemi
+ They're definitely mirrored in the startup test, according to ElSemi
- The games run in interlace mode, so buffer resolution can be half the effective screen height
+ The games run in interlace mode, so buffer resolution can be half the effective screen height
- 30100000-3011ffff is framebuffer A0 (512x256 8-bit?) (pal data?)
- 30120000-3013ffff is framebuffer A1 (512x256 8-bit?) (pal data?)
- 30140000-3015ffff is ZBuffer A (512x256 8-bit?)
+ 30100000-3011ffff is framebuffer A0 (512x256 8-bit?) (pal data?)
+ 30120000-3013ffff is framebuffer A1 (512x256 8-bit?) (pal data?)
+ 30140000-3015ffff is ZBuffer A (512x256 8-bit?)
*/
READ32_MEMBER(hng64_state::hng64_fbram1_r)
@@ -93,16 +93,16 @@ WRITE32_MEMBER(hng64_state::dl_control_w)
/* m_activeDisplayList is not currently connected to anything, it seems unlikely there are different banks.
games typically write up to 8 lots of 0x200 data, writing bit 0 between them
- bit 0 (0x01) process DMA from 3d FIFO to framebuffer?
- bit 1 (0x02) written before first set of dl data each frame on some games, but not on SS?
+ bit 0 (0x01) process DMA from 3d FIFO to framebuffer?
+ bit 1 (0x02) written before first set of dl data each frame on some games, but not on SS?
bit 2 (0x04) reset buffer count (startup only)
*/
/*
if (data & 0x01)
- m_activeDisplayList = 0;
+ m_activeDisplayList = 0;
else if (data & 0x02)
- m_activeDisplayList = 1;
+ m_activeDisplayList = 1;
*/
/*
@@ -110,7 +110,7 @@ WRITE32_MEMBER(hng64_state::dl_control_w)
if(data & 2) // swap buffers
{
- clear3d();
+ clear3d();
}
*/
}
@@ -118,7 +118,7 @@ WRITE32_MEMBER(hng64_state::dl_control_w)
READ32_MEMBER(hng64_state::dl_vreg_r)
{
/* tested with possible masked bits 0xf003 (often masking 0xf000 or 0x0003)
-
+
various wait loops on bit 0x02 (bit 1) after sending 3d commands
tests failing on other bits can cause display list writes to be skipped
@@ -927,7 +927,7 @@ void hng64_state::hng64_command3d(const uint16_t* packet)
switch (packet[0])
{
- case 0x0000: // NOP?
+ case 0x0000: // NOP?
/* Appears to be a NOP (or 'end of list for this frame, ignore everything after' doesn't stop stray 3d objects in game for xrally/roadedge
although does stop a partial hng64 logo being displayed assuming that's meant to be kept onscreen by some other means without valid data) */
break;
@@ -1029,11 +1029,11 @@ void hng64_state::clear3d()
*
* | Bits | Use
* | |
- * -------+ 7654-3210-+----------------
+ * -------+ 7654-3210-+----------------
* 0 | ---- --xy | x = Reads in Fatal Fury WA, if on then there isn't a 3d refresh (busy flag?). y = set at POST/service modes, almost likely fb disable
* 1 | ---- ---- |
* 2 | ccc- b--- | c = framebuffer color base, 0x311800 in Fatal Fury WA, 0x313800 in Buriki One (or not?) b = don't clear buffer
- * 3 | ---- ---- |
+ * 3 | ---- ---- |
*/
READ8_MEMBER(hng64_state::hng64_fbcontrol_r)
@@ -1046,12 +1046,12 @@ WRITE8_MEMBER(hng64_state::hng64_fbcontrol_w)
{
/* roadedge does the following to turn off the framebuffer clear (leave trails) and then turn it back on when selecting a car
- ':maincpu' (8001EDE0): hng64_fbcontrol_w (002) 10 (disable frame buffer clear)
- ':maincpu' (8001FE4C): hng64_fbcontrol_w (002) 38 (normal)
+ ':maincpu' (8001EDE0): hng64_fbcontrol_w (002) 10 (disable frame buffer clear)
+ ':maincpu' (8001FE4C): hng64_fbcontrol_w (002) 38 (normal)
during the Hyper Neogeo 64 logo it has a value of
':maincpu' (8005AA44): hng64_fbcontrol_w (002) 18
-
+
sams64 does
':maincpu' (800C13C4): hng64_fbcontrol_r (002) (ANDs with 0x07, ORs with 0x18)
':maincpu' (800C13D0): hng64_fbcontrol_w (002) 18
@@ -1090,7 +1090,7 @@ WRITE8_MEMBER(hng64_state::hng64_fbunkbyte_w)
}
else
{
- logerror("%s: hng64_unkbyte_w (%03x - unexpected) %02x \n", machine().describe_context(), offset, data);
+ logerror("%s: hng64_unkbyte_w (%03x - unexpected) %02x \n", machine().describe_context(), offset, data);
}
}
diff --git a/src/mame/video/hng64_sprite.hxx b/src/mame/video/hng64_sprite.hxx
index f58478c61c5..9093b4a7f2a 100644
--- a/src/mame/video/hng64_sprite.hxx
+++ b/src/mame/video/hng64_sprite.hxx
@@ -92,7 +92,7 @@ void hng64_state::draw_sprites(screen_device &screen, bitmap_rgb32 &bitmap, cons
zoomx = (source[1]&0x0000ffff)>>0;
int filtervalue = 0x000;
-
+
// This flips between ingame and other screens for roadedge, where the sprites which are filtered definitely needs to change and the game explicitly swaps the values in the sprite list at the same time.
// m_spriteregs[2] could also play a part as it also flips between 0x00000000 and 0x000fffff at the same time
// Samsho games also set the upper 3 bits which could be related, samsho games still have some unwanted sprites (but also use the other 'sprite clear' mechanism)
diff --git a/src/mame/video/opwolf.cpp b/src/mame/video/opwolf.cpp
index c53e7779dcc..ad0f039bad5 100644
--- a/src/mame/video/opwolf.cpp
+++ b/src/mame/video/opwolf.cpp
@@ -52,7 +52,7 @@ uint32_t opwolf_state::screen_update_opwolf(screen_device &screen, bitmap_ind16
screen.priority().fill(0, cliprect);
// Sprite/tilemap priority is hardwired by the PAL16L8 at location 19
-
+
m_pc080sn->tilemap_draw(screen, bitmap, cliprect, layer[0], TILEMAP_DRAW_OPAQUE, 1);
m_pc080sn->tilemap_draw(screen, bitmap, cliprect, layer[1], 0, 2);
diff --git a/src/mame/video/powervr2.cpp b/src/mame/video/powervr2.cpp
index 942a02a820d..beb8e3f6857 100644
--- a/src/mame/video/powervr2.cpp
+++ b/src/mame/video/powervr2.cpp
@@ -2783,7 +2783,7 @@ void powervr2_device::render_tri(bitmap_rgb32 &bitmap, texinfo *ti, const vert *
}
}
} else {
- render_tri_sorted<&powervr2_device::sample_nontextured>(bitmap, ti, v+i0, v+i1, v+i2);
+ render_tri_sorted<&powervr2_device::sample_nontextured>(bitmap, ti, v+i0, v+i1, v+i2);
}
}