summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2016-08-29 02:02:04 +1000
committer Vas Crabb <vas@vastheman.com>2016-08-29 02:02:04 +1000
commitc960435d3e22ff596dd0f1c7f02ec1d3269336e5 (patch)
tree387e677a4fd1aaf7f97a921e877980aca6ccfe06 /src/mame/drivers
parent2101fe044ef61f056a6b64dd8b5875b9652419f8 (diff)
srcclean and translation regeneration
Diffstat (limited to 'src/mame/drivers')
-rw-r--r--src/mame/drivers/abc1600.cpp16
-rw-r--r--src/mame/drivers/airraid.cpp6
-rw-r--r--src/mame/drivers/alto2.cpp4
-rw-r--r--src/mame/drivers/barni.cpp2
-rw-r--r--src/mame/drivers/bfm_sc2.cpp42
-rw-r--r--src/mame/drivers/bfm_sc4.cpp4
-rw-r--r--src/mame/drivers/cave.cpp4
-rw-r--r--src/mame/drivers/chaos.cpp2
-rw-r--r--src/mame/drivers/chessmst.cpp2
-rw-r--r--src/mame/drivers/cmi.cpp608
-rw-r--r--src/mame/drivers/compis.cpp22
-rw-r--r--src/mame/drivers/cops.cpp248
-rw-r--r--src/mame/drivers/cv1k.cpp2
-rw-r--r--src/mame/drivers/dkong.cpp16
-rw-r--r--src/mame/drivers/dotrikun.cpp4
-rw-r--r--src/mame/drivers/dvk_ksm.cpp10
-rw-r--r--src/mame/drivers/funworld.cpp6
-rw-r--r--src/mame/drivers/galaxian.cpp6
-rw-r--r--src/mame/drivers/gba.cpp46
-rw-r--r--src/mame/drivers/hh_hmcs40.cpp6
-rw-r--r--src/mame/drivers/idsa.cpp2
-rw-r--r--src/mame/drivers/kim1.cpp4
-rw-r--r--src/mame/drivers/macp.cpp12
-rw-r--r--src/mame/drivers/maygay1b.cpp16
-rw-r--r--src/mame/drivers/midvunit.cpp8
-rw-r--r--src/mame/drivers/midyunit.cpp2
-rw-r--r--src/mame/drivers/mk14.cpp2
-rw-r--r--src/mame/drivers/mpu4.cpp6
-rw-r--r--src/mame/drivers/mpu4.hxx2
-rw-r--r--src/mame/drivers/mpu4mod2sw.hxx2
-rw-r--r--src/mame/drivers/mpu4sw.hxx78
-rw-r--r--src/mame/drivers/namconb1.cpp18
-rw-r--r--src/mame/drivers/namcos12.cpp4
-rw-r--r--src/mame/drivers/naomi.cpp2
-rw-r--r--src/mame/drivers/play_3.cpp4
-rw-r--r--src/mame/drivers/pofo.cpp72
-rw-r--r--src/mame/drivers/s7.cpp2
-rw-r--r--src/mame/drivers/segas18.cpp2
-rw-r--r--src/mame/drivers/sleic.cpp4
-rw-r--r--src/mame/drivers/stfight.cpp4
-rw-r--r--src/mame/drivers/vgmplay.cpp8
-rw-r--r--src/mame/drivers/victor9k.cpp8
-rw-r--r--src/mame/drivers/zac_2.cpp2
43 files changed, 660 insertions, 660 deletions
diff --git a/src/mame/drivers/abc1600.cpp b/src/mame/drivers/abc1600.cpp
index b53785a1144..4a2f71fc2bc 100644
--- a/src/mame/drivers/abc1600.cpp
+++ b/src/mame/drivers/abc1600.cpp
@@ -34,14 +34,14 @@
TODO:
- - starting from MAME 0.151, the Z80 DMA reads 0x08 as the 257th byte to transfer from disk t0s14 thus failing a comparison @ 37cfa, leading to a watchdog reset
- changing z80dma.cpp:477 to "done = (m_count == 0);" fixes this but isn't the real reason
- - abcenix boot stuck in a loop @ 37cfa
+ - starting from MAME 0.151, the Z80 DMA reads 0x08 as the 257th byte to transfer from disk t0s14 thus failing a comparison @ 37cfa, leading to a watchdog reset
+ changing z80dma.cpp:477 to "done = (m_count == 0);" fixes this but isn't the real reason
+ - abcenix boot stuck in a loop @ 37cfa
- segment/page RAM addresses are not correctly decoded, "sas/format/format" after abcenix is booted can't find the SASI interface because of this
- [:mac] ':3f' (08A98) MAC 7e4a2:0004a2 (SEGA 02f SEGD 09 PGA 09c PGD 8000 NONX 1 WP 0)
- should be
- [:mac] ':3f' (089A8) MAC 7e4a2:1fe4a2 (SEGA 00f SEGD 0f PGA 0fc PGD 43fc NONX 0 WP 1)
-
+ [:mac] ':3f' (08A98) MAC 7e4a2:0004a2 (SEGA 02f SEGD 09 PGA 09c PGD 8000 NONX 1 WP 0)
+ should be
+ [:mac] ':3f' (089A8) MAC 7e4a2:1fe4a2 (SEGA 00f SEGD 0f PGA 0fc PGD 43fc NONX 0 WP 1)
+
- short/long reset (RSTBUT)
- CIO
- optimize timers!
@@ -904,7 +904,7 @@ static MACHINE_CONFIG_START( abc1600, abc1600_state )
MCFG_NMC9306_ADD(NMC9306_TAG)
MCFG_E0516_ADD(E050_C16PC_TAG, XTAL_32_768kHz)
-
+
MCFG_FD1797_ADD(SAB1797_02P_TAG, XTAL_64MHz/64)
MCFG_WD_FDC_INTRQ_CALLBACK(DEVWRITELINE(Z8536B1_TAG, z8536_device, pb7_w))
MCFG_WD_FDC_DRQ_CALLBACK(WRITELINE(abc1600_state, fdc_drq_w))
diff --git a/src/mame/drivers/airraid.cpp b/src/mame/drivers/airraid.cpp
index 177b967274f..41d6f33494f 100644
--- a/src/mame/drivers/airraid.cpp
+++ b/src/mame/drivers/airraid.cpp
@@ -1,7 +1,7 @@
// license:LGPL-2.1+
// copyright-holders:Tomasz Slanina, Angelo Salese, hap
/* Air Raid (aka Cross Shooter) (c) 1987 Seibu
-
+
this driver is for the single board version on the S-0087-011A-0 PCB
for the version using a S-0086-002-B0 base PCB and separate video board see stfight.cpp
@@ -39,7 +39,7 @@
Haze's notes
- video system is very similar to darkmist.cpp
-
+
Stephh's notes (based on the game Z80 code and some tests) :
@@ -371,7 +371,7 @@ static MACHINE_CONFIG_START( airraid, airraid_state )
SEIBU2_AIRRAID_SOUND_SYSTEM_CPU(XTAL_14_31818MHz/4) /* verified on pcb */
SEIBU_SOUND_SYSTEM_ENCRYPTED_LOW()
- MCFG_QUANTUM_PERFECT_CPU("maincpu")
+ MCFG_QUANTUM_PERFECT_CPU("maincpu")
MCFG_PALETTE_ADD("palette", 0x100)
MCFG_PALETTE_FORMAT(xxxxBBBBGGGGRRRR)
diff --git a/src/mame/drivers/alto2.cpp b/src/mame/drivers/alto2.cpp
index adeb2b9066d..291eee99351 100644
--- a/src/mame/drivers/alto2.cpp
+++ b/src/mame/drivers/alto2.cpp
@@ -283,8 +283,8 @@ static MACHINE_CONFIG_START( alto2, alto2_state )
// Video hardware
MCFG_SCREEN_ADD_MONOCHROME("screen", RASTER, rgb_t::white)
MCFG_SCREEN_RAW_PARAMS(XTAL_20_16MHz,
- A2_DISP_TOTAL_WIDTH, 0, A2_DISP_WIDTH,
- A2_DISP_TOTAL_HEIGHT, 0, A2_DISP_HEIGHT)
+ A2_DISP_TOTAL_WIDTH, 0, A2_DISP_WIDTH,
+ A2_DISP_TOTAL_HEIGHT, 0, A2_DISP_HEIGHT)
// Two interlaced fields at 60Hz => 30Hz frame rate
MCFG_SCREEN_REFRESH_RATE(30)
MCFG_SCREEN_UPDATE_DEVICE("maincpu", alto2_cpu_device, screen_update)
diff --git a/src/mame/drivers/barni.cpp b/src/mame/drivers/barni.cpp
index ab4fe9a0261..592bb9970f3 100644
--- a/src/mame/drivers/barni.cpp
+++ b/src/mame/drivers/barni.cpp
@@ -53,7 +53,7 @@ static ADDRESS_MAP_START( audiocpu_map, AS_IO, 8, barni_state )
AM_RANGE(0x0000, 0x007f) AM_RAM
AM_RANGE(0xc000, 0xffff) AM_ROM
ADDRESS_MAP_END
-
+
static INPUT_PORTS_START( barni )
INPUT_PORTS_END
diff --git a/src/mame/drivers/bfm_sc2.cpp b/src/mame/drivers/bfm_sc2.cpp
index 30a0835614a..8062ccf566b 100644
--- a/src/mame/drivers/bfm_sc2.cpp
+++ b/src/mame/drivers/bfm_sc2.cpp
@@ -177,14 +177,14 @@ Adder hardware:
#include "machine/bfm_comn.h"
#include "sc2ptytm1.lh"
-#include "sc2cpe.lh"
-#include "sc2casr2.lh"
-#include "sc2majes.lh"
-#include "sc2eggs1.lh"
-#include "sc2prom.lh"
-#include "sc2cpg.lh"
+#include "sc2cpe.lh"
+#include "sc2casr2.lh"
+#include "sc2majes.lh"
+#include "sc2eggs1.lh"
+#include "sc2prom.lh"
+#include "sc2cpg.lh"
#include "sc2copcl7.lh"
-#include "sc2town2.lh"
+#include "sc2town2.lh"
#include "sc2suprz1.lh"
#include "sc2heypr.lh"
#include "sc2prem2.lh"
@@ -225,7 +225,7 @@ public:
required_ioport_array<12> m_strobein;
optional_memory_bank m_rombank1;
optional_device<ym2413_device> m_ym2413;
-
+
required_device<upd7759_device> m_upd7759;
optional_device<bfm_bd1_t> m_vfd0;
@@ -722,7 +722,7 @@ WRITE8_MEMBER(bfm_sc2_state::volume_override_w)
if ( old != m_volume_override )
{
ym2413_device *ym = m_ym2413;
-
+
if (!m_ym2413)
return;
@@ -5555,7 +5555,7 @@ ROM_START( sc2copcl3p )
sc2_copcl_sound
ROM_REGION( 0x20000, "dm01:matrix", 0 )
- ROM_LOAD( "95000569.bin", 0x0000, 0x010000, CRC(64014f73) SHA1(67d44db91944738fcadc38bfd0d2b7c0536adb9a) )
+ ROM_LOAD( "95000569.bin", 0x0000, 0x010000, CRC(64014f73) SHA1(67d44db91944738fcadc38bfd0d2b7c0536adb9a) )
ROM_END
ROM_START( sc2copcl4 )
@@ -5573,7 +5573,7 @@ ROM_START( sc2copcl5 )
sc2_copcl_sound
ROM_REGION( 0x20000, "dm01:matrix", 0 )
- ROM_LOAD( "95000569.bin", 0x0000, 0x010000, CRC(64014f73) SHA1(67d44db91944738fcadc38bfd0d2b7c0536adb9a) )
+ ROM_LOAD( "95000569.bin", 0x0000, 0x010000, CRC(64014f73) SHA1(67d44db91944738fcadc38bfd0d2b7c0536adb9a) )
ROM_END
ROM_START( sc2copcl6 )
@@ -8514,20 +8514,20 @@ GAME( 1996, sc2luvv1p , sc2luvv , scorpion2_dm01 , luvjub , bfm_sc2_st
********************************************************************************************************************************************************************************************************************/
// PROJECT NUMBER PR6331 PUBLIC ENEMY NO.1 - 26-JUL-1994 09:24:19
-GAMEL( 1996, sc2cpe3 , sc2cpe , scorpion2_dm01_5m , cpeno1 , bfm_sc2_state, cpeno1 , 0, "BFM", "Club Public Enemy No.1 (set 1, UK) (Scorpion 2/3)", GAME_FLAGS, layout_sc2cpe) // GAME No 95-750-257
-GAMEL( 1996, sc2cpe3p , sc2cpe , scorpion2_dm01_5m , cpeno1 , bfm_sc2_state, cpeno1 , 0, "BFM", "Club Public Enemy No.1 (set 1, UK, Protocol) (Scorpion 2/3)", GAME_FLAGS, layout_sc2cpe) // GAME No 95-751-257
+GAMEL( 1996, sc2cpe3 , sc2cpe , scorpion2_dm01_5m , cpeno1 , bfm_sc2_state, cpeno1 , 0, "BFM", "Club Public Enemy No.1 (set 1, UK) (Scorpion 2/3)", GAME_FLAGS, layout_sc2cpe) // GAME No 95-750-257
+GAMEL( 1996, sc2cpe3p , sc2cpe , scorpion2_dm01_5m , cpeno1 , bfm_sc2_state, cpeno1 , 0, "BFM", "Club Public Enemy No.1 (set 1, UK, Protocol) (Scorpion 2/3)", GAME_FLAGS, layout_sc2cpe) // GAME No 95-751-257
// PROJECT NUMBER PR6331 PUBLIC ENEMY NO.1 FIXED 65% - 10-AUG-1994 11:26:30
-GAMEL( 1996, sc2cpe4 , sc2cpe , scorpion2_dm01_5m , cpeno1 , bfm_sc2_state, cpeno1 , 0, "BFM", "Club Public Enemy No.1 (set 2, UK) (Scorpion 2/3)", GAME_FLAGS, layout_sc2cpe) // GAME No 95-750-273
-GAMEL( 1996, sc2cpe4p , sc2cpe , scorpion2_dm01_5m , cpeno1 , bfm_sc2_state, cpeno1 , 0, "BFM", "Club Public Enemy No.1 (set 2, UK, Protocol) (Scorpion 2/3)", GAME_FLAGS, layout_sc2cpe) // GAME No 95-751-273
+GAMEL( 1996, sc2cpe4 , sc2cpe , scorpion2_dm01_5m , cpeno1 , bfm_sc2_state, cpeno1 , 0, "BFM", "Club Public Enemy No.1 (set 2, UK) (Scorpion 2/3)", GAME_FLAGS, layout_sc2cpe) // GAME No 95-750-273
+GAMEL( 1996, sc2cpe4p , sc2cpe , scorpion2_dm01_5m , cpeno1 , bfm_sc2_state, cpeno1 , 0, "BFM", "Club Public Enemy No.1 (set 2, UK, Protocol) (Scorpion 2/3)", GAME_FLAGS, layout_sc2cpe) // GAME No 95-751-273
// PROJECT NUMBER PR6574 PUBLIC ENEMY NO.1 S+P 25P/#250 STENA SEALINK - 3-JAN-1996 12:17:33
-GAMEL( 1996, sc2cpe2 , sc2cpe , scorpion2_dm01_5m , cpeno1 , bfm_sc2_state, cpeno1 , 0, "BFM", "Club Public Enemy No.1 (set 3, UK) (Scorpion 2/3)", GAME_FLAGS, layout_sc2cpe) // GAME No 95-750-597
-GAMEL( 1996, sc2cpe2p , sc2cpe , scorpion2_dm01_5m , cpeno1 , bfm_sc2_state, cpeno1 , 0, "BFM", "Club Public Enemy No.1 (set 3, UK, Protocol) (Scorpion 2/3)", GAME_FLAGS, layout_sc2cpe) // GAME No 95-751-597
+GAMEL( 1996, sc2cpe2 , sc2cpe , scorpion2_dm01_5m , cpeno1 , bfm_sc2_state, cpeno1 , 0, "BFM", "Club Public Enemy No.1 (set 3, UK) (Scorpion 2/3)", GAME_FLAGS, layout_sc2cpe) // GAME No 95-750-597
+GAMEL( 1996, sc2cpe2p , sc2cpe , scorpion2_dm01_5m , cpeno1 , bfm_sc2_state, cpeno1 , 0, "BFM", "Club Public Enemy No.1 (set 3, UK, Protocol) (Scorpion 2/3)", GAME_FLAGS, layout_sc2cpe) // GAME No 95-751-597
// PROJECT NUMBER PR6574 PUBLIC ENEMY NO.1 S+P 25P/#250 FIXED 65% - 3-JAN-1996 12:19:01
-GAMEL( 1996, sc2cpe1 , sc2cpe , scorpion2_dm01_5m , cpeno1 , bfm_sc2_state, cpeno1 , 0, "BFM", "Club Public Enemy No.1 (set 4, UK) (Scorpion 2/3)", GAME_FLAGS, layout_sc2cpe) // GAME No 95-750-598
-GAMEL( 1996, sc2cpe1p , sc2cpe , scorpion2_dm01_5m , cpeno1 , bfm_sc2_state, cpeno1 , 0, "BFM", "Club Public Enemy No.1 (set 4, UK, Protocol) (Scorpion 2/3)", GAME_FLAGS, layout_sc2cpe) // GAME No 95-751-598
+GAMEL( 1996, sc2cpe1 , sc2cpe , scorpion2_dm01_5m , cpeno1 , bfm_sc2_state, cpeno1 , 0, "BFM", "Club Public Enemy No.1 (set 4, UK) (Scorpion 2/3)", GAME_FLAGS, layout_sc2cpe) // GAME No 95-750-598
+GAMEL( 1996, sc2cpe1p , sc2cpe , scorpion2_dm01_5m , cpeno1 , bfm_sc2_state, cpeno1 , 0, "BFM", "Club Public Enemy No.1 (set 4, UK, Protocol) (Scorpion 2/3)", GAME_FLAGS, layout_sc2cpe) // GAME No 95-751-598
// PROJECT NUMBER PR6574 PUBLIC ENEMY NO.1 S+P 25P/#250 - 20-AUG-1996 10:05:21
-GAMEL( 1996, sc2cpe , 0 , scorpion2_dm01_5m , cpeno1 , bfm_sc2_state, cpeno1 , 0, "BFM", "Club Public Enemy No.1 (set 5, UK) (Scorpion 2/3)", GAME_FLAGS, layout_sc2cpe) // GAME No 95-750-846
-GAMEL( 1996, sc2cpep , sc2cpe , scorpion2_dm01_5m , cpeno1 , bfm_sc2_state, cpeno1 , 0, "BFM", "Club Public Enemy No.1 (set 5, UK, Protocol) (Scorpion 2/3)", GAME_FLAGS, layout_sc2cpe) // GAME No 95-751-846
+GAMEL( 1996, sc2cpe , 0 , scorpion2_dm01_5m , cpeno1 , bfm_sc2_state, cpeno1 , 0, "BFM", "Club Public Enemy No.1 (set 5, UK) (Scorpion 2/3)", GAME_FLAGS, layout_sc2cpe) // GAME No 95-750-846
+GAMEL( 1996, sc2cpep , sc2cpe , scorpion2_dm01_5m , cpeno1 , bfm_sc2_state, cpeno1 , 0, "BFM", "Club Public Enemy No.1 (set 5, UK, Protocol) (Scorpion 2/3)", GAME_FLAGS, layout_sc2cpe) // GAME No 95-751-846
/********************************************************************************************************************************************************************************************************************
Cops 'n' Robbers
diff --git a/src/mame/drivers/bfm_sc4.cpp b/src/mame/drivers/bfm_sc4.cpp
index 235e140f46a..b3a696b4e2d 100644
--- a/src/mame/drivers/bfm_sc4.cpp
+++ b/src/mame/drivers/bfm_sc4.cpp
@@ -1191,7 +1191,7 @@ MACHINE_CONFIG_END
MACHINE_CONFIG_START( sc4dmd, sc4_state )
MCFG_FRAGMENT_ADD(sc4_common)
/* video hardware */
-
+
//MCFG_DEFAULT_LAYOUT(layout_sc4_dmd)
MCFG_DEVICE_ADD("dm01", BF_DM01, 0)
MCFG_BF_DM01_BUSY_CB(WRITELINE(sc4_state, bfmdm01_busy))
@@ -1717,7 +1717,7 @@ DRIVER_INIT_MEMBER(sc4_state,sc4)
// debug helpers to find strings used for inputs and where the buttons map
-// bfm_sc45_layout_helper(machine());
+// bfm_sc45_layout_helper(machine());
}
diff --git a/src/mame/drivers/cave.cpp b/src/mame/drivers/cave.cpp
index 41a308110bf..70e4d422229 100644
--- a/src/mame/drivers/cave.cpp
+++ b/src/mame/drivers/cave.cpp
@@ -2622,7 +2622,7 @@ static MACHINE_CONFIG_START( sailormn, cave_state )
MCFG_CPU_VBLANK_INT_DRIVER("screen", cave_state, cave_interrupt)
// could be a wachdog, but if it is then our watchdog address is incorrect as there are periods where the game doesn't write it.
- MCFG_TIMER_DRIVER_ADD("startup", cave_state, sailormn_startup)
+ MCFG_TIMER_DRIVER_ADD("startup", cave_state, sailormn_startup)
MCFG_CPU_ADD("audiocpu", Z80, XTAL_8MHz) // Bidirectional Communication
MCFG_CPU_PROGRAM_MAP(sailormn_sound_map)
@@ -2981,7 +2981,7 @@ ROM_START( agalletak )
ROM_LOAD16_WORD( "agallet_korea.nv", 0x0000, 0x0080, CRC(7f41c253) SHA1(50793d4da0ad6eb590941d26a729a1cf4b3c25c2) )
ROM_END
-ROM_START( agalletat )
+ROM_START( agalletat )
ROMS_AGALLETA
ROM_REGION16_BE( 0x80, "eeprom", 0 )
diff --git a/src/mame/drivers/chaos.cpp b/src/mame/drivers/chaos.cpp
index 9027facdcf7..ed2c073efb6 100644
--- a/src/mame/drivers/chaos.cpp
+++ b/src/mame/drivers/chaos.cpp
@@ -25,7 +25,7 @@
Don't try 'fill' - it fills all memory with zeroes, crashing the system.
ToDo:
- - Connect up floppy disk (WD1771 fdc, 5.25", single density,
+ - Connect up floppy disk (WD1771 fdc, 5.25", single density,
no other info available)
****************************************************************************/
diff --git a/src/mame/drivers/chessmst.cpp b/src/mame/drivers/chessmst.cpp
index 5a4245f06e6..4dc3e8179a2 100644
--- a/src/mame/drivers/chessmst.cpp
+++ b/src/mame/drivers/chessmst.cpp
@@ -161,7 +161,7 @@ static INPUT_PORTS_START( chessmst )
PORT_BIT(0x20, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("Color [2]") PORT_CODE(KEYCODE_2) PORT_CODE(KEYCODE_C)
PORT_BIT(0x40, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("Level [1]") PORT_CODE(KEYCODE_1) PORT_CODE(KEYCODE_L)
PORT_BIT(0x80, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("New Game [0]") PORT_CODE(KEYCODE_0) PORT_CODE(KEYCODE_ENTER)
-
+
PORT_START("EXTRA")
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_NAME("Halt") PORT_CODE(KEYCODE_F2) PORT_WRITE_LINE_DEVICE_MEMBER("z80pio1", z80pio_device, strobe_a) // -> PIO(1) ASTB pin
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_NAME("Reset") PORT_CODE(KEYCODE_F1) PORT_CHANGED_MEMBER(DEVICE_SELF, chessmst_state, reset_button, 0) // -> Z80 RESET pin
diff --git a/src/mame/drivers/cmi.cpp b/src/mame/drivers/cmi.cpp
index 862f4a71734..9e61ed7cc3e 100644
--- a/src/mame/drivers/cmi.cpp
+++ b/src/mame/drivers/cmi.cpp
@@ -15,86 +15,86 @@
* MASTER 'TIM' test fails
* LGTST 'TIM' test is out of tolerance without 6840 hack.
- Information from:
-
- CMI SYSTEM SERVICE MANUAL
- FAIRLIGHT INSTRUMENTS, FEBRUARY 1985
- Revision 2.1
-
- This document is available on archive.org at the following URL:
-
- https://archive.org/details/fairlight_CMI-IIx_SERVICE_MANUAL
-
- Summary:
-
- The Fairlight CMI system conists typically of:
- - One velocity-sensitive unweighted keyboard, with a numeric
- keypad and several control surfaces
- - (Optionally) one additional keyboard, not velocity-sensitive
- - One alphanumeric keyboard for manual control
- - A 15-inch green-screen monitor and light pen for more direct
- control
- - A box consisting of:
- * An audio board including balanced line drivers for eight
- channels and mixed output
- * A 500-watt power supply
- * A 21-slot backplane
- * Two 8-inch double-density floppy disk drives. The format
- used is soft-sectored, 128 bytes per sector (single density),
- or 256 bytes per sector (double density), using FM
- recording.
- * And the following cards:
- Slot 1: Master Card CMI-02
- Slot 2: General Interface Card CMI-08/28 (Optional)
- Slots 3-11: 8 Channel Controller Cards & 1 Voice Master Module Card, order unknown
- Slot 12: 64K System RAM Q-096
- Slot 13: 256K System RAM Q-256
- Slot 14: 256K System RAM Q-256
- Slot 15: 4-Port ACIA Module Q-014 (Optional)
- Slot 16: Processor Control Module Q-133
- Slot 17: Central Processor Module Q-209
- Slot 18: Lightpen/Graphics Interface Q-219
- Slot 19: Floppy Disk Controller QFC-9
- Slot 20: Hard Disk Controller Q-077 (Optional)
-
- The Master Keyboard
- -------------------
-
- The master keyboard has the following features:
- - A serial connector for communicating with the CMI mainframe
- - A connector for a slave keyboard
- - A connector for the alphanumeric keyboard
- - Connectors for pedal controls
- - Three slider-type analog controls
- - Two switch controls (one momentary, one toggle on/off)
- - Two lamp indicators for the switches with software-defined
- control
- - A 12-character LED alphanumeric display
- - A 16-switch keypad
-
- All communications with all peripherals and controls on the master
- keyboard is handled via the master keyboard's controller, and as
- such there is one single serial link to the "CMI mainframe" box
- itself.
-
- Q209 Dual 6809 Central Processor Card
- -------------------------------------
-
- The CPU card has two 6809 processors, with robust inter-CPU
- communications capabilities including:
- - Uninterruptible instructions
- - CPU-specific ID register and memory map registers
- - Interprocessor interrupts
- - Automatic memory map-switching register
-
- The CPUs are multiplexed onto the address and data buses
- in an interleaved manner such that there is no contention
- on simultaneous memory accesses.
-
- All system timing is derived from a 40MHz clock crystal, which
- is divided into two opposite-phase 20MHz squre waves.
-
- Other data entry from service manual to be completed later - RH 12 Aug 2016
+ Information from:
+
+ CMI SYSTEM SERVICE MANUAL
+ FAIRLIGHT INSTRUMENTS, FEBRUARY 1985
+ Revision 2.1
+
+ This document is available on archive.org at the following URL:
+
+ https://archive.org/details/fairlight_CMI-IIx_SERVICE_MANUAL
+
+ Summary:
+
+ The Fairlight CMI system conists typically of:
+ - One velocity-sensitive unweighted keyboard, with a numeric
+ keypad and several control surfaces
+ - (Optionally) one additional keyboard, not velocity-sensitive
+ - One alphanumeric keyboard for manual control
+ - A 15-inch green-screen monitor and light pen for more direct
+ control
+ - A box consisting of:
+ * An audio board including balanced line drivers for eight
+ channels and mixed output
+ * A 500-watt power supply
+ * A 21-slot backplane
+ * Two 8-inch double-density floppy disk drives. The format
+ used is soft-sectored, 128 bytes per sector (single density),
+ or 256 bytes per sector (double density), using FM
+ recording.
+ * And the following cards:
+ Slot 1: Master Card CMI-02
+ Slot 2: General Interface Card CMI-08/28 (Optional)
+ Slots 3-11: 8 Channel Controller Cards & 1 Voice Master Module Card, order unknown
+ Slot 12: 64K System RAM Q-096
+ Slot 13: 256K System RAM Q-256
+ Slot 14: 256K System RAM Q-256
+ Slot 15: 4-Port ACIA Module Q-014 (Optional)
+ Slot 16: Processor Control Module Q-133
+ Slot 17: Central Processor Module Q-209
+ Slot 18: Lightpen/Graphics Interface Q-219
+ Slot 19: Floppy Disk Controller QFC-9
+ Slot 20: Hard Disk Controller Q-077 (Optional)
+
+ The Master Keyboard
+ -------------------
+
+ The master keyboard has the following features:
+ - A serial connector for communicating with the CMI mainframe
+ - A connector for a slave keyboard
+ - A connector for the alphanumeric keyboard
+ - Connectors for pedal controls
+ - Three slider-type analog controls
+ - Two switch controls (one momentary, one toggle on/off)
+ - Two lamp indicators for the switches with software-defined
+ control
+ - A 12-character LED alphanumeric display
+ - A 16-switch keypad
+
+ All communications with all peripherals and controls on the master
+ keyboard is handled via the master keyboard's controller, and as
+ such there is one single serial link to the "CMI mainframe" box
+ itself.
+
+ Q209 Dual 6809 Central Processor Card
+ -------------------------------------
+
+ The CPU card has two 6809 processors, with robust inter-CPU
+ communications capabilities including:
+ - Uninterruptible instructions
+ - CPU-specific ID register and memory map registers
+ - Interprocessor interrupts
+ - Automatic memory map-switching register
+
+ The CPUs are multiplexed onto the address and data buses
+ in an interleaved manner such that there is no contention
+ on simultaneous memory accesses.
+
+ All system timing is derived from a 40MHz clock crystal, which
+ is divided into two opposite-phase 20MHz squre waves.
+
+ Other data entry from service manual to be completed later - RH 12 Aug 2016
****************************************************************************/
@@ -114,92 +114,92 @@
#include "machine/input_merger.h"
#include "video/dl1416.h"
-#define Q209_CPU_CLOCK 4000000 // ?
-
-#define M6809_CLOCK 8000000 // wrong
-#define MASTER_OSCILLATOR 34291712
-
-#define CPU_1 0
-#define CPU_2 1
-
-#define MAPPING_A 1
-#define MAPPING_B 0
-
-#define NUM_Q256_CARDS 1 // Max of 2
-#define NUM_CHANNEL_CARDS 8
-
-#define PAGE_SIZE 2048
-#define PAGE_COUNT (65536 / PAGE_SIZE)
-#define PAGE_MASK (PAGE_SIZE - 1)
-#define PAGE_SHIFT 5
-
-#define PIXEL_CLOCK 10380000 // Add to xtal.h
-#define HTOTAL 672
-#define HBLANK_END 0
-#define HBLANK_START 512
-#define VTOTAL 304
-#define VBLANK_END 0
-#define VBLANK_START 256
-
-#define HBLANK_FREQ ((double)PIXEL_CLOCK / (double)HTOTAL)
-#define VBLANK_FREQ ((double)HBLANK_FREQ / (double)VTOTAL)
-
-#define MAPSEL_P2_B 0x00
-#define MAPSEL_P2_A 0x03
-#define MAPSEL_P2_A_DMA1 0x04
-#define MAPSEL_P2_A_DMA2 0x05
-#define MAPSEL_P2_A_DMA3 0x06
-#define MAPSEL_P2_A_DMA4 0x07
-#define MAPSEL_P1_B 0x08
-#define MAPSEL_P1_A 0x0b
-#define MAPSEL_P1_A_DMA1 0x0c
-#define MAPSEL_P1_A_DMA2 0x0d
-#define MAPSEL_P1_A_DMA3 0x0e
-#define MAPSEL_P1_A_DMA4 0x0f
-
-#define IRQ_ACINT_LEVEL (7 - 0)
-#define IRQ_MIDINT_LEVEL (7 - 0)
-#define IRQ_TIMINT_LEVEL (7 - 1)
-#define IRQ_INTP1_LEVEL (7 - 2)
-#define IRQ_IPI1_LEVEL (7 - 3)
-#define IRQ_SMIDINT_LEVEL (7 - 3)
-#define IRQ_AIC_LEVEL (7 - 4)
-
-#define IRQ_CHINT2_LEVEL (8)
-#define IRQ_CHINT4_LEVEL (9)
-#define IRQ_CHINT6_LEVEL (10)
-#define IRQ_CHINT8_LEVEL (11)
-#define IRQ_CHINT1_LEVEL (12)
-#define IRQ_CHINT3_LEVEL (13)
-#define IRQ_CHINT5_LEVEL (14)
-#define IRQ_CHINT7_LEVEL (15)
+#define Q209_CPU_CLOCK 4000000 // ?
+
+#define M6809_CLOCK 8000000 // wrong
+#define MASTER_OSCILLATOR 34291712
+
+#define CPU_1 0
+#define CPU_2 1
+
+#define MAPPING_A 1
+#define MAPPING_B 0
+
+#define NUM_Q256_CARDS 1 // Max of 2
+#define NUM_CHANNEL_CARDS 8
+
+#define PAGE_SIZE 2048
+#define PAGE_COUNT (65536 / PAGE_SIZE)
+#define PAGE_MASK (PAGE_SIZE - 1)
+#define PAGE_SHIFT 5
+
+#define PIXEL_CLOCK 10380000 // Add to xtal.h
+#define HTOTAL 672
+#define HBLANK_END 0
+#define HBLANK_START 512
+#define VTOTAL 304
+#define VBLANK_END 0
+#define VBLANK_START 256
+
+#define HBLANK_FREQ ((double)PIXEL_CLOCK / (double)HTOTAL)
+#define VBLANK_FREQ ((double)HBLANK_FREQ / (double)VTOTAL)
+
+#define MAPSEL_P2_B 0x00
+#define MAPSEL_P2_A 0x03
+#define MAPSEL_P2_A_DMA1 0x04
+#define MAPSEL_P2_A_DMA2 0x05
+#define MAPSEL_P2_A_DMA3 0x06
+#define MAPSEL_P2_A_DMA4 0x07
+#define MAPSEL_P1_B 0x08
+#define MAPSEL_P1_A 0x0b
+#define MAPSEL_P1_A_DMA1 0x0c
+#define MAPSEL_P1_A_DMA2 0x0d
+#define MAPSEL_P1_A_DMA3 0x0e
+#define MAPSEL_P1_A_DMA4 0x0f
+
+#define IRQ_ACINT_LEVEL (7 - 0)
+#define IRQ_MIDINT_LEVEL (7 - 0)
+#define IRQ_TIMINT_LEVEL (7 - 1)
+#define IRQ_INTP1_LEVEL (7 - 2)
+#define IRQ_IPI1_LEVEL (7 - 3)
+#define IRQ_SMIDINT_LEVEL (7 - 3)
+#define IRQ_AIC_LEVEL (7 - 4)
+
+#define IRQ_CHINT2_LEVEL (8)
+#define IRQ_CHINT4_LEVEL (9)
+#define IRQ_CHINT6_LEVEL (10)
+#define IRQ_CHINT8_LEVEL (11)
+#define IRQ_CHINT1_LEVEL (12)
+#define IRQ_CHINT3_LEVEL (13)
+#define IRQ_CHINT5_LEVEL (14)
+#define IRQ_CHINT7_LEVEL (15)
static const int ch_int_levels[8] =
{
IRQ_CHINT8_LEVEL, IRQ_CHINT7_LEVEL, IRQ_CHINT6_LEVEL, IRQ_CHINT5_LEVEL, IRQ_CHINT4_LEVEL, IRQ_CHINT3_LEVEL, IRQ_CHINT2_LEVEL, IRQ_CHINT1_LEVEL
};
-#define IRQ_PERRINT_LEVEL (7 - 0)
-#define IRQ_RTCINT_LEVEL (7 - 0)
-#define IRQ_RINT_LEVEL (7 - 1)
-#define IRQ_INTP2_LEVEL (7 - 2)
-#define IRQ_IPI2_LEVEL (7 - 3)
-#define IRQ_TOUCHINT_LEVEL (7 - 4)
-#define IRQ_PENINT_LEVEL (7 - 5)
-#define IRQ_ADINT_LEVEL (7 - 6)
-#define IRQ_DISKINT_LEVEL (7 - 7)
+#define IRQ_PERRINT_LEVEL (7 - 0)
+#define IRQ_RTCINT_LEVEL (7 - 0)
+#define IRQ_RINT_LEVEL (7 - 1)
+#define IRQ_INTP2_LEVEL (7 - 2)
+#define IRQ_IPI2_LEVEL (7 - 3)
+#define IRQ_TOUCHINT_LEVEL (7 - 4)
+#define IRQ_PENINT_LEVEL (7 - 5)
+#define IRQ_ADINT_LEVEL (7 - 6)
+#define IRQ_DISKINT_LEVEL (7 - 7)
-#define FDC_CONTROL_INTEN (1 << 2)
+#define FDC_CONTROL_INTEN (1 << 2)
-#define FDC_STATUS_READY (1 << 3)
-#define FDC_STATUS_TWO_SIDED (1 << 4)
-#define FDC_STATUS_DISK_CHANGE (1 << 5)
-#define FDC_STATUS_INTERRUPT (1 << 6)
-#define FDC_STATUS_DRIVER_LOAD (1 << 7)
+#define FDC_STATUS_READY (1 << 3)
+#define FDC_STATUS_TWO_SIDED (1 << 4)
+#define FDC_STATUS_DISK_CHANGE (1 << 5)
+#define FDC_STATUS_INTERRUPT (1 << 6)
+#define FDC_STATUS_DRIVER_LOAD (1 << 7)
-#define ENV_DIR_DOWN 0
-#define ENV_DIR_UP 1
+#define ENV_DIR_DOWN 0
+#define ENV_DIR_UP 1
#define MCFG_CMI01A_ADD(_tag, _channel) \
MCFG_DEVICE_ADD(_tag, CMI01A_CHANNEL_CARD, 0) \
@@ -254,22 +254,22 @@ private:
void run_voice();
void update_wave_addr(int inc);
- emu_timer * m_zx_timer;
- UINT8 m_zx_flag;
- UINT8 m_zx_ff;
+ emu_timer * m_zx_timer;
+ UINT8 m_zx_flag;
+ UINT8 m_zx_ff;
- int m_channel;
- std::unique_ptr<UINT8[]> m_wave_ram;
- UINT16 m_segment_cnt;
- UINT8 m_new_addr; // Flag
- UINT8 m_env_dir_ctrl;
- UINT8 m_vol_latch;
- UINT8 m_flt_latch;
+ int m_channel;
+ std::unique_ptr<UINT8[]> m_wave_ram;
+ UINT16 m_segment_cnt;
+ UINT8 m_new_addr; // Flag
+ UINT8 m_env_dir_ctrl;
+ UINT8 m_vol_latch;
+ UINT8 m_flt_latch;
- double m_freq;
- bool m_active;
+ double m_freq;
+ bool m_active;
- int m_ptm_output;
+ int m_ptm_output;
};
const device_type CMI01A_CHANNEL_CARD = &device_creator<cmi01a_device>;
@@ -600,50 +600,50 @@ private:
void write_fdc_ctrl(UINT8 data);
void fdc_dma_transfer();
- int m_int_state[2];
- UINT8 m_hp_int;
- std::unique_ptr<UINT8[]> m_shared_ram;
- std::unique_ptr<UINT8[]> m_scratch_ram[2];
+ int m_int_state[2];
+ UINT8 m_hp_int;
+ std::unique_ptr<UINT8[]> m_shared_ram;
+ std::unique_ptr<UINT8[]> m_scratch_ram[2];
/* Memory management */
- UINT8 m_map_sel[16];
- std::unique_ptr<UINT8[]> m_map_ram[2];
- std::unique_ptr<UINT8[]> m_q256_ram[2];
- UINT8 m_map_ram_latch;
- int m_cpu_active_space[2]; // TODO: Make one register
- int m_cpu_map_switch[2];
+ UINT8 m_map_sel[16];
+ std::unique_ptr<UINT8[]> m_map_ram[2];
+ std::unique_ptr<UINT8[]> m_q256_ram[2];
+ UINT8 m_map_ram_latch;
+ int m_cpu_active_space[2]; // TODO: Make one register
+ int m_cpu_map_switch[2];
/* Q219 lightpen/graphics card */
- std::unique_ptr<UINT8[]> m_video_ram;
- UINT16 m_x_pos;
- UINT8 m_y_pos;
- UINT16 m_lp_x;
- UINT8 m_lp_y;
- UINT8 m_q219_b_touch;
+ std::unique_ptr<UINT8[]> m_video_ram;
+ UINT16 m_x_pos;
+ UINT8 m_y_pos;
+ UINT16 m_lp_x;
+ UINT8 m_lp_y;
+ UINT8 m_q219_b_touch;
/* QFC9 floppy disk controller card */
- UINT8 * m_qfc9_region_ptr;
- int m_fdc_drq;
- UINT8 m_fdc_addr;
- UINT8 m_fdc_ctrl;
- UINT8 m_fdc_status;
- PAIR m_fdc_dma_addr;
- PAIR m_fdc_dma_cnt;
+ UINT8 * m_qfc9_region_ptr;
+ int m_fdc_drq;
+ UINT8 m_fdc_addr;
+ UINT8 m_fdc_ctrl;
+ UINT8 m_fdc_status;
+ PAIR m_fdc_dma_addr;
+ PAIR m_fdc_dma_cnt;
/* CMI-07 */
- UINT8 m_cmi07_ctrl;
+ UINT8 m_cmi07_ctrl;
/* CMI-10 */
- UINT8 m_scnd;
+ UINT8 m_scnd;
/* Musical keyboard */
- UINT8 m_msm5832_addr;
- int m_mkbd_kbd_acia_irq;
- int m_mkbd_cmi_acia_irq;
+ UINT8 m_msm5832_addr;
+ int m_mkbd_kbd_acia_irq;
+ int m_mkbd_cmi_acia_irq;
// Alphanumeric keyboard
- int m_ank_irqa;
- int m_ank_irqb;
+ int m_ank_irqa;
+ int m_ank_irqb;
};
/**************************************
@@ -714,8 +714,8 @@ void cmi_state::hblank()
m_q219_pia->cb1_w(1);
}
}
- }
- /* Adjust for next scanline */
+ }
+ /* Adjust for next scanline */
if (++v >= VTOTAL)
v = 0;
@@ -766,7 +766,7 @@ void cmi_state::video_write(int offset)
case 0x9: update_video_pos(-1, 1, 0); break;
case 0xa: update_video_pos(-1, -1, 0); break;
case 0xb: update_video_pos(-1, 0, 1); break;
-// default: printf("Video Write %x %x\n", offset, m_video_data);
+// default: printf("Video Write %x %x\n", offset, m_video_data);
}
}
@@ -1019,9 +1019,9 @@ ADDRESS_MAP_END
static ADDRESS_MAP_START( midicpu_map, AS_PROGRAM, 16, cmi_state )
AM_RANGE(0x000000, 0x003fff) AM_ROM
AM_RANGE(0x040000, 0x05ffff) AM_READWRITE(midi_dma_r, midi_dma_w)
-// AM_RANGE(0x060000, 0x06001f) TIMERS
-// AM_RANGE(0x060050, 0x06005f) ACIA
-// AM_RANGE(0x060070, 0x06007f) SMPTE
+// AM_RANGE(0x060000, 0x06001f) TIMERS
+// AM_RANGE(0x060050, 0x06005f) ACIA
+// AM_RANGE(0x060070, 0x06007f) SMPTE
AM_RANGE(0x080000, 0x083fff) AM_RAM
ADDRESS_MAP_END
@@ -1062,84 +1062,84 @@ static INPUT_PORTS_START( cmi2x )
PORT_DIPSETTING( 0x30, "None, bit 7 is 1" )
PORT_START("ROW0")
- PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_2) PORT_CHAR('2')
- PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_4) PORT_CHAR('4')
- PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_6) PORT_CHAR('6')
- PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_8) PORT_CHAR('8')
- PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_MINUS) PORT_CHAR('-')
- PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_PLUS_PAD) PORT_CHAR('+')
- PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_COLON) PORT_CHAR(':')
- PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_9) PORT_CHAR('9')
+ PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_2) PORT_CHAR('2')
+ PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_4) PORT_CHAR('4')
+ PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_6) PORT_CHAR('6')
+ PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_8) PORT_CHAR('8')
+ PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_MINUS) PORT_CHAR('-')
+ PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_PLUS_PAD) PORT_CHAR('+')
+ PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_COLON) PORT_CHAR(':')
+ PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_9) PORT_CHAR('9')
PORT_START("ROW1")
- PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_1) PORT_CHAR('1')
- PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_3) PORT_CHAR('3')
- PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_T) PORT_CHAR('T')
- PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_U) PORT_CHAR('U')
- PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_RIGHT) PORT_NAME("Right")
- PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_UP) PORT_NAME("Up")
- PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_MINUS_PAD) PORT_CHAR('-')
- PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_0) PORT_CHAR('0')
+ PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_1) PORT_CHAR('1')
+ PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_3) PORT_CHAR('3')
+ PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_T) PORT_CHAR('T')
+ PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_U) PORT_CHAR('U')
+ PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_RIGHT) PORT_NAME("Right")
+ PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_UP) PORT_NAME("Up")
+ PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_MINUS_PAD) PORT_CHAR('-')
+ PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_0) PORT_CHAR('0')
PORT_START("ROW2")
- PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_ESC) PORT_CHAR(UCHAR_MAMEKEY(ESC))
- PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_E) PORT_CHAR('E')
- PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_5) PORT_CHAR('5')
- PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_J) PORT_CHAR('J')
- PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Set")
- PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Add")
- PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_SLASH) PORT_CHAR('/')
- PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_COMMA) PORT_CHAR(',')
+ PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_ESC) PORT_CHAR(UCHAR_MAMEKEY(ESC))
+ PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_E) PORT_CHAR('E')
+ PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_5) PORT_CHAR('5')
+ PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_J) PORT_CHAR('J')
+ PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Set")
+ PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Add")
+ PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_SLASH) PORT_CHAR('/')
+ PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_COMMA) PORT_CHAR(',')
PORT_START("ROW3")
- PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_LSHIFT) PORT_NAME("LShift")
- PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_X) PORT_CHAR('X')
- PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_V) PORT_CHAR('V')
- PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_N) PORT_CHAR('N')
- PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_DOWN) PORT_NAME("Down")
- PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Clear")
- PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("WTF")
- PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_L) PORT_CHAR('L')
+ PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_LSHIFT) PORT_NAME("LShift")
+ PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_X) PORT_CHAR('X')
+ PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_V) PORT_CHAR('V')
+ PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_N) PORT_CHAR('N')
+ PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_DOWN) PORT_NAME("Down")
+ PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Clear")
+ PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("WTF")
+ PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_L) PORT_CHAR('L')
PORT_START("ROW4")
- PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_Q) PORT_CHAR('Q')
- PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_W) PORT_CHAR('W')
- PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_G) PORT_CHAR('G')
- PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_M) PORT_CHAR('M')
- PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_EQUALS) PORT_CHAR('=')
- PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Home")
- PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_BACKSPACE) PORT_CHAR(8)
- PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_K) PORT_CHAR('K')
+ PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_Q) PORT_CHAR('Q')
+ PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_W) PORT_CHAR('W')
+ PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_G) PORT_CHAR('G')
+ PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_M) PORT_CHAR('M')
+ PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_EQUALS) PORT_CHAR('=')
+ PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Home")
+ PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_BACKSPACE) PORT_CHAR(8)
+ PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_K) PORT_CHAR('K')
PORT_START("ROW5")
- PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_Z) PORT_CHAR('Z')
- PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_C) PORT_CHAR('C')
- PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_F) PORT_CHAR('F')
- PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_7) PORT_CHAR('7')
- PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_ENTER) PORT_NAME("Return (a)")
- PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_ENTER) PORT_NAME("Return (b)")
- PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_P) PORT_CHAR('P')
- PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_I) PORT_CHAR('I')
+ PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_Z) PORT_CHAR('Z')
+ PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_C) PORT_CHAR('C')
+ PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_F) PORT_CHAR('F')
+ PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_7) PORT_CHAR('7')
+ PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_ENTER) PORT_NAME("Return (a)")
+ PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_ENTER) PORT_NAME("Return (b)")
+ PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_P) PORT_CHAR('P')
+ PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_I) PORT_CHAR('I')
PORT_START("ROW6")
- PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_A) PORT_CHAR('A')
- PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_D) PORT_CHAR('D')
- PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_B) PORT_CHAR('S')
- PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_H) PORT_CHAR('H')
- PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Sub")
- PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_SPACE) PORT_CHAR(' ')
- PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_RSHIFT) PORT_NAME("RShift")
- PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_STOP) PORT_CHAR('.')
+ PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_A) PORT_CHAR('A')
+ PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_D) PORT_CHAR('D')
+ PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_B) PORT_CHAR('S')
+ PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_H) PORT_CHAR('H')
+ PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Sub")
+ PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_SPACE) PORT_CHAR(' ')
+ PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_RSHIFT) PORT_NAME("RShift")
+ PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_STOP) PORT_CHAR('.')
PORT_START("ROW7")
PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_LCONTROL)
- PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_S) PORT_CHAR('S')
- PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_R) PORT_CHAR('R')
- PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_Y) PORT_CHAR('Y')
+ PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_S) PORT_CHAR('S')
+ PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_R) PORT_CHAR('R')
+ PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_Y) PORT_CHAR('Y')
PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_UNUSED)
- PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_LEFT) PORT_NAME("Left")
+ PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_LEFT) PORT_NAME("Left")
PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_UNUSED)
- PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_O) PORT_CHAR('O')
+ PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_O) PORT_CHAR('O')
/* Keypad */
PORT_START("KEYPAD_A")
@@ -1631,7 +1631,7 @@ WRITE_LINE_MEMBER( cmi01a_device::cmi01a_1_ca2_w )
WRITE_LINE_MEMBER( cmi01a_device::ch_int )
{
-// printf("CH%d INT: %x %x\n", ch, state, m_int_state[0]);
+// printf("CH%d INT: %x %x\n", ch, state, m_int_state[0]);
dynamic_cast<cmi_state*>(owner())->set_interrupt(CPU_1, ch_int_levels[m_channel], state ? ASSERT_LINE : CLEAR_LINE);
}
@@ -1680,7 +1680,7 @@ void cmi01a_device::run_voice()
double cfreq = ((double)(0x800 | (pitch << 1))* mfreq) / 4096.0;
-// if (cfreq > 0.0)
+// if (cfreq > 0.0)
{
/* Octave register enabled? */
if (!(o_val & 0x8))
@@ -1711,7 +1711,7 @@ WRITE_LINE_MEMBER( cmi01a_device::cmi01a_1_cb2_w )
m_new_addr = 1;
/* Clear /EOSI */
-// pia6821_cb1_w(card->pia[1], 0, 1);
+// pia6821_cb1_w(card->pia[1], 0, 1);
/* Clear ZX */
m_pia_1->ca1_w(0);
@@ -2016,7 +2016,7 @@ WRITE_LINE_MEMBER( cmi_state::ank_irqb_w )
READ_LINE_MEMBER( cmi_state::ank_rts_r )
{
-// printf("ANK RTS?\n");
+// printf("ANK RTS?\n");
return 0;
}
@@ -2132,7 +2132,7 @@ IRQ_CALLBACK_MEMBER( cmi_state::cpu2_interrupt_callback )
void cmi_state::set_interrupt(int cpunum, int level, int state)
{
-// printf("CPU%d Int: %x State: %x (Cur: %x)\n", cpunum, level, state, m_int_state[cpunum]);
+// printf("CPU%d Int: %x State: %x (Cur: %x)\n", cpunum, level, state, m_int_state[cpunum]);
if (state == ASSERT_LINE)
m_int_state[cpunum] |= (1 << level);
@@ -2171,7 +2171,7 @@ WRITE_LINE_MEMBER( cmi_state::i8214_3_int_w )
WRITE_LINE_MEMBER( cmi_state::i8214_3_enlg )
{
// Not needed?
-// m_hp_int = state;
+// m_hp_int = state;
}
WRITE_LINE_MEMBER( cmi_state::pia_q219_irqa )
@@ -2187,19 +2187,19 @@ WRITE_LINE_MEMBER( cmi_state::pia_q219_irqb )
/* E9 - E11 - MSM5832RS */
/*
- A0-A3 = MSM5832 A0-A3
- A4+CA1 = MSM5832 D0
- A5+CB1 = MSM5832 D1
- A6 = MSM5832 D2
- A7 = MSM5832 D3
- B0 = HOLD
- B1 = READ
- B2 = WRITE
- CB2 = OPTO
- B3 = ----
- B4-B7 = PC0-3
-
- IRQA/B = /RTINT?
+ A0-A3 = MSM5832 A0-A3
+ A4+CA1 = MSM5832 D0
+ A5+CB1 = MSM5832 D1
+ A6 = MSM5832 D2
+ A7 = MSM5832 D3
+ B0 = HOLD
+ B1 = READ
+ B2 = WRITE
+ CB2 = OPTO
+ B3 = ----
+ B4-B7 = PC0-3
+
+ IRQA/B = /RTINT?
*/
READ8_MEMBER( cmi_state::q133_1_porta_r )
@@ -2227,7 +2227,7 @@ WRITE8_MEMBER( cmi_state::q133_1_portb_w )
WRITE8_MEMBER( cmi_state::master_tune_w )
{
-// double mfreq = (double)data * ((double)MASTER_OSCILLATOR / 2.0) / 256.0;
+// double mfreq = (double)data * ((double)MASTER_OSCILLATOR / 2.0) / 256.0;
}
WRITE8_MEMBER( cmi01a_device::cmi01a_2_a_w )
@@ -2241,19 +2241,19 @@ WRITE8_MEMBER( cmi01a_device::cmi01a_2_b_w )
/*
- PA0-7 = BKA0-7 (display)
-
- PB0 = DA1
- PB1 = DA0
- PB2 = CS2
- PB3 = CU2
- PB4 = CS1
- PB5 = CU1
- PB6 = CS0
- PB7 = CU0
-
- CB1 = /KPAD
- CB2 = /DWS
+ PA0-7 = BKA0-7 (display)
+
+ PB0 = DA1
+ PB1 = DA0
+ PB2 = CS2
+ PB3 = CU2
+ PB4 = CS1
+ PB5 = CU1
+ PB6 = CS0
+ PB7 = CU0
+
+ CB1 = /KPAD
+ CB2 = /DWS
*/
WRITE8_MEMBER( cmi_state::cmi10_u20_a_w )
@@ -2263,9 +2263,9 @@ WRITE8_MEMBER( cmi_state::cmi10_u20_a_w )
int bit = 0;
if (BIT(bk, 3))
- bit = BIT(input_port_read(device->machine, "KEYPAD_A"), bk & 7);
+ bit = BIT(input_port_read(device->machine, "KEYPAD_A"), bk & 7);
else if (!BIT(bk, 4))
- bit = BIT(input_port_read(device->machine, "KEYPAD_B"), bk & 7);
+ bit = BIT(input_port_read(device->machine, "KEYPAD_B"), bk & 7);
pia6821_cb1_w(m_cmi10_pia_u20, 0, !bit);
*/
@@ -2333,14 +2333,14 @@ WRITE16_MEMBER( cmi_state::cmi_iix_update_dp3 )
WRITE_LINE_MEMBER( cmi_state::cmi10_u21_cb2_w )
{
// if 0
-// state = state;
+// state = state;
}
READ8_MEMBER( cmi_state::cmi10_u21_a_r )
{
#if 0
-// int thld = m_cmi10_pia_u21->ca2_output();
+// int thld = m_cmi10_pia_u21->ca2_output();
int sel = m_cmi10_pia_u20->a_output();
int key = sel & 7;
int mux = (sel >> 3) & 3;
@@ -2349,7 +2349,7 @@ READ8_MEMBER( cmi_state::cmi10_u21_a_r )
for (int module = 0; module < 3; ++module)
{
-// char keyname[16];
+// char keyname[16];
UINT8 keyval;
int state = 1;
diff --git a/src/mame/drivers/compis.cpp b/src/mame/drivers/compis.cpp
index 4199447e8fe..5a537afec46 100644
--- a/src/mame/drivers/compis.cpp
+++ b/src/mame/drivers/compis.cpp
@@ -33,15 +33,15 @@
/*
- TODO:
+ TODO:
- - booting system2 with disk in drive b: fails
- - uhrg graphics are drawn wrong (upd7220 bugs?)
- - compis2
- - color graphics
- - 8087
- - programmable keyboard
- - hard disk
+ - booting system2 with disk in drive b: fails
+ - uhrg graphics are drawn wrong (upd7220 bugs?)
+ - compis2
+ - color graphics
+ - 8087
+ - programmable keyboard
+ - hard disk
*/
@@ -77,7 +77,7 @@
#define CENTRONICS_TAG "centronics"
#define ISBX_0_TAG "isbx0"
#define ISBX_1_TAG "isbx1"
-#define GRAPHICS_TAG "gfx"
+#define GRAPHICS_TAG "gfx"
#define COMPIS_KEYBOARD_TAG "compiskb"
class compis_state : public driver_device
@@ -200,7 +200,7 @@ READ16_MEMBER( compis_state::pcs6_2_3_r )
if (BIT(offset, 0))
{
return m_uart->status_r(space, 0) << 8;
- }
+ }
else
{
return m_uart->data_r(space, 0) << 8;
@@ -218,7 +218,7 @@ WRITE16_MEMBER( compis_state::pcs6_2_3_w )
if (BIT(offset, 0))
{
m_uart->control_w(space, 0, data >> 8);
- }
+ }
else
{
m_uart->data_w(space, 0, data >> 8);
diff --git a/src/mame/drivers/cops.cpp b/src/mame/drivers/cops.cpp
index c0b862a2677..98196e8048c 100644
--- a/src/mame/drivers/cops.cpp
+++ b/src/mame/drivers/cops.cpp
@@ -10,23 +10,23 @@
Bad Boys by Inner Circle, so there is musical accompaniment to areas
where the laserdisc audio is muted.
- The different games here have subtly different control PCBs COPS has an Atari
- part number (58-12B), while Revelations simply refers to a Lasermax control PCB
- (Lasermax being the consumer name for the LDP series)
-
- NOTES: To boot up Revelations, turn the refill key (R) and press button A
- to init NVRAM.
-
- TODO: There are probably more ROMs for Revelations and related, the disc
+ The different games here have subtly different control PCBs COPS has an Atari
+ part number (58-12B), while Revelations simply refers to a Lasermax control PCB
+ (Lasermax being the consumer name for the LDP series)
+
+ NOTES: To boot up Revelations, turn the refill key (R) and press button A
+ to init NVRAM.
+
+ TODO: There are probably more ROMs for Revelations and related, the disc
contains full data for a picture based memory game called 'Vision Quest'.
- However, the Vision Quest Laserdisc is slightly different, with Revelations
- specific data seemingly replaced with black level.
+ However, the Vision Quest Laserdisc is slightly different, with Revelations
+ specific data seemingly replaced with black level.
The UK version COPS appears to want to communicate with the LDP in a
different way, passing illegal commands, need to verify this is the same
- player.
-
- This should be similar hardware for Street Viper if we get a dump.
+ player.
+
+ This should be similar hardware for Street Viper if we get a dump.
***************************************************************************/
@@ -78,7 +78,7 @@ protected:
public:
DECLARE_WRITE8_MEMBER(io1_w);
DECLARE_READ8_MEMBER(io1_r);
- DECLARE_READ8_MEMBER(io1_lm_r);
+ DECLARE_READ8_MEMBER(io1_lm_r);
DECLARE_WRITE8_MEMBER(io2_w);
DECLARE_READ8_MEMBER(io2_r);
DECLARE_READ8_MEMBER(ldstatus_r);
@@ -86,10 +86,10 @@ public:
DECLARE_WRITE_LINE_MEMBER(ld_w);
DECLARE_WRITE_LINE_MEMBER(via1_irq);
DECLARE_WRITE_LINE_MEMBER(via2_irq);
- void dacia_receive(UINT8 data);
- void update_dacia_irq();
- DECLARE_WRITE8_MEMBER(dacia_w);
- DECLARE_READ8_MEMBER(dacia_r);
+ void dacia_receive(UINT8 data);
+ void update_dacia_irq();
+ DECLARE_WRITE8_MEMBER(dacia_w);
+ DECLARE_READ8_MEMBER(dacia_r);
DECLARE_WRITE8_MEMBER(via1_b_w);
DECLARE_WRITE8_MEMBER(via1_cb1_w);
DECLARE_WRITE8_MEMBER(cdrom_data_w);
@@ -101,46 +101,46 @@ public:
UINT8 m_lcd_addr_l, m_lcd_addr_h;
UINT8 m_lcd_data_l, m_lcd_data_h;
- UINT8 m_dacia_irq1_reg;
- UINT8 m_dacia_rts1;
- UINT8 m_dacia_dtr1;
+ UINT8 m_dacia_irq1_reg;
+ UINT8 m_dacia_rts1;
+ UINT8 m_dacia_dtr1;
UINT8 m_parity_1;
UINT8 m_parity_mode_1;
UINT8 m_bpc_1;
- int m_dacia_ic_div_1;
- UINT8 m_dacia_echo1;
- UINT8 m_dacia_stp_1;
- UINT8 m_dacia_reg1;
- UINT8 m_dacia_fe1;
- UINT8 m_dacia_cmp1;
- UINT8 m_dacia_cmpval1;
-
- UINT8 m_dacia_irq2_reg;
- UINT8 m_dacia_rts2;
- UINT8 m_dacia_dtr2;
+ int m_dacia_ic_div_1;
+ UINT8 m_dacia_echo1;
+ UINT8 m_dacia_stp_1;
+ UINT8 m_dacia_reg1;
+ UINT8 m_dacia_fe1;
+ UINT8 m_dacia_cmp1;
+ UINT8 m_dacia_cmpval1;
+
+ UINT8 m_dacia_irq2_reg;
+ UINT8 m_dacia_rts2;
+ UINT8 m_dacia_dtr2;
UINT8 m_parity_2;
UINT8 m_parity_mode_2;
UINT8 m_bpc_2;
- int m_dacia_ic_div_2;
- UINT8 m_dacia_echo2;
- UINT8 m_dacia_stp_2;
- UINT8 m_dacia_reg2;
- UINT8 m_dacia_fe2;
- UINT8 m_dacia_cmp2;
- UINT8 m_dacia_cmpval2;
+ int m_dacia_ic_div_2;
+ UINT8 m_dacia_echo2;
+ UINT8 m_dacia_stp_2;
+ UINT8 m_dacia_reg2;
+ UINT8 m_dacia_fe2;
+ UINT8 m_dacia_cmp2;
+ UINT8 m_dacia_cmpval2;
- UINT8 m_dacia_cts;
- UINT8 m_dacia_dcd;
- UINT8 m_dacia_trans;
- UINT8 m_dacia_trans2;
+ UINT8 m_dacia_cts;
+ UINT8 m_dacia_dcd;
+ UINT8 m_dacia_trans;
+ UINT8 m_dacia_trans2;
- UINT8 m_dacia_receiver_data;
- UINT8 m_dacia_receiver_full;
+ UINT8 m_dacia_receiver_data;
+ UINT8 m_dacia_receiver_full;
- UINT8 m_dacia_receiver_data2;
- UINT8 m_dacia_receiver_full2;
+ UINT8 m_dacia_receiver_data2;
+ UINT8 m_dacia_receiver_full2;
UINT8 m_cdrom_ctrl;
UINT8 m_cdrom_data;
@@ -158,7 +158,7 @@ public:
UINT8 lddata;
UINT8 generate_isr();
UINT8 generate_isr2();
-// void laserdisc_w(UINT8 data);
+// void laserdisc_w(UINT8 data);
void laserdisc_response_w(UINT8 data);
};
@@ -262,29 +262,29 @@ WRITE_LINE_MEMBER(cops_state::ld_w)
}
/*void cops_state::laserdisc_w(UINT8 data)
{
- switch( m_ld_input_state )
- {
- case LD_INPUT_TEXT_GET_X:
- m_ld_input_state = LD_INPUT_TEXT_GET_Y;
- break;
- case LD_INPUT_TEXT_GET_Y:
- m_ld_input_state = LD_INPUT_TEXT_GET_MODE;
- break;
- case LD_INPUT_TEXT_GET_MODE:
- m_ld_input_state = LD_INPUT_GET_COMMAND;
- break;
- case LD_INPUT_TEXT_GET_SET_WINDOW:
- m_ld_input_state = LD_INPUT_GET_COMMAND;
- break;
- case LD_INPUT_TEXT_GET_STRING:
- if ( data == 0x1a )
- {
- m_ld_input_state = LD_INPUT_GET_COMMAND;
- }
- break;
- }
- break;
- }
+ switch( m_ld_input_state )
+ {
+ case LD_INPUT_TEXT_GET_X:
+ m_ld_input_state = LD_INPUT_TEXT_GET_Y;
+ break;
+ case LD_INPUT_TEXT_GET_Y:
+ m_ld_input_state = LD_INPUT_TEXT_GET_MODE;
+ break;
+ case LD_INPUT_TEXT_GET_MODE:
+ m_ld_input_state = LD_INPUT_GET_COMMAND;
+ break;
+ case LD_INPUT_TEXT_GET_SET_WINDOW:
+ m_ld_input_state = LD_INPUT_GET_COMMAND;
+ break;
+ case LD_INPUT_TEXT_GET_STRING:
+ if ( data == 0x1a )
+ {
+ m_ld_input_state = LD_INPUT_GET_COMMAND;
+ }
+ break;
+ }
+ break;
+ }
}*/
/*************************************
@@ -298,67 +298,67 @@ void cops_state::update_dacia_irq()
UINT8 isr = generate_isr();
//remove bits
isr &= ~m_dacia_irq1_reg;
- m_maincpu->set_input_line(INPUT_LINE_NMI, isr? ASSERT_LINE:CLEAR_LINE);
+ m_maincpu->set_input_line(INPUT_LINE_NMI, isr? ASSERT_LINE:CLEAR_LINE);
UINT8 isr2 = generate_isr2();
//remove bits
isr2 &= ~m_dacia_irq2_reg;
- m_maincpu->set_input_line(INPUT_LINE_NMI, isr2? ASSERT_LINE:CLEAR_LINE);
+ m_maincpu->set_input_line(INPUT_LINE_NMI, isr2? ASSERT_LINE:CLEAR_LINE);
}
void cops_state::dacia_receive(UINT8 data)
{
- if (m_dacia_cmp1)
- {
- if (m_dacia_cmpval1 == data)
- {
- m_dacia_receiver_data = data;
- m_dacia_receiver_full = 1;
- update_dacia_irq();
- m_dacia_cmp1 =0;
- m_dacia_cts =1;
- m_dacia_trans =1;
- }
- }
- else
- {
- m_dacia_receiver_data = data;
- m_dacia_receiver_full = 1;
- update_dacia_irq();
- m_dacia_cts =1;
- m_dacia_trans =1;
- }
+ if (m_dacia_cmp1)
+ {
+ if (m_dacia_cmpval1 == data)
+ {
+ m_dacia_receiver_data = data;
+ m_dacia_receiver_full = 1;
+ update_dacia_irq();
+ m_dacia_cmp1 =0;
+ m_dacia_cts =1;
+ m_dacia_trans =1;
+ }
+ }
+ else
+ {
+ m_dacia_receiver_data = data;
+ m_dacia_receiver_full = 1;
+ update_dacia_irq();
+ m_dacia_cts =1;
+ m_dacia_trans =1;
+ }
}
UINT8 cops_state::generate_isr()
{
- UINT8 isr =0;
+ UINT8 isr =0;
- isr |= m_dacia_receiver_full;
- isr |= (m_dacia_cmp1 << 1);
- isr |= (m_dacia_trans <<4);
+ isr |= m_dacia_receiver_full;
+ isr |= (m_dacia_cmp1 << 1);
+ isr |= (m_dacia_trans <<4);
- if (isr)
- {
- isr |= 0x40;
- }
- return isr;
+ if (isr)
+ {
+ isr |= 0x40;
+ }
+ return isr;
}
UINT8 cops_state::generate_isr2()
{
- UINT8 isr2 =0;
+ UINT8 isr2 =0;
- isr2 |= m_dacia_receiver_full2;
- isr2 |= (m_dacia_cmp2 << 1);
- isr2 |= (m_dacia_trans2 <<4);
+ isr2 |= m_dacia_receiver_full2;
+ isr2 |= (m_dacia_cmp2 << 1);
+ isr2 |= (m_dacia_trans2 <<4);
- if (isr2)
- {
- isr2 |= 0x40;
- }
- return isr2;
+ if (isr2)
+ {
+ isr2 |= 0x40;
+ }
+ return isr2;
}
READ8_MEMBER(cops_state::dacia_r)
@@ -388,8 +388,8 @@ READ8_MEMBER(cops_state::dacia_r)
{
m_dacia_receiver_full = 0;
m_dacia_fe1=0;
-
-// if (LOG_DACIA) logerror("RDR1 %02x\n",m_dacia_receiver_data);
+
+// if (LOG_DACIA) logerror("RDR1 %02x\n",m_dacia_receiver_data);
if (LOG_DACIA) logerror("RDR1 %02x\n",m_ld->status_r());
return m_ld->status_r();
}
@@ -415,7 +415,7 @@ READ8_MEMBER(cops_state::dacia_r)
case 7: /* RDR2: Receive data register */
m_dacia_receiver_full2 = 0;
m_dacia_fe2=0;
-
+
if (LOG_DACIA) logerror("RDR2 %02x\n",m_ld->status_r());
return m_ld->status_r();
@@ -473,7 +473,7 @@ WRITE8_MEMBER(cops_state::dacia_w)
}
if (LOG_DACIA) logerror("DACIA TIME %02d\n", XTAL_3_6864MHz / m_dacia_ic_div_1);
-// m_ld_timer->adjust(attotime::from_hz(XTAL_3_6864MHz / m_dacia_ic_div_1), 0, attotime::from_hz(XTAL_3_6864MHz / m_dacia_ic_div_1));
+// m_ld_timer->adjust(attotime::from_hz(XTAL_3_6864MHz / m_dacia_ic_div_1), 0, attotime::from_hz(XTAL_3_6864MHz / m_dacia_ic_div_1));
if (LOG_DACIA) logerror("DACIA Ctrl Register: %02x\n", data);
@@ -499,7 +499,7 @@ WRITE8_MEMBER(cops_state::dacia_w)
if (LOG_DACIA) logerror("DACIA Transmit: %02x %c\n", data, (char)data);
m_ld->command_w(data);
break;
- }
+ }
case 4: /* IRQ enable Register 2 */
{
m_dacia_irq2_reg &= ~0x80;
@@ -567,14 +567,14 @@ WRITE8_MEMBER(cops_state::dacia_w)
case 7: /* Transmit Data Register 2 */
{
if (LOG_DACIA) logerror("DACIA Transmit 2: %02x %c\n", data, (char)data);
-
- // for (int i=0; i <8; i++)
+
+ // for (int i=0; i <8; i++)
{
- // m_ld_command_to_send[i] = data & (1<<i);
+ // m_ld_command_to_send[i] = data & (1<<i);
}
-// m_ld->command_w(data);
+// m_ld->command_w(data);
break;
- }
+ }
}
}
/*************************************
@@ -604,7 +604,7 @@ READ8_MEMBER(cops_state::io1_lm_r)
switch( offset & 0x0f )
{
case 0x07: /* WDI */
- return 1;
+ return 1;
case 0x08: /* SW0 */
return ioport("SW0")->read();
case 0x09: /* SW1 */
@@ -891,7 +891,7 @@ void cops_state::machine_reset()
m_irq = 0;
m_lcd_addr_l = m_lcd_addr_h = 0;
m_lcd_data_l = m_lcd_data_h = 0;
-
+
m_dacia_cts = 0;
m_dacia_dcd = 0;
@@ -965,7 +965,7 @@ static MACHINE_CONFIG_START( revlatns, cops_state )
MCFG_VIA6522_CB1_HANDLER(WRITE8(cops_state, via1_cb1_w))
MCFG_DEVICE_ADD("rtc", MSM6242, XTAL_32_768kHz)
-
+
/* acia (really a 65C52)*/
/* sound hardware */
diff --git a/src/mame/drivers/cv1k.cpp b/src/mame/drivers/cv1k.cpp
index 53edb8c68b7..a334e87bfc7 100644
--- a/src/mame/drivers/cv1k.cpp
+++ b/src/mame/drivers/cv1k.cpp
@@ -760,7 +760,7 @@ ROM_START( pinkswtsb )
ROM_RELOAD(0x200000,0x200000)
ROM_REGION( 0x8400000, "game", ROMREGION_ERASEFF)
-// ROM_LOAD( "pnkswtsb_u2", 0x000000, 0x8400000, BAD_DUMP CRC(a5666ed9) SHA1(682e06c84990225bc6bb0c9f38b5f46c4e36b430) ) /* (2006/04/06 MASTER VER.) */
+// ROM_LOAD( "pnkswtsb_u2", 0x000000, 0x8400000, BAD_DUMP CRC(a5666ed9) SHA1(682e06c84990225bc6bb0c9f38b5f46c4e36b430) ) /* (2006/04/06 MASTER VER.) */
ROM_LOAD( "pnkswtsx_u2", 0x000000, 0x8400000, CRC(91e4deb2) SHA1(893cb10d6f805df7cb4a1bb709a3ea6de147b7e9) ) // (2006/xx/xx MASTER VER.) and (2006/04/06 MASTER VER.)
ROM_REGION( 0x800000, "ymz770", ROMREGION_ERASEFF)
diff --git a/src/mame/drivers/dkong.cpp b/src/mame/drivers/dkong.cpp
index 93537dd6e80..9d942940615 100644
--- a/src/mame/drivers/dkong.cpp
+++ b/src/mame/drivers/dkong.cpp
@@ -355,25 +355,25 @@ Donkey Kong Notes
Not only did the eprom fix the ladder bug, but it also changed
the copyright screen to read "(C)1981 Nintendo of America".
-
+
--------------------------------------------------------------
-
+
Nintendo Service Department Bulletin # TKG-06 10-04-82
GAME: Donkey Kong
SUBJECT: Speed-up Kit #2
-
+
In an attempt to increase revenue of Donkey Kong we are making
available and updated speed-up kit, part number TKG-23-70.
-
+
The speed-up kit consists of two (2) EPROM's that are mounted
on the CPU P.C. Board. The replacement locations vary depend-
ing on the P.C. Board style.
-
+
P.C Board Style Eprom Location
--------------- --------------
TKG2 and TKG3 5F, 5K
- TKG4 5A, 5E
-
+ TKG4 5A, 5E
+
These kits are available through all Nintendo distributors. If
your distributor is out, they can get immediate shipment from
our factory.
@@ -400,7 +400,7 @@ Donkey Kong Notes
Hopefully confirmation and information will come along later which confirms
this is a legitimate Nintendo Kit.
-
+
This is probably "Speed-up Kit #2" mentioned above, but this still needs to be
confirmed.
diff --git a/src/mame/drivers/dotrikun.cpp b/src/mame/drivers/dotrikun.cpp
index 595b995655f..2eb5bc38c55 100644
--- a/src/mame/drivers/dotrikun.cpp
+++ b/src/mame/drivers/dotrikun.cpp
@@ -82,7 +82,7 @@ TIMER_DEVICE_CALLBACK_MEMBER(dotrikun_state::scanline_on)
m_maincpu->set_unscaled_clock(XTAL_4MHz * 0.75);
m_scanline_off_timer->adjust(m_screen->time_until_pos(param, 128));
}
-
+
// vblank interrupt
if (param == 191)
m_interrupt_timer->adjust(m_screen->time_until_pos(param, 128+64));
@@ -120,7 +120,7 @@ UINT32 dotrikun_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap
// vram fetch
if ((x & 7) == 0)
m_vram_latch = m_vram[x >> 3 | y >> 1 << 4];
-
+
bitmap.pix16(y, x) = (m_vram_latch >> (~x & 7) & 1) ? m_color & 7 : m_color >> 3;
}
}
diff --git a/src/mame/drivers/dvk_ksm.cpp b/src/mame/drivers/dvk_ksm.cpp
index 855be480138..a382ff5b747 100644
--- a/src/mame/drivers/dvk_ksm.cpp
+++ b/src/mame/drivers/dvk_ksm.cpp
@@ -13,11 +13,11 @@
- 7.102.076 -- has DIP switches, SRAM at 0x2000, model name "KSM"
- 7.102.228 -- no DIP switches, ?? SRAM at 0x2100, model name "KSM-01"
- Two sets of dumps exist:
- - one puts SRAM at 0x2000, which is where technical manual puts it,
- but chargen has 1 missing pixel in 'G' character.
- - another puts SRAM at 0x2100, but has no missing pixel.
- Merge them for now into one (SRAM at 0x2000 and no missing pixel).
+ Two sets of dumps exist:
+ - one puts SRAM at 0x2000, which is where technical manual puts it,
+ but chargen has 1 missing pixel in 'G' character.
+ - another puts SRAM at 0x2100, but has no missing pixel.
+ Merge them for now into one (SRAM at 0x2000 and no missing pixel).
Emulates a VT52 without copier (ESC Z response is ESC / M), with
Hold Screen mode and Graphics character set (but it is unique and
diff --git a/src/mame/drivers/funworld.cpp b/src/mame/drivers/funworld.cpp
index c4af31cdfaa..87c8742c2b9 100644
--- a/src/mame/drivers/funworld.cpp
+++ b/src/mame/drivers/funworld.cpp
@@ -3126,7 +3126,7 @@ static MACHINE_CONFIG_DERIVED( fw_a7_11, fw1stpal )
MCFG_CPU_REPLACE("maincpu", R65C02, CPU_CLOCK) /* 2MHz */
MCFG_CPU_PROGRAM_MAP(fw_a7_11_map)
MCFG_CPU_VBLANK_INT_DRIVER("screen", funworld_state, nmi_line_pulse)
-// MCFG_GFXDECODE_MODIFY("gfxdecode", fw2ndpal)
+// MCFG_GFXDECODE_MODIFY("gfxdecode", fw2ndpal)
MACHINE_CONFIG_END
@@ -5860,7 +5860,7 @@ ROM_END
/*
Unknown poker game from Inter Games.
-
+
1x G65C02P-2
2x MC68B21P
1x MC68B45P
@@ -5954,7 +5954,7 @@ ROM_END
3x TTL's...
PCB components:
-
+
2x Hitachi HD68B21P
1x Hitachi HD46505SP-2
1x GI AY-3-8910A
diff --git a/src/mame/drivers/galaxian.cpp b/src/mame/drivers/galaxian.cpp
index 3b62d347493..2d7e4ad25f7 100644
--- a/src/mame/drivers/galaxian.cpp
+++ b/src/mame/drivers/galaxian.cpp
@@ -11505,10 +11505,10 @@ ROM_START( jungsub )
ROM_LOAD( "J14.1D", 0x0800, 0x0800, CRC(1f8c6a58) SHA1(e07ae7e4968ac8ec3c22a30ebd1e9f75abeec776) )
/* There is twice as much GFX data here as an original 'Jungler'
-
+
This appears to be because the Rally X / Jungler hardware supports both X and Y tile flipping, a feature
which Jungler needs. Galaxian / Scramble hardware does not support tile flipping.
-
+
Adding flipped copies of all the tiles would require 4x ROM capacity (normal, Flip X, Flip Y, Flip XY)
but instead of doing this Subelectro worked out which tiles needed flipped copies and managed to squeeze
them into twice the space instead. Unfortunately this means constructing data to replace the bad rom
@@ -11518,7 +11518,7 @@ ROM_START( jungsub )
ROM_LOAD( "J10.4C", 0x0800, 0x0800, CRC(4b32a431) SHA1(701a4e2dfa7686de50bdec7c7f9182192ec25159) )
ROM_LOAD( "JC11.4D", 0x1000, 0x0800, BAD_DUMP CRC(5dee4e2d) SHA1(86b98e55602ef2a740f978bb2fcc4b3f81fcc61a) ) // rom is bad, dump entirely garbage
ROM_LOAD( "JC12.4F", 0x1800, 0x0800, CRC(6de4827a) SHA1(ffd04abb9f64f88adea81892caa919f84c68ced5) )
-
+
ROM_REGION( 0x0020, "cpuprom", 0 )
ROM_LOAD( "KAP.CPU", 0x0000, 0x0020, CRC(27efa693) SHA1(b2ad3b52c254193a7492fe5e6785c167326ce866) )
diff --git a/src/mame/drivers/gba.cpp b/src/mame/drivers/gba.cpp
index ff49c4fe127..eb6ace45596 100644
--- a/src/mame/drivers/gba.cpp
+++ b/src/mame/drivers/gba.cpp
@@ -23,9 +23,9 @@
#define SOUNDCNT_L HWLO(0x080) /* 0x4000080 2 R/W Control Stereo/Volume/Enable */
#define SOUNDCNT_H HWHI(0x080) /* 0x4000082 2 R/W Control Mixing/DMA Control */
#define SOUNDCNT_X HWLO(0x084) /* 0x4000084 2 R/W Control Sound on/off */
- /* 0x4000086 2 - Unused */
+ /* 0x4000086 2 - Unused */
#define SOUNDBIAS HWLO(0x088) /* 0x4000088 2 BIOS Sound PWM Control */
- /* 0x400008A 2 - Unused */
+ /* 0x400008A 2 - Unused */
/* DMA Registers (4 Transfer Channels) */
#define DMASAD(c) WORD(0x0B0 + c * 0xC) /* 0x40000B0 4 W DMA 0 Source Address */
@@ -42,7 +42,7 @@
#define SIOCNT HWLO(0x128) /* 0x4000128 2 R/W SIO Control Register */
#define SIOMLT_SEND HWHI(0x128) /* 0x400012A 2 R/W SIO Data (Local of MultiPlayer; shared below) */
#define SIODATA8 HWHI(0x128) /* 0x400012A 2 R/W SIO Data (Normal-8bit and UART Mode) */
- /* 0x400012C 2 - Unused */
+ /* 0x400012C 2 - Unused */
/* Keypad Input Registers */
#define KEYINPUT HWLO(0x130) /* 0x4000130 2 R Key Status */
@@ -51,29 +51,29 @@
/* Serial Communication (2) Registers */
#define RCNT HWLO(0x134) /* 0x4000134 2 R/W SIO Mode Select/General Purpose Data */
#define IR HWHI(0x134) /* 0x4000136 2 R/W Ancient - Infrared Register (Prototypes only) */
- /* 0x4000138 8 - Unused */
+ /* 0x4000138 8 - Unused */
#define JOYCNT HWLO(0x140) /* 0x4000140 2 R/W SIO JOY Bus Control */
- /* 0x4000142 2 - Unused */
+ /* 0x4000142 2 - Unused */
#define JOY_RECV WORD(0x150) /* 0x4000150 4 R/W SIO JOY Bus Receive Data */
#define JOY_TRANS WORD(0x154) /* 0x4000154 4 R/W SIO JOY Bus Transmit Data */
#define JOYSTAT HWLO(0x158) /* 0x4000158 2 R/? SIO JOY Bus Receive Status */
- /* 0x400015A 2 - Unused */
+ /* 0x400015A 2 - Unused */
/* Interrupt, Waitstate, and Power-Down Control Registers */
#define IE HWLO(0x200) /* 0x4000200 2 R/W Interrupt Enable Register */
#define IF HWHI(0x200) /* 0x4000202 2 R/W Interrupt Request Flags / IRQ Acknowledge */
#define WAITCNT HWLO(0x204) /* 0x4000204 2 R/W Game Pak Waitstate Control */
- /* 0x4000206 - Unused */
+ /* 0x4000206 - Unused */
#define IME HWLO(0x208) /* 0x4000208 2 R/W Interrupt Master Enable Register */
- /* 0x400020A - Unused */
- /* 0x4000300 1 R/W Undocumented - Post Boot Flag */
- /* 0x4000301 1 W Undocumented - Power Down Control */
- /* 0x4000302 - Unused */
- /* 0x4000410 ? ? Undocumented - Purpose Unknown / Bug ??? 0FFh */
- /* 0x4000411 - Unused */
- /* 0x4000800 4 R/W Undocumented - Internal Memory Control (R/W) */
- /* 0x4000804 - Unused */
- /* 0x4xx0800 4 R/W Mirrors of 4000800h (repeated each 64K) */
+ /* 0x400020A - Unused */
+ /* 0x4000300 1 R/W Undocumented - Post Boot Flag */
+ /* 0x4000301 1 W Undocumented - Power Down Control */
+ /* 0x4000302 - Unused */
+ /* 0x4000410 ? ? Undocumented - Purpose Unknown / Bug ??? 0FFh */
+ /* 0x4000411 - Unused */
+ /* 0x4000800 4 R/W Undocumented - Internal Memory Control (R/W) */
+ /* 0x4000804 - Unused */
+ /* 0x4xx0800 4 R/W Mirrors of 4000800h (repeated each 64K) */
#define SOUNDBIAS_SET(val) HWLO_SET(0x088, val)
@@ -172,7 +172,7 @@ TIMER_CALLBACK_MEMBER(gba_state::dma_complete)
// always clear active for immediate DMAs though
if (!((ctrl>>9) & 1) || ((ctrl & 0x3000) == 0))
{
- DMACNT_H_RESET(ch, 0x8000); // clear "active" bit
+ DMACNT_H_RESET(ch, 0x8000); // clear "active" bit
}
else
{
@@ -606,7 +606,7 @@ READ32_MEMBER(gba_state::gba_io_r)
case 0x00b8/4:
if (ACCESSING_BITS_0_15)
{
- // read only
+ // read only
}
if (ACCESSING_BITS_16_31)
{
@@ -620,7 +620,7 @@ READ32_MEMBER(gba_state::gba_io_r)
case 0x00c4/4:
if (ACCESSING_BITS_0_15)
{
- // read only
+ // read only
}
if (ACCESSING_BITS_16_31)
{
@@ -634,7 +634,7 @@ READ32_MEMBER(gba_state::gba_io_r)
case 0x00d0/4:
if (ACCESSING_BITS_0_15)
{
- // read only
+ // read only
}
if (ACCESSING_BITS_16_31)
{
@@ -650,7 +650,7 @@ READ32_MEMBER(gba_state::gba_io_r)
// note: this suspicious piece of code crashes "Buffy The Vampire Slayer" (08008DB4) and "The Ant Bully", so disable it for now
if (ACCESSING_BITS_0_15)
{
- // read only
+ // read only
}
if (ACCESSING_BITS_16_31)
{
@@ -725,7 +725,7 @@ READ32_MEMBER(gba_state::gba_io_r)
break;
}
-// assert_always(offset < ARRAY_LENGTH(reg_names) / 2, "Not enough register names in gba_state");
+// assert_always(offset < ARRAY_LENGTH(reg_names) / 2, "Not enough register names in gba_state");
if (ACCESSING_BITS_0_15)
{
@@ -747,7 +747,7 @@ WRITE32_MEMBER(gba_state::gba_io_w)
COMBINE_DATA(&m_regs[offset]);
-// assert_always(offset < ARRAY_LENGTH(reg_names) / 2, "Not enough register names in gba_state");
+// assert_always(offset < ARRAY_LENGTH(reg_names) / 2, "Not enough register names in gba_state");
if (ACCESSING_BITS_0_15)
{
diff --git a/src/mame/drivers/hh_hmcs40.cpp b/src/mame/drivers/hh_hmcs40.cpp
index 0dd69aebcb3..ce85efeda38 100644
--- a/src/mame/drivers/hh_hmcs40.cpp
+++ b/src/mame/drivers/hh_hmcs40.cpp
@@ -2521,10 +2521,10 @@ MACHINE_CONFIG_END
Entex Select-A-Game (HMCS40 MCU cartridges)
* see gamelist for cartridge info
* cyan/red VFD display Futaba DM-16Z + cyan VFD 9-digit panel Futaba 9-ST-11A 1F
-
+
The console is the peripheral, the heart of the system is the cartridge.
Cartridges with a HMCS40 MCU are implemented in this driver.
-
+
MAME external artwork is recommended, needed for per-game VFD overlays.
***************************************************************************/
@@ -2549,7 +2549,7 @@ void sag_state::prepare_display()
// grid 0-7 are the 'pixels'
for (int y = 0; y < 8; y++)
m_display_state[y] = (m_grid >> y & 1) ? m_plate : 0;
-
+
// grid 8-11 are 7segs
set_display_segmask(0xf00, 0x7f);
UINT8 seg = BITSWAP8(m_plate,3,4,5,6,7,8,9,10);
diff --git a/src/mame/drivers/idsa.cpp b/src/mame/drivers/idsa.cpp
index 549241fa71e..e640f222b66 100644
--- a/src/mame/drivers/idsa.cpp
+++ b/src/mame/drivers/idsa.cpp
@@ -42,7 +42,7 @@ static ADDRESS_MAP_START( maincpu_io_map, AS_IO, 8, idsa_state )
ADDRESS_MAP_UNMAP_HIGH
ADDRESS_MAP_END
-
+
static INPUT_PORTS_START( idsa )
INPUT_PORTS_END
diff --git a/src/mame/drivers/kim1.cpp b/src/mame/drivers/kim1.cpp
index 93caac7ad3e..701ef09c1bf 100644
--- a/src/mame/drivers/kim1.cpp
+++ b/src/mame/drivers/kim1.cpp
@@ -55,12 +55,12 @@ ADDRESS_MAP_END
// RS and ST key input
INPUT_CHANGED_MEMBER(kim1_state::trigger_reset)
{
- m_maincpu->set_input_line(INPUT_LINE_RESET, newval ? CLEAR_LINE : ASSERT_LINE);
+ m_maincpu->set_input_line(INPUT_LINE_RESET, newval ? CLEAR_LINE : ASSERT_LINE);
}
INPUT_CHANGED_MEMBER(kim1_state::trigger_nmi)
{
- m_maincpu->set_input_line(INPUT_LINE_NMI, newval ? CLEAR_LINE : ASSERT_LINE);
+ m_maincpu->set_input_line(INPUT_LINE_NMI, newval ? CLEAR_LINE : ASSERT_LINE);
}
//**************************************************************************
diff --git a/src/mame/drivers/macp.cpp b/src/mame/drivers/macp.cpp
index 52e25234c52..7192853d74d 100644
--- a/src/mame/drivers/macp.cpp
+++ b/src/mame/drivers/macp.cpp
@@ -37,7 +37,7 @@ static ADDRESS_MAP_START( macp_io, AS_IO, 8, macp_state )
ADDRESS_MAP_UNMAP_HIGH
ADDRESS_MAP_GLOBAL_MASK(0xff)
ADDRESS_MAP_END
-
+
static INPUT_PORTS_START( macp )
INPUT_PORTS_END
@@ -120,16 +120,16 @@ ROM_END
/* not dumped yet
ROM_START(glxplay)
- ROM_REGION(0x4000, "maincpu", 0)
- ROM_LOAD("1083-1.cpu", 0x0000, 0x2000, NO_DUMP)
- ROM_LOAD("1083-2.cpu", 0x2000, 0x2000, NO_DUMP)
+ ROM_REGION(0x4000, "maincpu", 0)
+ ROM_LOAD("1083-1.cpu", 0x0000, 0x2000, NO_DUMP)
+ ROM_LOAD("1083-2.cpu", 0x2000, 0x2000, NO_DUMP)
ROM_END
*/
ROM_START(glxplay2)
ROM_REGION(0x4000, "maincpu", 0)
- ROM_LOAD("1382-1.cpu", 0x0000, 0x2000, CRC(da43b0b9) SHA1(b13b260c61b3bd0b7632aabcdbcf4cdd5cbe4b22))
- ROM_LOAD("1382-2.cpu", 0x2000, 0x2000, CRC(945c90fd) SHA1(8367992f8db8b402d82e4a3f02a35b796756ce0f))
+ ROM_LOAD("1382-1.cpu", 0x0000, 0x2000, CRC(da43b0b9) SHA1(b13b260c61b3bd0b7632aabcdbcf4cdd5cbe4b22))
+ ROM_LOAD("1382-2.cpu", 0x2000, 0x2000, CRC(945c90fd) SHA1(8367992f8db8b402d82e4a3f02a35b796756ce0f))
ROM_END
// MAC S.A. pinballs
diff --git a/src/mame/drivers/maygay1b.cpp b/src/mame/drivers/maygay1b.cpp
index c53bcc8ec32..f72d1c3e019 100644
--- a/src/mame/drivers/maygay1b.cpp
+++ b/src/mame/drivers/maygay1b.cpp
@@ -696,10 +696,10 @@ WRITE8_MEMBER(maygay1b_state::mcu_port0_w)
{
#ifdef USE_MCU
// only during startup
-// logerror("%s: mcu_port0_w %02x\n",machine().describe_context(),data);
+// logerror("%s: mcu_port0_w %02x\n",machine().describe_context(),data);
#endif
}
-
+
WRITE8_MEMBER(maygay1b_state::mcu_port1_w)
{
#ifdef USE_MCU
@@ -718,7 +718,7 @@ WRITE8_MEMBER(maygay1b_state::mcu_port1_w)
}
#endif
}
-
+
WRITE8_MEMBER(maygay1b_state::mcu_port2_w)
{
#ifdef USE_MCU
@@ -726,7 +726,7 @@ WRITE8_MEMBER(maygay1b_state::mcu_port2_w)
logerror("%s: mcu_port2_w %02x\n",machine().describe_context(),data);
#endif
}
-
+
WRITE8_MEMBER(maygay1b_state::mcu_port3_w)
{
#ifdef USE_MCU
@@ -742,12 +742,12 @@ READ8_MEMBER(maygay1b_state::mcu_port0_r)
// the MCU code checks to see if the input from this port is stable in
// the main loop
// it looks like it needs to read the strobe
-// logerror("%s: mcu_port0_r returning %02x\n", machine().describe_context(), ret);
+// logerror("%s: mcu_port0_r returning %02x\n", machine().describe_context(), ret);
#endif
return ret;
}
-
+
READ8_MEMBER(maygay1b_state::mcu_port2_r)
{
@@ -810,12 +810,12 @@ MACHINE_CONFIG_START( maygay_m1, maygay1b_state )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 1.0)
MCFG_TIMER_DRIVER_ADD_PERIODIC("nmitimer", maygay1b_state, maygay1b_nmitimer_callback, attotime::from_hz(75)) // freq?
-
+
MCFG_DEVICE_ADD("i8279", I8279, M1_MASTER_CLOCK/4) // unknown clock
MCFG_I8279_OUT_SL_CB(WRITE8(maygay1b_state, scanlines_w)) // scan SL lines
MCFG_I8279_OUT_DISP_CB(WRITE8(maygay1b_state, lamp_data_w)) // display A&B
MCFG_I8279_IN_RL_CB(READ8(maygay1b_state, kbd_r)) // kbd RL lines
-
+
#ifndef USE_MCU
// on M1B there is a 2nd i8279, on M1 / M1A a 8051 handles this task!
MCFG_DEVICE_ADD("i8279_2", I8279, M1_MASTER_CLOCK/4) // unknown clock
diff --git a/src/mame/drivers/midvunit.cpp b/src/mame/drivers/midvunit.cpp
index 190145f4fde..7854f8a7080 100644
--- a/src/mame/drivers/midvunit.cpp
+++ b/src/mame/drivers/midvunit.cpp
@@ -424,13 +424,13 @@ WRITE32_MEMBER(midvunit_state::midvunit_output_w)
else if (strstr(m_galil_output,"MG \"Z\", _TSZ {$2.0}"))
set_input("Z$00");
/*else if (strstr(m_galil_output,"MG \"G\""))
- set_input("G");
+ set_input("G");
else if (strstr(m_galil_output,"MG \"W\""))
- set_input("W");
+ set_input("W");
else if (strstr(m_galil_output,"MG \"S\""))
- set_input("S");
+ set_input("S");
else if (strstr(m_galil_output,"MG \"Q\""))
- set_input("Q");*/
+ set_input("Q");*/
else
set_input(":");
std::cout << m_galil_output << std::endl;
diff --git a/src/mame/drivers/midyunit.cpp b/src/mame/drivers/midyunit.cpp
index 5d356d19ab0..7019a713425 100644
--- a/src/mame/drivers/midyunit.cpp
+++ b/src/mame/drivers/midyunit.cpp
@@ -1573,7 +1573,7 @@ ROM_START( trog4 )
ROM_RELOAD( 0x40000, 0x10000 )
ROM_LOAD( "trog_ii_u-20_sl_1.u20", 0x50000, 0x10000, CRC(67f1658a) SHA1(c85dc920ff4b292afa9f6681f31918a200799cc9) )
ROM_RELOAD( 0x60000, 0x10000 )
-
+
ROM_REGION16_LE( 0x100000, "user1", 0 ) /* 34010 code */
ROM_LOAD16_BYTE( "trog_ii_u-105_la-4.u105", 0xc0000, 0x20000, CRC(e6095189) SHA1(a2caaf64e371050b37c63d9608ba5d289cf3cd91) )
ROM_LOAD16_BYTE( "trog_ii_u-89_la-4.u89", 0xc0001, 0x20000, CRC(fdd7cc65) SHA1(bfc4339953c122bca968f9cfa3a82df3584a3727) )
diff --git a/src/mame/drivers/mk14.cpp b/src/mame/drivers/mk14.cpp
index 3411a853443..e152fcbc144 100644
--- a/src/mame/drivers/mk14.cpp
+++ b/src/mame/drivers/mk14.cpp
@@ -12,7 +12,7 @@ Keys:
UP: MEM increments the currently displayed address, (and goes into data entry mode in V1 bios).
= : TERM changes to "data entry" mode. In this mode, entering hex digits will change the byte at the currently displayed address
- : ABORT changes to "address entry" mode. In this mode, entering hex digits will change the address.
-X : GO runs the program from the currently displayed address. On exit, the instruction after the program is displayed
+X : GO runs the program from the currently displayed address. On exit, the instruction after the program is displayed
Pasting:
0-F : as is
diff --git a/src/mame/drivers/mpu4.cpp b/src/mame/drivers/mpu4.cpp
index 1099f5fe6a2..f5620463970 100644
--- a/src/mame/drivers/mpu4.cpp
+++ b/src/mame/drivers/mpu4.cpp
@@ -252,8 +252,8 @@ TODO: - Distinguish door switches using manual
start modelling the individual hysteresis curves of filament lamps.
- Fix BwB characteriser, need to be able to calculate stabiliser bytes. Anyone fancy reading 6809 source?
- Strange bug in Andy's Great Escape - Mystery nudge sound effect is not played, mpu4 latches in silence instead (?)
-
- - Per game inputs not currently supported, may need to do something about DIPs, inverted lines etc.
+
+ - Per game inputs not currently supported, may need to do something about DIPs, inverted lines etc.
***********************************************************************************************************/
#include "emu.h"
@@ -2648,7 +2648,7 @@ ADDRESS_MAP_END
MCFG_STEPPER_END_INDEX(2)\
MCFG_STEPPER_INDEX_PATTERN(0x00)\
MCFG_STEPPER_INIT_PHASE(2)
-
+
#define MCFG_MPU4_BWB_REEL_ADD(_tag)\
MCFG_STEPPER_ADD(_tag)\
MCFG_STEPPER_REEL_TYPE(BARCREST_48STEP_REEL)\
diff --git a/src/mame/drivers/mpu4.hxx b/src/mame/drivers/mpu4.hxx
index 059a6de4886..2379dbc6982 100644
--- a/src/mame/drivers/mpu4.hxx
+++ b/src/mame/drivers/mpu4.hxx
@@ -2637,7 +2637,7 @@ GAME(199?, m4sctagt ,0 ,mod4oki ,mpu4 , mpu4_state,m4d
/* Others */
-GAMEL(199?, m4aao, 0, mod4oki, mpu4, mpu4_state, m4aao , ROT0, "Eurotek","Against All Odds (Eurotek) (MPU4)",GAME_FLAGS, layout_m4aao )
+GAMEL(199?, m4aao, 0, mod4oki, mpu4, mpu4_state, m4aao , ROT0, "Eurotek","Against All Odds (Eurotek) (MPU4)",GAME_FLAGS, layout_m4aao )
GAME(199?, m4bandgd, 0, mod4oki, mpu4, mpu4_state, m4default, ROT0, "Eurogames","Bands Of Gold (Eurogames) (MPU4)",GAME_FLAGS )
GAME(199?, m4bigben, 0, mod4oki, mpu4, mpu4_state, m4default, ROT0, "Coinworld","Big Ben (Coinworld) (MPU4, set 1)",GAME_FLAGS )
diff --git a/src/mame/drivers/mpu4mod2sw.hxx b/src/mame/drivers/mpu4mod2sw.hxx
index 2f617673390..3239d9028a7 100644
--- a/src/mame/drivers/mpu4mod2sw.hxx
+++ b/src/mame/drivers/mpu4mod2sw.hxx
@@ -1928,7 +1928,7 @@ GAME(199?, m4tupen ,0 ,mod2 ,mpu4 , mpu4_state
GAME(199?, m421 ,0 ,mod2 ,mpu4 , mpu4_state,m4default ,ROT0, "Barcrest","Twenty One (Barcrest) (MPU4)",GAME_FLAGS ) // reel issues
-GAMEL(199?, m4alpha ,0 ,mod2 ,mpu4 , mpu4_state,m4alpha ,ROT0, "Barcrest","Alphabet (Barcrest) [A4B 1.0] (MPU4)",GAME_FLAGS, layout_m4alpha )
+GAMEL(199?, m4alpha ,0 ,mod2 ,mpu4 , mpu4_state,m4alpha ,ROT0, "Barcrest","Alphabet (Barcrest) [A4B 1.0] (MPU4)",GAME_FLAGS, layout_m4alpha )
GAME(199?, m4bnknot ,0 ,mod2 ,mpu4 , mpu4_state,m4default ,ROT0, "Barcrest","Bank A Note (Barcrest) [BN 1.0] (MPU4)",GAME_FLAGS )
diff --git a/src/mame/drivers/mpu4sw.hxx b/src/mame/drivers/mpu4sw.hxx
index 5c0f7353182..a8bd5658955 100644
--- a/src/mame/drivers/mpu4sw.hxx
+++ b/src/mame/drivers/mpu4sw.hxx
@@ -106,39 +106,39 @@ DRIVER_INIT_MEMBER(mpu4_state,m4_showstring_big)
DRIVER_INIT_MEMBER(mpu4_state,PARENT NAME)
{
- //Derived from Andy_Capp_(Barcrest)_[C05_v1-0_1024_6jp].gam - MFME layout name used
-
- //any needed data for hoppers, extenders, reels are here, alongside wiring changes such as low voltage detection, or the AUX settings
-
- //PCKEY =9 default setting in hex
- //STKEY =0 default setting in hex
- //JPKEY =0 default setting in hex
- //JPSET =0 default setting in hex
-
- Default DIP settings used in the layouts
- //DIP1_0=false
- //DIP1_1=false
- //DIP1_2=false
- //DIP1_3=false
- //DIP1_4=false
- //DIP1_5=false
- //DIP1_6=false
- //DIP1_7=false
- //DIP2_0=false
- //DIP2_1=false
- //DIP2_2=false
- //DIP2_3=false
- //DIP2_4=false
- //DIP2_5=true
- //DIP2_6=false
- //DIP2_7=false
-
- //Sound empire - if set, this is the sound board type (although this is often ignored
- //Standard - or Datapak
- //Volume 0 Stereo= 1 - other sound settings
- //Sample rate 16000
-
- //Front door code 39 Cash door code 38 - Button numbers for doors, just in case
+ //Derived from Andy_Capp_(Barcrest)_[C05_v1-0_1024_6jp].gam - MFME layout name used
+
+ //any needed data for hoppers, extenders, reels are here, alongside wiring changes such as low voltage detection, or the AUX settings
+
+ //PCKEY =9 default setting in hex
+ //STKEY =0 default setting in hex
+ //JPKEY =0 default setting in hex
+ //JPSET =0 default setting in hex
+
+ Default DIP settings used in the layouts
+ //DIP1_0=false
+ //DIP1_1=false
+ //DIP1_2=false
+ //DIP1_3=false
+ //DIP1_4=false
+ //DIP1_5=false
+ //DIP1_6=false
+ //DIP1_7=false
+ //DIP2_0=false
+ //DIP2_1=false
+ //DIP2_2=false
+ //DIP2_3=false
+ //DIP2_4=false
+ //DIP2_5=true
+ //DIP2_6=false
+ //DIP2_7=false
+
+ //Sound empire - if set, this is the sound board type (although this is often ignored
+ //Standard - or Datapak
+ //Volume 0 Stereo= 1 - other sound settings
+ //Sample rate 16000
+
+ //Front door code 39 Cash door code 38 - Button numbers for doors, just in case
}
*/
@@ -3005,7 +3005,7 @@ GAME_CUSTOM( 199?, m4richfm__e, m4richfm, "rchfam8", 0x0000, 0x004000,
GAME(year, setname, parent ,mod4oki ,mpu4 , mpu4_state,m4_showstring ,ROT0,company,title,GAME_FLAGS )
-/// "(C)1991 BARCREST" and "NN4 0.2" (CN3 0.2 on startup)
+/// "(C)1991 BARCREST" and "NN4 0.2" (CN3 0.2 on startup)
GAME_CUSTOM( 199?, m4nnwwc, 0, "cn302s.p1", 0x0000, 0x010000, CRC(87703a1a) SHA1(6582ffa42a61b60e92e456a794c4c219a9901a1c), "Barcrest","Nudge Nudge Wink Wink Classic (Barcrest) (MPU4) (CN3 0.2 / NN4 0.2)" )
GAME_CUSTOM( 199?, m4nnwwc__7, m4nnwwc, "cn302c.p1", 0x0000, 0x010000, CRC(fd9de050) SHA1(14c80deba1396aa5be0a1d02964ecd4b946f2ee8), "Barcrest","Nudge Nudge Wink Wink Classic (Barcrest) (MPU4) (CN3 0.2 C / NN4 0.2)" )
GAME_CUSTOM( 199?, m4nnwwc__y, m4nnwwc, "cn302ad.p1", 0x0000, 0x010000, CRC(7a6acd9b) SHA1(9a1f0ed19d66428c6b541ce1c8e169d9b4be3ef1), "Barcrest","Nudge Nudge Wink Wink Classic (Barcrest) (MPU4) (CN3 0.2 AD / NN4 0.2)" )
@@ -3018,7 +3018,7 @@ GAME_CUSTOM( 199?, m4nnwwc__4, m4nnwwc, "cn302dy.p1", 0x0000, 0x010000
GAME_CUSTOM( 199?, m4nnwwc__5, m4nnwwc, "cn302k.p1", 0x0000, 0x010000, CRC(7a3202f1) SHA1(2dd5e8195120b1efc3eb51214cf054432fc50aed), "Barcrest","Nudge Nudge Wink Wink Classic (Barcrest) (MPU4) (CN3 0.2 K / NN4 0.2)" )
GAME_CUSTOM( 199?, m4nnwwc__6, m4nnwwc, "cn302r.p1", 0x0000, 0x010000, CRC(e7cf9e1e) SHA1(66a1e54fc928c09d16f7ac1c002685eee841315f), "Barcrest","Nudge Nudge Wink Wink Classic (Barcrest) (MPU4) (CN3 0.2 R / NN4 0.2)" )
GAME_CUSTOM( 199?, m4nnwwc__8, m4nnwwc, "cn302y.p1", 0x0000, 0x010000, CRC(7aa4b6f0) SHA1(2c185a9a7c8a4957fb5901305883661c41cb0cb4), "Barcrest","Nudge Nudge Wink Wink Classic (Barcrest) (MPU4) (CN3 0.2 Y / NN4 0.2)" )
-/// "(C)1991 BARCREST" and "NN4 0.2" (CF3 0.2 on startup)
+/// "(C)1991 BARCREST" and "NN4 0.2" (CF3 0.2 on startup)
GAME_CUSTOM( 199?, m4nnwwc__k, m4nnwwc, "cf302s.p1", 0x0000, 0x010000, CRC(7a3e8ead) SHA1(590dc78b98f9928d6fa87ef661234f88dccfdff8), "Barcrest","Nudge Nudge Wink Wink Classic (Barcrest) (MPU4) (CF3 0.2 / NN4 0.2)" )
GAME_CUSTOM( 199?, m4nnwwc__a, m4nnwwc, "cf302ad.p1", 0x0000, 0x010000, CRC(6c6aa0cd) SHA1(5a58a19c35b0b195f3b4e7a21f57ca61d45ec1fb), "Barcrest","Nudge Nudge Wink Wink Classic (Barcrest) (MPU4) (CF3 0.2 AD / NN4 0.2)" )
GAME_CUSTOM( 199?, m4nnwwc__b, m4nnwwc, "cf302b.p1", 0x0000, 0x010000, CRC(9ca07939) SHA1(6eb0a5675bb803a11c4c874dc0516d94c48194b7), "Barcrest","Nudge Nudge Wink Wink Classic (Barcrest) (MPU4) (CF3 0.2 B / NN4 0.2)" )
@@ -3031,7 +3031,7 @@ GAME_CUSTOM( 199?, m4nnwwc__h, m4nnwwc, "cf302dy.p1", 0x0000, 0x010000
GAME_CUSTOM( 199?, m4nnwwc__i, m4nnwwc, "cf302k.p1", 0x0000, 0x010000, CRC(07ca4c45) SHA1(8f6ee3c17527b05a6652845019919d490cc00c64), "Barcrest","Nudge Nudge Wink Wink Classic (Barcrest) (MPU4) (CF3 0.2 K / NN4 0.2)" )
GAME_CUSTOM( 199?, m4nnwwc__j, m4nnwwc, "cf302r.p1", 0x0000, 0x010000, CRC(e09f43bd) SHA1(65dcdf8d223936c4415ddc3f734b83367d6b8db7), "Barcrest","Nudge Nudge Wink Wink Classic (Barcrest) (MPU4) (CF3 0.2 R / NN4 0.2)" )
GAME_CUSTOM( 199?, m4nnwwc__l, m4nnwwc, "cf302y.p1", 0x0000, 0x010000, CRC(c1063a32) SHA1(e1c8fc463b1a1db87110f272a8727435f9d9b97a), "Barcrest","Nudge Nudge Wink Wink Classic (Barcrest) (MPU4) (CF3 0.2 Y / NN4 0.2)" )
-/// "(C)1991 BARCREST" and "NN4 0.2" (CH3 0.2 on startup)
+/// "(C)1991 BARCREST" and "NN4 0.2" (CH3 0.2 on startup)
GAME_CUSTOM( 199?, m4nnwwc__w, m4nnwwc, "ch302s.p1", 0x0000, 0x010000, CRC(e7d0ceb2) SHA1(b75d58136b9e1e4bfde86730ef4e95bc98494813), "Barcrest","Nudge Nudge Wink Wink Classic (Barcrest) (MPU4) (CH3 0.2 / NN4 0.2)" )
GAME_CUSTOM( 199?, m4nnwwc__m, m4nnwwc, "ch302ad.p1", 0x0000, 0x010000, CRC(20405f4e) SHA1(7f87c881f428f704c98b0f4be459980062ccd29a), "Barcrest","Nudge Nudge Wink Wink Classic (Barcrest) (MPU4) (CH3 0.2 AD / NN4 0.2)" )
GAME_CUSTOM( 199?, m4nnwwc__n, m4nnwwc, "ch302b.p1", 0x0000, 0x010000, CRC(cf7543ac) SHA1(2fe810741bfc18f800ad8028724218557d93a830), "Barcrest","Nudge Nudge Wink Wink Classic (Barcrest) (MPU4) (CH3 0.2 B / NN4 0.2)" )
@@ -3044,7 +3044,7 @@ GAME_CUSTOM( 199?, m4nnwwc__t, m4nnwwc, "ch302dy.p1", 0x0000, 0x010000
GAME_CUSTOM( 199?, m4nnwwc__u, m4nnwwc, "ch302k.p1", 0x0000, 0x010000, CRC(908d8b10) SHA1(a80a5ce1a83d05f1e68e66d14bacc424bc833aa7), "Barcrest","Nudge Nudge Wink Wink Classic (Barcrest) (MPU4) (CH3 0.2 K / NN4 0.2)" )
GAME_CUSTOM( 199?, m4nnwwc__v, m4nnwwc, "ch302r.p1", 0x0000, 0x010000, CRC(c31c4c28) SHA1(e94c7588211044dae7c5ac587e6232b0ace2fc7b), "Barcrest","Nudge Nudge Wink Wink Classic (Barcrest) (MPU4) (CH3 0.2 R / NN4 0.2)" )
GAME_CUSTOM( 199?, m4nnwwc__x, m4nnwwc, "ch302y.p1", 0x0000, 0x010000, CRC(5e7764c6) SHA1(05a61a57ac906cbea1d72fffd1c8ea707852b895), "Barcrest","Nudge Nudge Wink Wink Classic (Barcrest) (MPU4) (CH3 0.2 / NN4 0.2)" )
-/// "(C)1991 BARCREST" and "NN4 0.1" (CN3 0.1 on startup)
+/// "(C)1991 BARCREST" and "NN4 0.1" (CN3 0.1 on startup)
GAME_CUSTOM( 199?, m4nnwwc__9, m4nnwwc, "cnc03s.p1", 0x0000, 0x010000, CRC(57a03b29) SHA1(52cc8eb3f02c4a812de06ceec0588ca930e07876), "Barcrest","Nudge Nudge Wink Wink Classic (Barcrest) (MPU4) (CN3 0.1 / NN4 0.1)" )
// "(C)2000 BWB" and "CNN 2.0"
GAME_CUSTOM( 199?, m4nnwwc__aa, m4nnwwc, "cl__x__x.2_0", 0x0000, 0x010000, CRC(c3de4791) SHA1(220d32b961b6710d508c0c7e6b2d8e4d292746f4), "Bwb","Nudge Nudge Wink Wink Classic (Barcrest) (MPU4) (CNN 2.0)" )
@@ -3145,7 +3145,7 @@ GAME_CUSTOM( 199?, m4takepk__u, m4takepk, "typ15r", 0x0000, 0x020000,
// no copyright string and "TPH 0.7"
GAME_CUSTOM( 199?, m4takepk__t, m4takepk, "typ15f", 0x0000, 0x020000, CRC(65c44b06) SHA1(629e7ac4149c66fc1dc33a103e1a4ff5aaecdcfd), "hack","Take Your Pick (Barcrest) (MPU4) (TPH 0.7, hack)" )
// below sets are all smaller (Bwb sets / hacks of them?)
-// "(C)1997 B.W.B." and "TAC 2.3"
+// "(C)1997 B.W.B." and "TAC 2.3"
GAME_CUSTOM( 199?, m4takepk__1, m4takepk, "typ5p10p.bin", 0x0000, 0x010000, CRC(45ddeaf4) SHA1(6db822aac402cb6772718015420c14875e74b13d), "Bwb","Take Your Pick (Barcrest) (MPU4) (TAC 2.3 K)" ) // hack?
// no copyright string and "TAC 2.3"
GAME_CUSTOM( 199?, m4takepk__v, m4takepk, "typ510", 0x0000, 0x010000, CRC(ebf0c71c) SHA1(6c759144aecce83f82ded8aae7c61ecec2d92fb3), "hack","Take Your Pick (Barcrest) (MPU4) (TAC 2.3, hack, set 1)" )
@@ -4322,7 +4322,7 @@ GAME_CUSTOM( 199?, m4hypvip__o, m4hypvip, "hyp55", 0x0000, 0
GAME_CUSTOM( 199?, m4hypvip__p, m4hypvip, "hypr58c", 0x0000, 0x010000, CRC(d6028f8f) SHA1(54a3188ddb5196808a1161a0e1e6a8c1fe8bfde3), "hack","Hyper Viper (Barcrest) (MPU4) (HVP 3.0 C, hack, set 4)" )
GAME_CUSTOM( 199?, m4hypvip__t, m4hypvip, "hypv_05_.4", 0x0000, 0x010000, CRC(246f171c) SHA1(7bbefb0cae57cf8097aa6d033df1a428e8bfe744), "hack","Hyper Viper (Barcrest) (MPU4) (HVP 3.0 C, hack, set 5)" )
GAME_CUSTOM( 199?, m4hypvip__q, m4hypvip, "hvip_05_.8", 0x0000, 0x010000, CRC(625f1b9d) SHA1(f8dc0cde774f3fc4fb3d66d014ad47e9576c0f44), "hack","Hyper Viper (Barcrest) (MPU4) (HVP 3.0, hack, set 1)" )
-// "DICK WAS ERE" and "HVP 3.0"
+// "DICK WAS ERE" and "HVP 3.0"
GAME_CUSTOM( 199?, m4hypvip__i, m4hypvip, "hv108c", 0x0000, 0x010000, CRC(4d40ebfe) SHA1(0e355fe5b185ba595c5040335956037b8ed21599), "hack","Hyper Viper (Barcrest) (MPU4) (HVP 3.0 C, hack, set 6)" )
GAME_CUSTOM( 199?, m4hypvip__j, m4hypvip, "hv10_101", 0x0000, 0x010000, CRC(57714454) SHA1(de99f5a66081191a7280c54e875fd17cc94e111b), "hack","Hyper Viper (Barcrest) (MPU4) (HVP 3.0 C, hack, set 7)" )
GAME_CUSTOM( 199?, m4hypvip__u, m4hypvip, "hypv_10_.4", 0x0000, 0x010000, CRC(f85d21a1) SHA1(55ed92147335a1471b7b443f68dd700f579d21f3), "hack","Hyper Viper (Barcrest) (MPU4) (HVP 3.0 C, hack, set 8)" )
diff --git a/src/mame/drivers/namconb1.cpp b/src/mame/drivers/namconb1.cpp
index 108299dda5b..2144c57cbd8 100644
--- a/src/mame/drivers/namconb1.cpp
+++ b/src/mame/drivers/namconb1.cpp
@@ -315,13 +315,13 @@ TIMER_DEVICE_CALLBACK_MEMBER(namconb1_state::scantimer)
m_maincpu->set_input_line(m_pos_irq_level, ASSERT_LINE);
}
/*
- // TODO: Real sources of these
- if (scanline == 224)
- m_mcu->set_input_line(M37710_LINE_IRQ0, HOLD_LINE);
- else if (scanline == 0)
- m_mcu->set_input_line(M37710_LINE_IRQ2, HOLD_LINE);
- else if (scanline == 128)
- m_mcu->set_input_line(M37710_LINE_ADC, HOLD_LINE);
+ // TODO: Real sources of these
+ if (scanline == 224)
+ m_mcu->set_input_line(M37710_LINE_IRQ0, HOLD_LINE);
+ else if (scanline == 0)
+ m_mcu->set_input_line(M37710_LINE_IRQ2, HOLD_LINE);
+ else if (scanline == 128)
+ m_mcu->set_input_line(M37710_LINE_ADC, HOLD_LINE);
*/
}
@@ -1140,7 +1140,7 @@ static MACHINE_CONFIG_START( namconb1, namconb1_state )
MCFG_MACHINE_RESET_OVERRIDE(namconb1_state, namconb)
MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", namconb1_state, scantimer, "screen", 0, 1)
-
+
// has to be 60 hz or music will go crazy in nebulray, vshoot, gslugrs*
MCFG_TIMER_DRIVER_ADD_PERIODIC("mcu_irq0", namconb1_state, mcu_irq0_cb, attotime::from_hz(60))
MCFG_TIMER_DRIVER_ADD_PERIODIC("mcu_irq2", namconb1_state, mcu_irq2_cb, attotime::from_hz(60))
@@ -1185,7 +1185,7 @@ static MACHINE_CONFIG_START( namconb2, namconb1_state )
MCFG_TIMER_DRIVER_ADD_PERIODIC("mcu_irq0", namconb1_state, mcu_irq0_cb, attotime::from_hz(60))
MCFG_TIMER_DRIVER_ADD_PERIODIC("mcu_irq2", namconb1_state, mcu_irq2_cb, attotime::from_hz(60))
MCFG_TIMER_DRIVER_ADD_PERIODIC("mcu_adc", namconb1_state, mcu_adc_cb, attotime::from_hz(60))
-
+
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_REFRESH_RATE(59.7)
MCFG_SCREEN_SIZE(NAMCONB1_HTOTAL, NAMCONB1_VTOTAL)
diff --git a/src/mame/drivers/namcos12.cpp b/src/mame/drivers/namcos12.cpp
index 3951de507cd..b2afcbe8500 100644
--- a/src/mame/drivers/namcos12.cpp
+++ b/src/mame/drivers/namcos12.cpp
@@ -11,7 +11,7 @@
Notes:
- technodr: Calibrate controls by turning on the service mode switch (F2) while holdign service coin (9).
-
+
Issues:
not all games work due to either banking, dma or protection issues.
graphics are glitchy in some games.
@@ -21,7 +21,7 @@
- truckk doesn't boot: the H8/3002 never enters InitJVSBoards @ 1DE2. 1DE2 is referenced in a table of commands at 4032,
which is called by the routine at 3FEA. It is not clear how execution is intended to get to 3FEA - there are no direct
branches to that location, and the bytes 3F EA don't appear at all in the program.
-
+
- technodr: printer not emulated. To play the game, press F2 to enter the test menu, navigate to GAME OPTIONS and disable
the printer by setting "PRINTER" to OFF.
diff --git a/src/mame/drivers/naomi.cpp b/src/mame/drivers/naomi.cpp
index f57b378fd90..07d893d74b2 100644
--- a/src/mame/drivers/naomi.cpp
+++ b/src/mame/drivers/naomi.cpp
@@ -259,7 +259,7 @@ Notes:
------------------------------------------------------------------------------------------------------------
-Bios Version Information |
+Bios Version Information |
------------------------------------------------------------------------------------------------------------
Bios Label | Support | mobo s/n | 171-7978B | Support | Support | 171-8346C |
---------------------------- | Multi-Board | EEPROM type | M1-type | DIMM | Net-DIMM | M4-type |
diff --git a/src/mame/drivers/play_3.cpp b/src/mame/drivers/play_3.cpp
index 52bd977472e..41357530c3d 100644
--- a/src/mame/drivers/play_3.cpp
+++ b/src/mame/drivers/play_3.cpp
@@ -115,7 +115,7 @@ ADDRESS_MAP_END
static ADDRESS_MAP_START( play_3_io, AS_IO, 8, play_3_state )
AM_RANGE(0x01, 0x01) AM_WRITE(port01_w) // digits, scan-lines
AM_RANGE(0x02, 0x02) AM_WRITE(port02_w) // sound code
- AM_RANGE(0x03, 0x03) AM_WRITE(port03_w) //
+ AM_RANGE(0x03, 0x03) AM_WRITE(port03_w) //
AM_RANGE(0x04, 0x04) AM_READ(port04_r) // switches
AM_RANGE(0x05, 0x05) AM_READ(port05_r) // more switches
AM_RANGE(0x06, 0x06) AM_WRITE(port06_w) // segments
@@ -125,7 +125,7 @@ ADDRESS_MAP_END
static ADDRESS_MAP_START( megaaton_io, AS_IO, 8, play_3_state )
AM_RANGE(0x01, 0x01) AM_WRITE(megaaton_port01_w) // digits, scan-lines
AM_RANGE(0x02, 0x02) AM_WRITE(port02_w) // sound code
- AM_RANGE(0x03, 0x03) AM_WRITE(port03_w) //
+ AM_RANGE(0x03, 0x03) AM_WRITE(port03_w) //
AM_RANGE(0x04, 0x04) AM_READ(port04_r) // switches
AM_RANGE(0x05, 0x05) AM_READ(port05_r) // more switches
AM_RANGE(0x06, 0x06) AM_WRITE(port06_w) // segments
diff --git a/src/mame/drivers/pofo.cpp b/src/mame/drivers/pofo.cpp
index 57cd2d30ad9..4e3bd8ee800 100644
--- a/src/mame/drivers/pofo.cpp
+++ b/src/mame/drivers/pofo.cpp
@@ -9,7 +9,7 @@
http://www.best-electronics-ca.com/portfoli.htm
http://www.atari-portfolio.co.uk/pfnews/pf9.txt
- Command line for dual RAM expansion with A: File Manager ROM card and B: RAM card
+ Command line for dual RAM expansion with A: File Manager ROM card and B: RAM card
./mess64 pofo -exp ram -exp:ram:exp ram2 -cart1 fileman -exp:ram:ccmb ram
*/
@@ -18,17 +18,17 @@
TODO:
- - cursor is missing
- - where do CDET and NMD1 connect to ??
+ - cursor is missing
+ - where do CDET and NMD1 connect to ??
- i/o port 8051
- screen contrast
- system tick frequency selection (1 or 128 Hz)
- soft power off
- LCD board
- - HD61830A00
- - 5816 2Kx8 RAM
- - 27C256 32Kx8 EPROM
- - PCD3311T DTMF generator @ 3.578640MHz
+ - HD61830A00
+ - 5816 2Kx8 RAM
+ - 27C256 32Kx8 EPROM
+ - PCD3311T DTMF generator @ 3.578640MHz
*/
@@ -53,7 +53,7 @@
#define M80C88A_TAG "u1"
#define HD61830_TAG "hd61830"
-#define PCD3311T_TAG "pcd3311t"
+#define PCD3311T_TAG "pcd3311t"
#define TIMER_TICK_TAG "tick"
#define SCREEN_TAG "screen"
@@ -370,13 +370,13 @@ WRITE8_MEMBER( portfolio_state::dtmf_w )
bit description
- 0 PCD3311T D0
- 1 PCD3311T D1
- 2 PCD3311T D2
- 3 PCD3311T D3
- 4 PCD3311T D4
- 5 PCD3311T D5
- 6 PCD3311T STROBE
+ 0 PCD3311T D0
+ 1 PCD3311T D1
+ 2 PCD3311T D2
+ 3 PCD3311T D3
+ 4 PCD3311T D4
+ 5 PCD3311T D5
+ 6 PCD3311T STROBE
7 PCD3311T VDD,MODE,A0
*/
@@ -435,11 +435,11 @@ READ8_MEMBER( portfolio_state::battery_r )
bit signal description
- 0 ? 1=boots from B:
- 1 ? 1=boots from external ROM
- 2 ? 1=boots from B:
- 3 ? 1=boots from ???
- 4 ?
+ 0 ? 1=boots from B:
+ 1 ? 1=boots from external ROM
+ 2 ? 1=boots from B:
+ 3 ? 1=boots from ???
+ 4 ?
5 PDET 1=peripheral connected
6 BATD? 0=battery low
7 ? 1=cold boot
@@ -468,12 +468,12 @@ WRITE8_MEMBER( portfolio_state::select_w )
bit description
- 0 ?
- 1 ?
- 2 ?
- 3 ?
+ 0 ?
+ 1 ?
+ 2 ?
+ 3 ?
4
- 5
+ 5
6 ?
7 ?
@@ -574,7 +574,7 @@ READ8_MEMBER( portfolio_state::mem_r )
int iom = 0;
int bcom = 1;
int ncc1 = 1;
-
+
if (offset < 0x1f000)
{
data = m_ram->read(offset);
@@ -626,7 +626,7 @@ WRITE8_MEMBER( portfolio_state::mem_w )
int iom = 0;
int bcom = 1;
int ncc1 = 1;
-
+
if (offset < 0x1f000)
{
m_ram->write(offset, data);
@@ -674,7 +674,7 @@ READ8_MEMBER( portfolio_state::io_r )
case 0:
data = keyboard_r(space, 0);
break;
-
+
case 1:
if (offset & 0x01)
{
@@ -689,7 +689,7 @@ READ8_MEMBER( portfolio_state::io_r )
case 4:
data = counter_r(space, offset & 0x01);
break;
-
+
case 5:
if (offset & 0x01)
{
@@ -700,7 +700,7 @@ READ8_MEMBER( portfolio_state::io_r )
data = irq_status_r(space, 0);
}
break;
-
+
case 7:
bcom = 0;
break;
@@ -737,19 +737,19 @@ WRITE8_MEMBER( portfolio_state::io_w )
m_lcdc->data_w(space, 0, data);
}
break;
-
+
case 2:
dtmf_w(space, 0, data);
break;
-
+
case 3:
power_w(space, 0, data);
break;
-
+
case 4:
counter_w(space, offset & 0x01, data);
break;
-
+
case 5:
if (offset & 0x01)
{
@@ -760,11 +760,11 @@ WRITE8_MEMBER( portfolio_state::io_w )
irq_mask_w(space, 0, data);
}
break;
-
+
case 6:
contrast_w(space, 0, data);
break;
-
+
case 7:
bcom = 0;
break;
diff --git a/src/mame/drivers/s7.cpp b/src/mame/drivers/s7.cpp
index 638f9497def..14a0dc70654 100644
--- a/src/mame/drivers/s7.cpp
+++ b/src/mame/drivers/s7.cpp
@@ -830,7 +830,7 @@ ROM_START(fpwr2_l2)
ROM_END
/*--------------------------------
-/ Wild Texas
+/ Wild Texas
/-------------------------------*/
// Conversion of Firepower II
// http://www.ipdb.org/machine.cgi?id=5500
diff --git a/src/mame/drivers/segas18.cpp b/src/mame/drivers/segas18.cpp
index 0daab8e0b17..f6cafdb456c 100644
--- a/src/mame/drivers/segas18.cpp
+++ b/src/mame/drivers/segas18.cpp
@@ -405,7 +405,7 @@ WRITE16_MEMBER( segas18_state::lghost_custom_io_w )
pos_value_x = ioport("GUNX1")->read();
pos_value_y = 255 - ioport("GUNY1")->read();
-
+
// Offset adjustment is disabled?
if (!ioport("FAKE")->read())
m_lghost_value = pos_value_y;
diff --git a/src/mame/drivers/sleic.cpp b/src/mame/drivers/sleic.cpp
index 218f4062365..c64c9ed8437 100644
--- a/src/mame/drivers/sleic.cpp
+++ b/src/mame/drivers/sleic.cpp
@@ -86,7 +86,7 @@ ROM_START(bikerace)
ROM_REGION(0x100000, "user1", 0)
ROM_LOAD("bksnd02.bin", 0x00000, 0x80000, CRC(d67b3883) SHA1(712022b9b24c6ab559d020ab8e2106f68b4d7896))
ROM_LOAD("bksnd03.bin", 0x80000, 0x80000, CRC(b6d00245) SHA1(f7da6f2ca681fbe62ea9cab7f92d3e501b7e867d))
-
+
ROM_REGION(0x100000, "user2", 0)
ROM_LOAD("bkcpu05.bin", 0x00000, 0x20000, CRC(072ce879) SHA1(4f6fb044592feb4c72bbdcbe5f19e063c0e49d0d))
ROM_LOAD("bkcpu06.bin", 0x20000, 0x20000, CRC(9db436d4) SHA1(3869524c0490e0a019d2f8ab46546ff42727665e))
@@ -105,7 +105,7 @@ ROM_START(bikerace2)
ROM_REGION(0x100000, "user1", 0)
ROM_LOAD("bksnd02.bin", 0x00000, 0x80000, CRC(d67b3883) SHA1(712022b9b24c6ab559d020ab8e2106f68b4d7896))
ROM_LOAD("bksnd03.bin", 0x80000, 0x80000, CRC(b6d00245) SHA1(f7da6f2ca681fbe62ea9cab7f92d3e501b7e867d))
-
+
ROM_REGION(0x100000, "user2", 0)
ROM_LOAD("bkcpu05.bin", 0x00000, 0x20000, CRC(072ce879) SHA1(4f6fb044592feb4c72bbdcbe5f19e063c0e49d0d))
ROM_LOAD("bkcpu06.bin", 0x20000, 0x20000, CRC(9db436d4) SHA1(3869524c0490e0a019d2f8ab46546ff42727665e))
diff --git a/src/mame/drivers/stfight.cpp b/src/mame/drivers/stfight.cpp
index a8f71fab77f..d66addde817 100644
--- a/src/mame/drivers/stfight.cpp
+++ b/src/mame/drivers/stfight.cpp
@@ -6,8 +6,8 @@
Notes: Lower Board - CPU board S-0086-002-B0 (both games)
- Top Board - GFX board S-0086-002A-A0 (Street Fight)
- Top Board - GFX board S-0087-807 (Cross Shooter)
+ Top Board - GFX board S-0086-002A-A0 (Street Fight)
+ Top Board - GFX board S-0087-807 (Cross Shooter)
for the single PCB version of Air Raid / Cross Shooter on the S-0087-011A-0 PCB,
see airraid.cpp
diff --git a/src/mame/drivers/vgmplay.cpp b/src/mame/drivers/vgmplay.cpp
index 61d639e87c5..cd45319720a 100644
--- a/src/mame/drivers/vgmplay.cpp
+++ b/src/mame/drivers/vgmplay.cpp
@@ -28,8 +28,8 @@
#include "sound/pokey.h"
#include "sound/c352.h"
-#define AS_IO16 AS_1
-#define MCFG_CPU_IO16_MAP MCFG_CPU_DATA_MAP
+#define AS_IO16 AS_1
+#define MCFG_CPU_IO16_MAP MCFG_CPU_DATA_MAP
class vgmplay_device : public cpu_device
{
@@ -50,7 +50,7 @@ public:
A_K053260 = 0x000000b0,
A_C6280 = 0x000000e0,
A_SEGAPCM = 0x00001000,
- A_GAMEBOY = 0x00002000,
+ A_GAMEBOY = 0x00002000,
A_NESAPU = 0x00002030,
A_NESRAM = 0x00003000,
A_MULTIPCMA = 0x00013000,
@@ -1194,7 +1194,7 @@ static ADDRESS_MAP_START( soundchips_map, AS_IO, 8, vgmplay_state )
AM_RANGE(vgmplay_device::A_AY8910A+1, vgmplay_device::A_AY8910A+1) AM_DEVWRITE ("ay8910a", ay8910_device, address_w)
AM_RANGE(vgmplay_device::A_AY8910B, vgmplay_device::A_AY8910B) AM_DEVWRITE ("ay8910b", ay8910_device, data_w)
AM_RANGE(vgmplay_device::A_AY8910B+1, vgmplay_device::A_AY8910B+1) AM_DEVWRITE ("ay8910b", ay8910_device, address_w)
-// AM_RANGE(vgmplay_device::A_SN76496+0, vgmplay_device::A_SN76496+0) AM_DEVWRITE ("sn76496", sn76496_device, stereo_w)
+// AM_RANGE(vgmplay_device::A_SN76496+0, vgmplay_device::A_SN76496+0) AM_DEVWRITE ("sn76496", sn76496_device, stereo_w)
AM_RANGE(vgmplay_device::A_SN76496+1, vgmplay_device::A_SN76496+1) AM_DEVWRITE ("sn76496", sn76496_device, write)
AM_RANGE(vgmplay_device::A_K053260, vgmplay_device::A_K053260+0x2f) AM_DEVWRITE ("k053260", k053260_device, write)
AM_RANGE(vgmplay_device::A_C6280, vgmplay_device::A_C6280+0xf) AM_DEVWRITE ("c6280", c6280_device, c6280_w)
diff --git a/src/mame/drivers/victor9k.cpp b/src/mame/drivers/victor9k.cpp
index 5b232db92a8..04314fb46ab 100644
--- a/src/mame/drivers/victor9k.cpp
+++ b/src/mame/drivers/victor9k.cpp
@@ -232,8 +232,8 @@ INPUT_PORTS_END
#define DC_SECRET 0x1000
#define DC_UNDLN 0x2000
-#define DC_LOWINT 0x4000
-#define DC_RVS 0x8000
+#define DC_LOWINT 0x4000
+#define DC_RVS 0x8000
MC6845_UPDATE_ROW( victor9k_state::crtc_update_row )
{
@@ -250,7 +250,7 @@ MC6845_UPDATE_ROW( victor9k_state::crtc_update_row )
address_space &program = m_maincpu->space(AS_PROGRAM);
const rgb_t *palette = m_palette->palette()->entry_list_raw();
-
+
int x = hbp;
offs_t aa = (ma & 0x7ff) << 1;
@@ -273,7 +273,7 @@ MC6845_UPDATE_ROW( victor9k_state::crtc_update_row )
switch (rvs | undln | cursor)
{
- case 0: case 5:
+ case 0: case 5:
pixel = 1;
break;
diff --git a/src/mame/drivers/zac_2.cpp b/src/mame/drivers/zac_2.cpp
index 969236412b6..ad67ac6b774 100644
--- a/src/mame/drivers/zac_2.cpp
+++ b/src/mame/drivers/zac_2.cpp
@@ -881,7 +881,7 @@ ROM_START(thndrman)
ROM_REGION(0x10000, "cpu2", 0)
ROM_LOAD("snd_1f.764", 0xc000, 0x2000, CRC(400e8e2a) SHA1(24af3a8e11aec89ae27a5cfcce9d4624bede18f7))
ROM_LOAD("snd_1c.764", 0xe000, 0x2000, CRC(4f18409f) SHA1(21002a147e2542caacba0392cec62511343b90c2))
-ROM_END
+ROM_END
/*--------------------------------
/ Time Machine (04/83)