summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/devices/bus/compis/hrg.cpp2
-rw-r--r--src/devices/bus/pofo/ccm.h70
-rw-r--r--src/devices/bus/pofo/hpc104.cpp2
-rw-r--r--src/devices/bus/pofo/ram.h2
-rw-r--r--src/devices/bus/pofo/rom.h2
-rw-r--r--src/devices/cpu/alto2/a2dht.cpp62
-rw-r--r--src/devices/cpu/alto2/a2dvt.cpp32
-rw-r--r--src/devices/cpu/alto2/a2dwt.cpp38
-rw-r--r--src/devices/cpu/alto2/a2mem.cpp8
-rw-r--r--src/devices/cpu/alto2/a2ram.cpp6
-rw-r--r--src/devices/cpu/alto2/alto2cpu.cpp10
-rw-r--r--src/devices/cpu/h8/h8_sci.cpp2
-rw-r--r--src/devices/cpu/upd7810/upd7810_dasm.cpp10
-rw-r--r--src/devices/machine/im6402.cpp2
-rw-r--r--src/devices/machine/ldp1450.cpp56
-rw-r--r--src/devices/machine/ldp1450.h8
-rw-r--r--src/devices/machine/mc6852.cpp6
-rw-r--r--src/devices/sound/aica.cpp2
-rw-r--r--src/devices/sound/c352.cpp26
-rw-r--r--src/devices/sound/c352.h4
-rw-r--r--src/devices/sound/pcd3311.cpp2
-rw-r--r--src/devices/sound/pcd3311.h2
-rw-r--r--src/devices/video/gba_lcd.cpp12
-rw-r--r--src/emu/device.h2
-rw-r--r--src/emu/diimage.cpp2
-rw-r--r--src/emu/dirom.cpp6
-rw-r--r--src/emu/divtlb.h2
-rw-r--r--src/emu/drivers/xtal.h2
-rw-r--r--src/emu/emucore.h4
-rw-r--r--src/emu/romentry.cpp14
-rw-r--r--src/emu/softlist.cpp10
-rw-r--r--src/emu/softlist.h16
-rw-r--r--src/emu/softlist_dev.cpp4
-rw-r--r--src/emu/softlist_dev.h4
-rw-r--r--src/frontend/mame/ui/swlist.cpp4
-rw-r--r--src/lib/formats/cassimg.cpp2
-rw-r--r--src/lib/formats/cassimg.h12
-rw-r--r--src/lib/netlist/nl_base.h2
-rw-r--r--src/lib/netlist/tools/nl_convert.cpp16
-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
-rw-r--r--src/mame/includes/mpu4.h4
-rw-r--r--src/mame/includes/namconb1.h2
-rw-r--r--src/mame/layout/crusnusa.lay6
-rw-r--r--src/mame/layout/m1albsqp.lay2
-rw-r--r--src/mame/layout/m1apollo2.lay2
-rw-r--r--src/mame/layout/m1bargnc.lay2
-rw-r--r--src/mame/layout/m1bghou.lay2
-rw-r--r--src/mame/layout/m1bigdel.lay2
-rw-r--r--src/mame/layout/m1calypsa.lay2
-rw-r--r--src/mame/layout/m1casclb.lay2
-rw-r--r--src/mame/layout/m1casroy1.lay2
-rw-r--r--src/mame/layout/m1chain.lay2
-rw-r--r--src/mame/layout/m1cik51o.lay2
-rw-r--r--src/mame/layout/m1clbfvr.lay2
-rw-r--r--src/mame/layout/m1cluecb1.lay2
-rw-r--r--src/mame/layout/m1cluedo4.lay2
-rw-r--r--src/mame/layout/m1cluessf.lay2
-rw-r--r--src/mame/layout/m1coro21n.lay2
-rw-r--r--src/mame/layout/m1cororrk.lay2
-rw-r--r--src/mame/layout/m1dkong91n.lay2
-rw-r--r--src/mame/layout/m1dxmono51o.lay2
-rw-r--r--src/mame/layout/m1eastndl.lay2
-rw-r--r--src/mame/layout/m1eastqv3.lay2
-rw-r--r--src/mame/layout/m1fantfbb.lay2
-rw-r--r--src/mame/layout/m1fightb.lay2
-rw-r--r--src/mame/layout/m1frexplc.lay2
-rw-r--r--src/mame/layout/m1gladg.lay2
-rw-r--r--src/mame/layout/m1grescb.lay2
-rw-r--r--src/mame/layout/m1guvnor.lay2
-rw-r--r--src/mame/layout/m1hotpoth.lay2
-rw-r--r--src/mame/layout/m1htclb.lay2
-rw-r--r--src/mame/layout/m1imclb.lay2
-rw-r--r--src/mame/layout/m1infern.lay2
-rw-r--r--src/mame/layout/m1inwinc.lay2
-rw-r--r--src/mame/layout/m1itjobc.lay2
-rw-r--r--src/mame/layout/m1itskob.lay2
-rw-r--r--src/mame/layout/m1jpmult.lay2
-rw-r--r--src/mame/layout/m1lucknon.lay2
-rw-r--r--src/mame/layout/m1luxorb.lay2
-rw-r--r--src/mame/layout/m1manhat.lay2
-rw-r--r--src/mame/layout/m1monclb.lay2
-rw-r--r--src/mame/layout/m1mongam.lay2
-rw-r--r--src/mame/layout/m1monmon.lay2
-rw-r--r--src/mame/layout/m1monou.lay2
-rw-r--r--src/mame/layout/m1nhp.lay2
-rw-r--r--src/mame/layout/m1nudbnke.lay2
-rw-r--r--src/mame/layout/m1omega.lay2
-rw-r--r--src/mame/layout/m1onbusa.lay2
-rw-r--r--src/mame/layout/m1pinkpc.lay2
-rw-r--r--src/mame/layout/m1przeeb.lay2
-rw-r--r--src/mame/layout/m1retpp.lay2
-rw-r--r--src/mame/layout/m1search.lay2
-rw-r--r--src/mame/layout/m1sptlgtc.lay2
-rw-r--r--src/mame/layout/m1startr.lay2
-rw-r--r--src/mame/layout/m1sudnima.lay2
-rw-r--r--src/mame/layout/m1taknot.lay2
-rw-r--r--src/mame/layout/m1thatlfc.lay2
-rw-r--r--src/mame/layout/m1topstr.lay2
-rw-r--r--src/mame/layout/m1triviax.lay2
-rw-r--r--src/mame/layout/m1trtr.lay2
-rw-r--r--src/mame/layout/m1ttcash.lay2
-rw-r--r--src/mame/layout/m1wldzner.lay2
-rw-r--r--src/mame/layout/m1wotwa.lay2
-rw-r--r--src/mame/layout/m4aao.lay2
-rw-r--r--src/mame/layout/m4actbnk.lay2
-rw-r--r--src/mame/layout/m4actclb.lay2
-rw-r--r--src/mame/layout/m4actpak.lay2
-rw-r--r--src/mame/layout/m4addr.lay2
-rw-r--r--src/mame/layout/m4alladv.lay2
-rw-r--r--src/mame/layout/m4alpha.lay2
-rw-r--r--src/mame/layout/m4andybt.lay2
-rw-r--r--src/mame/layout/m4andycp.lay2
-rw-r--r--src/mame/layout/m4andyfh.lay2
-rw-r--r--src/mame/layout/m4andyge.lay2
-rw-r--r--src/mame/layout/m4apachg.lay2
-rw-r--r--src/mame/layout/m4tenten.lay2
-rw-r--r--src/mame/layout/sc1barcd.lay2
-rw-r--r--src/mame/layout/sc1bartk.lay2
-rw-r--r--src/mame/layout/sc1cl65.lay2
-rw-r--r--src/mame/layout/sc1clbtma.lay2
-rw-r--r--src/mame/layout/sc1cwcl.lay2
-rw-r--r--src/mame/layout/sc1dblch.lay2
-rw-r--r--src/mame/layout/sc1pwrl.lay2
-rw-r--r--src/mame/layout/sc1sirb.lay2
-rw-r--r--src/mame/layout/sc1spct.lay2
-rw-r--r--src/mame/layout/sc1str4.lay2
-rw-r--r--src/mame/layout/sc2casr2.lay2
-rw-r--r--src/mame/layout/sc2copcl7.lay12
-rw-r--r--src/mame/layout/sc2cpe.lay12
-rw-r--r--src/mame/layout/sc2cpg.lay2
-rw-r--r--src/mame/layout/sc2eggs1.lay2
-rw-r--r--src/mame/layout/sc2heypr.lay2
-rw-r--r--src/mame/layout/sc2majes.lay2
-rw-r--r--src/mame/layout/sc2prem2.lay6
-rw-r--r--src/mame/layout/sc2prom.lay12
-rw-r--r--src/mame/layout/sc2ptytm1.lay12
-rw-r--r--src/mame/layout/sc2suprz1.lay2
-rw-r--r--src/mame/layout/sc2town2.lay14
-rw-r--r--src/mame/layout/sc4_dmd.lay4
-rw-r--r--src/mame/layout/sc4acesh.lay2
-rw-r--r--src/mame/layout/sc4bantm.lay2
-rw-r--r--src/mame/layout/sc4bedcl.lay2
-rw-r--r--src/mame/layout/sc4blast.lay2
-rw-r--r--src/mame/layout/sc4blokq.lay2
-rw-r--r--src/mame/layout/sc4bobcl.lay2
-rw-r--r--src/mame/layout/sc4brksp.lay2
-rw-r--r--src/mame/layout/sc4brollb.lay2
-rw-r--r--src/mame/layout/sc4cabin.lay2
-rw-r--r--src/mame/layout/sc4canca.lay2
-rw-r--r--src/mame/layout/sc4captn.lay2
-rw-r--r--src/mame/layout/sc4cariqd.lay2
-rw-r--r--src/mame/layout/sc4carrya.lay2
-rw-r--r--src/mame/layout/sc4cashm.lay2
-rw-r--r--src/mame/layout/sc4cclasd.lay2
-rw-r--r--src/mame/layout/sc4cclim.lay2
-rw-r--r--src/mame/layout/sc4cfcas.lay2
-rw-r--r--src/mame/layout/sc4chainb.lay2
-rw-r--r--src/mame/layout/sc4chavy.lay2
-rw-r--r--src/mame/layout/sc4chick.lay2
-rw-r--r--src/mame/layout/sc4chuba.lay2
-rw-r--r--src/mame/layout/sc4clashd.lay2
-rw-r--r--src/mame/layout/sc4clue.lay2
-rw-r--r--src/mame/layout/sc4cmania.lay2
-rw-r--r--src/mame/layout/sc4cmous.lay2
-rw-r--r--src/mame/layout/sc4cnfr.lay2
-rw-r--r--src/mame/layout/sc4coro.lay2
-rw-r--r--src/mame/layout/sc4crc.lay2
-rw-r--r--src/mame/layout/sc4crcla.lay2
-rw-r--r--src/mame/layout/sc4crzgna.lay2
-rw-r--r--src/mame/layout/sc4crzkya.lay2
-rw-r--r--src/mame/layout/sc4cvanif.lay2
-rw-r--r--src/mame/layout/sc4cvclb.lay2
-rw-r--r--src/mame/layout/sc4dayltf.lay2
-rw-r--r--src/mame/layout/sc4deepi.lay2
-rw-r--r--src/mame/layout/sc4derby.lay2
-rw-r--r--src/mame/layout/sc4dmineb.lay2
-rw-r--r--src/mame/layout/sc4drubyb.lay2
-rw-r--r--src/mame/layout/sc4duckqa.lay2
-rw-r--r--src/mame/layout/sc4dyna.lay2
-rw-r--r--src/mame/layout/sc4eascsc.lay2
-rw-r--r--src/mame/layout/sc4emmerc.lay2
-rw-r--r--src/mame/layout/sc4fastfb.lay2
-rw-r--r--src/mame/layout/sc4fd7tha.lay2
-rw-r--r--src/mame/layout/sc4fever.lay2
-rw-r--r--src/mame/layout/sc4fire.lay2
-rw-r--r--src/mame/layout/sc4fpitcb.lay2
-rw-r--r--src/mame/layout/sc4ftopib.lay2
-rw-r--r--src/mame/layout/sc4fullt.lay2
-rw-r--r--src/mame/layout/sc4fwpcs.lay2
-rw-r--r--src/mame/layout/sc4gaga.lay2
-rw-r--r--src/mame/layout/sc4gball.lay2
-rw-r--r--src/mame/layout/sc4gd.lay2
-rw-r--r--src/mame/layout/sc4gdclb.lay2
-rw-r--r--src/mame/layout/sc4ggdlxf.lay2
-rw-r--r--src/mame/layout/sc4gldcl.lay2
-rw-r--r--src/mame/layout/sc4gslam.lay2
-rw-r--r--src/mame/layout/sc4gx.lay2
-rw-r--r--src/mame/layout/sc4hdd.lay2
-rw-r--r--src/mame/layout/sc4hi5.lay2
-rw-r--r--src/mame/layout/sc4hilo.lay2
-rw-r--r--src/mame/layout/sc4himi.lay2
-rw-r--r--src/mame/layout/sc4hissa.lay2
-rw-r--r--src/mame/layout/sc4holyw.lay2
-rw-r--r--src/mame/layout/sc4hotpr.lay2
-rw-r--r--src/mame/layout/sc4hotwd.lay2
-rw-r--r--src/mame/layout/sc4hyde.lay2
-rw-r--r--src/mame/layout/sc4monot.lay2
-rw-r--r--src/mame/layout/sc4mspid.lay2
-rw-r--r--src/mame/layout/sc4sprng.lay2
-rw-r--r--src/mame/video/airraid_dev.cpp8
-rw-r--r--src/mame/video/airraid_dev.h4
-rw-r--r--src/mame/video/bfm_dm01.cpp8
-rw-r--r--src/mame/video/bfm_dm01.h4
-rw-r--r--src/mame/video/darkmist.cpp4
-rw-r--r--src/mame/video/stfight_dev.cpp8
-rw-r--r--src/mame/video/stfight_dev.h4
-rw-r--r--src/osd/modules/debugger/debugimgui.cpp18
-rw-r--r--src/osd/modules/input/input_sdl.cpp2
-rw-r--r--src/osd/modules/input/input_sdlcommon.cpp2
261 files changed, 1126 insertions, 1126 deletions
diff --git a/src/devices/bus/compis/hrg.cpp b/src/devices/bus/compis/hrg.cpp
index e0245f10efb..0f77a04caf6 100644
--- a/src/devices/bus/compis/hrg.cpp
+++ b/src/devices/bus/compis/hrg.cpp
@@ -13,7 +13,7 @@
// MACROS / CONSTANTS
//**************************************************************************
-#define UPD7220_TAG "upd7220"
+#define UPD7220_TAG "upd7220"
#define SCREEN_TAG "screen"
diff --git a/src/devices/bus/pofo/ccm.h b/src/devices/bus/pofo/ccm.h
index 4f8f87c873f..bba109912c4 100644
--- a/src/devices/bus/pofo/ccm.h
+++ b/src/devices/bus/pofo/ccm.h
@@ -6,40 +6,40 @@
**********************************************************************
- Pin COMMON RAM OPTROM Mask ROM
- 32k 64k 128k
- 1 A16
- 2 A15
- 3 VBB VPP NC VPP NC
- 4 A12
- 5 A7
- 6 A6
- 7 A5
- 8 A4
- 9 A3
- 10 A2
- 11 A1
- 12 A0
- 13 D0
- 14 D1
- 15 D2
- 16 GND
- 17 D3
- 18 D4
- 19 D5
- 20 D6
- 21 D7
- 22 CE
- 23 A10
- 24 OE OE OE/VPP OE OE
- 25 A11
- 26 A9
- 27 A8
- 28 A13
- 29 A14
- 30 WE NC NC PGM NC
- 31 VCC
- 32 CDET
+ Pin COMMON RAM OPTROM Mask ROM
+ 32k 64k 128k
+ 1 A16
+ 2 A15
+ 3 VBB VPP NC VPP NC
+ 4 A12
+ 5 A7
+ 6 A6
+ 7 A5
+ 8 A4
+ 9 A3
+ 10 A2
+ 11 A1
+ 12 A0
+ 13 D0
+ 14 D1
+ 15 D2
+ 16 GND
+ 17 D3
+ 18 D4
+ 19 D5
+ 20 D6
+ 21 D7
+ 22 CE
+ 23 A10
+ 24 OE OE OE/VPP OE OE
+ 25 A11
+ 26 A9
+ 27 A8
+ 28 A13
+ 29 A14
+ 30 WE NC NC PGM NC
+ 31 VCC
+ 32 CDET
**********************************************************************/
@@ -106,7 +106,7 @@ protected:
class portfolio_memory_card_slot_t : public device_t,
public device_slot_interface,
- public device_image_interface
+ public device_image_interface
{
public:
// construction/destruction
diff --git a/src/devices/bus/pofo/hpc104.cpp b/src/devices/bus/pofo/hpc104.cpp
index 5483fc72c2b..e08bb317db9 100644
--- a/src/devices/bus/pofo/hpc104.cpp
+++ b/src/devices/bus/pofo/hpc104.cpp
@@ -222,7 +222,7 @@ void hpc104_t::nwri_w(address_space &space, offs_t offset, UINT8 data, bool iom,
{
if (offset >= 0x1f000 && offset < 0x5f000)
{
- m_nvram[offset - 0x1f000] = data;
+ m_nvram[offset - 0x1f000] = data;
}
}
}
diff --git a/src/devices/bus/pofo/ram.h b/src/devices/bus/pofo/ram.h
index 77af70f33be..2bf6bed60f0 100644
--- a/src/devices/bus/pofo/ram.h
+++ b/src/devices/bus/pofo/ram.h
@@ -24,7 +24,7 @@
// ======================> portfolio_ram_card_t
class portfolio_ram_card_t : public device_t,
- public device_portfolio_memory_card_slot_interface,
+ public device_portfolio_memory_card_slot_interface,
public device_nvram_interface
{
public:
diff --git a/src/devices/bus/pofo/rom.h b/src/devices/bus/pofo/rom.h
index 48503fef58b..6ee7a1ffd04 100644
--- a/src/devices/bus/pofo/rom.h
+++ b/src/devices/bus/pofo/rom.h
@@ -23,7 +23,7 @@
// ======================> portfolio_rom_card_t
class portfolio_rom_card_t : public device_t,
- public device_portfolio_memory_card_slot_interface
+ public device_portfolio_memory_card_slot_interface
{
public:
// construction/destruction
diff --git a/src/devices/cpu/alto2/a2dht.cpp b/src/devices/cpu/alto2/a2dht.cpp
index 27f2103344c..cb2a0ee7fa9 100644
--- a/src/devices/cpu/alto2/a2dht.cpp
+++ b/src/devices/cpu/alto2/a2dht.cpp
@@ -9,48 +9,48 @@
/*
* Copied from ALTOCODE24.MU
- * ;Display Horizontal Task.
- * ;11 cycles if no block change, 17 if new control block.
+ * ;Display Horizontal Task.
+ * ;11 cycles if no block change, 17 if new control block.
*
- * DHT: MAR↠CBA-1;
- * L↠SLC -1, BUS=0;
- * SLC↠L, :DHT0;
+ * DHT: MAR↠CBA-1;
+ * L↠SLC -1, BUS=0;
+ * SLC↠L, :DHT0;
*
- * DHT0: T↠37400; MORE TO DO IN THIS BLOCK
- * SINK↠MD;
- * L↠T↠MD AND T, SETMODE;
- * HTAB↠L LCY 8, :NORMODE;
+ * DHT0: T↠37400; MORE TO DO IN THIS BLOCK
+ * SINK↠MD;
+ * L↠T↠MD AND T, SETMODE;
+ * HTAB↠L LCY 8, :NORMODE;
*
- * NORMODE:L↠T↠377 . T;
- * AECL↠L, :REST;
+ * NORMODE:L↠T↠377 . T;
+ * AECL↠L, :REST;
*
- * HALFMODE: L↠T↠377 . T;
- * AECL↠L, :REST, T↠0;
+ * HALFMODE: L↠T↠377 . T;
+ * AECL↠L, :REST, T↠0;
*
- * REST: L↠DWA + T,TASK; INCREMENT DWA BY 0 OR NWRDS
- * NDNX: DWA↠L, :DHT;
+ * REST: L↠DWA + T,TASK; INCREMENT DWA BY 0 OR NWRDS
+ * NDNX: DWA↠L, :DHT;
*
- * DHT1: L↠T↠MD+1, BUS=0;
- * CBA↠L, MAR↠T, :MOREB;
+ * DHT1: L↠T↠MD+1, BUS=0;
+ * CBA↠L, MAR↠T, :MOREB;
*
- * NOMORE: BLOCK, :DNX;
- * MOREB: T↠37400;
- * L↠T↠MD AND T, SETMODE;
- * MAR↠CBA+1, :NORMX, EVENFIELD;
+ * NOMORE: BLOCK, :DNX;
+ * MOREB: T↠37400;
+ * L↠T↠MD AND T, SETMODE;
+ * MAR↠CBA+1, :NORMX, EVENFIELD;
*
- * NORMX: HTAB↠L LCY 8, :NODD;
- * HALFX: HTAB↠L LCY 8, :NEVEN;
+ * NORMX: HTAB↠L LCY 8, :NODD;
+ * HALFX: HTAB↠L LCY 8, :NEVEN;
*
- * NODD: Lâ†T↠377 . T;
- * AECL↠L, :XREST; ODD FIELD, FULL RESOLUTION
+ * NODD: Lâ†T↠377 . T;
+ * AECL↠L, :XREST; ODD FIELD, FULL RESOLUTION
*
- * NEVEN: L↠377 AND T; EVEN FIELD OR HALF RESOLUTION
- * AECLâ†L, Tâ†0;
+ * NEVEN: L↠377 AND T; EVEN FIELD OR HALF RESOLUTION
+ * AECLâ†L, Tâ†0;
*
- * XREST: L↠MD+T;
- * Tâ†MD-1;
- * DNX: DWAâ†L, Lâ†T, TASK;
- * SLCâ†L, :DHT;
+ * XREST: L↠MD+T;
+ * Tâ†MD-1;
+ * DNX: DWAâ†L, Lâ†T, TASK;
+ * SLCâ†L, :DHT;
*/
/**
diff --git a/src/devices/cpu/alto2/a2dvt.cpp b/src/devices/cpu/alto2/a2dvt.cpp
index a3800a211a8..157774931f8 100644
--- a/src/devices/cpu/alto2/a2dvt.cpp
+++ b/src/devices/cpu/alto2/a2dvt.cpp
@@ -10,24 +10,24 @@
/*
* Copied from ALTOCODE24.MU
*
- * ;Display Vertical Task
+ * ;Display Vertical Task
*
- * DVT: MAR↠L↠DASTART+1;
- * CBA↠L, L↠0;
- * CURDATA↠L;
- * SLC↠L;
- * T↠MD; CAUSE A VERTICAL FIELD INTERRUPT
- * L↠NWW OR T;
- * MAR↠CURLOC; SET UP THE CURSOR
- * NWW↠L, T↠0-1;
- * L↠MD XOR T; HARDWARE EXPECTS X COMPLEMENTED
- * T↠MD, EVENFIELD;
- * CURX↠L, :DVT1;
+ * DVT: MAR↠L↠DASTART+1;
+ * CBA↠L, L↠0;
+ * CURDATA↠L;
+ * SLC↠L;
+ * T↠MD; CAUSE A VERTICAL FIELD INTERRUPT
+ * L↠NWW OR T;
+ * MAR↠CURLOC; SET UP THE CURSOR
+ * NWW↠L, T↠0-1;
+ * L↠MD XOR T; HARDWARE EXPECTS X COMPLEMENTED
+ * T↠MD, EVENFIELD;
+ * CURX↠L, :DVT1;
*
- * DVT1: L↠BIAS-T-1, TASK, :DVT2; BIAS THE Y COORDINATE
- * DVT11: L↠BIAS-T, TASK;
- *
- * DVT2: YPOS↠L, :DVT;
+ * DVT1: L↠BIAS-T-1, TASK, :DVT2; BIAS THE Y COORDINATE
+ * DVT11: L↠BIAS-T, TASK;
+ *
+ * DVT2: YPOS↠L, :DVT;
*/
/**
diff --git a/src/devices/cpu/alto2/a2dwt.cpp b/src/devices/cpu/alto2/a2dwt.cpp
index 81601138e91..c11523a02ef 100644
--- a/src/devices/cpu/alto2/a2dwt.cpp
+++ b/src/devices/cpu/alto2/a2dwt.cpp
@@ -10,32 +10,32 @@
/*
* Copied from ALTOCODE24.MU
*
- * ;Display Word Task
+ * ;Display Word Task
*
- * DWT: T↠DWA;
- * Tâ†-3+T+1;
- * L↠AECL+T,BUS=0,TASK; AECL CONTAINS NWRDS AT THIS TIME
- * AECLâ†L, :DWTZ;
+ * DWT: T↠DWA;
+ * Tâ†-3+T+1;
+ * L↠AECL+T,BUS=0,TASK; AECL CONTAINS NWRDS AT THIS TIME
+ * AECLâ†L, :DWTZ;
*
- * DWTY: BLOCK;
- * TASK, :DWTF;
+ * DWTY: BLOCK;
+ * TASK, :DWTF;
*
- * DWTZ: Lâ†HTAB-1, BUS=0,TASK;
- * HTABâ†L, :DOTAB;
+ * DWTZ: Lâ†HTAB-1, BUS=0,TASK;
+ * HTABâ†L, :DOTAB;
*
- * DOTAB: DDRâ†0, :DWTZ;
- * NOTAB: MARâ†Tâ†DWA;
- * Lâ†AECL-T-1;
- * ALUCY, Lâ†2+T;
- * DWAâ†L, :XNOMORE;
+ * DOTAB: DDRâ†0, :DWTZ;
+ * NOTAB: MARâ†Tâ†DWA;
+ * Lâ†AECL-T-1;
+ * ALUCY, Lâ†2+T;
+ * DWAâ†L, :XNOMORE;
*
- * DOMORE: DDRâ†MD, TASK;
- * DDRâ†MD, :NOTAB;
+ * DOMORE: DDRâ†MD, TASK;
+ * DDRâ†MD, :NOTAB;
*
- * XNOMORE:DDR↠MD, BLOCK;
- * DDR↠MD, TASK;
+ * XNOMORE:DDR↠MD, BLOCK;
+ * DDR↠MD, TASK;
*
- * DWTF: :DWT;
+ * DWTF: :DWT;
*/
//! PROM a38 bit O1 is STOPWAKE' (stop DWT if bit is zero)
diff --git a/src/devices/cpu/alto2/a2mem.cpp b/src/devices/cpu/alto2/a2mem.cpp
index f31c8d77878..2a09c0fab10 100644
--- a/src/devices/cpu/alto2/a2mem.cpp
+++ b/src/devices/cpu/alto2/a2mem.cpp
@@ -282,7 +282,7 @@
#define H5(hpb) X_BIT(hpb,8,5) //!< get Hamming code bit 5 from hpb data (really bit 37)
#define RH(hpb) X_RDBITS(hpb,8,0,5) //!< get Hamming code from hpb data (bits 32 to 37)
#define RP(hpb) X_BIT(hpb,8,6) //!< get parity bit from hpb data (really bit 38)
-#define RU(hpb) X_BIT(hpb,8,7) //!< get unused bit from hpb data (really bit 39) [unused]
+#define RU(hpb) X_BIT(hpb,8,7) //!< get unused bit from hpb data (really bit 39) [unused]
/**
* @brief Return even parity of a (masked) 32 bit value.
@@ -321,7 +321,7 @@ static const int hamming_lut[64] = {
* @brief Caluclate a Hamming code after reading or before writing a memory double-word.
*
* Hamming code generation is according to the schematics described above.
- *
+ *
* It's certainly overkill to do this on a modern PC, but I think we'll
* need it for perfect emulation anyways, e.g. Hamming code hardware checking.
*
@@ -374,7 +374,7 @@ UINT32 alto2_cpu_device::hamming_code(bool write, UINT32 dw_addr, UINT32 dw_data
/* a54: HC(3)A HC(4)A HCPA HCPB H(0/2) XX01 WD02 WD03 P PERR ---
- *
+ *
* Note: Here I XOR all the non dw_data inputs into bit 0,
* which has the same effect as spreading them over some bits
* and then counting them... I hope ;-)
@@ -636,7 +636,7 @@ void alto2_cpu_device::load_mar(UINT8 rsel, UINT32 addr)
m_mem.access = ALTO2_MEM_RAM;
// fetch the memory double-word to the read/write latches
m_mem.rmdd = m_mem.wmdd = m_mem.ram[m_mem.mar/2];
- m_mem.cycle = cycle(); // keep track of the current CPU cycle
+ m_mem.cycle = cycle(); // keep track of the current CPU cycle
} else {
m_mem.access = ALTO2_MEM_INVALID;
m_mem.rmdd = m_mem.wmdd = ~0;
diff --git a/src/devices/cpu/alto2/a2ram.cpp b/src/devices/cpu/alto2/a2ram.cpp
index 14fe24dd21e..d655f461bc2 100644
--- a/src/devices/cpu/alto2/a2ram.cpp
+++ b/src/devices/cpu/alto2/a2ram.cpp
@@ -236,7 +236,7 @@ void alto2_cpu_device::f1_late_swmode()
UINT16 next;
switch (m_cram_config) {
- case 1: // 1K CROM, 1K CRAM
+ case 1: // 1K CROM, 1K CRAM
switch (page) {
case 0:
branch_RAM("ROM0", 0);
@@ -249,7 +249,7 @@ void alto2_cpu_device::f1_late_swmode()
}
break;
- case 2: // 2K CROM, 1K CRAM
+ case 2: // 2K CROM, 1K CRAM
next = X_RDBITS(m_next2,10,1,1);
switch (page) {
case 0: /* ROM0 to RAM0 or ROM1 */
@@ -293,7 +293,7 @@ void alto2_cpu_device::f1_late_swmode()
}
break;
- case 3: // 1K CROM, 3K CRAM
+ case 3: // 1K CROM, 3K CRAM
next = X_RDBITS(m_next2,10,1,2);
switch (page) {
diff --git a/src/devices/cpu/alto2/alto2cpu.cpp b/src/devices/cpu/alto2/alto2cpu.cpp
index 4361539af97..6ff87fd785b 100644
--- a/src/devices/cpu/alto2/alto2cpu.cpp
+++ b/src/devices/cpu/alto2/alto2cpu.cpp
@@ -2603,7 +2603,7 @@ void alto2_cpu_device::execute_run()
case f1_task_13: // f1 13 task specific
switch (m_task) {
case task_emu: // emulator task
- if (m_cram_config == 3) // 3K CRAM available?
+ if (m_cram_config == 3) // 3K CRAM available?
f1_late_load_rmr();
else
f1_late_load_srb();
@@ -2946,18 +2946,18 @@ void alto2_cpu_device::soft_reset()
if (config)
m_cram_config = (config->read() >> 1) & 3;
switch (m_cram_config) {
- case 0: // invalid, default to 1
- case 1: // 1K CROM, 1K CRAM, 1 S register bank
+ case 0: // invalid, default to 1
+ case 1: // 1K CROM, 1K CRAM, 1 S register bank
m_ucode_rom_pages = 1;
m_ucode_ram_pages = 1;
m_sreg_banks = 1;
break;
- case 2: // 2K CROM, 1K CRAM, 1 S register bank
+ case 2: // 2K CROM, 1K CRAM, 1 S register bank
m_ucode_rom_pages = 2;
m_ucode_ram_pages = 1;
m_sreg_banks = 1;
break;
- case 3: // 1K CROM, 3K CRAM, 8 S register banks
+ case 3: // 1K CROM, 3K CRAM, 8 S register banks
m_ucode_rom_pages = 1;
m_ucode_ram_pages = 3;
m_sreg_banks = 8;
diff --git a/src/devices/cpu/h8/h8_sci.cpp b/src/devices/cpu/h8/h8_sci.cpp
index 7ae3f023712..976e7546a9a 100644
--- a/src/devices/cpu/h8/h8_sci.cpp
+++ b/src/devices/cpu/h8/h8_sci.cpp
@@ -142,7 +142,7 @@ READ8_MEMBER(h8_sci_device::tdr_r)
WRITE8_MEMBER(h8_sci_device::ssr_w)
{
cpu->synchronize();
-
+
if(!(scr & SCR_TE)) {
data |= SSR_TDRE;
ssr |= SSR_TDRE;
diff --git a/src/devices/cpu/upd7810/upd7810_dasm.cpp b/src/devices/cpu/upd7810/upd7810_dasm.cpp
index 2a078fe3dc8..c39cf0c1efc 100644
--- a/src/devices/cpu/upd7810/upd7810_dasm.cpp
+++ b/src/devices/cpu/upd7810/upd7810_dasm.cpp
@@ -3832,8 +3832,8 @@ const dasm_s dasm_s::XX_7807[256] =
{DCR, "C" }, // 53: 0101 0011
{JMP, "%w" }, // 54: 0101 0100 llll llll hhhh hhhh
{OFFIW, "%a,%b" }, // 55: 0101 0101 oooo oooo xxxx xxxx
- {ACI, "A,%b" }, // 56: 0101 0110 xxxx xxxx
- {OFFI, "A,%b" }, // 57: 0101 0111 xxxx xxxx
+ {ACI, "A,%b" }, // 56: 0101 0110 xxxx xxxx
+ {OFFI, "A,%b" }, // 57: 0101 0111 xxxx xxxx
{SETB, "%i" }, // 58: 0101 1000 bbbb bbbb 7807
{NOT, "%i" }, // 59: 0101 1001 bbbb bbbb 7807
{MOV, "%i,CY" }, // 5a: 0101 1010 bbbb bbbb 7807
@@ -3942,7 +3942,7 @@ const dasm_s dasm_s::XX_7807[256] =
{STAX, "(DE+%b)" }, // bb: 1011 1011 dddd dddd
{STAX, "(HL+A)" }, // bc: 1011 1100
{STAX, "(HL+B)" }, // bd: 1011 1101
- {STAX, "(HL+EA)" }, // be: 1011 1110
+ {STAX, "(HL+EA)" }, // be: 1011 1110
{STAX, "(HL+%b)" }, // bf: 1011 1111 dddd dddd
{JR, "%o" }, // c0: 11oo oooo
@@ -4867,7 +4867,7 @@ const dasm_s dasm_s::d4C_78c05[256] = {
// 0xC0 - 0xFF
{ MOV, "A,PA" }, { MOV, "A,PB" }, { MOV, "A,PC" }, { MOV, "A,MK" },
{ MOV, "A,MB" }, { MOV, "A,MC" }, { MOV, "A,TM0" }, { MOV, "A,TM1" },
- { MOV, "A,S" }, { }, { }, { }, // TODO: Figure out what regsiter C9 indicates
+ { MOV, "A,S" }, { }, { }, { }, // TODO: Figure out what regsiter C9 indicates
{ }, { }, { }, { },
{ }, { }, { }, { },
@@ -5403,7 +5403,7 @@ const dasm_s dasm_s::XX_78c05[256] = {
};
-// register names for bit manipulation instructions
+// register names for bit manipulation instructions
const char *const regname[32] =
{
"illegal", "illegal", "illegal", "illegal",
diff --git a/src/devices/machine/im6402.cpp b/src/devices/machine/im6402.cpp
index 4d3a7696b46..ed27e61279a 100644
--- a/src/devices/machine/im6402.cpp
+++ b/src/devices/machine/im6402.cpp
@@ -340,7 +340,7 @@ WRITE_LINE_MEMBER( im6402_device::crl_w )
else parity = PARITY_ODD;
set_data_frame(1, data_bit_count, parity, stop_bits);
-
+
receive_register_reset();
transmit_register_reset();
}
diff --git a/src/devices/machine/ldp1450.cpp b/src/devices/machine/ldp1450.cpp
index 477d3e3421b..2abf465f074 100644
--- a/src/devices/machine/ldp1450.cpp
+++ b/src/devices/machine/ldp1450.cpp
@@ -1,12 +1,12 @@
// license:BSD-3-Clause
/***************************************************************************
- Sony LDP-1450 laserdisc emulation.
+ Sony LDP-1450 laserdisc emulation.
- TODO:
- - Dump MCU BIOS(more than one?)
+ TODO:
+ - Dump MCU BIOS(more than one?)
- Many players support this command set, split out other device stubs (such as LDP-1550P, PAL)
- - Text overlay (needed for practically everything)
+ - Text overlay (needed for practically everything)
***************************************************************************/
#include "emu.h"
@@ -15,14 +15,14 @@
#define DUMP_BCD 1
#define FIFO_MAX 0x10
-#define LDP_STAT_UNDEF 0x00
-#define LDP_STAT_COMPLETION 0x01
-#define LDP_STAT_ERROR 0x02
-#define LDP_STAT_PGM_END 0x04
-#define LDP_STAT_NOT_TARGET 0x05
-#define LDP_STAT_NO_FRAME 0x06
-#define LDP_STAT_ACK 0x0a
-#define LDP_STAT_NAK 0x0b
+#define LDP_STAT_UNDEF 0x00
+#define LDP_STAT_COMPLETION 0x01
+#define LDP_STAT_ERROR 0x02
+#define LDP_STAT_PGM_END 0x04
+#define LDP_STAT_NOT_TARGET 0x05
+#define LDP_STAT_NO_FRAME 0x06
+#define LDP_STAT_ACK 0x0a
+#define LDP_STAT_NAK 0x0b
ROM_START( ldp1450 )
ROM_REGION( 0x2000, "ldp1450", 0 )
@@ -78,7 +78,7 @@ void sony_ldp1450_device::device_start()
void sony_ldp1450_device::device_reset()
{
laserdisc_device::device_reset();
-
+
for(int i=0;i<0x10;i++)
m_internal_bcd[i] = 0;
@@ -156,18 +156,18 @@ UINT32 sony_ldp1450_device::bcd_to_raw()
void sony_ldp1450_device::exec_enter_cmd()
{
const UINT32 saved_frame = bcd_to_raw();
-
+
switch(m_player_state)
{
case player_standby:
throw emu_fatalerror("Unimplemented standby state detected");
-
+
case player_search:
// TODO: move to timer
advance_slider(1);
set_slider_speed(saved_frame);
break;
-
+
default:
//not handling all states yet
break;
@@ -188,7 +188,7 @@ void sony_ldp1450_device::command_w(UINT8 data)
switch(m_command)
{
-
+
case 0x00: /* text handling (start gotoxy) */
if ( m_ld_input_state == LD_INPUT_TEXT_COMMAND )
{
@@ -238,7 +238,7 @@ void sony_ldp1450_device::command_w(UINT8 data)
//30 to 39 handled separately, as they are the frame commands
case 0x3a: /* Play (answer should have delay) */
printf("play\n");
- set_new_player_state(player_play);
+ set_new_player_state(player_play);
m_status = LDP_STAT_ACK;
break;
case 0x3b: /* Play fast */
@@ -262,7 +262,7 @@ void sony_ldp1450_device::command_w(UINT8 data)
break;
case 0x41: /* CE */
break;
-
+
case 0x43: // search
printf("Search \n");
set_new_player_state(player_search);
@@ -274,13 +274,13 @@ void sony_ldp1450_device::command_w(UINT8 data)
set_new_player_state(player_repeat);
m_status = LDP_STAT_ACK;
break;
-
+
/*
- audio channels absolute enable / disable
- ---- --x- select channel
- ---- ---x enable channel (active low)
+ audio channels absolute enable / disable
+ ---- --x- select channel
+ ---- ---x enable channel (active low)
*/
- case 0x46:
+ case 0x46:
case 0x47:
case 0x48:
case 0x49:
@@ -313,7 +313,7 @@ void sony_ldp1450_device::command_w(UINT8 data)
break;
case 0x55: /* 'frame mode' (unknown function) */
break;
-
+
case 0x56: // Clear All
if (m_player_state == player_search)
{
@@ -321,7 +321,7 @@ void sony_ldp1450_device::command_w(UINT8 data)
set_new_player_state(player_search_clr);
}
-
+
m_status = LDP_STAT_ACK;
// reset any pending operation here
break;
@@ -335,7 +335,7 @@ void sony_ldp1450_device::command_w(UINT8 data)
break;
case 0x62: /* Motor on */
break;
- case 0x6e: // CX enable - anything use it?
+ case 0x6e: // CX enable - anything use it?
break;
case 0x80: /* text start */
@@ -346,7 +346,7 @@ void sony_ldp1450_device::command_w(UINT8 data)
break;
case 0x82: /* Turn off text */
break;
-
+
default:
m_status = LDP_STAT_UNDEF;
break;
diff --git a/src/devices/machine/ldp1450.h b/src/devices/machine/ldp1450.h
index 0cc7291c5ec..9380ede4cfd 100644
--- a/src/devices/machine/ldp1450.h
+++ b/src/devices/machine/ldp1450.h
@@ -1,7 +1,7 @@
// license:BSD-3-Clause
/***************************************************************************
- Sony LDP-1450 laserdisc emulation.
+ Sony LDP-1450 laserdisc emulation.
***************************************************************************/
@@ -45,7 +45,7 @@ protected:
virtual void device_start() override;
virtual void device_reset() override;
virtual const tiny_rom_entry *device_rom_region() const override;
-
+
virtual void player_vsync(const vbi_metadata &vbi, int fieldnum, const attotime &curtime) override;
virtual INT32 player_update(const vbi_metadata &vbi, int fieldnum, const attotime &curtime) override;
virtual void player_overlay(bitmap_yuy16 &bitmap) override { }
@@ -75,7 +75,7 @@ protected:
player_stop,
player_repeat
};
-
+
private:
UINT8 m_command;
UINT8 m_status;
@@ -87,7 +87,7 @@ private:
void exec_enter_cmd();
UINT8 m_internal_bcd[0x10];
UINT8 m_index_state;
-
+
};
diff --git a/src/devices/machine/mc6852.cpp b/src/devices/machine/mc6852.cpp
index e8ed3241b92..e4a5ffbf1fd 100644
--- a/src/devices/machine/mc6852.cpp
+++ b/src/devices/machine/mc6852.cpp
@@ -196,7 +196,7 @@ WRITE8_MEMBER( mc6852_device::write )
/* control 2 */
if (LOG) logerror("MC6852 '%s' Control 2 %02x\n", tag(), data);
m_cr[1] = data;
-
+
int data_bit_count = 0;
parity_t parity = PARITY_NONE;
stop_bits_t stop_bits = STOP_BITS_1;
@@ -242,7 +242,7 @@ WRITE8_MEMBER( mc6852_device::write )
else
{
if (LOG) logerror("MC6852 '%s' Control 1 %02x\n", tag(), data);
-
+
/* receiver reset */
if (data & C1_RX_RS)
{
@@ -273,7 +273,7 @@ WRITE8_MEMBER( mc6852_device::write )
if (LOG) logerror("MC6852 '%s' Transmitter Reset\n", tag());
m_status &= ~(S_TUF | S_CTS | S_TDRA);
-
+
transmit_register_reset();
}
diff --git a/src/devices/sound/aica.cpp b/src/devices/sound/aica.cpp
index 99fa33a4ea4..b434643437d 100644
--- a/src/devices/sound/aica.cpp
+++ b/src/devices/sound/aica.cpp
@@ -353,7 +353,7 @@ signed short aica_device::DecodeADPCM(int *PrevSignal, unsigned char Delta, int
{
int x = (*PrevQuant * quant_mul[Delta & 7]) / 8;
if (x > 0x7FFF) x = 0x7FFF;
- if (Delta & 8) x = -x;
+ if (Delta & 8) x = -x;
x += *PrevSignal;
#if 0 // older implementation
int x = *PrevQuant * quant_mul [Delta & 15];
diff --git a/src/devices/sound/c352.cpp b/src/devices/sound/c352.cpp
index bb4082664c7..a34f5aac362 100644
--- a/src/devices/sound/c352.cpp
+++ b/src/devices/sound/c352.cpp
@@ -1,19 +1,19 @@
// license:BSD-3-Clause
// copyright-holders:R. Belmont, superctr
/*
- c352.c - Namco C352 custom PCM chip emulation
- v2.0
- By R. Belmont
- Rewritten and improved by superctr
- Additional code by cync and the hoot development team
-
- Thanks to Cap of VivaNonno for info and The_Author for preliminary reverse-engineering
-
- Chip specs:
- 32 voices
- Supports 8-bit linear and 8-bit muLaw samples
- Output: digital, 16 bit, 4 channels
- Output sample rate is the input clock / (288 * 2).
+ c352.c - Namco C352 custom PCM chip emulation
+ v2.0
+ By R. Belmont
+ Rewritten and improved by superctr
+ Additional code by cync and the hoot development team
+
+ Thanks to Cap of VivaNonno for info and The_Author for preliminary reverse-engineering
+
+ Chip specs:
+ 32 voices
+ Supports 8-bit linear and 8-bit muLaw samples
+ Output: digital, 16 bit, 4 channels
+ Output sample rate is the input clock / (288 * 2).
*/
#include "emu.h"
diff --git a/src/devices/sound/c352.h b/src/devices/sound/c352.h
index aa1eab68334..6746eb44795 100644
--- a/src/devices/sound/c352.h
+++ b/src/devices/sound/c352.h
@@ -94,8 +94,8 @@ private:
c352_voice_t m_c352_v[32];
INT16 m_mulaw_table[256];
- UINT16 m_random;
- UINT16 m_control; // control flags, purpose unknown.
+ UINT16 m_random;
+ UINT16 m_control; // control flags, purpose unknown.
void fetch_sample(c352_voice_t* v);
diff --git a/src/devices/sound/pcd3311.cpp b/src/devices/sound/pcd3311.cpp
index 840cdb7ee2f..799e96b4311 100644
--- a/src/devices/sound/pcd3311.cpp
+++ b/src/devices/sound/pcd3311.cpp
@@ -2,7 +2,7 @@
// copyright-holders:Curt Coder
/**********************************************************************
- PCD3311 DTMF/modem/musical tone generator emulation
+ PCD3311 DTMF/modem/musical tone generator emulation
**********************************************************************/
diff --git a/src/devices/sound/pcd3311.h b/src/devices/sound/pcd3311.h
index 2c50a0a987a..0467afc416c 100644
--- a/src/devices/sound/pcd3311.h
+++ b/src/devices/sound/pcd3311.h
@@ -2,7 +2,7 @@
// copyright-holders:Curt Coder
/**********************************************************************
- PCD3311 DTMF/modem/musical tone generator emulation
+ PCD3311 DTMF/modem/musical tone generator emulation
**********************************************************************
_____ _____
diff --git a/src/devices/video/gba_lcd.cpp b/src/devices/video/gba_lcd.cpp
index 837e42575c1..c2c2044888c 100644
--- a/src/devices/video/gba_lcd.cpp
+++ b/src/devices/video/gba_lcd.cpp
@@ -51,11 +51,11 @@
#define WININ HWLO(0x048) /* 0x4000048 2 R/W Inside of Window 0 and 1 */
#define WINOUT HWHI(0x048) /* 0x400004A 2 R/W Inside of OBJ Window & Outside of Windows */
#define MOSAIC HWLO(0x04C) /* 0x400004C 2 W Mosaic Size */
- /* 0x400004E 2 - Unused */
+ /* 0x400004E 2 - Unused */
#define BLDCNT HWLO(0x050) /* 0x4000050 2 R/W Color Special Effects Selection */
#define BLDALPHA HWHI(0x050) /* 0x4000052 2 W Alpha Blending Coefficients */
#define BLDY HWLO(0x054) /* 0x4000054 2 W Brightness (Fade-In/Out) Coefficient */
- /* 0x4000056 2 - Unused */
+ /* 0x4000056 2 - Unused */
#define DISPSTAT_SET(val) HWLO_SET(0x004, val)
#define DISPSTAT_RESET(val) HWLO_RESET(0x004, val)
@@ -132,7 +132,7 @@ public:
{
attr0 = oam[(4 * index) + 0];
attr1 = oam[(4 * index) + 1];
- attr2 = oam[(4 * index) + 2];
+ attr2 = oam[(4 * index) + 2];
}
int pos_y() { return attr0 & 0x00FF; }
@@ -168,7 +168,7 @@ public:
{ { 8, 16 }, { 8, 32 }, { 16, 32 }, { 32, 64 } }, // vertical rect
{ { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 } } // invalid
};
-
+
int shape = (attr0 & 0xC000) >> 14;
int size = (attr1 & 0xC000) >> 14;
@@ -184,7 +184,7 @@ private:
UINT16 attr0;
UINT16 attr1;
- UINT16 attr2;
+ UINT16 attr2;
};
inline UINT32 gba_lcd_device::bg_screen_base(UINT32 bgxcnt)
@@ -204,7 +204,7 @@ inline void gba_lcd_device::bg_screen_size(UINT16 bgxcnt, bool text, int &width,
{ { 256, 256 }, { 512, 256 }, { 256, 512 }, { 512, 512 } }, // text mode
{ { 128, 128 }, { 256, 256 }, { 512, 512 }, { 1024, 1024 } } // rotation/scaling (roz) mode
};
-
+
int mode = text ? 0 : 1;
int size = (bgxcnt & 0xC000) >> 14;
diff --git a/src/emu/device.h b/src/emu/device.h
index 6892157e084..6f2db9b6785 100644
--- a/src/emu/device.h
+++ b/src/emu/device.h
@@ -362,7 +362,7 @@ private:
bool m_config_complete; // have we completed our configuration?
bool m_started; // true if the start function has succeeded
finder_base * m_auto_finder_list; // list of objects to auto-find
- mutable std::vector<rom_entry> m_rom_entries;
+ mutable std::vector<rom_entry> m_rom_entries;
// string formatting buffer for logerror
mutable util::ovectorstream m_string_buffer;
diff --git a/src/emu/diimage.cpp b/src/emu/diimage.cpp
index a989d86922d..c95e9c6a60e 100644
--- a/src/emu/diimage.cpp
+++ b/src/emu/diimage.cpp
@@ -1253,7 +1253,7 @@ void device_image_interface::update_names(const device_type device_type, const c
}
//-------------------------------------------------
-// find_software_item
+// find_software_item
//-------------------------------------------------
const software_part *device_image_interface::find_software_item(const std::string &identifier, bool restrict_to_interface, software_list_device **dev) const
diff --git a/src/emu/dirom.cpp b/src/emu/dirom.cpp
index a59a1d6a4f9..75ca04b1546 100644
--- a/src/emu/dirom.cpp
+++ b/src/emu/dirom.cpp
@@ -2,8 +2,8 @@
device_rom_interface::device_rom_interface(const machine_config &mconfig, device_t &device, UINT8 addrwidth, endianness_t endian, UINT8 datawidth) :
- device_memory_interface(mconfig, device),
- m_rom_config("rom", endian, datawidth, addrwidth)
+ device_memory_interface(mconfig, device),
+ m_rom_config("rom", endian, datawidth, addrwidth)
{
}
@@ -13,7 +13,7 @@ device_rom_interface::~device_rom_interface()
const address_space_config *device_rom_interface::memory_space_config(address_spacenum spacenum) const
{
- return spacenum ? nullptr : &m_rom_config;
+ return spacenum ? nullptr : &m_rom_config;
}
void device_rom_interface::set_rom_bank(int bank)
diff --git a/src/emu/divtlb.h b/src/emu/divtlb.h
index 050b019e5c0..219de2c4ca9 100644
--- a/src/emu/divtlb.h
+++ b/src/emu/divtlb.h
@@ -83,7 +83,7 @@ private:
std::vector<offs_t> m_live; // array of live entries by table index
std::vector<int> m_fixedpages; // number of pages each fixed entry covers
std::vector<vtlb_entry> m_table; // table of entries by address
- vtlb_entry *m_table_base; // pointer to m_table[0]
+ vtlb_entry *m_table_base; // pointer to m_table[0]
};
diff --git a/src/emu/drivers/xtal.h b/src/emu/drivers/xtal.h
index 0bd5567f0fa..280e1d02879 100644
--- a/src/emu/drivers/xtal.h
+++ b/src/emu/drivers/xtal.h
@@ -60,7 +60,7 @@ enum
XTAL_3_12MHz = 3120000, /* SP0250 clock on Gottlieb games */
XTAL_3_5MHz = 3500000, /* Reported by Commodore 65 document, true xtal unchecked on PCB */
XTAL_3_52128MHz = 3521280, /* RCA COSMAC VIP */
- XTAL_3_57864MHz = 3578640, /* Atari Portfolio PCD3311T */
+ XTAL_3_57864MHz = 3578640, /* Atari Portfolio PCD3311T */
XTAL_3_579545MHz = 3579545, /* NTSC color subcarrier, extremely common, used on 100's of PCBs (Keytronic custom part #48-300-010 is equivalent) */
XTAL_3_6864MHz = 3686400, /* CPS3 */
XTAL_4MHz = 4000000,
diff --git a/src/emu/emucore.h b/src/emu/emucore.h
index b27c8576585..7aadaa170a5 100644
--- a/src/emu/emucore.h
+++ b/src/emu/emucore.h
@@ -355,12 +355,12 @@ constexpr inline enable_enum_t<E>
underlying_value(E e) noexcept
{
return static_cast< typename std::underlying_type<E>::type >( e );
-}
+}
// template function which takes an integral value and returns its representation as enumerator (even strongly typed)
template <typename E , typename T>
constexpr inline typename std::enable_if_t<std::is_enum<E>::value && std::is_integral<T>::value, E>
-enum_value(T value) noexcept
+enum_value(T value) noexcept
{
return static_cast<E>(value);
}
diff --git a/src/emu/romentry.cpp b/src/emu/romentry.cpp
index 106a559e927..57e005adb37 100644
--- a/src/emu/romentry.cpp
+++ b/src/emu/romentry.cpp
@@ -2,9 +2,9 @@
// copyright-holders:Nicola Salmoria,Aaron Giles
/*********************************************************************
- romentry.cpp
+ romentry.cpp
- ROM loading functions.
+ ROM loading functions.
*********************************************************************/
@@ -13,13 +13,13 @@
/***************************************************************************
- HELPERS
+ HELPERS
***************************************************************************/
//-------------------------------------------------
// hashdata_from_tiny_rom_entry - calculates the
-// proper hashdata string from the value in the
-// tiny_rom_entry
+// proper hashdata string from the value in the
+// tiny_rom_entry
//-------------------------------------------------
static std::string hashdata_from_tiny_rom_entry(const tiny_rom_entry &ent)
@@ -29,7 +29,7 @@ static std::string hashdata_from_tiny_rom_entry(const tiny_rom_entry &ent)
{
case ROMENTRYTYPE_FILL:
case ROMENTRYTYPE_COPY:
- // for these types, tiny_rom_entry::hashdata is an integer typecasted to a pointer
+ // for these types, tiny_rom_entry::hashdata is an integer typecasted to a pointer
result = string_format("0x%x", (unsigned)(FPTR)ent.hashdata);
break;
@@ -43,7 +43,7 @@ static std::string hashdata_from_tiny_rom_entry(const tiny_rom_entry &ent)
/***************************************************************************
- ROM ENTRY
+ ROM ENTRY
***************************************************************************/
//-------------------------------------------------
diff --git a/src/emu/softlist.cpp b/src/emu/softlist.cpp
index 00384c615b7..684c83a82c5 100644
--- a/src/emu/softlist.cpp
+++ b/src/emu/softlist.cpp
@@ -219,7 +219,7 @@ softlist_parser::softlist_parser(util::core_file &file, const std::string &filen
//-------------------------------------------------
-// line
+// line
//-------------------------------------------------
int softlist_parser::line() const
@@ -229,7 +229,7 @@ int softlist_parser::line() const
//-------------------------------------------------
-// column
+// column
//-------------------------------------------------
int softlist_parser::column() const
@@ -239,7 +239,7 @@ int softlist_parser::column() const
//-------------------------------------------------
-// parser_error
+// parser_error
//-------------------------------------------------
const char *softlist_parser::parser_error() const
@@ -822,8 +822,8 @@ void softlist_parser::parse_soft_end(const char *tagname)
//-------------------------------------------------
// software_name_parse - helper that splits a
-// software identifier (software_list:software:part)
-// string into separate software_list, software, and part
+// software identifier (software_list:software:part)
+// string into separate software_list, software, and part
// strings.
//
// str1:str2:str3 => swlist_name - str1, swname - str2, swpart - str3
diff --git a/src/emu/softlist.h b/src/emu/softlist.h
index 8f39639db75..a47ab9417f0 100644
--- a/src/emu/softlist.h
+++ b/src/emu/softlist.h
@@ -4,7 +4,7 @@
softlist.h
- Software list file format.
+ Software list file format.
*********************************************************************/
@@ -190,13 +190,13 @@ private:
void parse_soft_end(const char *name);
// internal parsing state
- util::core_file & m_file;
- std::string m_filename;
- std::list<software_info> & m_infolist;
- std::ostringstream & m_errors;
- struct XML_ParserStruct * m_parser;
- bool m_done;
- std::string & m_description;
+ util::core_file & m_file;
+ std::string m_filename;
+ std::list<software_info> & m_infolist;
+ std::ostringstream & m_errors;
+ struct XML_ParserStruct * m_parser;
+ bool m_done;
+ std::string & m_description;
bool m_data_accum_expected;
std::string m_data_accum;
software_info * m_current_info;
diff --git a/src/emu/softlist_dev.cpp b/src/emu/softlist_dev.cpp
index ce6d96a24d2..5a843b32e6c 100644
--- a/src/emu/softlist_dev.cpp
+++ b/src/emu/softlist_dev.cpp
@@ -2,9 +2,9 @@
// copyright-holders:Wilbert Pol
/***************************************************************************
- softlist_dev.cpp
+ softlist_dev.cpp
- Software list construction helpers.
+ Software list construction helpers.
***************************************************************************/
diff --git a/src/emu/softlist_dev.h b/src/emu/softlist_dev.h
index c144c93bc4a..3703516cbdf 100644
--- a/src/emu/softlist_dev.h
+++ b/src/emu/softlist_dev.h
@@ -2,9 +2,9 @@
// copyright-holders:Wilbert Pol
/*********************************************************************
- softlist_dev.h
+ softlist_dev.h
- Software and software list information.
+ Software and software list information.
*********************************************************************/
diff --git a/src/frontend/mame/ui/swlist.cpp b/src/frontend/mame/ui/swlist.cpp
index 6126f433e39..7fbd453217e 100644
--- a/src/frontend/mame/ui/swlist.cpp
+++ b/src/frontend/mame/ui/swlist.cpp
@@ -32,8 +32,8 @@ namespace ui {
//-------------------------------------------------
// is_valid_softlist_part_char - returns whether
-// this character is a valid char for a softlist
-// part
+// this character is a valid char for a softlist
+// part
//-------------------------------------------------
static bool is_valid_softlist_part_char(unicode_char ch)
diff --git a/src/lib/formats/cassimg.cpp b/src/lib/formats/cassimg.cpp
index ad6ec84cf39..ac2e9f56900 100644
--- a/src/lib/formats/cassimg.cpp
+++ b/src/lib/formats/cassimg.cpp
@@ -909,7 +909,7 @@ cassette_image::error cassette_legacy_construct(cassette_image *cassette,
bytes.resize(size);
cassette_image_read(cassette, &bytes[0], 0, size);
sample_count = args.chunk_sample_calc(&bytes[0], (int)size);
-
+
// chunk_sample_calc functions report errors by returning negative numbers
if (sample_count < 0)
{
diff --git a/src/lib/formats/cassimg.h b/src/lib/formats/cassimg.h
index 51ad96ca9fe..0bf8865e6ff 100644
--- a/src/lib/formats/cassimg.h
+++ b/src/lib/formats/cassimg.h
@@ -87,12 +87,12 @@ struct cassette_image
{
enum class error
{
- SUCCESS, // no error
- INTERNAL, // fatal internal error
- UNSUPPORTED, // this operation is unsupported
- OUT_OF_MEMORY, // ran out of memory
- INVALID_IMAGE, // invalid image
- READ_WRITE_UNSUPPORTED // read/write is not supported by this image format
+ SUCCESS, // no error
+ INTERNAL, // fatal internal error
+ UNSUPPORTED, // this operation is unsupported
+ OUT_OF_MEMORY, // ran out of memory
+ INVALID_IMAGE, // invalid image
+ READ_WRITE_UNSUPPORTED // read/write is not supported by this image format
};
const struct CassetteFormat *format;
diff --git a/src/lib/netlist/nl_base.h b/src/lib/netlist/nl_base.h
index f76b7b8e673..f47ee3cbdae 100644
--- a/src/lib/netlist/nl_base.h
+++ b/src/lib/netlist/nl_base.h
@@ -144,7 +144,7 @@ class NETLIB_NAME(name) : public device_t
#define NL_NOEXCEPT
#else
#define nl_assert(x) do { if (0) if (!(x)) { /*throw nl_exception(plib::pfmt("assert: {1}:{2}: {3}")(__FILE__)(__LINE__)(#x) ); */} } while (0)
-#define NL_NOEXCEPT noexcept
+#define NL_NOEXCEPT noexcept
#endif
#define nl_assert_always(x, msg) do { if (!(x)) throw nl_exception(plib::pfmt("Fatal error: {1}\nCaused by assert: {2}:{3}: {4}")(msg)(__FILE__)(__LINE__)(#x)); } while (0)
diff --git a/src/lib/netlist/tools/nl_convert.cpp b/src/lib/netlist/tools/nl_convert.cpp
index 978be90caaf..db1fb5bb3c9 100644
--- a/src/lib/netlist/tools/nl_convert.cpp
+++ b/src/lib/netlist/tools/nl_convert.cpp
@@ -492,14 +492,14 @@ void nl_convert_eagle_t::convert(const pstring &contents)
}
-/* token_id_t m_tok_HFA;
- token_id_t m_tok_APP;
- token_id_t m_tok_TIM;
- token_id_t m_tok_TYP;
- token_id_t m_tok_ADDC;
- token_id_t m_tok_ATTC;
- token_id_t m_tok_NET;
- token_id_t m_tok_TER;
+/* token_id_t m_tok_HFA;
+ token_id_t m_tok_APP;
+ token_id_t m_tok_TIM;
+ token_id_t m_tok_TYP;
+ token_id_t m_tok_ADDC;
+ token_id_t m_tok_ATTC;
+ token_id_t m_tok_NET;
+ token_id_t m_tok_TER;
*
*/
void nl_convert_rinf_t::convert(const pstring &contents)
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)
diff --git a/src/mame/includes/mpu4.h b/src/mame/includes/mpu4.h
index 5afe081044b..87063bfd951 100644
--- a/src/mame/includes/mpu4.h
+++ b/src/mame/includes/mpu4.h
@@ -198,7 +198,7 @@ public:
DECLARE_DRIVER_INIT(m4_five_reel_alt);
DECLARE_DRIVER_INIT(m4_six_reel_std);
DECLARE_DRIVER_INIT(m4_six_reel_alt);
- DECLARE_DRIVER_INIT(m4_seven_reel);
+ DECLARE_DRIVER_INIT(m4_seven_reel);
DECLARE_DRIVER_INIT(m4_small_extender);
DECLARE_DRIVER_INIT(m4_large_extender_a);
DECLARE_DRIVER_INIT(m4_large_extender_b);
@@ -326,7 +326,7 @@ protected:
int m_led_lamp;
int m_link7a_connected;
int m_low_volt_detect_disable;
- int m_aux1_invert;
+ int m_aux1_invert;
int m_aux2_invert;
int m_door_invert;
emu_timer *m_ic24_timer;
diff --git a/src/mame/includes/namconb1.h b/src/mame/includes/namconb1.h
index 7c74be632d4..2cd73c8a659 100644
--- a/src/mame/includes/namconb1.h
+++ b/src/mame/includes/namconb1.h
@@ -116,7 +116,7 @@ public:
TIMER_DEVICE_CALLBACK_MEMBER(mcu_irq0_cb);
TIMER_DEVICE_CALLBACK_MEMBER(mcu_irq2_cb);
TIMER_DEVICE_CALLBACK_MEMBER(mcu_adc_cb);
-
+
int NB1objcode2tile(int code);
int NB2objcode2tile(int code);
};
diff --git a/src/mame/layout/crusnusa.lay b/src/mame/layout/crusnusa.lay
index 004223f45e0..833e815944f 100644
--- a/src/mame/layout/crusnusa.lay
+++ b/src/mame/layout/crusnusa.lay
@@ -70,7 +70,7 @@
<bounds x="0.0" y="0.0" width="5.0" height="1.0" />
</text>
</element>
-
+
<element name="counter" defstate="0">
<simplecounter digits="3">
<color red="1.0" green="1.0" blue="1.0" />
@@ -96,7 +96,7 @@
<bezel name="lamp3" element="view3">
<bounds x="0.1" y="3.325" width="0.5" height="0.1" />
</bezel>
-
+
<bezel name="lamp4" element="lamp">
<bounds x="1.785" y="3.2" width="0.1" height="0.1" />
</bezel>
@@ -109,7 +109,7 @@
<bezel name="lamp7" element="lamp">
<bounds x="2.115" y="3.2" width="0.1" height="0.1" />
</bezel>
-
+
<bezel name="wheel" element="counter">
<bounds x="1.9" y="3.0" width="0.2" height="0.1" />
</bezel>
diff --git a/src/mame/layout/m1albsqp.lay b/src/mame/layout/m1albsqp.lay
index ead364cdb9a..32985a7b7a8 100644
--- a/src/mame/layout/m1albsqp.lay
+++ b/src/mame/layout/m1albsqp.lay
@@ -11428,4 +11428,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1apollo2.lay b/src/mame/layout/m1apollo2.lay
index 6b70a505f0e..cc7a1019d01 100644
--- a/src/mame/layout/m1apollo2.lay
+++ b/src/mame/layout/m1apollo2.lay
@@ -16086,4 +16086,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1bargnc.lay b/src/mame/layout/m1bargnc.lay
index 129d410b5d0..88a3eea578b 100644
--- a/src/mame/layout/m1bargnc.lay
+++ b/src/mame/layout/m1bargnc.lay
@@ -10716,4 +10716,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1bghou.lay b/src/mame/layout/m1bghou.lay
index 027ade91acb..3ef1238a10f 100644
--- a/src/mame/layout/m1bghou.lay
+++ b/src/mame/layout/m1bghou.lay
@@ -11440,4 +11440,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1bigdel.lay b/src/mame/layout/m1bigdel.lay
index 6ff8e0c5e74..07018a41295 100644
--- a/src/mame/layout/m1bigdel.lay
+++ b/src/mame/layout/m1bigdel.lay
@@ -11804,4 +11804,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1calypsa.lay b/src/mame/layout/m1calypsa.lay
index 55f060225c0..88a2fcd484b 100644
--- a/src/mame/layout/m1calypsa.lay
+++ b/src/mame/layout/m1calypsa.lay
@@ -14140,4 +14140,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1casclb.lay b/src/mame/layout/m1casclb.lay
index fe12d3c7bf4..5f11c5918cd 100644
--- a/src/mame/layout/m1casclb.lay
+++ b/src/mame/layout/m1casclb.lay
@@ -8748,4 +8748,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1casroy1.lay b/src/mame/layout/m1casroy1.lay
index 1b4ceed7ebf..9fdc2b1cad8 100644
--- a/src/mame/layout/m1casroy1.lay
+++ b/src/mame/layout/m1casroy1.lay
@@ -9820,4 +9820,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1chain.lay b/src/mame/layout/m1chain.lay
index c9bf6087631..c037ef7183f 100644
--- a/src/mame/layout/m1chain.lay
+++ b/src/mame/layout/m1chain.lay
@@ -11384,4 +11384,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1cik51o.lay b/src/mame/layout/m1cik51o.lay
index b395a83e816..6d3f41e1ee1 100644
--- a/src/mame/layout/m1cik51o.lay
+++ b/src/mame/layout/m1cik51o.lay
@@ -13298,4 +13298,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1clbfvr.lay b/src/mame/layout/m1clbfvr.lay
index 79f95cf3a00..b2d135d4e2b 100644
--- a/src/mame/layout/m1clbfvr.lay
+++ b/src/mame/layout/m1clbfvr.lay
@@ -17182,4 +17182,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1cluecb1.lay b/src/mame/layout/m1cluecb1.lay
index c87d0d3a7c5..751fb001f1d 100644
--- a/src/mame/layout/m1cluecb1.lay
+++ b/src/mame/layout/m1cluecb1.lay
@@ -13996,4 +13996,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1cluedo4.lay b/src/mame/layout/m1cluedo4.lay
index 91945ac1363..ba4cdc0fe98 100644
--- a/src/mame/layout/m1cluedo4.lay
+++ b/src/mame/layout/m1cluedo4.lay
@@ -13304,4 +13304,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1cluessf.lay b/src/mame/layout/m1cluessf.lay
index 96636f23783..4faaef46a56 100644
--- a/src/mame/layout/m1cluessf.lay
+++ b/src/mame/layout/m1cluessf.lay
@@ -18466,4 +18466,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1coro21n.lay b/src/mame/layout/m1coro21n.lay
index f6de87dbcc3..4962ec01dc4 100644
--- a/src/mame/layout/m1coro21n.lay
+++ b/src/mame/layout/m1coro21n.lay
@@ -11556,4 +11556,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1cororrk.lay b/src/mame/layout/m1cororrk.lay
index 043a37eeb78..2d45561833d 100644
--- a/src/mame/layout/m1cororrk.lay
+++ b/src/mame/layout/m1cororrk.lay
@@ -12682,4 +12682,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1dkong91n.lay b/src/mame/layout/m1dkong91n.lay
index af11164c27a..ee29a20b9fb 100644
--- a/src/mame/layout/m1dkong91n.lay
+++ b/src/mame/layout/m1dkong91n.lay
@@ -14826,4 +14826,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1dxmono51o.lay b/src/mame/layout/m1dxmono51o.lay
index 9516b5c2cc6..2d6a3829ec5 100644
--- a/src/mame/layout/m1dxmono51o.lay
+++ b/src/mame/layout/m1dxmono51o.lay
@@ -12012,4 +12012,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1eastndl.lay b/src/mame/layout/m1eastndl.lay
index eaa031e2261..04c908b6495 100644
--- a/src/mame/layout/m1eastndl.lay
+++ b/src/mame/layout/m1eastndl.lay
@@ -13510,4 +13510,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1eastqv3.lay b/src/mame/layout/m1eastqv3.lay
index 814a0e045d6..c17cd383f24 100644
--- a/src/mame/layout/m1eastqv3.lay
+++ b/src/mame/layout/m1eastqv3.lay
@@ -12466,4 +12466,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1fantfbb.lay b/src/mame/layout/m1fantfbb.lay
index 367c61afb0a..0d8471bd71b 100644
--- a/src/mame/layout/m1fantfbb.lay
+++ b/src/mame/layout/m1fantfbb.lay
@@ -14190,4 +14190,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1fightb.lay b/src/mame/layout/m1fightb.lay
index 426cb0babd5..01ad19ddced 100644
--- a/src/mame/layout/m1fightb.lay
+++ b/src/mame/layout/m1fightb.lay
@@ -13222,4 +13222,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1frexplc.lay b/src/mame/layout/m1frexplc.lay
index 4164891ad8d..0a52a57ba0e 100644
--- a/src/mame/layout/m1frexplc.lay
+++ b/src/mame/layout/m1frexplc.lay
@@ -18360,4 +18360,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1gladg.lay b/src/mame/layout/m1gladg.lay
index 4a57c999e01..58dd3c60930 100644
--- a/src/mame/layout/m1gladg.lay
+++ b/src/mame/layout/m1gladg.lay
@@ -15524,4 +15524,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1grescb.lay b/src/mame/layout/m1grescb.lay
index f06f8f14139..44e4f1835e4 100644
--- a/src/mame/layout/m1grescb.lay
+++ b/src/mame/layout/m1grescb.lay
@@ -13094,4 +13094,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1guvnor.lay b/src/mame/layout/m1guvnor.lay
index 6ed39765dba..3fc629470d9 100644
--- a/src/mame/layout/m1guvnor.lay
+++ b/src/mame/layout/m1guvnor.lay
@@ -9942,4 +9942,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1hotpoth.lay b/src/mame/layout/m1hotpoth.lay
index 4f0791c4833..34391c0f5a1 100644
--- a/src/mame/layout/m1hotpoth.lay
+++ b/src/mame/layout/m1hotpoth.lay
@@ -15780,4 +15780,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1htclb.lay b/src/mame/layout/m1htclb.lay
index 91f87b94164..3ffbb695763 100644
--- a/src/mame/layout/m1htclb.lay
+++ b/src/mame/layout/m1htclb.lay
@@ -11074,4 +11074,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1imclb.lay b/src/mame/layout/m1imclb.lay
index 80262717c77..f2cf4f2197a 100644
--- a/src/mame/layout/m1imclb.lay
+++ b/src/mame/layout/m1imclb.lay
@@ -12936,4 +12936,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1infern.lay b/src/mame/layout/m1infern.lay
index 40eb597eeb4..76177b289e1 100644
--- a/src/mame/layout/m1infern.lay
+++ b/src/mame/layout/m1infern.lay
@@ -15536,4 +15536,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1inwinc.lay b/src/mame/layout/m1inwinc.lay
index 6c03b446973..cdf319c8858 100644
--- a/src/mame/layout/m1inwinc.lay
+++ b/src/mame/layout/m1inwinc.lay
@@ -13412,4 +13412,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1itjobc.lay b/src/mame/layout/m1itjobc.lay
index 9c38d0170f7..507d3567c45 100644
--- a/src/mame/layout/m1itjobc.lay
+++ b/src/mame/layout/m1itjobc.lay
@@ -14206,4 +14206,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1itskob.lay b/src/mame/layout/m1itskob.lay
index 578f099f17d..a404f70934e 100644
--- a/src/mame/layout/m1itskob.lay
+++ b/src/mame/layout/m1itskob.lay
@@ -14262,4 +14262,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1jpmult.lay b/src/mame/layout/m1jpmult.lay
index e962ce8c42a..c38438218b9 100644
--- a/src/mame/layout/m1jpmult.lay
+++ b/src/mame/layout/m1jpmult.lay
@@ -8536,4 +8536,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1lucknon.lay b/src/mame/layout/m1lucknon.lay
index e2037e30cca..f36aeee1782 100644
--- a/src/mame/layout/m1lucknon.lay
+++ b/src/mame/layout/m1lucknon.lay
@@ -8814,4 +8814,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1luxorb.lay b/src/mame/layout/m1luxorb.lay
index 0269b4f7119..4da46ab6ef7 100644
--- a/src/mame/layout/m1luxorb.lay
+++ b/src/mame/layout/m1luxorb.lay
@@ -14216,4 +14216,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1manhat.lay b/src/mame/layout/m1manhat.lay
index 84dc6c88306..d472474e3a0 100644
--- a/src/mame/layout/m1manhat.lay
+++ b/src/mame/layout/m1manhat.lay
@@ -12652,4 +12652,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1monclb.lay b/src/mame/layout/m1monclb.lay
index b019b17655f..499017f5031 100644
--- a/src/mame/layout/m1monclb.lay
+++ b/src/mame/layout/m1monclb.lay
@@ -19072,4 +19072,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1mongam.lay b/src/mame/layout/m1mongam.lay
index 0cbe38a31f2..85d9e8f9d27 100644
--- a/src/mame/layout/m1mongam.lay
+++ b/src/mame/layout/m1mongam.lay
@@ -13146,4 +13146,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1monmon.lay b/src/mame/layout/m1monmon.lay
index 98dd014eb2e..40edecfe6c8 100644
--- a/src/mame/layout/m1monmon.lay
+++ b/src/mame/layout/m1monmon.lay
@@ -10094,4 +10094,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1monou.lay b/src/mame/layout/m1monou.lay
index 48f6d756536..c4bb98b36f4 100644
--- a/src/mame/layout/m1monou.lay
+++ b/src/mame/layout/m1monou.lay
@@ -12074,4 +12074,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1nhp.lay b/src/mame/layout/m1nhp.lay
index 8d593f15906..e6fdc154cbb 100644
--- a/src/mame/layout/m1nhp.lay
+++ b/src/mame/layout/m1nhp.lay
@@ -14990,4 +14990,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1nudbnke.lay b/src/mame/layout/m1nudbnke.lay
index 1fc6f3221a3..1b62d5f15f7 100644
--- a/src/mame/layout/m1nudbnke.lay
+++ b/src/mame/layout/m1nudbnke.lay
@@ -16562,4 +16562,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1omega.lay b/src/mame/layout/m1omega.lay
index 58f45c936f2..88044151a58 100644
--- a/src/mame/layout/m1omega.lay
+++ b/src/mame/layout/m1omega.lay
@@ -11458,4 +11458,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1onbusa.lay b/src/mame/layout/m1onbusa.lay
index c326634a228..246243d2472 100644
--- a/src/mame/layout/m1onbusa.lay
+++ b/src/mame/layout/m1onbusa.lay
@@ -12350,4 +12350,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1pinkpc.lay b/src/mame/layout/m1pinkpc.lay
index 949fce8bc5d..b68194500d3 100644
--- a/src/mame/layout/m1pinkpc.lay
+++ b/src/mame/layout/m1pinkpc.lay
@@ -10774,4 +10774,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1przeeb.lay b/src/mame/layout/m1przeeb.lay
index 4282df2217a..23175be063c 100644
--- a/src/mame/layout/m1przeeb.lay
+++ b/src/mame/layout/m1przeeb.lay
@@ -11818,4 +11818,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1retpp.lay b/src/mame/layout/m1retpp.lay
index 19ddbbe5d5a..d2d8e5521b5 100644
--- a/src/mame/layout/m1retpp.lay
+++ b/src/mame/layout/m1retpp.lay
@@ -12556,4 +12556,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1search.lay b/src/mame/layout/m1search.lay
index 8ac0eb05ded..3226546c993 100644
--- a/src/mame/layout/m1search.lay
+++ b/src/mame/layout/m1search.lay
@@ -8364,4 +8364,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1sptlgtc.lay b/src/mame/layout/m1sptlgtc.lay
index da7efb32d9b..386c0008c3b 100644
--- a/src/mame/layout/m1sptlgtc.lay
+++ b/src/mame/layout/m1sptlgtc.lay
@@ -9370,4 +9370,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1startr.lay b/src/mame/layout/m1startr.lay
index dc82ff9ff8a..cbb0263e2ef 100644
--- a/src/mame/layout/m1startr.lay
+++ b/src/mame/layout/m1startr.lay
@@ -13624,4 +13624,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1sudnima.lay b/src/mame/layout/m1sudnima.lay
index 707f981b831..1a25f352c8d 100644
--- a/src/mame/layout/m1sudnima.lay
+++ b/src/mame/layout/m1sudnima.lay
@@ -9184,4 +9184,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1taknot.lay b/src/mame/layout/m1taknot.lay
index 1b7dac0397b..f82281f3683 100644
--- a/src/mame/layout/m1taknot.lay
+++ b/src/mame/layout/m1taknot.lay
@@ -11634,4 +11634,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1thatlfc.lay b/src/mame/layout/m1thatlfc.lay
index a8a05845c77..c3cd7f74992 100644
--- a/src/mame/layout/m1thatlfc.lay
+++ b/src/mame/layout/m1thatlfc.lay
@@ -11366,4 +11366,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1topstr.lay b/src/mame/layout/m1topstr.lay
index f4ba8ed6a70..ff1716f9f13 100644
--- a/src/mame/layout/m1topstr.lay
+++ b/src/mame/layout/m1topstr.lay
@@ -11164,4 +11164,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1triviax.lay b/src/mame/layout/m1triviax.lay
index b4d501ff4d7..819591e6b3a 100644
--- a/src/mame/layout/m1triviax.lay
+++ b/src/mame/layout/m1triviax.lay
@@ -17792,4 +17792,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1trtr.lay b/src/mame/layout/m1trtr.lay
index 97d09323ff2..6c6f4b07801 100644
--- a/src/mame/layout/m1trtr.lay
+++ b/src/mame/layout/m1trtr.lay
@@ -8858,4 +8858,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1ttcash.lay b/src/mame/layout/m1ttcash.lay
index c884bc80fda..b61fb4f3444 100644
--- a/src/mame/layout/m1ttcash.lay
+++ b/src/mame/layout/m1ttcash.lay
@@ -8964,4 +8964,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1wldzner.lay b/src/mame/layout/m1wldzner.lay
index 27c41f1191b..85008aa4d0d 100644
--- a/src/mame/layout/m1wldzner.lay
+++ b/src/mame/layout/m1wldzner.lay
@@ -13896,4 +13896,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m1wotwa.lay b/src/mame/layout/m1wotwa.lay
index 6c36216df9e..bb2ecae31ca 100644
--- a/src/mame/layout/m1wotwa.lay
+++ b/src/mame/layout/m1wotwa.lay
@@ -13634,4 +13634,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m4aao.lay b/src/mame/layout/m4aao.lay
index 67e09f367d0..5fe2fe847b8 100644
--- a/src/mame/layout/m4aao.lay
+++ b/src/mame/layout/m4aao.lay
@@ -1269,4 +1269,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m4actbnk.lay b/src/mame/layout/m4actbnk.lay
index 9db548ac0a3..95c5f0c8b78 100644
--- a/src/mame/layout/m4actbnk.lay
+++ b/src/mame/layout/m4actbnk.lay
@@ -3119,4 +3119,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m4actclb.lay b/src/mame/layout/m4actclb.lay
index 3d27f7524af..1b0e1899fd9 100644
--- a/src/mame/layout/m4actclb.lay
+++ b/src/mame/layout/m4actclb.lay
@@ -4029,4 +4029,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m4actpak.lay b/src/mame/layout/m4actpak.lay
index dc6ec796534..68e612d20c4 100644
--- a/src/mame/layout/m4actpak.lay
+++ b/src/mame/layout/m4actpak.lay
@@ -3789,4 +3789,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m4addr.lay b/src/mame/layout/m4addr.lay
index 7be68dd4341..063120085c1 100644
--- a/src/mame/layout/m4addr.lay
+++ b/src/mame/layout/m4addr.lay
@@ -4409,4 +4409,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m4alladv.lay b/src/mame/layout/m4alladv.lay
index d0181a9ab2a..d8804908b4e 100644
--- a/src/mame/layout/m4alladv.lay
+++ b/src/mame/layout/m4alladv.lay
@@ -1989,4 +1989,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m4alpha.lay b/src/mame/layout/m4alpha.lay
index d0069c9325b..8b0cefed674 100644
--- a/src/mame/layout/m4alpha.lay
+++ b/src/mame/layout/m4alpha.lay
@@ -4473,4 +4473,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m4andybt.lay b/src/mame/layout/m4andybt.lay
index c1911837460..7ec63eb4ffc 100644
--- a/src/mame/layout/m4andybt.lay
+++ b/src/mame/layout/m4andybt.lay
@@ -6587,4 +6587,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m4andycp.lay b/src/mame/layout/m4andycp.lay
index f49702c92f1..9a07dd9ae9b 100644
--- a/src/mame/layout/m4andycp.lay
+++ b/src/mame/layout/m4andycp.lay
@@ -3443,4 +3443,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m4andyfh.lay b/src/mame/layout/m4andyfh.lay
index 165d9a44597..1e3e4e37434 100644
--- a/src/mame/layout/m4andyfh.lay
+++ b/src/mame/layout/m4andyfh.lay
@@ -1321,4 +1321,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m4andyge.lay b/src/mame/layout/m4andyge.lay
index e04a5ed84be..424a80709bd 100644
--- a/src/mame/layout/m4andyge.lay
+++ b/src/mame/layout/m4andyge.lay
@@ -2691,4 +2691,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m4apachg.lay b/src/mame/layout/m4apachg.lay
index c1955c24aa3..25a2f04690f 100644
--- a/src/mame/layout/m4apachg.lay
+++ b/src/mame/layout/m4apachg.lay
@@ -4105,4 +4105,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/m4tenten.lay b/src/mame/layout/m4tenten.lay
index 41ed49ec9ce..78c7106bae2 100644
--- a/src/mame/layout/m4tenten.lay
+++ b/src/mame/layout/m4tenten.lay
@@ -2769,4 +2769,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc1barcd.lay b/src/mame/layout/sc1barcd.lay
index 67ae851c865..816f675da3e 100644
--- a/src/mame/layout/sc1barcd.lay
+++ b/src/mame/layout/sc1barcd.lay
@@ -9684,4 +9684,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc1bartk.lay b/src/mame/layout/sc1bartk.lay
index 2a3a74de50c..83495007ee2 100644
--- a/src/mame/layout/sc1bartk.lay
+++ b/src/mame/layout/sc1bartk.lay
@@ -6432,4 +6432,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc1cl65.lay b/src/mame/layout/sc1cl65.lay
index ca5df712315..a40216291dd 100644
--- a/src/mame/layout/sc1cl65.lay
+++ b/src/mame/layout/sc1cl65.lay
@@ -10480,4 +10480,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc1clbtma.lay b/src/mame/layout/sc1clbtma.lay
index f3cd60f0606..437dd2e9a04 100644
--- a/src/mame/layout/sc1clbtma.lay
+++ b/src/mame/layout/sc1clbtma.lay
@@ -14182,4 +14182,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc1cwcl.lay b/src/mame/layout/sc1cwcl.lay
index ed382a066fd..4a01aa30950 100644
--- a/src/mame/layout/sc1cwcl.lay
+++ b/src/mame/layout/sc1cwcl.lay
@@ -9232,4 +9232,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc1dblch.lay b/src/mame/layout/sc1dblch.lay
index 40d3541bc89..84ff190b23c 100644
--- a/src/mame/layout/sc1dblch.lay
+++ b/src/mame/layout/sc1dblch.lay
@@ -12738,4 +12738,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc1pwrl.lay b/src/mame/layout/sc1pwrl.lay
index 91c6337aece..2cea0d90be7 100644
--- a/src/mame/layout/sc1pwrl.lay
+++ b/src/mame/layout/sc1pwrl.lay
@@ -10062,4 +10062,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc1sirb.lay b/src/mame/layout/sc1sirb.lay
index 41f946fe217..45b95d94f3b 100644
--- a/src/mame/layout/sc1sirb.lay
+++ b/src/mame/layout/sc1sirb.lay
@@ -10342,4 +10342,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc1spct.lay b/src/mame/layout/sc1spct.lay
index 2727135fcab..9eaaeca072a 100644
--- a/src/mame/layout/sc1spct.lay
+++ b/src/mame/layout/sc1spct.lay
@@ -9564,4 +9564,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc1str4.lay b/src/mame/layout/sc1str4.lay
index 4bd4f95ebd0..516cc44c773 100644
--- a/src/mame/layout/sc1str4.lay
+++ b/src/mame/layout/sc1str4.lay
@@ -6034,4 +6034,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc2casr2.lay b/src/mame/layout/sc2casr2.lay
index b50a2bb9ad4..f7aca4dd467 100644
--- a/src/mame/layout/sc2casr2.lay
+++ b/src/mame/layout/sc2casr2.lay
@@ -11108,4 +11108,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc2copcl7.lay b/src/mame/layout/sc2copcl7.lay
index b821075347d..bf9924a7a69 100644
--- a/src/mame/layout/sc2copcl7.lay
+++ b/src/mame/layout/sc2copcl7.lay
@@ -8777,11 +8777,11 @@
</bounds>
</backdrop>
- <!-- The DMD -->
- <screen index="0">
- <bounds left="261" top="29" right="523" bottom="115" />
- </screen>
-
+ <!-- The DMD -->
+ <screen index="0">
+ <bounds left="261" top="29" right="523" bottom="115" />
+ </screen>
+
<backdrop name="label5" element="label_5">
<bounds x="668" y="5" width="84" height="24">
</bounds>
@@ -11902,4 +11902,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc2cpe.lay b/src/mame/layout/sc2cpe.lay
index 8a435d0ea98..c9768f0d46a 100644
--- a/src/mame/layout/sc2cpe.lay
+++ b/src/mame/layout/sc2cpe.lay
@@ -8820,11 +8820,11 @@
<bounds x="682" y="130" width="4" height="3">
</bounds>
</backdrop>
-
- <!-- The DMD -->
- <screen index="0">
- <bounds left="261" top="29" right="523" bottom="115" />
- </screen>
+
+ <!-- The DMD -->
+ <screen index="0">
+ <bounds left="261" top="29" right="523" bottom="115" />
+ </screen>
<backdrop name="label51" element="label_51">
<bounds x="619" y="11" width="38" height="67">
@@ -11926,4 +11926,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc2cpg.lay b/src/mame/layout/sc2cpg.lay
index a778d5ff7da..f745eb3bb5c 100644
--- a/src/mame/layout/sc2cpg.lay
+++ b/src/mame/layout/sc2cpg.lay
@@ -13226,4 +13226,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc2eggs1.lay b/src/mame/layout/sc2eggs1.lay
index d711dbb894f..d8751f0bd4e 100644
--- a/src/mame/layout/sc2eggs1.lay
+++ b/src/mame/layout/sc2eggs1.lay
@@ -12594,4 +12594,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc2heypr.lay b/src/mame/layout/sc2heypr.lay
index 141df6ab158..de3fa4843ba 100644
--- a/src/mame/layout/sc2heypr.lay
+++ b/src/mame/layout/sc2heypr.lay
@@ -8836,4 +8836,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc2majes.lay b/src/mame/layout/sc2majes.lay
index 39233b34687..4ad80a4b122 100644
--- a/src/mame/layout/sc2majes.lay
+++ b/src/mame/layout/sc2majes.lay
@@ -9510,4 +9510,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc2prem2.lay b/src/mame/layout/sc2prem2.lay
index b87f99948fd..0c077e7e6b2 100644
--- a/src/mame/layout/sc2prem2.lay
+++ b/src/mame/layout/sc2prem2.lay
@@ -9179,9 +9179,9 @@
</bounds>
</backdrop>
<!-- The DMD -->
- <screen index="0">
+ <screen index="0">
<bounds left="261" top="6" right="523" bottom="92" />
- </screen>
+ </screen>
<backdrop name="label15" element="label_15">
<bounds x="619" y="85" width="38" height="67">
</bounds>
@@ -12290,4 +12290,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc2prom.lay b/src/mame/layout/sc2prom.lay
index d56777bdbb8..9a3f358bcab 100644
--- a/src/mame/layout/sc2prom.lay
+++ b/src/mame/layout/sc2prom.lay
@@ -3420,7 +3420,7 @@
</color>
</led7seg>
</element>
-
+
<element name="reel_lamp_layer_0" defstate="0">
<rect>
<color red="0.40" green="0.40" blue="0.40">
@@ -6930,10 +6930,10 @@
</bounds>
</backdrop>
- <!-- The DMD -->
- <screen index="0">
- <bounds left="65" top="451" right="392" bottom="558" />
- </screen>
+ <!-- The DMD -->
+ <screen index="0">
+ <bounds left="65" top="451" right="392" bottom="558" />
+ </screen>
<backdrop name="label66" element="label_66">
<bounds x="232" y="780" width="111" height="26">
@@ -9895,4 +9895,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc2ptytm1.lay b/src/mame/layout/sc2ptytm1.lay
index 0773e5c5589..f91e4411ff2 100644
--- a/src/mame/layout/sc2ptytm1.lay
+++ b/src/mame/layout/sc2ptytm1.lay
@@ -4873,11 +4873,11 @@
<bounds x="696" y="11" width="46" height="12">
</bounds>
</backdrop>
-
- <!-- The DMD -->
- <screen index="0">
- <bounds left="134" top="325" right="396" bottom="421" />
- </screen>
+
+ <!-- The DMD -->
+ <screen index="0">
+ <bounds left="134" top="325" right="396" bottom="421" />
+ </screen>
<backdrop name="label10" element="label_10">
<bounds x="12" y="162" width="32" height="19">
@@ -7839,4 +7839,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc2suprz1.lay b/src/mame/layout/sc2suprz1.lay
index 88aae4a5387..c874f0cf782 100644
--- a/src/mame/layout/sc2suprz1.lay
+++ b/src/mame/layout/sc2suprz1.lay
@@ -9072,4 +9072,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc2town2.lay b/src/mame/layout/sc2town2.lay
index e0c457c8ccf..99136ce62b0 100644
--- a/src/mame/layout/sc2town2.lay
+++ b/src/mame/layout/sc2town2.lay
@@ -4022,7 +4022,7 @@
</color>
</led7seg>
</element>
-
+
<element name="reel_lamp_layer_0" defstate="0">
<rect>
<color red="0.40" green="0.40" blue="0.40">
@@ -7696,11 +7696,11 @@
</bounds>
</backdrop>
- <!-- The DMD -->
- <screen index="0">
- <bounds left="10" top="285" right="337" bottom="392" />
- </screen>
-
+ <!-- The DMD -->
+ <screen index="0">
+ <bounds left="10" top="285" right="337" bottom="392" />
+ </screen>
+
<backdrop name="label66" element="label_66">
<bounds x="605" y="300" width="31" height="19">
</bounds>
@@ -10665,4 +10665,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4_dmd.lay b/src/mame/layout/sc4_dmd.lay
index 6202e15d5ba..c3e01f20761 100644
--- a/src/mame/layout/sc4_dmd.lay
+++ b/src/mame/layout/sc4_dmd.lay
@@ -99,7 +99,7 @@
<!-- The DMD -->
<screen index="0">
- <bounds left="210" top="200" right="340" bottom="233" />
+ <bounds left="210" top="200" right="340" bottom="233" />
</screen>
<backdrop name="reel1" element="Steppers" state="0">
@@ -1837,5 +1837,5 @@
<bounds x="250" y="124" width="9" height="19"/>
</backdrop>
</view>
-
+
</mamelayout>
diff --git a/src/mame/layout/sc4acesh.lay b/src/mame/layout/sc4acesh.lay
index a1fba14789e..f0c9fdfb062 100644
--- a/src/mame/layout/sc4acesh.lay
+++ b/src/mame/layout/sc4acesh.lay
@@ -12102,4 +12102,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4bantm.lay b/src/mame/layout/sc4bantm.lay
index c39b663e5d7..811f39d8237 100644
--- a/src/mame/layout/sc4bantm.lay
+++ b/src/mame/layout/sc4bantm.lay
@@ -13730,4 +13730,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4bedcl.lay b/src/mame/layout/sc4bedcl.lay
index 187d85f394e..c5909bcc847 100644
--- a/src/mame/layout/sc4bedcl.lay
+++ b/src/mame/layout/sc4bedcl.lay
@@ -17246,4 +17246,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4blast.lay b/src/mame/layout/sc4blast.lay
index 72ce3b5ab40..bf52e3d602d 100644
--- a/src/mame/layout/sc4blast.lay
+++ b/src/mame/layout/sc4blast.lay
@@ -14954,4 +14954,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4blokq.lay b/src/mame/layout/sc4blokq.lay
index 5f8fd9ebaa1..be78c9fd3c3 100644
--- a/src/mame/layout/sc4blokq.lay
+++ b/src/mame/layout/sc4blokq.lay
@@ -19702,4 +19702,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4bobcl.lay b/src/mame/layout/sc4bobcl.lay
index 8829fd24476..f2742488a10 100644
--- a/src/mame/layout/sc4bobcl.lay
+++ b/src/mame/layout/sc4bobcl.lay
@@ -14586,4 +14586,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4brksp.lay b/src/mame/layout/sc4brksp.lay
index 3705a0aa468..2942fd68170 100644
--- a/src/mame/layout/sc4brksp.lay
+++ b/src/mame/layout/sc4brksp.lay
@@ -18078,4 +18078,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4brollb.lay b/src/mame/layout/sc4brollb.lay
index 372942e74f0..6e3877938f1 100644
--- a/src/mame/layout/sc4brollb.lay
+++ b/src/mame/layout/sc4brollb.lay
@@ -14878,4 +14878,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4cabin.lay b/src/mame/layout/sc4cabin.lay
index d87fd3603c6..a2f3b5ee437 100644
--- a/src/mame/layout/sc4cabin.lay
+++ b/src/mame/layout/sc4cabin.lay
@@ -13624,4 +13624,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4canca.lay b/src/mame/layout/sc4canca.lay
index 1587ed3e21e..6922aa1af80 100644
--- a/src/mame/layout/sc4canca.lay
+++ b/src/mame/layout/sc4canca.lay
@@ -7686,4 +7686,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4captn.lay b/src/mame/layout/sc4captn.lay
index 2615bd98bcb..4cfb0734dcd 100644
--- a/src/mame/layout/sc4captn.lay
+++ b/src/mame/layout/sc4captn.lay
@@ -15240,4 +15240,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4cariqd.lay b/src/mame/layout/sc4cariqd.lay
index 73579d5845a..b4a4d32ce49 100644
--- a/src/mame/layout/sc4cariqd.lay
+++ b/src/mame/layout/sc4cariqd.lay
@@ -13712,4 +13712,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4carrya.lay b/src/mame/layout/sc4carrya.lay
index 89132178588..c049be46cd8 100644
--- a/src/mame/layout/sc4carrya.lay
+++ b/src/mame/layout/sc4carrya.lay
@@ -10056,4 +10056,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4cashm.lay b/src/mame/layout/sc4cashm.lay
index c619df06c39..77898b16e93 100644
--- a/src/mame/layout/sc4cashm.lay
+++ b/src/mame/layout/sc4cashm.lay
@@ -14120,4 +14120,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4cclasd.lay b/src/mame/layout/sc4cclasd.lay
index f1087e313e6..bcc4bdce617 100644
--- a/src/mame/layout/sc4cclasd.lay
+++ b/src/mame/layout/sc4cclasd.lay
@@ -10948,4 +10948,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4cclim.lay b/src/mame/layout/sc4cclim.lay
index 7d8533337fd..4db7747e0e1 100644
--- a/src/mame/layout/sc4cclim.lay
+++ b/src/mame/layout/sc4cclim.lay
@@ -6944,4 +6944,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4cfcas.lay b/src/mame/layout/sc4cfcas.lay
index e16afc1f8fa..c8ea2bc713a 100644
--- a/src/mame/layout/sc4cfcas.lay
+++ b/src/mame/layout/sc4cfcas.lay
@@ -7574,4 +7574,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4chainb.lay b/src/mame/layout/sc4chainb.lay
index 7b7b16d91f7..7a5350caea0 100644
--- a/src/mame/layout/sc4chainb.lay
+++ b/src/mame/layout/sc4chainb.lay
@@ -13552,4 +13552,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4chavy.lay b/src/mame/layout/sc4chavy.lay
index c373a8c1aad..a43700c8608 100644
--- a/src/mame/layout/sc4chavy.lay
+++ b/src/mame/layout/sc4chavy.lay
@@ -15488,4 +15488,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4chick.lay b/src/mame/layout/sc4chick.lay
index 3880b6237f5..6e44c27d715 100644
--- a/src/mame/layout/sc4chick.lay
+++ b/src/mame/layout/sc4chick.lay
@@ -6814,4 +6814,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4chuba.lay b/src/mame/layout/sc4chuba.lay
index 51b5c6ab1ab..95bc6471ca2 100644
--- a/src/mame/layout/sc4chuba.lay
+++ b/src/mame/layout/sc4chuba.lay
@@ -13592,4 +13592,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4clashd.lay b/src/mame/layout/sc4clashd.lay
index 788b6a7a7df..a55d8841ffb 100644
--- a/src/mame/layout/sc4clashd.lay
+++ b/src/mame/layout/sc4clashd.lay
@@ -16990,4 +16990,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4clue.lay b/src/mame/layout/sc4clue.lay
index d8d7640576f..1bcfd266ce8 100644
--- a/src/mame/layout/sc4clue.lay
+++ b/src/mame/layout/sc4clue.lay
@@ -19078,4 +19078,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4cmania.lay b/src/mame/layout/sc4cmania.lay
index e2ced675eeb..5f48b7923e8 100644
--- a/src/mame/layout/sc4cmania.lay
+++ b/src/mame/layout/sc4cmania.lay
@@ -14428,4 +14428,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4cmous.lay b/src/mame/layout/sc4cmous.lay
index c8e55ed8b31..7cb8e7e1562 100644
--- a/src/mame/layout/sc4cmous.lay
+++ b/src/mame/layout/sc4cmous.lay
@@ -14886,4 +14886,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4cnfr.lay b/src/mame/layout/sc4cnfr.lay
index 3d31f023056..00f752ab93d 100644
--- a/src/mame/layout/sc4cnfr.lay
+++ b/src/mame/layout/sc4cnfr.lay
@@ -11272,4 +11272,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4coro.lay b/src/mame/layout/sc4coro.lay
index 375f2ed279e..b0964e8c38e 100644
--- a/src/mame/layout/sc4coro.lay
+++ b/src/mame/layout/sc4coro.lay
@@ -16458,4 +16458,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4crc.lay b/src/mame/layout/sc4crc.lay
index 6735fbe35e6..53acf3218ff 100644
--- a/src/mame/layout/sc4crc.lay
+++ b/src/mame/layout/sc4crc.lay
@@ -15204,4 +15204,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4crcla.lay b/src/mame/layout/sc4crcla.lay
index 5ea93b40c63..3cc5b85f7ed 100644
--- a/src/mame/layout/sc4crcla.lay
+++ b/src/mame/layout/sc4crcla.lay
@@ -16632,4 +16632,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4crzgna.lay b/src/mame/layout/sc4crzgna.lay
index 25c1f128a84..20899cbb5e5 100644
--- a/src/mame/layout/sc4crzgna.lay
+++ b/src/mame/layout/sc4crzgna.lay
@@ -6592,4 +6592,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4crzkya.lay b/src/mame/layout/sc4crzkya.lay
index 19b6a19734e..0d8e45b8e3b 100644
--- a/src/mame/layout/sc4crzkya.lay
+++ b/src/mame/layout/sc4crzkya.lay
@@ -7714,4 +7714,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4cvanif.lay b/src/mame/layout/sc4cvanif.lay
index a2fd7cc9a4e..4dd30f747e1 100644
--- a/src/mame/layout/sc4cvanif.lay
+++ b/src/mame/layout/sc4cvanif.lay
@@ -14200,4 +14200,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4cvclb.lay b/src/mame/layout/sc4cvclb.lay
index bb30540376d..6407a0b8d2c 100644
--- a/src/mame/layout/sc4cvclb.lay
+++ b/src/mame/layout/sc4cvclb.lay
@@ -15818,4 +15818,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4dayltf.lay b/src/mame/layout/sc4dayltf.lay
index bbc3f996cb2..bc9bb99c4d1 100644
--- a/src/mame/layout/sc4dayltf.lay
+++ b/src/mame/layout/sc4dayltf.lay
@@ -10053,4 +10053,4 @@
<bounds x="1740" y="552" width="50" height="30"/>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4deepi.lay b/src/mame/layout/sc4deepi.lay
index bb67ccfdeb5..5441cff6870 100644
--- a/src/mame/layout/sc4deepi.lay
+++ b/src/mame/layout/sc4deepi.lay
@@ -8055,4 +8055,4 @@
<bounds x="1740" y="272" width="50" height="30"/>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4derby.lay b/src/mame/layout/sc4derby.lay
index 21c3143a62b..6918f10ff06 100644
--- a/src/mame/layout/sc4derby.lay
+++ b/src/mame/layout/sc4derby.lay
@@ -8275,4 +8275,4 @@
<bounds x="1740" y="272" width="50" height="30"/>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4dmineb.lay b/src/mame/layout/sc4dmineb.lay
index dce29f1a988..bec585ad1b2 100644
--- a/src/mame/layout/sc4dmineb.lay
+++ b/src/mame/layout/sc4dmineb.lay
@@ -8218,4 +8218,4 @@
<bounds x="1740" y="272" width="50" height="30"/>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4drubyb.lay b/src/mame/layout/sc4drubyb.lay
index ddd36785181..8b5917d7421 100644
--- a/src/mame/layout/sc4drubyb.lay
+++ b/src/mame/layout/sc4drubyb.lay
@@ -5324,4 +5324,4 @@
<bounds x="1460" y="272" width="50" height="30"/>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4duckqa.lay b/src/mame/layout/sc4duckqa.lay
index 3166ddc1939..b17a1f69c32 100644
--- a/src/mame/layout/sc4duckqa.lay
+++ b/src/mame/layout/sc4duckqa.lay
@@ -10022,4 +10022,4 @@
<bounds x="1740" y="272" width="50" height="30"/>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4dyna.lay b/src/mame/layout/sc4dyna.lay
index 99cb57d28c7..a876082590b 100644
--- a/src/mame/layout/sc4dyna.lay
+++ b/src/mame/layout/sc4dyna.lay
@@ -7615,4 +7615,4 @@
<bounds x="1740" y="272" width="50" height="30"/>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4eascsc.lay b/src/mame/layout/sc4eascsc.lay
index e1f3ed532a9..0686d991996 100644
--- a/src/mame/layout/sc4eascsc.lay
+++ b/src/mame/layout/sc4eascsc.lay
@@ -5154,4 +5154,4 @@
<bounds x="1600" y="272" width="50" height="30"/>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4emmerc.lay b/src/mame/layout/sc4emmerc.lay
index 713f45879d9..53e1fdc57c4 100644
--- a/src/mame/layout/sc4emmerc.lay
+++ b/src/mame/layout/sc4emmerc.lay
@@ -9916,4 +9916,4 @@
<bounds x="1740" y="272" width="50" height="30"/>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4fastfb.lay b/src/mame/layout/sc4fastfb.lay
index 3a55831c6aa..016b4cbf113 100644
--- a/src/mame/layout/sc4fastfb.lay
+++ b/src/mame/layout/sc4fastfb.lay
@@ -9477,4 +9477,4 @@
<bounds x="1180" y="552" width="50" height="30"/>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4fd7tha.lay b/src/mame/layout/sc4fd7tha.lay
index c8c5fb8151c..3759ed0f39e 100644
--- a/src/mame/layout/sc4fd7tha.lay
+++ b/src/mame/layout/sc4fd7tha.lay
@@ -9115,4 +9115,4 @@
<bounds x="1600" y="272" width="50" height="30"/>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4fever.lay b/src/mame/layout/sc4fever.lay
index a441eaf9f1f..4c6077a873f 100644
--- a/src/mame/layout/sc4fever.lay
+++ b/src/mame/layout/sc4fever.lay
@@ -9007,4 +9007,4 @@
<bounds x="1740" y="272" width="50" height="30"/>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4fire.lay b/src/mame/layout/sc4fire.lay
index c821fedc0fa..1f9518bbfb5 100644
--- a/src/mame/layout/sc4fire.lay
+++ b/src/mame/layout/sc4fire.lay
@@ -7713,4 +7713,4 @@
<bounds x="1740" y="272" width="50" height="30"/>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4fpitcb.lay b/src/mame/layout/sc4fpitcb.lay
index 5104481f981..ba95b6210f5 100644
--- a/src/mame/layout/sc4fpitcb.lay
+++ b/src/mame/layout/sc4fpitcb.lay
@@ -7759,4 +7759,4 @@
<bounds x="1600" y="272" width="50" height="30"/>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4ftopib.lay b/src/mame/layout/sc4ftopib.lay
index 478cc1092f8..de024d201e7 100644
--- a/src/mame/layout/sc4ftopib.lay
+++ b/src/mame/layout/sc4ftopib.lay
@@ -9098,4 +9098,4 @@
<bounds x="1740" y="272" width="50" height="30"/>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4fullt.lay b/src/mame/layout/sc4fullt.lay
index 2687520e57d..028d1376532 100644
--- a/src/mame/layout/sc4fullt.lay
+++ b/src/mame/layout/sc4fullt.lay
@@ -8565,4 +8565,4 @@
<bounds x="1740" y="272" width="50" height="30"/>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4fwpcs.lay b/src/mame/layout/sc4fwpcs.lay
index 6bf84a07065..365debb3cf7 100644
--- a/src/mame/layout/sc4fwpcs.lay
+++ b/src/mame/layout/sc4fwpcs.lay
@@ -5356,4 +5356,4 @@
<bounds x="1600" y="272" width="50" height="30"/>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4gaga.lay b/src/mame/layout/sc4gaga.lay
index 9804ca772de..d18ce2ee45c 100644
--- a/src/mame/layout/sc4gaga.lay
+++ b/src/mame/layout/sc4gaga.lay
@@ -7249,4 +7249,4 @@
<bounds x="1600" y="272" width="50" height="30"/>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4gball.lay b/src/mame/layout/sc4gball.lay
index a6c894badfd..ea04a5af476 100644
--- a/src/mame/layout/sc4gball.lay
+++ b/src/mame/layout/sc4gball.lay
@@ -8276,4 +8276,4 @@
<bounds x="1740" y="272" width="50" height="30"/>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4gd.lay b/src/mame/layout/sc4gd.lay
index 1f21a9e1327..1c68688e812 100644
--- a/src/mame/layout/sc4gd.lay
+++ b/src/mame/layout/sc4gd.lay
@@ -9451,4 +9451,4 @@
<bounds x="1740" y="272" width="50" height="30"/>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4gdclb.lay b/src/mame/layout/sc4gdclb.lay
index 853736df25d..7e92699dbd2 100644
--- a/src/mame/layout/sc4gdclb.lay
+++ b/src/mame/layout/sc4gdclb.lay
@@ -8593,4 +8593,4 @@
<bounds x="1180" y="552" width="50" height="30"/>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4ggdlxf.lay b/src/mame/layout/sc4ggdlxf.lay
index 52f03ecf99a..d889d082c56 100644
--- a/src/mame/layout/sc4ggdlxf.lay
+++ b/src/mame/layout/sc4ggdlxf.lay
@@ -4974,4 +4974,4 @@
<bounds x="1460" y="272" width="50" height="30"/>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4gldcl.lay b/src/mame/layout/sc4gldcl.lay
index 5887eb5c35f..ec6afa68593 100644
--- a/src/mame/layout/sc4gldcl.lay
+++ b/src/mame/layout/sc4gldcl.lay
@@ -9882,4 +9882,4 @@
<bounds x="1740" y="272" width="50" height="30"/>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4gslam.lay b/src/mame/layout/sc4gslam.lay
index 8cc0113af9c..2261eac8af8 100644
--- a/src/mame/layout/sc4gslam.lay
+++ b/src/mame/layout/sc4gslam.lay
@@ -6725,4 +6725,4 @@
<bounds x="1180" y="552" width="50" height="30"/>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4gx.lay b/src/mame/layout/sc4gx.lay
index 54e325fbb5d..c2ab6d7b9d6 100644
--- a/src/mame/layout/sc4gx.lay
+++ b/src/mame/layout/sc4gx.lay
@@ -5005,4 +5005,4 @@
<bounds x="1460" y="272" width="50" height="30"/>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4hdd.lay b/src/mame/layout/sc4hdd.lay
index e8fbaac635a..ecff36f9b0f 100644
--- a/src/mame/layout/sc4hdd.lay
+++ b/src/mame/layout/sc4hdd.lay
@@ -8509,4 +8509,4 @@
<bounds x="1600" y="272" width="50" height="30"/>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4hi5.lay b/src/mame/layout/sc4hi5.lay
index f75fe28fc87..44810dcd1be 100644
--- a/src/mame/layout/sc4hi5.lay
+++ b/src/mame/layout/sc4hi5.lay
@@ -7651,4 +7651,4 @@
<bounds x="1600" y="272" width="50" height="30"/>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4hilo.lay b/src/mame/layout/sc4hilo.lay
index 8522d340d63..95e7f457cc9 100644
--- a/src/mame/layout/sc4hilo.lay
+++ b/src/mame/layout/sc4hilo.lay
@@ -8387,4 +8387,4 @@
<bounds x="1740" y="272" width="50" height="30"/>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4himi.lay b/src/mame/layout/sc4himi.lay
index f889024c919..d99aff49877 100644
--- a/src/mame/layout/sc4himi.lay
+++ b/src/mame/layout/sc4himi.lay
@@ -7713,4 +7713,4 @@
<bounds x="1740" y="272" width="50" height="30"/>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4hissa.lay b/src/mame/layout/sc4hissa.lay
index 6d089986b66..8af693be5f4 100644
--- a/src/mame/layout/sc4hissa.lay
+++ b/src/mame/layout/sc4hissa.lay
@@ -9261,4 +9261,4 @@
<bounds x="1740" y="272" width="50" height="30"/>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4holyw.lay b/src/mame/layout/sc4holyw.lay
index 544a962280b..a21a11b4d0d 100644
--- a/src/mame/layout/sc4holyw.lay
+++ b/src/mame/layout/sc4holyw.lay
@@ -8499,4 +8499,4 @@
<bounds x="1600" y="272" width="50" height="30"/>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4hotpr.lay b/src/mame/layout/sc4hotpr.lay
index 284d2125fc3..63ce81531ab 100644
--- a/src/mame/layout/sc4hotpr.lay
+++ b/src/mame/layout/sc4hotpr.lay
@@ -8630,4 +8630,4 @@
<bounds x="1600" y="272" width="50" height="30"/>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4hotwd.lay b/src/mame/layout/sc4hotwd.lay
index 1f3309a1507..9c0b41daa5e 100644
--- a/src/mame/layout/sc4hotwd.lay
+++ b/src/mame/layout/sc4hotwd.lay
@@ -8176,4 +8176,4 @@
<bounds x="1180" y="552" width="50" height="30"/>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4hyde.lay b/src/mame/layout/sc4hyde.lay
index a47aa9d7a16..aad534a86c4 100644
--- a/src/mame/layout/sc4hyde.lay
+++ b/src/mame/layout/sc4hyde.lay
@@ -8987,4 +8987,4 @@
<bounds x="1740" y="272" width="50" height="30"/>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4monot.lay b/src/mame/layout/sc4monot.lay
index 59c85d5384f..12b4404d17d 100644
--- a/src/mame/layout/sc4monot.lay
+++ b/src/mame/layout/sc4monot.lay
@@ -6956,4 +6956,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4mspid.lay b/src/mame/layout/sc4mspid.lay
index 44e177ab116..bf0d4a2c443 100644
--- a/src/mame/layout/sc4mspid.lay
+++ b/src/mame/layout/sc4mspid.lay
@@ -6590,4 +6590,4 @@
</bounds>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/layout/sc4sprng.lay b/src/mame/layout/sc4sprng.lay
index 32abbf07df0..613eccf75f1 100644
--- a/src/mame/layout/sc4sprng.lay
+++ b/src/mame/layout/sc4sprng.lay
@@ -9032,4 +9032,4 @@
<bounds x="1740" y="272" width="50" height="30"/>
</backdrop>
</view>
-</mamelayout> \ No newline at end of file
+</mamelayout>
diff --git a/src/mame/video/airraid_dev.cpp b/src/mame/video/airraid_dev.cpp
index 69d1bb38b91..61b188b5d08 100644
--- a/src/mame/video/airraid_dev.cpp
+++ b/src/mame/video/airraid_dev.cpp
@@ -3,7 +3,7 @@
/* There are 2 versions of the Air Raid / Cross Shooter hardware, one has everything integrated on a single PCB
the other is a Air Raid specific video PCB used with the Street Fight motherboard, there could be differences.
-
+
This is very similar to Dark Mist */
#include "emu.h"
@@ -91,8 +91,8 @@ void airraid_video_device::device_start()
m_tx_tilemap = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(FUNC(airraid_video_device::get_cstx_tile_info),this),TILEMAP_SCAN_ROWS, 8,8,32,32);
-// m_fg_tilemap->set_transparent_pen(0);
-// m_tx_tilemap->set_transparent_pen(0);
+// m_fg_tilemap->set_transparent_pen(0);
+// m_tx_tilemap->set_transparent_pen(0);
// we do manual mixing using a temp bitmap
m_screen->register_screen_bitmap(m_temp_bitmap);
@@ -208,7 +208,7 @@ UINT32 airraid_video_device::screen_update_airraid(screen_device &screen, bitmap
// draw screen
bitmap.fill(0x80, cliprect); // temp
-// m_temp_bitmap.fill(0x00, cliprect);
+// m_temp_bitmap.fill(0x00, cliprect);
if ((m_hw & DISPLAY_BG) == 0x00)
{
diff --git a/src/mame/video/airraid_dev.h b/src/mame/video/airraid_dev.h
index 6962b3bbf22..5034d7e4d6e 100644
--- a/src/mame/video/airraid_dev.h
+++ b/src/mame/video/airraid_dev.h
@@ -20,7 +20,7 @@ class airraid_video_device : public device_t
public:
// construction/destruction
airraid_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
-
+
DECLARE_WRITE8_MEMBER(txram_w);
DECLARE_WRITE8_MEMBER(vregs_w);
void layer_enable_w(UINT8 enable);
@@ -37,7 +37,7 @@ private:
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
required_device<screen_device> m_screen;
-
+
// region pointers
required_region_ptr<UINT8> m_tx_clut;
required_region_ptr<UINT8> m_fg_clut;
diff --git a/src/mame/video/bfm_dm01.cpp b/src/mame/video/bfm_dm01.cpp
index 7391a031a3e..d61fbd5b2b0 100644
--- a/src/mame/video/bfm_dm01.cpp
+++ b/src/mame/video/bfm_dm01.cpp
@@ -100,9 +100,9 @@ void bfmdm01_device::device_start()
save_item(NAME(m_scanline), i);
m_screen->register_screen_bitmap(m_tmpbitmap);
- m_palette->set_pen_color(0, rgb_t(0, 0, 0)); // background
- m_palette->set_pen_color(1, rgb_t(15, 1, 1)); // off dot
- m_palette->set_pen_color(2, rgb_t(255, 31, 31)); // on dot
+ m_palette->set_pen_color(0, rgb_t(0, 0, 0)); // background
+ m_palette->set_pen_color(1, rgb_t(15, 1, 1)); // off dot
+ m_palette->set_pen_color(2, rgb_t(255, 31, 31)); // on dot
}
@@ -215,7 +215,7 @@ WRITE8_MEMBER( bfmdm01_device::mux_w )
pix[1 + (pos * 2)] = 0;
pix2[0 + (pos * 2)] = 0;
pix2[1 + (pos * 2)] = 0;
- }
+ }
}
}
diff --git a/src/mame/video/bfm_dm01.h b/src/mame/video/bfm_dm01.h
index e9ff023a7ef..1f3c1aa847c 100644
--- a/src/mame/video/bfm_dm01.h
+++ b/src/mame/video/bfm_dm01.h
@@ -32,7 +32,7 @@ public:
void writedata(UINT8 data);
int busy(void);
-
+
INTERRUPT_GEN_MEMBER(nmi_line_assert);
UINT32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
@@ -61,7 +61,7 @@ private:
devcb_write_line m_busy_cb;
int read_data(void);
-
+
bitmap_ind16 m_tmpbitmap;
};
diff --git a/src/mame/video/darkmist.cpp b/src/mame/video/darkmist.cpp
index 2b7c74ab0c0..9eda5d5007f 100644
--- a/src/mame/video/darkmist.cpp
+++ b/src/mame/video/darkmist.cpp
@@ -19,7 +19,7 @@ TILE_GET_INFO_MEMBER(darkmist_state::get_bgtile_info)
code=memregion("bg_map")->base()[tile_index*2]; /* TTTTTTTT */
attr=memregion("bg_map")->base()[(tile_index*2)+1]; /* -PPP--TT - FIXED BITS (0xxx00xx) */
-
+
code+=(attr&3)<<8;
pal=(attr>>4);
@@ -33,7 +33,7 @@ TILE_GET_INFO_MEMBER(darkmist_state::get_fgtile_info)
{
int code,attr,pal;
- code = memregion("fg_map")->base()[tile_index*2]; /* TTTTTTTT */
+ code = memregion("fg_map")->base()[tile_index*2]; /* TTTTTTTT */
attr = memregion("fg_map")->base()[(tile_index*2)+1]; /* -PPP--TT - FIXED BITS (0xxx00xx) */
code+=(attr&3)<<8;
diff --git a/src/mame/video/stfight_dev.cpp b/src/mame/video/stfight_dev.cpp
index 438d28fb1a9..9c463da066a 100644
--- a/src/mame/video/stfight_dev.cpp
+++ b/src/mame/video/stfight_dev.cpp
@@ -118,7 +118,7 @@ static MACHINE_CONFIG_FRAGMENT( stfight_vid )
MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
MCFG_SCREEN_UPDATE_DRIVER(stfight_video_device, screen_update_stfight)
MCFG_SCREEN_PALETTE("^palette")
-
+
MCFG_GFXDECODE_ADD("gfxdecode", "^palette", stfight)
MACHINE_CONFIG_END
@@ -230,9 +230,9 @@ void stfight_video_device::draw_sprites(screen_device &screen, bitmap_ind16 &bit
/*
if (flip_screen())
{
- sx = 240 - sx;
- sy = 240 - sy;
- flipx = !flipx;
+ sx = 240 - sx;
+ sy = 240 - sy;
+ flipx = !flipx;
}
*/
diff --git a/src/mame/video/stfight_dev.h b/src/mame/video/stfight_dev.h
index a36c4dd4273..0ec412b8549 100644
--- a/src/mame/video/stfight_dev.h
+++ b/src/mame/video/stfight_dev.h
@@ -24,7 +24,7 @@ public:
DECLARE_WRITE8_MEMBER(stfight_text_char_w);
DECLARE_WRITE8_MEMBER(stfight_sprite_bank_w);
DECLARE_WRITE8_MEMBER(stfight_vh_latch_w);
-
+
UINT32 screen_update_stfight(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
protected:
@@ -45,7 +45,7 @@ private:
required_region_ptr<UINT8> m_spr_clut;
required_region_ptr<UINT8> m_fgmap;
required_region_ptr<UINT8> m_bgmap;
-
+
// memory pointers
required_shared_ptr<UINT8> m_vregs;
required_shared_ptr<UINT8> m_sprite_ram;
diff --git a/src/osd/modules/debugger/debugimgui.cpp b/src/osd/modules/debugger/debugimgui.cpp
index 9ff6c6ecce4..9ebda7e258c 100644
--- a/src/osd/modules/debugger/debugimgui.cpp
+++ b/src/osd/modules/debugger/debugimgui.cpp
@@ -145,7 +145,7 @@ private:
std::string shortname;
std::string longname;
};
-
+
void handle_mouse();
void handle_mouse_views();
void handle_keys();
@@ -999,7 +999,7 @@ void debug_imgui::refresh_filelist()
util::zippath_directory* dir = nullptr;
const char *volume_name;
const osd::directory::entry *dirent;
-
+
// todo
m_filelist.clear();
m_filelist_refresh = false;
@@ -1044,13 +1044,13 @@ void debug_imgui::refresh_filelist()
void debug_imgui::refresh_typelist()
{
floppy_image_device *fd = static_cast<floppy_image_device *>(m_dialog_image);
-
+
m_typelist.clear();
if(m_dialog_image->formatlist().empty())
return;
if(fd == nullptr)
return;
-
+
floppy_image_format_t* format_list = fd->get_formats();
for(floppy_image_format_t* flist = format_list; flist; flist = flist->next)
{
@@ -1074,9 +1074,9 @@ void debug_imgui::draw_images_menu()
{
x++;
std::string str = string_format(" %s : %s##%i",img.device().name(),img.exists() ? img.filename() : "[Empty slot]",x);
- if(ImGui::BeginMenu(str.c_str()))
+ if(ImGui::BeginMenu(str.c_str()))
{
- if(ImGui::MenuItem("Mount..."))
+ if(ImGui::MenuItem("Mount..."))
{
m_dialog_image = &img;
m_filelist_refresh = true;
@@ -1100,7 +1100,7 @@ void debug_imgui::draw_images_menu()
refresh_typelist();
strcpy(m_path,img.working_directory().c_str());
}
- }
+ }
// TODO: Cassette controls
ImGui::EndMenu();
}
@@ -1196,7 +1196,7 @@ void debug_imgui::draw_create_dialog(const char* label)
ImGui::SameLine();
ImGui::Combo("##formatcombo",&m_format_sel,combo_str.c_str(),m_typelist.size());
}
-
+
if(m_create_confirm_wait)
{
ImGui::Separator();
@@ -1418,7 +1418,7 @@ void debug_imgui::update()
view_list_remove(to_delete);
global_free(to_delete);
}
-
+
ImGui::PopStyleColor(12);
}
diff --git a/src/osd/modules/input/input_sdl.cpp b/src/osd/modules/input/input_sdl.cpp
index 9d53ab5c3c9..0ff623ea8ff 100644
--- a/src/osd/modules/input/input_sdl.cpp
+++ b/src/osd/modules/input/input_sdl.cpp
@@ -867,7 +867,7 @@ public:
std::unique_ptr<device_info> &ptr = device;
return downcast<sdl_joystick_device*>(ptr.get())->sdl_state.joystick_id == sdlevent.jdevice.which;
});
-
+
// If we find a matching joystick, dispatch the event to the joystick
if (target_device != devicelist()->end())
{
diff --git a/src/osd/modules/input/input_sdlcommon.cpp b/src/osd/modules/input/input_sdlcommon.cpp
index 028c4d53ee9..163fc874e23 100644
--- a/src/osd/modules/input/input_sdlcommon.cpp
+++ b/src/osd/modules/input/input_sdlcommon.cpp
@@ -48,7 +48,7 @@ static std::shared_ptr<sdl_window_info> window_from_id(Uint32 windowID)
if (window == windows.end())
return nullptr;
-
+
return std::static_pointer_cast<sdl_window_info>(*window);
}