diff --git a/hash/abc80.xml b/hash/abc80.xml
index 87aba03a328..df6571b5c07 100644
--- a/hash/abc80.xml
+++ b/hash/abc80.xml
@@ -63,7 +63,7 @@
Kundregister
19??
<unknown>
-
+
diff --git a/hash/cc40_cart.xml b/hash/cc40_cart.xml
index 7b0e21e87e2..81d33db2096 100644
--- a/hash/cc40_cart.xml
+++ b/hash/cc40_cart.xml
@@ -5,14 +5,14 @@
diff --git a/hash/hp9835a_rom.xml b/hash/hp9835a_rom.xml
index e9ea0ec80c8..b945a47399f 100644
--- a/hash/hp9835a_rom.xml
+++ b/hash/hp9835a_rom.xml
@@ -2,7 +2,7 @@
-
+
Mass Storage
198?
@@ -16,7 +16,7 @@
-
+
I/O
198?
@@ -32,7 +32,7 @@
-
+
Assembly Execution
198?
@@ -45,7 +45,7 @@
-
+
Assembly Language Development & Execution
198?
diff --git a/hash/hp9845a_rom.xml b/hash/hp9845a_rom.xml
index eec567be03c..d50c187e136 100644
--- a/hash/hp9845a_rom.xml
+++ b/hash/hp9845a_rom.xml
@@ -2,7 +2,7 @@
-
+
Mass Storage
198?
@@ -15,7 +15,7 @@
-
+
I/O LPU
198?
@@ -28,7 +28,7 @@
-
+
I/O PPU
198?
@@ -41,7 +41,7 @@
-
+
Graphics
198?
@@ -54,7 +54,7 @@
-
+
PDR-45
198?
@@ -68,7 +68,7 @@
-
+
Programmer's Toolkit
198?
@@ -82,7 +82,7 @@
-
+
HP 9845B Command File/Memory Mass Storage ROM (Rev A)
198?
@@ -95,7 +95,7 @@
-
+
HP 9845B Command File/Memory Mass Storage ROM (Rev B)
198?
diff --git a/hash/hp9845b_rom.xml b/hash/hp9845b_rom.xml
index 81862fca6ea..f5586960f2e 100644
--- a/hash/hp9845b_rom.xml
+++ b/hash/hp9845b_rom.xml
@@ -2,7 +2,7 @@
-
+
Mass Storage (Rev B)
198?
@@ -16,7 +16,7 @@
-
+
Mass Storage (Rev C)
198?
@@ -30,7 +30,7 @@
-
+
Mass Storage (Rev D)
198?
@@ -45,7 +45,7 @@
-
+
Graphics
198?
@@ -59,7 +59,7 @@
-
+
I/O LPU (Rev A)
198?
@@ -73,7 +73,7 @@
-
+
I/O LPU (Rev B)
198?
@@ -87,7 +87,7 @@
-
+
I/O PPU (Rev B)
198?
@@ -101,7 +101,7 @@
-
+
I/O PPU (Rev C)
198?
@@ -115,7 +115,7 @@
-
+
Advanced Programming
198?
@@ -128,7 +128,7 @@
-
+
Assembly Execution
198?
@@ -142,7 +142,7 @@
-
+
Assembly Development & Execution
198?
@@ -158,7 +158,7 @@
-
+
IMAGE/45 Database Manager (Rev B)
198?
@@ -178,7 +178,7 @@
-
+
IMAGE/45 Database Manager (Rev C)
198?
@@ -198,7 +198,7 @@
-
+
Structured Programming
198?
@@ -211,7 +211,7 @@
-
+
Resource Management
198?
@@ -229,7 +229,7 @@
-
+
Test ROM
198?
@@ -243,7 +243,7 @@
-
+
BASIC Datacomm
198?
@@ -259,7 +259,7 @@
-
+
RJE Bisync
198?
@@ -273,7 +273,7 @@
-
+
Color Graphics
198?
@@ -289,7 +289,7 @@
-
+
Enhanced Graphics (Rev A)
198?
@@ -306,7 +306,7 @@
-
+
Enhanced Graphics (Rev B)
198?
diff --git a/hash/msx1_cart.xml b/hash/msx1_cart.xml
index 1ebde1cfae8..827d91e77e4 100644
--- a/hash/msx1_cart.xml
+++ b/hash/msx1_cart.xml
@@ -1038,7 +1038,7 @@ kept for now until finding out what those bytes affect...
-
+
@@ -1071,7 +1071,7 @@ kept for now until finding out what those bytes affect...
-
+
@@ -1088,7 +1088,7 @@ kept for now until finding out what those bytes affect...
-
+
@@ -14568,31 +14568,31 @@ kept for now until finding out what those bytes affect...
diff --git a/hash/msx2_cart.xml b/hash/msx2_cart.xml
index 2f36fecb77f..70292364138 100644
--- a/hash/msx2_cart.xml
+++ b/hash/msx2_cart.xml
@@ -836,7 +836,7 @@ LZ93A13 (32 pin) - 8KB banks
-
+
@@ -3167,7 +3167,7 @@ LZ93A13 (32 pin) - 8KB banks
-
@@ -3177,7 +3177,7 @@ LZ93A13 (32 pin) - 8KB banks
Konami
-
+
diff --git a/hash/msx2_flop.xml b/hash/msx2_flop.xml
index 6f8093e1c12..f6803cca0dc 100644
--- a/hash/msx2_flop.xml
+++ b/hash/msx2_flop.xml
@@ -297,16 +297,16 @@ The following floppies came with the machines.
diff --git a/hash/neogeo.xml b/hash/neogeo.xml
index 74f0e965ae3..947a8ec4b15 100644
--- a/hash/neogeo.xml
+++ b/hash/neogeo.xml
@@ -21,13 +21,13 @@
-
+
@@ -80,12 +80,12 @@
-
@@ -191,12 +191,12 @@
-
@@ -258,12 +258,12 @@
-
@@ -313,12 +313,12 @@
-
@@ -415,12 +415,12 @@
-
@@ -528,12 +528,12 @@
-
@@ -616,17 +616,17 @@
-
-
@@ -727,11 +727,11 @@
-
@@ -785,12 +785,12 @@
-
@@ -838,22 +838,22 @@
-
-
-
@@ -895,18 +895,18 @@
-
-
@@ -991,12 +991,12 @@
-
@@ -1081,14 +1081,14 @@
-
@@ -1208,12 +1208,12 @@
-
@@ -1259,12 +1259,12 @@
-
@@ -1357,12 +1357,12 @@
-
@@ -1402,12 +1402,12 @@
-
@@ -1449,12 +1449,12 @@
-
@@ -1518,11 +1518,11 @@
-
@@ -1563,12 +1563,12 @@
-
@@ -1610,17 +1610,17 @@
-
-
@@ -1664,16 +1664,16 @@
-
-
@@ -1712,12 +1712,12 @@
-
@@ -1835,12 +1835,12 @@
-
@@ -1921,12 +1921,12 @@
-
@@ -1968,12 +1968,12 @@
-
@@ -2019,12 +2019,12 @@
-
@@ -2066,17 +2066,17 @@
-
-
@@ -2118,12 +2118,12 @@
-
@@ -2163,12 +2163,12 @@
-
@@ -2216,12 +2216,12 @@
-
@@ -2309,11 +2309,11 @@
-
@@ -2348,11 +2348,11 @@
-
@@ -2395,12 +2395,12 @@
-
@@ -2442,12 +2442,12 @@
-
@@ -2494,12 +2494,12 @@
-
@@ -2545,12 +2545,12 @@
-
@@ -2643,12 +2643,12 @@
-
@@ -2757,12 +2757,12 @@
-
@@ -2810,10 +2810,10 @@
-
@@ -2849,12 +2849,12 @@
-
@@ -2892,11 +2892,11 @@
-
@@ -2937,11 +2937,11 @@
-
@@ -2981,11 +2981,11 @@
-
@@ -3023,12 +3023,12 @@
-
@@ -3159,17 +3159,17 @@
-
-
@@ -3222,12 +3222,12 @@
-
@@ -3333,12 +3333,12 @@
-
@@ -3385,12 +3385,12 @@
-
@@ -3491,11 +3491,11 @@
-
@@ -3547,10 +3547,10 @@
-
@@ -3634,12 +3634,12 @@
-
@@ -3682,11 +3682,11 @@
-
@@ -3735,12 +3735,12 @@
-
@@ -3851,12 +3851,12 @@
-
@@ -3907,11 +3907,11 @@
-
@@ -3956,11 +3956,11 @@
-
@@ -4003,10 +4003,10 @@
-
@@ -4042,10 +4042,10 @@
-
@@ -4093,12 +4093,12 @@
-
@@ -4148,10 +4148,10 @@
-
@@ -4191,29 +4191,29 @@
-
+ Reported UNIVERSE BIOS CRC32:
+ ROM EC861CAF
+ BANK 0 NOT USED
+ BANK 1 NOT USED
+ BANK 2 NOT USED
+ BANK 3 NOT USED
+ ***************************************-->
-
+
-
@@ -4251,12 +4251,12 @@
-
@@ -4307,11 +4307,11 @@
-
@@ -4353,10 +4353,10 @@
-
@@ -4400,16 +4400,16 @@
-
-
@@ -4461,12 +4461,12 @@
-
@@ -4509,12 +4509,12 @@
-
@@ -4593,12 +4593,12 @@
-
@@ -4646,13 +4646,13 @@
-
@@ -4702,10 +4702,10 @@
-
@@ -4716,7 +4716,7 @@
-
@@ -4763,13 +4763,13 @@
-
@@ -4877,15 +4877,15 @@
-
-
@@ -4927,12 +4927,12 @@
-
@@ -5089,11 +5089,11 @@
-
@@ -5133,11 +5133,11 @@
-
@@ -5188,11 +5188,11 @@
-
@@ -5246,16 +5246,16 @@
-
-
@@ -5301,10 +5301,10 @@
-
@@ -5346,11 +5346,11 @@
-
@@ -5402,12 +5402,12 @@
-
@@ -5518,11 +5518,11 @@
-
@@ -5626,11 +5626,11 @@
-
@@ -5672,20 +5672,20 @@
-
-
-
-
@@ -5746,11 +5746,11 @@
-
@@ -5792,10 +5792,10 @@
-
@@ -5831,11 +5831,11 @@
-
@@ -5870,21 +5870,21 @@
-
-
-
@@ -5925,10 +5925,10 @@
-
@@ -5964,10 +5964,10 @@
-
@@ -6008,10 +6008,10 @@
-
@@ -6052,21 +6052,21 @@
-
-
-
@@ -6110,10 +6110,10 @@
-
@@ -6152,11 +6152,11 @@
-
@@ -6259,11 +6259,11 @@
-
@@ -6309,11 +6309,11 @@
-
@@ -6369,11 +6369,11 @@
-
@@ -6424,11 +6424,11 @@
-
@@ -6478,10 +6478,10 @@
-
@@ -6522,9 +6522,9 @@
-
@@ -6587,11 +6587,11 @@
-
@@ -6626,12 +6626,12 @@
-
@@ -6735,11 +6735,11 @@
-
@@ -6844,11 +6844,11 @@
-
@@ -6890,11 +6890,11 @@
-
@@ -6941,16 +6941,16 @@
-
-
@@ -6992,9 +6992,9 @@
-
@@ -7024,20 +7024,20 @@
-
-
@@ -7079,10 +7079,10 @@
-
@@ -7122,12 +7122,12 @@
-
@@ -7271,11 +7271,11 @@
-
@@ -7316,12 +7316,12 @@
-
@@ -7472,10 +7472,10 @@
-
@@ -7509,18 +7509,18 @@
-
-
@@ -7556,10 +7556,10 @@
-
@@ -7659,11 +7659,11 @@
-
@@ -7714,12 +7714,12 @@
-
@@ -7870,12 +7870,12 @@
-
@@ -7918,13 +7918,13 @@
-
@@ -8149,12 +8149,12 @@
-
@@ -8207,11 +8207,11 @@
-
@@ -8249,10 +8249,10 @@
-
@@ -8300,11 +8300,11 @@
-
@@ -8353,10 +8353,10 @@
-
@@ -8392,10 +8392,10 @@
-
@@ -8492,11 +8492,11 @@
-
@@ -8535,12 +8535,12 @@
-
@@ -8590,15 +8590,15 @@
-
@@ -8875,10 +8875,10 @@
-
@@ -8913,12 +8913,12 @@
-
@@ -9078,10 +9078,10 @@
-
@@ -9124,10 +9124,10 @@
-
@@ -9167,14 +9167,14 @@
-
@@ -9292,15 +9292,15 @@
-
@@ -9416,15 +9416,15 @@
-
-
@@ -9461,10 +9461,10 @@
-
@@ -9498,11 +9498,11 @@
-
@@ -9550,13 +9550,13 @@
-
@@ -9673,12 +9673,12 @@
-
@@ -9782,13 +9782,13 @@
-
@@ -9843,12 +9843,12 @@
-
@@ -9905,12 +9905,12 @@
-
@@ -9967,10 +9967,10 @@
-
@@ -10011,11 +10011,11 @@
-
@@ -10124,12 +10124,12 @@
-
@@ -10186,12 +10186,12 @@
-
@@ -10303,12 +10303,12 @@
-
@@ -10424,11 +10424,11 @@
-
@@ -10562,18 +10562,18 @@
-
-
@@ -10582,34 +10582,34 @@
-
-
-
-
@@ -10619,7 +10619,7 @@
-
-
+
-
-
+
+
diff --git a/hash/sc3000_cass.xml b/hash/sc3000_cass.xml
index 48bc158ee4e..42697ad5784 100644
--- a/hash/sc3000_cass.xml
+++ b/hash/sc3000_cass.xml
@@ -13,5 +13,5 @@
-
+
diff --git a/hash/snes.xml b/hash/snes.xml
index cde5c447598..61d94cdec84 100644
--- a/hash/snes.xml
+++ b/hash/snes.xml
@@ -3262,7 +3262,7 @@ Beyond that last category are the roms waiting to be classified.
-
Contra IV - The Alien Wars (USA, Prototype)
1992
diff --git a/hash/tandy2k.xml b/hash/tandy2k.xml
index ac38d5d3166..0e7dcda8392 100644
--- a/hash/tandy2k.xml
+++ b/hash/tandy2k.xml
@@ -4,9 +4,9 @@
diff --git a/src/emu/addrmap.h b/src/emu/addrmap.h
index 96e5d6a0da9..f5b34456698 100644
--- a/src/emu/addrmap.h
+++ b/src/emu/addrmap.h
@@ -130,7 +130,7 @@ public:
write16_delegate m_wproto16; // 16-bit write proto-delegate
write32_delegate m_wproto32; // 32-bit write proto-delegate
write64_delegate m_wproto64; // 64-bit write proto-delegate
-
+
setoffset_delegate m_soproto; // set offset proto-delegate
address_map_delegate m_submap_delegate;
int m_submap_bits;
diff --git a/src/emu/bus/a1bus/a1bus.h b/src/emu/bus/a1bus/a1bus.h
index ef748915607..ec98eccbb4f 100644
--- a/src/emu/bus/a1bus/a1bus.h
+++ b/src/emu/bus/a1bus/a1bus.h
@@ -75,7 +75,7 @@ public:
// construction/destruction
a1bus_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
a1bus_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
-
+
// inline configuration
static void static_set_cputag(device_t &device, const char *tag);
template static devcb_base &set_out_irq_callback(device_t &device, _Object object) { return downcast(device).m_out_irq_cb.set_callback(object); }
@@ -97,7 +97,7 @@ protected:
// device-level overrides
virtual void device_start();
virtual void device_reset();
-
+
// internal state
cpu_device *m_maincpu;
diff --git a/src/emu/bus/a2bus/a2bus.h b/src/emu/bus/a2bus/a2bus.h
index 87d3410383a..db227f00e9d 100644
--- a/src/emu/bus/a2bus/a2bus.h
+++ b/src/emu/bus/a2bus/a2bus.h
@@ -32,7 +32,7 @@
#define MCFG_A2BUS_OUT_INH_CB(_devcb) \
devcb = &a2bus_device::set_out_inh_callback(*device, DEVCB_##_devcb);
-
+
#define MCFG_A2BUS_SLOT_ADD(_nbtag, _tag, _slot_intf, _def_slot) \
MCFG_DEVICE_ADD(_tag, A2BUS_SLOT, 0) \
MCFG_DEVICE_SLOT_INTERFACE(_slot_intf, _def_slot, false) \
@@ -83,7 +83,7 @@ public:
// construction/destruction
a2bus_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
a2bus_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
-
+
// inline configuration
static void static_set_cputag(device_t &device, const char *tag);
template static devcb_base &set_out_irq_callback(device_t &device, _Object object) { return downcast(device).m_out_irq_cb.set_callback(object); }
@@ -104,7 +104,7 @@ protected:
// device-level overrides
virtual void device_start();
virtual void device_reset();
-
+
// internal state
cpu_device *m_maincpu;
diff --git a/src/emu/bus/a2bus/a2eauxslot.h b/src/emu/bus/a2bus/a2eauxslot.h
index 7e7d110c484..ba289849afe 100644
--- a/src/emu/bus/a2bus/a2eauxslot.h
+++ b/src/emu/bus/a2bus/a2eauxslot.h
@@ -20,13 +20,13 @@
#define MCFG_A2EAUXSLOT_CPU(_cputag) \
a2eauxslot_device::static_set_cputag(*device, _cputag);
-
+
#define MCFG_A2EAUXSLOT_OUT_IRQ_CB(_devcb) \
devcb = &a2eauxslot_device::set_out_irq_callback(*device, DEVCB_##_devcb);
#define MCFG_A2EAUXSLOT_OUT_NMI_CB(_devcb) \
devcb = &a2eauxslot_device::set_out_nmi_callback(*device, DEVCB_##_devcb);
-
+
#define MCFG_A2EAUXSLOT_SLOT_ADD(_nbtag, _tag, _slot_intf, _def_slot) \
MCFG_DEVICE_ADD(_tag, A2EAUXSLOT_SLOT, 0) \
MCFG_DEVICE_SLOT_INTERFACE(_slot_intf, _def_slot, false) \
@@ -71,12 +71,12 @@ public:
// construction/destruction
a2eauxslot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
a2eauxslot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
-
+
// inline configuration
static void static_set_cputag(device_t &device, const char *tag);
template static devcb_base &set_out_irq_callback(device_t &device, _Object object) { return downcast(device).m_out_irq_cb.set_callback(object); }
template static devcb_base &set_out_nmi_callback(device_t &device, _Object object) { return downcast(device).m_out_nmi_cb.set_callback(object); }
-
+
void add_a2eauxslot_card(device_a2eauxslot_card_interface *card);
device_a2eauxslot_card_interface *get_a2eauxslot_card();
diff --git a/src/emu/bus/a2bus/a2mcms.h b/src/emu/bus/a2bus/a2mcms.h
index f896e1b4aea..c4d5e3dd730 100644
--- a/src/emu/bus/a2bus/a2mcms.h
+++ b/src/emu/bus/a2bus/a2mcms.h
@@ -106,7 +106,7 @@ protected:
virtual bool take_c800() { return false; }
private:
- a2bus_mcms1_device *m_card1; // card 1 for passthrough
+ a2bus_mcms1_device *m_card1; // card 1 for passthrough
mcms_device *m_engine;
};
diff --git a/src/emu/bus/amiga/zorro/a2052.h b/src/emu/bus/amiga/zorro/a2052.h
index 4ba55e94342..18f7fcd43e6 100644
--- a/src/emu/bus/amiga/zorro/a2052.h
+++ b/src/emu/bus/amiga/zorro/a2052.h
@@ -1,11 +1,11 @@
/***************************************************************************
- Commodore A2052
+ Commodore A2052
license: MAME, GPL-2.0+
copyright-holders: Dirk Best
- Zorro-II RAM Expansion (0.5, 1 or 2 MB)
+ Zorro-II RAM Expansion (0.5, 1 or 2 MB)
***************************************************************************/
diff --git a/src/emu/bus/amiga/zorro/a2232.h b/src/emu/bus/amiga/zorro/a2232.h
index 862893e2b0a..29e1b685992 100644
--- a/src/emu/bus/amiga/zorro/a2232.h
+++ b/src/emu/bus/amiga/zorro/a2232.h
@@ -1,13 +1,13 @@
/***************************************************************************
- Commodore A2232
+ Commodore A2232
license: MAME, GPL-2.0+
copyright-holders: Dirk Best
- Zorro-II Serial Card
+ Zorro-II Serial Card
- Provides the Amiga with 7 additional RS232 ports.
+ Provides the Amiga with 7 additional RS232 ports.
***************************************************************************/
diff --git a/src/emu/bus/amiga/zorro/a590.h b/src/emu/bus/amiga/zorro/a590.h
index 4682c72903f..3665ff514c6 100644
--- a/src/emu/bus/amiga/zorro/a590.h
+++ b/src/emu/bus/amiga/zorro/a590.h
@@ -1,11 +1,11 @@
/***************************************************************************
- Commodore A590 / A2091
+ Commodore A590 / A2091
license: MAME, GPL-2.0+
copyright-holders: Dirk Best
- DMAC based SCSI controller for the Amiga 500 and Zorro-II
+ DMAC based SCSI controller for the Amiga 500 and Zorro-II
***************************************************************************/
diff --git a/src/emu/bus/amiga/zorro/action_replay.h b/src/emu/bus/amiga/zorro/action_replay.h
index f2520575fb7..5ae6844daa3 100644
--- a/src/emu/bus/amiga/zorro/action_replay.h
+++ b/src/emu/bus/amiga/zorro/action_replay.h
@@ -1,11 +1,11 @@
/***************************************************************************
- Datel Action Replay
+ Datel Action Replay
license: MAME, GPL-2.0+
copyright-holders: Dirk Best
- Freezer cartridge for Amiga 500 and Amiga 2000
+ Freezer cartridge for Amiga 500 and Amiga 2000
***************************************************************************/
diff --git a/src/emu/bus/amiga/zorro/buddha.h b/src/emu/bus/amiga/zorro/buddha.h
index 9cc2a479e55..5c7b31f7ffc 100644
--- a/src/emu/bus/amiga/zorro/buddha.h
+++ b/src/emu/bus/amiga/zorro/buddha.h
@@ -1,11 +1,11 @@
/***************************************************************************
- Buddha
+ Buddha
license: MAME, GPL-2.0+
copyright-holders: Dirk Best
- Zorro-II IDE controller
+ Zorro-II IDE controller
***************************************************************************/
diff --git a/src/emu/bus/amiga/zorro/cards.h b/src/emu/bus/amiga/zorro/cards.h
index 57c98f01053..fbbd2b17b29 100644
--- a/src/emu/bus/amiga/zorro/cards.h
+++ b/src/emu/bus/amiga/zorro/cards.h
@@ -1,21 +1,21 @@
/***************************************************************************
- Amiga Zorro Cards
+ Amiga Zorro Cards
- There are different card types and layouts:
+ There are different card types and layouts:
- * 86-pin expansion slot
- - A1000
- - A500 (rotated slot)
- - A2000/B2000 (internal slot)
- * Zorro-II
- - A2000
- - B2000
- * Zorro-III
- - A3000, A4000
+ * 86-pin expansion slot
+ - A1000
+ - A500 (rotated slot)
+ - A2000/B2000 (internal slot)
+ * Zorro-II
+ - A2000
+ - B2000
+ * Zorro-III
+ - A3000, A4000
- For details see zorro.h. Zorro-II cards can be inserted into
- Zorro-III slots.
+ For details see zorro.h. Zorro-II cards can be inserted into
+ Zorro-III slots.
***************************************************************************/
diff --git a/src/emu/bus/amiga/zorro/zorro.h b/src/emu/bus/amiga/zorro/zorro.h
index 7c6d593f6d5..c5dbbb0286b 100644
--- a/src/emu/bus/amiga/zorro/zorro.h
+++ b/src/emu/bus/amiga/zorro/zorro.h
@@ -1,140 +1,140 @@
/***************************************************************************
- Amiga Zorro Slots
+ Amiga Zorro Slots
license: MAME, GPL-2.0+
copyright-holders: Dirk Best
- 86-pin Expansion Slot (Zorro-I), Zorro-II, Zorro-III
+ 86-pin Expansion Slot (Zorro-I), Zorro-II, Zorro-III
- 86-pin Expansion Slot
+ 86-pin Expansion Slot
- 2 Ground 1 Ground
- 4 Ground 3 Ground
- 6 +5VDC 5 +5VDC
- 8 -5VDC 7 N/C
- 10 +12VDC 9 N/C *1
- 12 CFGIN 11 N/C *2
- 14 /C3 Clock 13 Ground
- 16 /C1 Clock 15 CDAC
- 18 XRDY 17 /OVR
- 20 N/C *3 19 /INT2
- 22 /INT6 21 A5
- 24 A4 23 A6
- 26 A3 25 Ground
- 28 A7 27 A2
- 30 A8 29 A1
- 32 A9 31 FC0
- 34 A10 33 FC1
- 36 A11 35 FC2
- 38 A12 37 Ground
- 40 /IPL0 39 A13
- 42 /IPL1 41 A14
- 44 /IPL2 43 A15
- 46 /BEER 45 A16
- 48 /VPA 47 A17
- 50 E Clock 49 Ground
- 52 A18 51 /VMA
- 54 A19 53 /RST
- 56 A20 55 /HLT
- 58 A21 57 A22
- 60 /BR *4 59 A23
- 62 /BGACK 61 Ground
- 64 /BG *5 63 D15
- 66 /DTACK 65 D14
- 68 R/W 67 D13
- 70 /LDS 69 D12
- 72 /UDS 71 D11
- 74 /AS 73 Ground
- 76 D10 75 D0
- 78 D9 77 D1
- 80 D8 79 D2
- 82 D7 81 D3
- 84 D6 83 D4
- 86 D5 85 Ground
+ 2 Ground 1 Ground
+ 4 Ground 3 Ground
+ 6 +5VDC 5 +5VDC
+ 8 -5VDC 7 N/C
+ 10 +12VDC 9 N/C *1
+ 12 CFGIN 11 N/C *2
+ 14 /C3 Clock 13 Ground
+ 16 /C1 Clock 15 CDAC
+ 18 XRDY 17 /OVR
+ 20 N/C *3 19 /INT2
+ 22 /INT6 21 A5
+ 24 A4 23 A6
+ 26 A3 25 Ground
+ 28 A7 27 A2
+ 30 A8 29 A1
+ 32 A9 31 FC0
+ 34 A10 33 FC1
+ 36 A11 35 FC2
+ 38 A12 37 Ground
+ 40 /IPL0 39 A13
+ 42 /IPL1 41 A14
+ 44 /IPL2 43 A15
+ 46 /BEER 45 A16
+ 48 /VPA 47 A17
+ 50 E Clock 49 Ground
+ 52 A18 51 /VMA
+ 54 A19 53 /RST
+ 56 A20 55 /HLT
+ 58 A21 57 A22
+ 60 /BR *4 59 A23
+ 62 /BGACK 61 Ground
+ 64 /BG *5 63 D15
+ 66 /DTACK 65 D14
+ 68 R/W 67 D13
+ 70 /LDS 69 D12
+ 72 /UDS 71 D11
+ 74 /AS 73 Ground
+ 76 D10 75 D0
+ 78 D9 77 D1
+ 80 D8 79 D2
+ 82 D7 81 D3
+ 84 D6 83 D4
+ 86 D5 85 Ground
- *1 28 MHz Clock on A2000 and B2000
- *2 /COPCFG on B2000
- *3 /PALOPE on A1000, /BOSS on B2000
- *4 /CBR on B2000
- *5 /CBG on B2000
+ *1 28 MHz Clock on A2000 and B2000
+ *2 /COPCFG on B2000
+ *3 /PALOPE on A1000, /BOSS on B2000
+ *4 /CBR on B2000
+ *5 /CBG on B2000
- Zorro-II (differences only)
+ Zorro-II (differences only)
- 7 /OWN
- 9 /SLAVEn
- 11 /CFGOUTn
- 12 /CFGINn
- 20 -12VDC
- 40 /EINT7
- 42 /EINT5
- 44 /EINT4
- 60 /BRn
- 64 /BGn
+ 7 /OWN
+ 9 /SLAVEn
+ 11 /CFGOUTn
+ 12 /CFGINn
+ 20 -12VDC
+ 40 /EINT7
+ 42 /EINT5
+ 44 /EINT4
+ 60 /BRn
+ 64 /BGn
- 88 Ground 87 Ground
- 90 Ground 89 Ground
- 92 7 MHz 91 Ground
- 94 /BURST 93 DOE
- 96 /EINT1 95 /BG *5
- 98 N/C 97 N/C
+ 88 Ground 87 Ground
+ 90 Ground 89 Ground
+ 92 7 MHz 91 Ground
+ 94 /BURST 93 DOE
+ 96 /EINT1 95 /BG *5
+ 98 N/C 97 N/C
100 Ground 99 Ground
- *6 /GBG on B2000
+ *6 /GBG on B2000
- Zorro-III
+ Zorro-III
- The Zorro-III is a multiplexed Zorro-II bus with address- and
- data phases. Signals changes as follows:
+ The Zorro-III is a multiplexed Zorro-II bus with address- and
+ data phases. Signals changes as follows:
- 17 /CINH
- 18 /MTCR
- 29 /LOCK
- 30 AD8 (D0)
- 32 AD9 (D1)
- 34 AD10 (D2)
- 36 AD11 (D3)
- 38 AD12 (D4)
- 39 AD13 (D5)
- 40 Reserved
- 41 AD14 (D6)
- 42 Reserved
- 43 AD15 (D7)
- 44 Reserved
- 45 AD16 (D8)
- 47 AD17 (D9)
- 48 /MTACK
- 51 /DS0
- 52 AD18 (D10)
- 54 AD19 (D11)
- 56 AD20 (D12)
- 57 AD22 (D14)
- 58 AD21 (D13)
- 59 AD23 (D15)
- 63 AD31
- 65 AD30
- 67 AD29
- 69 AD28
- 70 /DS2
- 71 AD27
- 72 /DS3
- 74 /CCS
- 75 SD0 (D16)
- 76 AD26
- 77 SD1 (D17)
- 78 AD25
- 79 SD2 (D18)
- 80 AD24
- 81 SD3 (D19)
- 82 SD7 (D23)
- 83 SD4 (D20)
- 84 SD6 (D22)
- 86 SD5 (D21)
- 91 Sense Z3
- 94 /IORST
- 95 /BCLR
- 97 /FCS
- 98 /DS1
+ 17 /CINH
+ 18 /MTCR
+ 29 /LOCK
+ 30 AD8 (D0)
+ 32 AD9 (D1)
+ 34 AD10 (D2)
+ 36 AD11 (D3)
+ 38 AD12 (D4)
+ 39 AD13 (D5)
+ 40 Reserved
+ 41 AD14 (D6)
+ 42 Reserved
+ 43 AD15 (D7)
+ 44 Reserved
+ 45 AD16 (D8)
+ 47 AD17 (D9)
+ 48 /MTACK
+ 51 /DS0
+ 52 AD18 (D10)
+ 54 AD19 (D11)
+ 56 AD20 (D12)
+ 57 AD22 (D14)
+ 58 AD21 (D13)
+ 59 AD23 (D15)
+ 63 AD31
+ 65 AD30
+ 67 AD29
+ 69 AD28
+ 70 /DS2
+ 71 AD27
+ 72 /DS3
+ 74 /CCS
+ 75 SD0 (D16)
+ 76 AD26
+ 77 SD1 (D17)
+ 78 AD25
+ 79 SD2 (D18)
+ 80 AD24
+ 81 SD3 (D19)
+ 82 SD7 (D23)
+ 83 SD4 (D20)
+ 84 SD6 (D22)
+ 86 SD5 (D21)
+ 91 Sense Z3
+ 94 /IORST
+ 95 /BCLR
+ 97 /FCS
+ 98 /DS1
***************************************************************************/
diff --git a/src/emu/bus/bml3/bml3bus.h b/src/emu/bus/bml3/bml3bus.h
index 969fbcf7656..cb6be92cf5a 100644
--- a/src/emu/bus/bml3/bml3bus.h
+++ b/src/emu/bus/bml3/bml3bus.h
@@ -21,7 +21,7 @@
#define MCFG_BML3BUS_CPU(_cputag) \
bml3bus_device::static_set_cputag(*device, _cputag);
-
+
#define MCFG_BML3BUS_OUT_NMI_CB(_devcb) \
devcb = &bml3bus_device::set_out_nmi_callback(*device, DEVCB_##_devcb);
@@ -79,7 +79,7 @@ public:
// construction/destruction
bml3bus_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
bml3bus_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
-
+
// inline configuration
static void static_set_cputag(device_t &device, const char *tag);
template static devcb_base &set_out_nmi_callback(device_t &device, _Object object) { return downcast(device).m_out_nmi_cb.set_callback(object); }
diff --git a/src/emu/bus/centronics/epson_ex800.h b/src/emu/bus/centronics/epson_ex800.h
index 24048e047ed..c64ca3b2e6e 100644
--- a/src/emu/bus/centronics/epson_ex800.h
+++ b/src/emu/bus/centronics/epson_ex800.h
@@ -28,7 +28,7 @@
// ======================> epson_ex800_t
class epson_ex800_t : public device_t,
- public device_centronics_peripheral_interface
+ public device_centronics_peripheral_interface
{
public:
// construction/destruction
diff --git a/src/emu/bus/centronics/epson_lx800.h b/src/emu/bus/centronics/epson_lx800.h
index 7bf62fa7b05..258aeb3230d 100644
--- a/src/emu/bus/centronics/epson_lx800.h
+++ b/src/emu/bus/centronics/epson_lx800.h
@@ -29,7 +29,7 @@
// ======================> epson_lx800_t
class epson_lx800_t : public device_t,
- public device_centronics_peripheral_interface
+ public device_centronics_peripheral_interface
{
public:
// construction/destruction
diff --git a/src/emu/bus/coco/cococart.h b/src/emu/bus/coco/cococart.h
index 07171b03426..128cdea8e48 100644
--- a/src/emu/bus/coco/cococart.h
+++ b/src/emu/bus/coco/cococart.h
@@ -46,7 +46,7 @@ struct coco_cartridge_line
cococart_line_value value;
int line;
int q_count;
- devcb_write_line *callback;
+ devcb_write_line *callback;
};
// ======================> cococart_base_update_delegate
@@ -56,13 +56,13 @@ typedef delegate cococart_base_update_delegate;
#define MCFG_COCO_CARTRIDGE_CART_CB(_devcb) \
devcb = &cococart_slot_device::static_set_cart_callback(*device, DEVCB_##_devcb);
-
+
#define MCFG_COCO_CARTRIDGE_NMI_CB(_devcb) \
devcb = &cococart_slot_device::static_set_nmi_callback(*device, DEVCB_##_devcb);
-
+
#define MCFG_COCO_CARTRIDGE_HALT_CB(_devcb) \
devcb = &cococart_slot_device::static_set_halt_callback(*device, DEVCB_##_devcb);
-
+
// ======================> cococart_slot_device
class device_cococart_interface;
@@ -78,7 +78,7 @@ public:
template static devcb_base &static_set_cart_callback(device_t &device, _Object object) { return downcast(device).m_cart_callback.set_callback(object); }
template static devcb_base &static_set_nmi_callback(device_t &device, _Object object) { return downcast(device).m_nmi_callback.set_callback(object); }
template static devcb_base &static_set_halt_callback(device_t &device, _Object object) { return downcast(device).m_halt_callback.set_callback(object); }
-
+
// device-level overrides
virtual void device_start();
virtual void device_config_complete();
@@ -128,10 +128,10 @@ private:
coco_cartridge_line m_cart_line;
coco_cartridge_line m_nmi_line;
coco_cartridge_line m_halt_line;
-public:
- devcb_write_line m_cart_callback;
- devcb_write_line m_nmi_callback;
- devcb_write_line m_halt_callback;
+public:
+ devcb_write_line m_cart_callback;
+ devcb_write_line m_nmi_callback;
+ devcb_write_line m_halt_callback;
private:
// cartridge
device_cococart_interface *m_cart;
diff --git a/src/emu/bus/cpc/cpc_rs232.h b/src/emu/bus/cpc/cpc_rs232.h
index 0e44e41d6a9..fe1a716a1fb 100644
--- a/src/emu/bus/cpc/cpc_rs232.h
+++ b/src/emu/bus/cpc/cpc_rs232.h
@@ -14,7 +14,7 @@
#include "cpcexp.h"
class cpc_rs232_device : public device_t,
- public device_cpc_expansion_card_interface
+ public device_cpc_expansion_card_interface
{
public:
// construction/destruction
diff --git a/src/emu/bus/cpc/cpcexp.h b/src/emu/bus/cpc/cpcexp.h
index b5ab0247331..943396b1eef 100644
--- a/src/emu/bus/cpc/cpcexp.h
+++ b/src/emu/bus/cpc/cpcexp.h
@@ -93,7 +93,7 @@ public:
// construction/destruction
cpc_expansion_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
virtual ~cpc_expansion_slot_device();
-
+
template static devcb_base &set_out_irq_callback(device_t &device, _Object object) { return downcast(device).m_out_irq_cb.set_callback(object); }
template static devcb_base &set_out_nmi_callback(device_t &device, _Object object) { return downcast(device).m_out_nmi_cb.set_callback(object); }
template static devcb_base &set_out_reset_callback(device_t &device, _Object object) { return downcast(device).m_out_reset_cb.set_callback(object); }
diff --git a/src/emu/bus/gameboy/mbc.h b/src/emu/bus/gameboy/mbc.h
index ef261a44503..46e23c3984d 100644
--- a/src/emu/bus/gameboy/mbc.h
+++ b/src/emu/bus/gameboy/mbc.h
@@ -221,7 +221,7 @@ class gb_rom_licheng_device : public gb_rom_mbc5_device
public:
// construction/destruction
gb_rom_licheng_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
-
+
virtual DECLARE_WRITE8_MEMBER(write_bank);
};
diff --git a/src/emu/bus/iq151/iq151.h b/src/emu/bus/iq151/iq151.h
index e7fe12e8b4b..9b85ee9d3a2 100644
--- a/src/emu/bus/iq151/iq151.h
+++ b/src/emu/bus/iq151/iq151.h
@@ -79,7 +79,7 @@ public:
// construction/destruction
iq151cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
virtual ~iq151cart_slot_device();
-
+
template static devcb_base &set_out_irq0_callback(device_t &device, _Object object) { return downcast(device).m_out_irq0_cb.set_callback(object); }
template static devcb_base &set_out_irq1_callback(device_t &device, _Object object) { return downcast(device).m_out_irq1_cb.set_callback(object); }
template static devcb_base &set_out_irq2_callback(device_t &device, _Object object) { return downcast(device).m_out_irq2_cb.set_callback(object); }
diff --git a/src/emu/bus/isa/aga.h b/src/emu/bus/isa/aga.h
index e764458a087..cfe867ec258 100644
--- a/src/emu/bus/isa/aga.h
+++ b/src/emu/bus/isa/aga.h
@@ -57,7 +57,7 @@ public:
DECLARE_READ8_MEMBER( pc_aga_videoram_r );
MC6845_UPDATE_ROW( aga_update_row );
- MC6845_UPDATE_ROW( mda_text_inten_update_row );
+ MC6845_UPDATE_ROW( mda_text_inten_update_row );
MC6845_UPDATE_ROW( mda_text_blink_update_row );
MC6845_UPDATE_ROW( cga_text_inten_update_row );
MC6845_UPDATE_ROW( cga_text_inten_alt_update_row );
diff --git a/src/emu/bus/isa/gus.h b/src/emu/bus/isa/gus.h
index 06451a0ac56..969643d427a 100644
--- a/src/emu/bus/isa/gus.h
+++ b/src/emu/bus/isa/gus.h
@@ -61,22 +61,22 @@
#define MCFG_GF1_TIMER2_IRQ_HANDLER(_devcb) \
devcb = &gf1_device::set_timer2_irq_handler(*device, DEVCB_##_devcb);
-
+
#define MCFG_GF1_SB_IRQ_HANDLER(_devcb) \
devcb = &gf1_device::set_sb_irq_handler(*device, DEVCB_##_devcb);
#define MCFG_GF1_DMA_IRQ_HANDLER(_devcb) \
devcb = &gf1_device::set_dma_irq_handler(*device, DEVCB_##_devcb);
-
+
#define MCFG_GF1_DRQ1_HANDLER(_devcb) \
devcb = &gf1_device::set_drq1_handler(*device, DEVCB_##_devcb);
-
+
#define MCFG_GF1_DRQ2_HANDLER(_devcb) \
devcb = &gf1_device::set_drq2_handler(*device, DEVCB_##_devcb);
-
+
#define MCFG_GF1_NMI_HANDLER(_devcb) \
devcb = &gf1_device::set_nmi_handler(*device, DEVCB_##_devcb);
-
+
//**************************************************************************
// TYPE DEFINITIONS
//**************************************************************************
diff --git a/src/emu/bus/isa/isa.h b/src/emu/bus/isa/isa.h
index f4640af9a98..83953700d59 100644
--- a/src/emu/bus/isa/isa.h
+++ b/src/emu/bus/isa/isa.h
@@ -92,7 +92,7 @@
#define MCFG_ISA_BUS_IOCHCK(_iochck) \
downcast(device)->set_iochck_callback(DEVCB_##_iochck);
-
+
#define MCFG_ISA_OUT_IRQ2_CB(_devcb) \
devcb = &isa8_device::set_out_irq2_callback(*device, DEVCB_##_devcb);
@@ -119,7 +119,7 @@
#define MCFG_ISA_OUT_DRQ3_CB(_devcb) \
devcb = &isa8_device::set_out_drq3_callback(*device, DEVCB_##_devcb);
-
+
#define MCFG_ISA_OUT_IRQ10_CB(_devcb) \
devcb = &isa16_device::set_out_irq10_callback(*device, DEVCB_##_devcb);
@@ -354,7 +354,7 @@ public:
template static devcb_base &set_out_drq5_callback(device_t &device, _Object object) { return downcast(device).m_out_drq5_cb.set_callback(object); }
template static devcb_base &set_out_drq6_callback(device_t &device, _Object object) { return downcast(device).m_out_drq6_cb.set_callback(object); }
template static devcb_base &set_out_drq7_callback(device_t &device, _Object object) { return downcast(device).m_out_drq7_cb.set_callback(object); }
-
+
void install16_device(offs_t start, offs_t end, offs_t mask, offs_t mirror, read16_delegate rhandler, write16_delegate whandler);
// for ISA16, put the 16-bit configs in the primary slots and the 8-bit configs in the secondary
diff --git a/src/emu/bus/kc/kc.h b/src/emu/bus/kc/kc.h
index 8970e957530..1b9b4c7f5d5 100644
--- a/src/emu/bus/kc/kc.h
+++ b/src/emu/bus/kc/kc.h
@@ -49,7 +49,7 @@ public:
template static devcb_base &set_out_irq_callback(device_t &device, _Object object) { return downcast(device).m_out_irq_cb.set_callback(object); }
template static devcb_base &set_out_nmi_callback(device_t &device, _Object object) { return downcast(device).m_out_nmi_cb.set_callback(object); }
template static devcb_base &set_out_halt_callback(device_t &device, _Object object) { return downcast(device).m_out_halt_cb.set_callback(object); }
-
+
// device-level overrides
virtual void device_start();
@@ -127,7 +127,7 @@ extern const device_type KCCART_SLOT;
#define MCFG_KCEXP_SLOT_NEXT_SLOT(_next_slot_tag) \
kcexp_slot_device::static_set_next_slot(*device, _next_slot_tag);
-
+
#define MCFG_KCCART_SLOT_OUT_IRQ_CB(_devcb) \
devcb = &kccart_slot_device::set_out_irq_callback(*device, DEVCB_##_devcb);
@@ -141,12 +141,12 @@ extern const device_type KCCART_SLOT;
#define MCFG_KCCART_SLOT_NEXT_SLOT(_next_slot_tag) \
kccart_slot_device::static_set_next_slot(*device, _next_slot_tag);
-// #define MCFG_KC85_EXPANSION_ADD(_tag,_next_slot_tag,_config,_slot_intf,_def_slot)
-// MCFG_DEVICE_ADD(_tag, KCEXP_SLOT, 0)
-// MCFG_DEVICE_SLOT_INTERFACE(_slot_intf, _def_slot, false)
+// #define MCFG_KC85_EXPANSION_ADD(_tag,_next_slot_tag,_config,_slot_intf,_def_slot)
+// MCFG_DEVICE_ADD(_tag, KCEXP_SLOT, 0)
+// MCFG_DEVICE_SLOT_INTERFACE(_slot_intf, _def_slot, false)
// #define MCFG_KC85_CARTRIDGE_ADD(_tag,_next_slot_tag,_config,_slot_intf,_def_slot)
-// MCFG_DEVICE_ADD(_tag, KCCART_SLOT, 0)
-// MCFG_DEVICE_SLOT_INTERFACE(_slot_intf, _def_slot, false)
+// MCFG_DEVICE_ADD(_tag, KCCART_SLOT, 0)
+// MCFG_DEVICE_SLOT_INTERFACE(_slot_intf, _def_slot, false)
#endif /* __KCEXP_H__ */
diff --git a/src/emu/bus/msx_cart/ascii.h b/src/emu/bus/msx_cart/ascii.h
index 24ad955e32f..39a01074af6 100644
--- a/src/emu/bus/msx_cart/ascii.h
+++ b/src/emu/bus/msx_cart/ascii.h
@@ -113,4 +113,3 @@ private:
#endif
-
diff --git a/src/emu/bus/msx_cart/konami.h b/src/emu/bus/msx_cart/konami.h
index 6f9b10bdf94..c85fcd5fbe6 100644
--- a/src/emu/bus/msx_cart/konami.h
+++ b/src/emu/bus/msx_cart/konami.h
@@ -94,22 +94,22 @@ private:
class msx_cart_synthesizer : public device_t
- , public msx_cart_interface
+ , public msx_cart_interface
{
public:
- msx_cart_synthesizer(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ msx_cart_synthesizer(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
- // device-level overrides
- virtual void device_start();
+ // device-level overrides
+ virtual void device_start();
virtual machine_config_constructor device_mconfig_additions() const;
- virtual void initialize_cartridge();
+ virtual void initialize_cartridge();
- virtual DECLARE_READ8_MEMBER(read_cart);
- virtual DECLARE_WRITE8_MEMBER(write_cart);
+ virtual DECLARE_READ8_MEMBER(read_cart);
+ virtual DECLARE_WRITE8_MEMBER(write_cart);
private:
- UINT8 *m_bank_base;
+ UINT8 *m_bank_base;
required_device m_dac;
};
diff --git a/src/emu/bus/msx_cart/yamaha.h b/src/emu/bus/msx_cart/yamaha.h
index 337eabd8f60..e1f6fc489ff 100644
--- a/src/emu/bus/msx_cart/yamaha.h
+++ b/src/emu/bus/msx_cart/yamaha.h
@@ -60,4 +60,3 @@ public:
};
#endif
-
diff --git a/src/emu/bus/msx_slot/bunsetsu.h b/src/emu/bus/msx_slot/bunsetsu.h
index d798cc52b34..de41015932c 100644
--- a/src/emu/bus/msx_slot/bunsetsu.h
+++ b/src/emu/bus/msx_slot/bunsetsu.h
@@ -11,8 +11,7 @@ extern const device_type MSX_SLOT_BUNSETSU;
#define MCFG_MSX_SLOT_BUNSETSU_ADD(_tag, _startpage, _numpages, _region, _offset, _bunsetsu_region_tag) \
MCFG_MSX_INTERNAL_SLOT_ADD(_tag, MSX_SLOT_BUNSETSU, _startpage, _numpages) \
msx_slot_rom_device::set_rom_start(*device, _region, _offset); \
- msx_slot_bunsetsu_device::set_bunsetsu_region_tag(*device, _bunsetsu_region_tag); \
-
+ msx_slot_bunsetsu_device::set_bunsetsu_region_tag(*device, _bunsetsu_region_tag);
class msx_slot_bunsetsu_device : public msx_slot_rom_device
{
public:
@@ -35,4 +34,3 @@ private:
#endif
-
diff --git a/src/emu/bus/msx_slot/cartridge.h b/src/emu/bus/msx_slot/cartridge.h
index fef197fdbd5..ec09924f295 100644
--- a/src/emu/bus/msx_slot/cartridge.h
+++ b/src/emu/bus/msx_slot/cartridge.h
@@ -80,4 +80,3 @@ public:
#endif
-
diff --git a/src/emu/bus/msx_slot/disk.h b/src/emu/bus/msx_slot/disk.h
index ad734b7fde7..7816dd28bdc 100644
--- a/src/emu/bus/msx_slot/disk.h
+++ b/src/emu/bus/msx_slot/disk.h
@@ -103,9 +103,9 @@ protected:
class msx_slot_tc8566_disk_device : public msx_slot_disk_device
{
public:
- msx_slot_tc8566_disk_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ msx_slot_tc8566_disk_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
- virtual void device_start();
+ virtual void device_start();
protected:
tc8566af_device *m_fdc;
@@ -185,7 +185,7 @@ public:
DECLARE_READ8_MEMBER(io_read);
DECLARE_WRITE8_MEMBER(io_write);
- void post_load();
+ void post_load();
private:
UINT8 m_control;
@@ -195,4 +195,3 @@ private:
#endif
-
diff --git a/src/emu/bus/msx_slot/music.h b/src/emu/bus/msx_slot/music.h
index 10e07ae47e6..c21ca3b84fc 100644
--- a/src/emu/bus/msx_slot/music.h
+++ b/src/emu/bus/msx_slot/music.h
@@ -13,8 +13,7 @@ extern const device_type MSX_SLOT_MUSIC;
#define MCFG_MSX_SLOT_MUSIC_ADD(_tag, _startpage, _numpages, _region, _offset, _ym2413_tag) \
MCFG_MSX_INTERNAL_SLOT_ADD(_tag, MSX_SLOT_MUSIC, _startpage, _numpages) \
msx_slot_rom_device::set_rom_start(*device, _region, _offset); \
- msx_slot_music_device::set_ym2413_tag(*device, _ym2413_tag); \
-
+ msx_slot_music_device::set_ym2413_tag(*device, _ym2413_tag);
class msx_slot_music_device : public msx_slot_rom_device
{
public:
@@ -36,4 +35,3 @@ private:
#endif
-
diff --git a/src/emu/bus/msx_slot/ram.h b/src/emu/bus/msx_slot/ram.h
index 9f66808b234..3a2b0a936f9 100644
--- a/src/emu/bus/msx_slot/ram.h
+++ b/src/emu/bus/msx_slot/ram.h
@@ -4,8 +4,7 @@
#include "slot.h"
#define MCFG_MSX_SLOT_RAM_ADD(_tag, _startpage, _numpages) \
- MCFG_MSX_INTERNAL_SLOT_ADD(_tag, MSX_SLOT_RAM, _startpage, _numpages) \
-
+ MCFG_MSX_INTERNAL_SLOT_ADD(_tag, MSX_SLOT_RAM, _startpage, _numpages)
class msx_slot_ram_device : public device_t,
public msx_internal_slot_interface
{
diff --git a/src/emu/bus/msx_slot/ram_mm.h b/src/emu/bus/msx_slot/ram_mm.h
index 5027fa428e1..89399bc2608 100644
--- a/src/emu/bus/msx_slot/ram_mm.h
+++ b/src/emu/bus/msx_slot/ram_mm.h
@@ -41,4 +41,3 @@ private:
extern const device_type MSX_SLOT_RAM_MM;
#endif
-
diff --git a/src/emu/bus/neogeo/banked_cart.h b/src/emu/bus/neogeo/banked_cart.h
index 60e2ad0cc05..d0921b72c33 100644
--- a/src/emu/bus/neogeo/banked_cart.h
+++ b/src/emu/bus/neogeo/banked_cart.h
@@ -42,6 +42,3 @@ private:
};
#endif
-
-
-
diff --git a/src/emu/bus/neogeo/bootleg_prot.h b/src/emu/bus/neogeo/bootleg_prot.h
index bcd2b3f3172..685c315dc33 100644
--- a/src/emu/bus/neogeo/bootleg_prot.h
+++ b/src/emu/bus/neogeo/bootleg_prot.h
@@ -22,7 +22,7 @@ public:
void neogeo_bootleg_sx_decrypt(UINT8* fixed, UINT32 fixed_size, int value);
void kog_px_decrypt(UINT8* cpurom, UINT32 cpurom_size);
void kof97oro_px_decode(UINT8* cpurom, UINT32 cpurom_size);
- void kof10thBankswitch(address_space &space, UINT16 nBank);
+ void kof10thBankswitch(address_space &space, UINT16 nBank);
DECLARE_READ16_MEMBER(kof10th_RAM2_r);
DECLARE_READ16_MEMBER(kof10th_RAMB_r);
DECLARE_WRITE16_MEMBER(kof10th_custom_w);
@@ -95,6 +95,3 @@ private:
};
#endif
-
-
-
diff --git a/src/emu/bus/neogeo/cmc_prot.h b/src/emu/bus/neogeo/cmc_prot.h
index 3d12a159aa7..5c535b09f37 100644
--- a/src/emu/bus/neogeo/cmc_prot.h
+++ b/src/emu/bus/neogeo/cmc_prot.h
@@ -83,6 +83,3 @@ private:
};
#endif
-
-
-
diff --git a/src/emu/bus/neogeo/fatfury2_prot.h b/src/emu/bus/neogeo/fatfury2_prot.h
index 4ba37427531..d359f616136 100644
--- a/src/emu/bus/neogeo/fatfury2_prot.h
+++ b/src/emu/bus/neogeo/fatfury2_prot.h
@@ -38,8 +38,3 @@ private:
};
#endif
-
-
-
-
-
diff --git a/src/emu/bus/neogeo/kof2002_prot.h b/src/emu/bus/neogeo/kof2002_prot.h
index 2cad2d846e7..6e9074c157e 100644
--- a/src/emu/bus/neogeo/kof2002_prot.h
+++ b/src/emu/bus/neogeo/kof2002_prot.h
@@ -34,6 +34,3 @@ private:
};
#endif
-
-
-
diff --git a/src/emu/bus/neogeo/kof98_prot.h b/src/emu/bus/neogeo/kof98_prot.h
index 7f6e08c1cd1..dfd587c418a 100644
--- a/src/emu/bus/neogeo/kof98_prot.h
+++ b/src/emu/bus/neogeo/kof98_prot.h
@@ -16,7 +16,7 @@ class kof98_prot_device : public device_t
public:
// construction/destruction
kof98_prot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
-
+
void kof98_decrypt_68k(UINT8* cpurom, UINT32 cpurom_size);
void install_kof98_protection(cpu_device* maincpu);
DECLARE_WRITE16_MEMBER(kof98_prot_w);
@@ -36,7 +36,3 @@ private:
};
#endif
-
-
-
-
diff --git a/src/emu/bus/neogeo/mslugx_prot.h b/src/emu/bus/neogeo/mslugx_prot.h
index 4a6bb284f9b..cb95da812ac 100644
--- a/src/emu/bus/neogeo/mslugx_prot.h
+++ b/src/emu/bus/neogeo/mslugx_prot.h
@@ -37,6 +37,3 @@ private:
};
#endif
-
-
-
diff --git a/src/emu/bus/neogeo/neogeo_intf.h b/src/emu/bus/neogeo/neogeo_intf.h
index cba60338833..07c60c12c54 100644
--- a/src/emu/bus/neogeo/neogeo_intf.h
+++ b/src/emu/bus/neogeo/neogeo_intf.h
@@ -49,7 +49,7 @@ public:
void ym_alloc(UINT32 size) { if (m_ym == NULL) m_ym.resize(size/sizeof(UINT8)); }
UINT8* get_ym_base() { return m_ym; }
UINT32 get_ym_size() { return m_ym.bytes(); }
-
+
void ymdelta_alloc(UINT32 size) { if (m_ymdelta == NULL) m_ymdelta.resize(size/sizeof(UINT8)); }
UINT8* get_ymdelta_base() { return m_ymdelta; }
UINT32 get_ymdelta_size() { return m_ymdelta.bytes(); }
@@ -74,4 +74,3 @@ protected:
};
#endif
-
diff --git a/src/emu/bus/neogeo/pcm2_prot.h b/src/emu/bus/neogeo/pcm2_prot.h
index ff3aa862e2c..09b0e8a1f21 100644
--- a/src/emu/bus/neogeo/pcm2_prot.h
+++ b/src/emu/bus/neogeo/pcm2_prot.h
@@ -16,7 +16,7 @@ class pcm2_prot_device : public device_t
public:
// construction/destruction
pcm2_prot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
-
+
void neo_pcm2_snk_1999(UINT8* ymrom, UINT32 ymsize, int value);
void neo_pcm2_swap(UINT8* ymrom, UINT32 ymsize, int value);
@@ -32,6 +32,3 @@ private:
};
#endif
-
-
-
diff --git a/src/emu/bus/neogeo/pvc_prot.h b/src/emu/bus/neogeo/pvc_prot.h
index 408fbfc8176..fde58cbb8f6 100644
--- a/src/emu/bus/neogeo/pvc_prot.h
+++ b/src/emu/bus/neogeo/pvc_prot.h
@@ -46,6 +46,3 @@ private:
};
#endif
-
-
-
diff --git a/src/emu/bus/neogeo/sbp_prot.h b/src/emu/bus/neogeo/sbp_prot.h
index 12f483b8866..6fd99d03f58 100644
--- a/src/emu/bus/neogeo/sbp_prot.h
+++ b/src/emu/bus/neogeo/sbp_prot.h
@@ -16,7 +16,7 @@ class sbp_prot_device : public device_t
public:
// construction/destruction
sbp_prot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
-
+
UINT8* m_mainrom;
@@ -36,7 +36,3 @@ private:
};
#endif
-
-
-
-
diff --git a/src/emu/bus/neogeo/sma_prot.h b/src/emu/bus/neogeo/sma_prot.h
index 049eeb2a774..814b52625aa 100644
--- a/src/emu/bus/neogeo/sma_prot.h
+++ b/src/emu/bus/neogeo/sma_prot.h
@@ -54,6 +54,3 @@ private:
};
#endif
-
-
-
diff --git a/src/emu/bus/nes/mmc5.h b/src/emu/bus/nes/mmc5.h
index d507429b58a..e764f9bcc95 100644
--- a/src/emu/bus/nes/mmc5.h
+++ b/src/emu/bus/nes/mmc5.h
@@ -78,7 +78,7 @@ protected:
// MMC-5 contains 1K of internal ram
UINT8 m_exram[0x400];
-
+
UINT8 m_ram_hi_banks[4];
// int m_nes_vram_sprite[8];
diff --git a/src/emu/bus/nubus/nubus.h b/src/emu/bus/nubus/nubus.h
index eb79dbc8b83..e494df7ac0a 100644
--- a/src/emu/bus/nubus/nubus.h
+++ b/src/emu/bus/nubus/nubus.h
@@ -38,7 +38,7 @@
#define MCFG_NUBUS_OUT_IRQE_CB(_devcb) \
devcb = &nubus_device::set_out_irqe_callback(*device, DEVCB_##_devcb);
-
+
#define MCFG_NUBUS_SLOT_ADD(_nbtag, _tag, _slot_intf, _def_slot) \
MCFG_DEVICE_ADD(_tag, NUBUS_SLOT, 0) \
MCFG_DEVICE_SLOT_INTERFACE(_slot_intf, _def_slot, false) \
@@ -88,7 +88,7 @@ public:
nubus_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
nubus_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
~nubus_device() { m_device_list.detach_all(); }
-
+
// inline configuration
static void static_set_cputag(device_t &device, const char *tag);
template static devcb_base &set_out_irq9_callback(device_t &device, _Object object) { return downcast(device).m_out_irq9_cb.set_callback(object); }
diff --git a/src/emu/bus/oricext/jasmin.h b/src/emu/bus/oricext/jasmin.h
index 6815d652daf..4fe40da89fc 100644
--- a/src/emu/bus/oricext/jasmin.h
+++ b/src/emu/bus/oricext/jasmin.h
@@ -28,7 +28,7 @@ protected:
bool side_sel, fdc_reset, ram_access, rom_access, select[4];
UINT8 *jasmin_rom;
floppy_image_device *cur_floppy, *floppies[4];
-
+
virtual void device_start();
virtual void device_reset();
const rom_entry *device_rom_region() const;
diff --git a/src/emu/bus/oricext/microdisc.h b/src/emu/bus/oricext/microdisc.h
index fb7a6fd68b5..3ea5e8f9545 100644
--- a/src/emu/bus/oricext/microdisc.h
+++ b/src/emu/bus/oricext/microdisc.h
@@ -40,7 +40,7 @@ protected:
floppy_image_device *floppies[4];
UINT8 port_314;
bool intrq_state, drq_state, hld_state;
-
+
virtual void device_start();
virtual void device_reset();
const rom_entry *device_rom_region() const;
diff --git a/src/emu/bus/oricext/oricext.h b/src/emu/bus/oricext/oricext.h
index 1d2cb6e2a65..5308ca36da8 100644
--- a/src/emu/bus/oricext/oricext.h
+++ b/src/emu/bus/oricext/oricext.h
@@ -10,7 +10,7 @@
#include "emu.h"
#include "cpu/m6502/m6502.h"
-#define MCFG_ORICEXT_ADD(_tag, _slot_intf, _def_slot, _cputag, _irq) \
+#define MCFG_ORICEXT_ADD(_tag, _slot_intf, _def_slot, _cputag, _irq) \
MCFG_DEVICE_ADD(_tag, ORICEXT_CONNECTOR, 0) \
MCFG_DEVICE_SLOT_INTERFACE(_slot_intf, _def_slot, false) \
downcast(device)->set_cputag(_cputag); \
@@ -20,7 +20,7 @@
class oricext_device;
class oricext_connector: public device_t,
- public device_slot_interface
+ public device_slot_interface
{
public:
oricext_connector(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
@@ -38,7 +38,7 @@ protected:
};
class oricext_device : public device_t,
- public device_slot_card_interface
+ public device_slot_card_interface
{
public:
oricext_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
diff --git a/src/emu/bus/pc_kbd/pc_kbdc.h b/src/emu/bus/pc_kbd/pc_kbdc.h
index d391486e5e5..679870c5b93 100644
--- a/src/emu/bus/pc_kbd/pc_kbdc.h
+++ b/src/emu/bus/pc_kbd/pc_kbdc.h
@@ -24,7 +24,7 @@ set the data line and then set the clock line.
#define MCFG_PC_KBDC_OUT_DATA_CB(_devcb) \
devcb = &pc_kbdc_device::set_out_data_callback(*device, DEVCB_##_devcb);
-
+
#define MCFG_PC_KBDC_SLOT_ADD(_kbdc_tag, _tag, _slot_intf, _def_slot) \
MCFG_DEVICE_ADD(_tag, PC_KBDC_SLOT, 0 ) \
MCFG_DEVICE_SLOT_INTERFACE(_slot_intf, _def_slot, false) \
@@ -67,7 +67,7 @@ public:
template static devcb_base &set_out_clock_callback(device_t &device, _Object object) { return downcast(device).m_out_clock_cb.set_callback(object); }
template static devcb_base &set_out_data_callback(device_t &device, _Object object) { return downcast(device).m_out_data_cb.set_callback(object); }
-
+
void set_keyboard(device_pc_kbd_interface *keyboard);
int clock_signal() { return m_clock_state; }
diff --git a/src/emu/bus/pet/diag.h b/src/emu/bus/pet/diag.h
index 7a5752bdc86..fec6dcae5a8 100644
--- a/src/emu/bus/pet/diag.h
+++ b/src/emu/bus/pet/diag.h
@@ -46,7 +46,7 @@ public:
virtual DECLARE_WRITE_LINE_MEMBER( input_d ) { output_4(state); }
virtual DECLARE_WRITE_LINE_MEMBER( input_k ) { output_9(state); }
virtual DECLARE_WRITE_LINE_MEMBER( input_l ) { output_10(state); }
-
+
protected:
// device-level overrides
virtual void device_start();
diff --git a/src/emu/bus/ql/cst_q_plus4.h b/src/emu/bus/ql/cst_q_plus4.h
index ad6b385782a..6dc315ccaa9 100644
--- a/src/emu/bus/ql/cst_q_plus4.h
+++ b/src/emu/bus/ql/cst_q_plus4.h
@@ -26,7 +26,7 @@
// ======================> cst_q_plus4_t
class cst_q_plus4_t : public device_t,
- public device_ql_expansion_card_interface
+ public device_ql_expansion_card_interface
{
public:
// construction/destruction
diff --git a/src/emu/bus/ql/cst_qdisc.h b/src/emu/bus/ql/cst_qdisc.h
index e422dcf10ab..545b825744c 100644
--- a/src/emu/bus/ql/cst_qdisc.h
+++ b/src/emu/bus/ql/cst_qdisc.h
@@ -25,7 +25,7 @@
// ======================> cst_ql_disc_interface_t
class cst_ql_disc_interface_t : public device_t,
- public device_ql_expansion_card_interface
+ public device_ql_expansion_card_interface
{
public:
// construction/destruction
diff --git a/src/emu/bus/ql/cumana_fdi.h b/src/emu/bus/ql/cumana_fdi.h
index fac6a1b0bc4..4be8652ca2b 100644
--- a/src/emu/bus/ql/cumana_fdi.h
+++ b/src/emu/bus/ql/cumana_fdi.h
@@ -2,7 +2,7 @@
// copyright-holders:Curt Coder
/**********************************************************************
- Cumana Floppy Disk Interface emulation
+ Cumana Floppy Disk Interface emulation
Copyright MESS Team.
Visit http://mamedev.org for licensing and usage restrictions.
@@ -25,7 +25,7 @@
// ======================> cumana_floppy_disk_interface_t
class cumana_floppy_disk_interface_t : public device_t,
- public device_ql_expansion_card_interface
+ public device_ql_expansion_card_interface
{
public:
// construction/destruction
diff --git a/src/emu/bus/ql/exp.h b/src/emu/bus/ql/exp.h
index d77433c398b..045812c2a32 100644
--- a/src/emu/bus/ql/exp.h
+++ b/src/emu/bus/ql/exp.h
@@ -64,13 +64,13 @@
#define MCFG_QL_EXPANSION_SLOT_IPL0L_CALLBACK(_write) \
- devcb = &ql_expansion_slot_t::set_ipl0l_wr_callback(*device, DEVCB_##_write);
+ devcb = &ql_expansion_slot_t::set_ipl0l_wr_callback(*device, DEVCB_##_write);
#define MCFG_QL_EXPANSION_SLOT_IPL1L_CALLBACK(_write) \
- devcb = &ql_expansion_slot_t::set_ipl1l_wr_callback(*device, DEVCB_##_write);
+ devcb = &ql_expansion_slot_t::set_ipl1l_wr_callback(*device, DEVCB_##_write);
#define MCFG_QL_EXPANSION_SLOT_BERRL_CALLBACK(_write) \
- devcb = &ql_expansion_slot_t::set_berrl_wr_callback(*device, DEVCB_##_write);
+ devcb = &ql_expansion_slot_t::set_berrl_wr_callback(*device, DEVCB_##_write);
#define MCFG_QL_EXPANSION_SLOT_EXTINTL_CALLBACK(_write) \
devcb = &ql_expansion_slot_t::set_extintl_wr_callback(*device, DEVCB_##_write);
@@ -93,14 +93,14 @@ public:
// construction/destruction
device_ql_expansion_card_interface(const machine_config &mconfig, device_t &device);
- virtual void romoeh_w(int state) { m_romoeh = state; }
- virtual UINT8 read(address_space &space, offs_t offset, UINT8 data) { return data; }
- virtual void write(address_space &space, offs_t offset, UINT8 data) { }
+ virtual void romoeh_w(int state) { m_romoeh = state; }
+ virtual UINT8 read(address_space &space, offs_t offset, UINT8 data) { return data; }
+ virtual void write(address_space &space, offs_t offset, UINT8 data) { }
protected:
ql_expansion_slot_t *m_slot;
- int m_romoeh;
+ int m_romoeh;
};
@@ -113,31 +113,31 @@ public:
// construction/destruction
ql_expansion_slot_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
- template static devcb_base &set_ipl0l_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_ipl0l.set_callback(object); }
- template static devcb_base &set_ipl1l_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_ipl1l.set_callback(object); }
- template static devcb_base &set_berrl_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_berrl.set_callback(object); }
+ template static devcb_base &set_ipl0l_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_ipl0l.set_callback(object); }
+ template static devcb_base &set_ipl1l_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_ipl1l.set_callback(object); }
+ template static devcb_base &set_berrl_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_berrl.set_callback(object); }
template static devcb_base &set_extintl_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_extintl.set_callback(object); }
- // computer interface
- UINT8 read(address_space &space, offs_t offset, UINT8 data) { if (m_card) data = m_card->read(space, offset, data); return data; }
- void write(address_space &space, offs_t offset, UINT8 data) { if (m_card) m_card->write(space, offset, data); }
- DECLARE_WRITE_LINE_MEMBER( romoeh_w ) { if (m_card) m_card->romoeh_w(state); }
+ // computer interface
+ UINT8 read(address_space &space, offs_t offset, UINT8 data) { if (m_card) data = m_card->read(space, offset, data); return data; }
+ void write(address_space &space, offs_t offset, UINT8 data) { if (m_card) m_card->write(space, offset, data); }
+ DECLARE_WRITE_LINE_MEMBER( romoeh_w ) { if (m_card) m_card->romoeh_w(state); }
- // card interface
- DECLARE_WRITE_LINE_MEMBER( ipl0l_w ) { m_write_ipl0l(state); }
- DECLARE_WRITE_LINE_MEMBER( ipl1l_w ) { m_write_ipl1l(state); }
- DECLARE_WRITE_LINE_MEMBER( berrl_w ) { m_write_berrl(state); }
+ // card interface
+ DECLARE_WRITE_LINE_MEMBER( ipl0l_w ) { m_write_ipl0l(state); }
+ DECLARE_WRITE_LINE_MEMBER( ipl1l_w ) { m_write_ipl1l(state); }
+ DECLARE_WRITE_LINE_MEMBER( berrl_w ) { m_write_berrl(state); }
DECLARE_WRITE_LINE_MEMBER( extintl_w ) { m_write_extintl(state); }
protected:
// device-level overrides
virtual void device_start();
- virtual void device_reset() { if (get_card_device()) get_card_device()->reset(); }
+ virtual void device_reset() { if (get_card_device()) get_card_device()->reset(); }
devcb_write_line m_write_ipl0l;
- devcb_write_line m_write_ipl1l;
- devcb_write_line m_write_berrl;
- devcb_write_line m_write_extintl;
+ devcb_write_line m_write_ipl1l;
+ devcb_write_line m_write_berrl;
+ devcb_write_line m_write_extintl;
device_ql_expansion_card_interface *m_card;
};
diff --git a/src/emu/bus/ql/kempston_di.h b/src/emu/bus/ql/kempston_di.h
index 2bde84e00be..1ca3a14e1f2 100644
--- a/src/emu/bus/ql/kempston_di.h
+++ b/src/emu/bus/ql/kempston_di.h
@@ -25,7 +25,7 @@
// ======================> kempston_disk_interface_t
class kempston_disk_interface_t : public device_t,
- public device_ql_expansion_card_interface
+ public device_ql_expansion_card_interface
{
public:
// construction/destruction
diff --git a/src/emu/bus/ql/miracle_gold_card.h b/src/emu/bus/ql/miracle_gold_card.h
index 8decf3157ca..721ae564e46 100644
--- a/src/emu/bus/ql/miracle_gold_card.h
+++ b/src/emu/bus/ql/miracle_gold_card.h
@@ -25,7 +25,7 @@
// ======================> miracle_gold_card_t
class miracle_gold_card_t : public device_t,
- public device_ql_expansion_card_interface
+ public device_ql_expansion_card_interface
{
public:
// construction/destruction
diff --git a/src/emu/bus/ql/miracle_hd.h b/src/emu/bus/ql/miracle_hd.h
index 4d7503128a5..7df72866a8f 100644
--- a/src/emu/bus/ql/miracle_hd.h
+++ b/src/emu/bus/ql/miracle_hd.h
@@ -25,7 +25,7 @@
// ======================> miracle_hard_disk_t
class miracle_hard_disk_t : public device_t,
- public device_ql_rom_cartridge_card_interface
+ public device_ql_rom_cartridge_card_interface
{
public:
// construction/destruction
diff --git a/src/emu/bus/ql/mp_fdi.h b/src/emu/bus/ql/mp_fdi.h
index 7e6280e2b6b..7934cf0731a 100644
--- a/src/emu/bus/ql/mp_fdi.h
+++ b/src/emu/bus/ql/mp_fdi.h
@@ -25,7 +25,7 @@
// ======================> micro_peripherals_floppy_disk_interface_t
class micro_peripherals_floppy_disk_interface_t : public device_t,
- public device_ql_expansion_card_interface
+ public device_ql_expansion_card_interface
{
public:
// construction/destruction
diff --git a/src/emu/bus/ql/opd_basic_master.h b/src/emu/bus/ql/opd_basic_master.h
index 8d262b8e493..261ce258980 100644
--- a/src/emu/bus/ql/opd_basic_master.h
+++ b/src/emu/bus/ql/opd_basic_master.h
@@ -25,7 +25,7 @@
// ======================> opd_basic_master_t
class opd_basic_master_t : public device_t,
- public device_ql_expansion_card_interface
+ public device_ql_expansion_card_interface
{
public:
// construction/destruction
diff --git a/src/emu/bus/ql/pcml_qdisk.h b/src/emu/bus/ql/pcml_qdisk.h
index 46e15d67036..1c6f33df282 100644
--- a/src/emu/bus/ql/pcml_qdisk.h
+++ b/src/emu/bus/ql/pcml_qdisk.h
@@ -25,7 +25,7 @@
// ======================> pcml_q_disk_interface_t
class pcml_q_disk_interface_t : public device_t,
- public device_ql_expansion_card_interface
+ public device_ql_expansion_card_interface
{
public:
// construction/destruction
diff --git a/src/emu/bus/ql/qubide.h b/src/emu/bus/ql/qubide.h
index a8334729b46..6b5ef287c5f 100644
--- a/src/emu/bus/ql/qubide.h
+++ b/src/emu/bus/ql/qubide.h
@@ -26,7 +26,7 @@
// ======================> qubide_t
class qubide_t : public device_t,
- public device_ql_expansion_card_interface
+ public device_ql_expansion_card_interface
{
public:
// construction/destruction
diff --git a/src/emu/bus/ql/rom.h b/src/emu/bus/ql/rom.h
index 74a655dba15..02e79f8f2d8 100644
--- a/src/emu/bus/ql/rom.h
+++ b/src/emu/bus/ql/rom.h
@@ -64,16 +64,16 @@ public:
device_ql_rom_cartridge_card_interface(const machine_config &mconfig, device_t &device);
virtual ~device_ql_rom_cartridge_card_interface();
- virtual void romoeh_w(int state) { m_romoeh = state; }
- virtual UINT8 read(address_space &space, offs_t offset, UINT8 data) { return data; }
- virtual void write(address_space &space, offs_t offset, UINT8 data) { }
+ virtual void romoeh_w(int state) { m_romoeh = state; }
+ virtual UINT8 read(address_space &space, offs_t offset, UINT8 data) { return data; }
+ virtual void write(address_space &space, offs_t offset, UINT8 data) { }
protected:
ql_rom_cartridge_slot_t *m_slot;
optional_shared_ptr m_rom;
- int m_romoeh;
+ int m_romoeh;
};
diff --git a/src/emu/bus/ql/sandy_superdisk.h b/src/emu/bus/ql/sandy_superdisk.h
index 2ebf422e95b..0ab375aea7f 100644
--- a/src/emu/bus/ql/sandy_superdisk.h
+++ b/src/emu/bus/ql/sandy_superdisk.h
@@ -28,7 +28,7 @@
// ======================> sandy_super_disk_device
class sandy_super_disk_t : public device_t,
- public device_ql_expansion_card_interface
+ public device_ql_expansion_card_interface
{
public:
// construction/destruction
diff --git a/src/emu/bus/ql/sandy_superqboard.h b/src/emu/bus/ql/sandy_superqboard.h
index 8a34e2bf305..535f9b0dd26 100644
--- a/src/emu/bus/ql/sandy_superqboard.h
+++ b/src/emu/bus/ql/sandy_superqboard.h
@@ -28,7 +28,7 @@
// ======================> sandy_superqboard_t
class sandy_superqboard_t : public device_t,
- public device_ql_expansion_card_interface
+ public device_ql_expansion_card_interface
{
public:
// construction/destruction
diff --git a/src/emu/bus/ql/trumpcard.h b/src/emu/bus/ql/trumpcard.h
index a0bd1bb7713..ecae4d0e88c 100644
--- a/src/emu/bus/ql/trumpcard.h
+++ b/src/emu/bus/ql/trumpcard.h
@@ -27,7 +27,7 @@
// ======================> ql_trump_card_t
class ql_trump_card_t : public device_t,
- public device_ql_expansion_card_interface
+ public device_ql_expansion_card_interface
{
public:
// construction/destruction
diff --git a/src/emu/bus/scsi/scsihle.h b/src/emu/bus/scsi/scsihle.h
index 071748f8aeb..50feb6ff45f 100644
--- a/src/emu/bus/scsi/scsihle.h
+++ b/src/emu/bus/scsi/scsihle.h
@@ -88,6 +88,5 @@ extern const input_device_default DEVICE_INPUT_DEFAULTS_NAME(SCSI_ID_7)[];
MCFG_DEVICE_MODIFY(_tag ) \
MCFG_SLOT_OPTION_ADD( _option, _type ) \
MCFG_SLOT_OPTION_DEVICE_INPUT_DEFAULTS( _option, _id ) \
- MCFG_SLOT_DEFAULT_OPTION( _option ) \
-
+ MCFG_SLOT_DEFAULT_OPTION( _option )
#endif
diff --git a/src/emu/bus/tvc/tvc.h b/src/emu/bus/tvc/tvc.h
index e02922218b5..181806f8195 100644
--- a/src/emu/bus/tvc/tvc.h
+++ b/src/emu/bus/tvc/tvc.h
@@ -89,7 +89,7 @@ public:
// construction/destruction
tvcexp_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
virtual ~tvcexp_slot_device();
-
+
template static devcb_base &set_out_irq_callback(device_t &device, _Object object) { return downcast(device).m_out_irq_cb.set_callback(object); }
template static devcb_base &set_out_nmi_callback(device_t &device, _Object object) { return downcast(device).m_out_nmi_cb.set_callback(object); }
@@ -124,5 +124,5 @@ extern const device_type TVCEXP_SLOT;
#define MCFG_TVCEXP_SLOT_OUT_NMI_CB(_devcb) \
devcb = &tvcexp_slot_device::set_out_nmi_callback(*device, DEVCB_##_devcb);
-
+
#endif /* __TVCEXP_H__ */
diff --git a/src/emu/bus/vtech/ioexp/carts.h b/src/emu/bus/vtech/ioexp/carts.h
index afca300774f..fb7cf41cd9f 100644
--- a/src/emu/bus/vtech/ioexp/carts.h
+++ b/src/emu/bus/vtech/ioexp/carts.h
@@ -1,6 +1,6 @@
/***************************************************************************
- VTech Laser/VZ I/O Expansion Slot Devices
+ VTech Laser/VZ I/O Expansion Slot Devices
***************************************************************************/
diff --git a/src/emu/bus/vtech/ioexp/ioexp.h b/src/emu/bus/vtech/ioexp/ioexp.h
index 782cd8a229a..b82962ee0ee 100644
--- a/src/emu/bus/vtech/ioexp/ioexp.h
+++ b/src/emu/bus/vtech/ioexp/ioexp.h
@@ -1,27 +1,27 @@
/***************************************************************************
- VTech Laser/VZ I/O Expansion Slot
+ VTech Laser/VZ I/O Expansion Slot
license: MAME, GPL-2.0+
copyright-holders: Dirk Best
- 30-pin slot
+ 30-pin slot
- 15 GND 16 NC
- 14 /WR 17 NC
- 13 A3 18 NC
- 12 A6 19 +5VDC
- 11 A2 20 NC
- 10 A5 21 D4
- 9 D0 22 D5
- 8 D2 23 D7
- 7 D6 24 D1
- 6 D3 25 /RD
- 5 /IORQ 26 A1
- 4 +5VDC 27 A4
- 3 NC 28 A0
- 2 NC 29 A7
- 1 NC 30 NC
+ 15 GND 16 NC
+ 14 /WR 17 NC
+ 13 A3 18 NC
+ 12 A6 19 +5VDC
+ 11 A2 20 NC
+ 10 A5 21 D4
+ 9 D0 22 D5
+ 8 D2 23 D7
+ 7 D6 24 D1
+ 6 D3 25 /RD
+ 5 /IORQ 26 A1
+ 4 +5VDC 27 A4
+ 3 NC 28 A0
+ 2 NC 29 A7
+ 1 NC 30 NC
***************************************************************************/
diff --git a/src/emu/bus/vtech/ioexp/joystick.h b/src/emu/bus/vtech/ioexp/joystick.h
index 8344ce43d40..0226f517393 100644
--- a/src/emu/bus/vtech/ioexp/joystick.h
+++ b/src/emu/bus/vtech/ioexp/joystick.h
@@ -1,6 +1,6 @@
/***************************************************************************
- VTech Laser Joystick Interface
+ VTech Laser Joystick Interface
license: MAME, GPL-2.0+
copyright-holders: Dirk Best
diff --git a/src/emu/bus/vtech/ioexp/printer.h b/src/emu/bus/vtech/ioexp/printer.h
index 0229b9051e7..ed3010c5f73 100644
--- a/src/emu/bus/vtech/ioexp/printer.h
+++ b/src/emu/bus/vtech/ioexp/printer.h
@@ -1,6 +1,6 @@
/***************************************************************************
- VTech Laser/VZ Printer Interface
+ VTech Laser/VZ Printer Interface
license: MAME, GPL-2.0+
copyright-holders: Dirk Best
diff --git a/src/emu/bus/vtech/memexp/carts.h b/src/emu/bus/vtech/memexp/carts.h
index 30663b75ed0..c00f069f79d 100644
--- a/src/emu/bus/vtech/memexp/carts.h
+++ b/src/emu/bus/vtech/memexp/carts.h
@@ -1,6 +1,6 @@
/***************************************************************************
- VTech Laser/VZ Memory Expansion Slot Devices
+ VTech Laser/VZ Memory Expansion Slot Devices
***************************************************************************/
diff --git a/src/emu/bus/vtech/memexp/floppy.h b/src/emu/bus/vtech/memexp/floppy.h
index 08dbc70987e..a5d0aa12757 100644
--- a/src/emu/bus/vtech/memexp/floppy.h
+++ b/src/emu/bus/vtech/memexp/floppy.h
@@ -1,11 +1,11 @@
/***************************************************************************
- VTech Laser/VZ Floppy Controller Cartridge
+ VTech Laser/VZ Floppy Controller Cartridge
license: MAME, GPL-2.0+
copyright-holders: Dirk Best
- Laser DD 20
+ Laser DD 20
Dick Smith Electronics X-7304
***************************************************************************/
diff --git a/src/emu/bus/vtech/memexp/memexp.h b/src/emu/bus/vtech/memexp/memexp.h
index 60940df14b5..38aceb2835c 100644
--- a/src/emu/bus/vtech/memexp/memexp.h
+++ b/src/emu/bus/vtech/memexp/memexp.h
@@ -1,34 +1,34 @@
/***************************************************************************
- VTech Laser/VZ Memory Expansion Slot
+ VTech Laser/VZ Memory Expansion Slot
license: MAME, GPL-2.0+
copyright-holders: Dirk Best
- 44-pin slot
+ 44-pin slot
- 22 GND 23 NC
- 21 +5VDC 24 A11
- 20 /IORQ 25 A12
- 19 /RD 26 A13
- 18 /NMI 27 A14
- 17 /WAIT 28 A15
- 16 /MI 29 CLK
- 15 /RFSH 30 D4
- 14 D7 31 D3
- 13 D2 32 D5
- 12 A1 33 D6
- 11 A2 34 NC
- 10 A3 35 A0
- 9 A4 36 D0
- 8 A5 37 D1
- 7 A6 38 /INT
- 6 A7 39 /HALT
- 5 A8 40 /MERQ
- 4 A9 41 /WR
- 3 A10 42 /NC
- 2 /RESET 43 +9VDC
- 1 GND 44 NC
+ 22 GND 23 NC
+ 21 +5VDC 24 A11
+ 20 /IORQ 25 A12
+ 19 /RD 26 A13
+ 18 /NMI 27 A14
+ 17 /WAIT 28 A15
+ 16 /MI 29 CLK
+ 15 /RFSH 30 D4
+ 14 D7 31 D3
+ 13 D2 32 D5
+ 12 A1 33 D6
+ 11 A2 34 NC
+ 10 A3 35 A0
+ 9 A4 36 D0
+ 8 A5 37 D1
+ 7 A6 38 /INT
+ 6 A7 39 /HALT
+ 5 A8 40 /MERQ
+ 4 A9 41 /WR
+ 3 A10 42 /NC
+ 2 /RESET 43 +9VDC
+ 1 GND 44 NC
***************************************************************************/
diff --git a/src/emu/bus/vtech/memexp/memory.h b/src/emu/bus/vtech/memexp/memory.h
index 99f3b9fd3ce..37b77126e1a 100644
--- a/src/emu/bus/vtech/memexp/memory.h
+++ b/src/emu/bus/vtech/memexp/memory.h
@@ -1,6 +1,6 @@
/***************************************************************************
- VTech Laser/VZ Memory Expansions
+ VTech Laser/VZ Memory Expansions
license: MAME, GPL-2.0+
copyright-holders: Dirk Best
diff --git a/src/emu/bus/vtech/memexp/rs232.h b/src/emu/bus/vtech/memexp/rs232.h
index 0d631875bad..9314b6c6721 100644
--- a/src/emu/bus/vtech/memexp/rs232.h
+++ b/src/emu/bus/vtech/memexp/rs232.h
@@ -1,6 +1,6 @@
/***************************************************************************
- Dick Smith VZ-200/300 RS-232 Cartridge
+ Dick Smith VZ-200/300 RS-232 Cartridge
license: MAME, GPL-2.0+
copyright-holders: Dirk Best
diff --git a/src/emu/bus/vtech/memexp/wordpro.h b/src/emu/bus/vtech/memexp/wordpro.h
index b6b10226b41..58caa365251 100644
--- a/src/emu/bus/vtech/memexp/wordpro.h
+++ b/src/emu/bus/vtech/memexp/wordpro.h
@@ -1,6 +1,6 @@
/***************************************************************************
- Dick Smith VZ-300 WordPro Cartridge
+ Dick Smith VZ-300 WordPro Cartridge
license: MAME, GPL-2.0+
copyright-holders: Dirk Best
diff --git a/src/emu/bus/x68k/x68kexp.h b/src/emu/bus/x68k/x68kexp.h
index 74da5ef89b8..cabca04e8f0 100644
--- a/src/emu/bus/x68k/x68kexp.h
+++ b/src/emu/bus/x68k/x68kexp.h
@@ -85,7 +85,7 @@
#define MCFG_X68K_EXPANSION_SLOT_OUT_RESET_CB(_devcb) \
devcb = &x68k_expansion_slot_device::set_out_reset_callback(*device, DEVCB_##_devcb);
-
+
//**************************************************************************
// TYPE DEFINITIONS
@@ -115,7 +115,7 @@ public:
// construction/destruction
x68k_expansion_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
virtual ~x68k_expansion_slot_device();
-
+
template static devcb_base &set_out_irq2_callback(device_t &device, _Object object) { return downcast(device).m_out_irq2_cb.set_callback(object); }
template static devcb_base &set_out_irq4_callback(device_t &device, _Object object) { return downcast(device).m_out_irq4_cb.set_callback(object); }
template static devcb_base &set_out_nmi_callback(device_t &device, _Object object) { return downcast(device).m_out_nmi_cb.set_callback(object); }
diff --git a/src/emu/bus/z88/z88.h b/src/emu/bus/z88/z88.h
index edeae5e6624..d899c69fe9a 100644
--- a/src/emu/bus/z88/z88.h
+++ b/src/emu/bus/z88/z88.h
@@ -85,7 +85,7 @@ public:
// construction/destruction
z88cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
virtual ~z88cart_slot_device();
-
+
template static devcb_base &set_out_flp_callback(device_t &device, _Object object) { return downcast(device).m_out_flp_cb.set_callback(object); }
// device-level overrides
@@ -134,5 +134,5 @@ extern const device_type Z88CART_SLOT;
#define MCFG_Z88CART_SLOT_OUT_FLP_CB(_devcb) \
devcb = &z88cart_slot_device::set_out_flp_callback(*device, DEVCB_##_devcb);
-
+
#endif /* __Z88CART_H__ */
diff --git a/src/emu/cpu/adsp2100/adsp2100.h b/src/emu/cpu/adsp2100/adsp2100.h
index 460ddd6ce98..580c98c4552 100644
--- a/src/emu/cpu/adsp2100/adsp2100.h
+++ b/src/emu/cpu/adsp2100/adsp2100.h
@@ -456,9 +456,9 @@ protected:
UINT16 m_mask_table[0x4000];
UINT16 m_reverse_table[0x4000];
- devcb_read32 m_sport_rx_cb; // callback for serial receive
- devcb_write32 m_sport_tx_cb; // callback for serial transmit
- devcb_write_line m_timer_fired_cb; // callback for timer fired
+ devcb_read32 m_sport_rx_cb; // callback for serial receive
+ devcb_write32 m_sport_tx_cb; // callback for serial transmit
+ devcb_write_line m_timer_fired_cb; // callback for timer fired
// debugging
#if ADSP_TRACK_HOTSPOTS
diff --git a/src/emu/cpu/cpu.mak b/src/emu/cpu/cpu.mak
index c70b60ee51a..d72872fd573 100644
--- a/src/emu/cpu/cpu.mak
+++ b/src/emu/cpu/cpu.mak
@@ -1780,7 +1780,7 @@ DASMOBJS += $(CPUOBJ)/upd7810/upd7810_dasm.o
endif
$(CPUOBJ)/upd7810/upd7810_opcodes.o: $(CPUSRC)/upd7810/upd7810_opcodes.c \
- $(CPUSRC)/upd7810/upd7810_macros.h
+ $(CPUSRC)/upd7810/upd7810_macros.h
$(CPUOBJ)/upd7810/upd7810.o: $(CPUSRC)/upd7810/upd7810.c \
$(CPUSRC)/upd7810/upd7810.h \
diff --git a/src/emu/cpu/g65816/g65816op.h b/src/emu/cpu/g65816/g65816op.h
index 03bc4c52203..2efcbac5208 100644
--- a/src/emu/cpu/g65816/g65816op.h
+++ b/src/emu/cpu/g65816/g65816op.h
@@ -1915,15 +1915,15 @@ TABLE_FUNCTION(void, set_reg, (int regnum, uint val))
#if EXECUTION_MODE == EXECUTION_MODE_E
-#define g65816i_correct_mode() (FLAG_E == EFLAG_SET)
+#define g65816i_correct_mode() (FLAG_E == EFLAG_SET)
#elif EXECUTION_MODE == EXECUTION_MODE_M0X0
-#define g65816i_correct_mode() ((FLAG_E == EFLAG_CLEAR) && (FLAG_M == MFLAG_CLEAR) && (FLAG_X == XFLAG_CLEAR))
+#define g65816i_correct_mode() ((FLAG_E == EFLAG_CLEAR) && (FLAG_M == MFLAG_CLEAR) && (FLAG_X == XFLAG_CLEAR))
#elif EXECUTION_MODE == EXECUTION_MODE_M0X1
-#define g65816i_correct_mode() ((FLAG_E == EFLAG_CLEAR) && (FLAG_M == MFLAG_CLEAR) && (FLAG_X == XFLAG_SET))
+#define g65816i_correct_mode() ((FLAG_E == EFLAG_CLEAR) && (FLAG_M == MFLAG_CLEAR) && (FLAG_X == XFLAG_SET))
#elif EXECUTION_MODE == EXECUTION_MODE_M1X0
-#define g65816i_correct_mode() ((FLAG_E == EFLAG_CLEAR) && (FLAG_M == MFLAG_SET) && (FLAG_X == XFLAG_CLEAR))
+#define g65816i_correct_mode() ((FLAG_E == EFLAG_CLEAR) && (FLAG_M == MFLAG_SET) && (FLAG_X == XFLAG_CLEAR))
#elif EXECUTION_MODE == EXECUTION_MODE_M1X1
-#define g65816i_correct_mode() ((FLAG_E == EFLAG_CLEAR) && (FLAG_M == MFLAG_SET) && (FLAG_X == XFLAG_SET))
+#define g65816i_correct_mode() ((FLAG_E == EFLAG_CLEAR) && (FLAG_M == MFLAG_SET) && (FLAG_X == XFLAG_SET))
#else
#error Invalid EXECUTION_MODE
#endif
diff --git a/src/emu/cpu/m68000/m68000.h b/src/emu/cpu/m68000/m68000.h
index b6979d0942d..06b34680507 100644
--- a/src/emu/cpu/m68000/m68000.h
+++ b/src/emu/cpu/m68000/m68000.h
@@ -252,14 +252,14 @@ public:
const UINT8* cyc_exception;
/* Callbacks to host */
- device_irq_acknowledge_delegate int_ack_callback; /* Interrupt Acknowledge */
- write32_delegate bkpt_ack_callback; /* Breakpoint Acknowledge */
- write_line_delegate reset_instr_callback; /* Called when a RESET instruction is encountered */
- write32_delegate cmpild_instr_callback; /* Called when a CMPI.L #v, Dn instruction is encountered */
- write_line_delegate rte_instr_callback; /* Called when a RTE instruction is encountered */
- write8_delegate tas_write_callback; /* Called instead of normal write8 by the TAS instruction,
- allowing writeback to be disabled globally or selectively
- or other side effects to be implemented */
+ device_irq_acknowledge_delegate int_ack_callback; /* Interrupt Acknowledge */
+ write32_delegate bkpt_ack_callback; /* Breakpoint Acknowledge */
+ write_line_delegate reset_instr_callback; /* Called when a RESET instruction is encountered */
+ write32_delegate cmpild_instr_callback; /* Called when a CMPI.L #v, Dn instruction is encountered */
+ write_line_delegate rte_instr_callback; /* Called when a RTE instruction is encountered */
+ write8_delegate tas_write_callback; /* Called instead of normal write8 by the TAS instruction,
+ allowing writeback to be disabled globally or selectively
+ or other side effects to be implemented */
address_space *program;
diff --git a/src/emu/cpu/m68000/m68kmmu.h b/src/emu/cpu/m68000/m68kmmu.h
index 90ae7ea713c..ea4cb3dc7ce 100644
--- a/src/emu/cpu/m68000/m68kmmu.h
+++ b/src/emu/cpu/m68000/m68kmmu.h
@@ -774,12 +774,12 @@ INLINE UINT32 get_dt3_table_entry(m68000_base_device *m68k, UINT32 tptr, UINT8 f
if (!(ptest))
{
- page_entry |= 0x8; // always set the U bit
+ page_entry |= 0x8; // always set the U bit
// if we're writing, the M bit comes into play
if (!m68k->mmu_tmp_rw)
{
- page_entry |= 0x10; // set Modified
+ page_entry |= 0x10; // set Modified
}
// if these updates resulted in a change, write the entry back where we found it
@@ -795,7 +795,7 @@ INLINE UINT32 get_dt3_table_entry(m68000_base_device *m68k, UINT32 tptr, UINT8 f
// SR: B G U1 U0 S CM CM M 0 W T R
m68k->mmu_tmp_sr |= ((addr_out & ~0xfff) || (page_entry & 0x7f4));
}
- break;
+ break;
case 2: // shouldn't happen
fatalerror("68040: got indirect final page pointer, shouldn't be possible\n");
diff --git a/src/emu/cpu/mb86233/mb86233.h b/src/emu/cpu/mb86233/mb86233.h
index 68ca986f45c..2f28d29fd5a 100644
--- a/src/emu/cpu/mb86233/mb86233.h
+++ b/src/emu/cpu/mb86233/mb86233.h
@@ -103,7 +103,7 @@ private:
UINT32 m_shift;
UINT32 m_repcnt;
UINT16 m_sr;
- UINT8 m_fpucontrol;
+ UINT8 m_fpucontrol;
UINT32 m_gpr[16];
UINT32 m_extport[0x30];
diff --git a/src/emu/cpu/minx/minxfunc.h b/src/emu/cpu/minx/minxfunc.h
index 119af87dbf3..312071d3d7b 100644
--- a/src/emu/cpu/minx/minxfunc.h
+++ b/src/emu/cpu/minx/minxfunc.h
@@ -360,4 +360,3 @@ void minx_cpu_device::CALL( UINT16 arg )
#define AD2_Y8 UINT32 addr2 = ( m_YI << 16 ) | ( m_Y + rdop() )
#define AD2_XL UINT32 addr2 = ( m_XI << 16 ) | ( m_X + ( m_HL & 0x00FF ) )
#define AD2_YL UINT32 addr2 = ( m_YI << 16 ) | ( m_Y + ( m_HL & 0x00FF ) )
-
diff --git a/src/emu/cpu/minx/minxops.h b/src/emu/cpu/minx/minxops.h
index 5466b93bb2a..ca11a3258dc 100644
--- a/src/emu/cpu/minx/minxops.h
+++ b/src/emu/cpu/minx/minxops.h
@@ -559,4 +559,3 @@ const int minx_cpu_device::insnminx_cycles[256] = {
8, 8, 8, 8, 8, 8, 8, 8, 12, 12, 12, 12, 12, 12, 12, 12,
20, 8, 24, 12, 8, 1, 8, 12, 8, 8, 8, 20, 20, 1, 1, 8
};
-
diff --git a/src/emu/cpu/mips/mips3.h b/src/emu/cpu/mips/mips3.h
index 3f4826ef54c..2d2fce7ed03 100644
--- a/src/emu/cpu/mips/mips3.h
+++ b/src/emu/cpu/mips/mips3.h
@@ -359,7 +359,7 @@ private:
/* core state */
internal_mips3_state *m_core;
- /* internal stuff */
+ /* internal stuff */
UINT32 m_ppc;
UINT32 m_nextpc;
UINT32 m_pcbase;
@@ -444,7 +444,7 @@ private:
/* fast RAM */
UINT32 m_fastram_select;
- struct
+ struct
{
offs_t start; /* start of the RAM block */
offs_t end; /* end of the RAM block */
diff --git a/src/emu/cpu/powerpc/ppc.h b/src/emu/cpu/powerpc/ppc.h
index dbdf6131903..009e2118e20 100644
--- a/src/emu/cpu/powerpc/ppc.h
+++ b/src/emu/cpu/powerpc/ppc.h
@@ -695,20 +695,20 @@ protected:
//class ppc403_device : public ppc_device
//{
//public:
-// ppc403_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+// ppc403_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
//
//protected:
-// virtual UINT32 execute_input_lines() const { return 8; }
+// virtual UINT32 execute_input_lines() const { return 8; }
//};
//
//
//class ppc405_device : public ppc_device
//{
//public:
-// ppc405_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+// ppc405_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
//
//protected:
-// virtual UINT32 execute_input_lines() const { return 8; }
+// virtual UINT32 execute_input_lines() const { return 8; }
//};
diff --git a/src/emu/cpu/rsp/rsp.h b/src/emu/cpu/rsp/rsp.h
index e2812609e59..f0706d6dcf1 100644
--- a/src/emu/cpu/rsp/rsp.h
+++ b/src/emu/cpu/rsp/rsp.h
@@ -145,13 +145,13 @@ union ACCUMULATOR_REG
#define MCFG_RSP_DP_REG_R_CB(_devcb) \
devcb = &rsp_cpu_device::static_set_dp_reg_r_callback(*device, DEVCB_##_devcb);
-
+
#define MCFG_RSP_DP_REG_W_CB(_devcb) \
devcb = &rsp_cpu_device::static_set_dp_reg_w_callback(*device, DEVCB_##_devcb);
-
+
#define MCFG_RSP_SP_REG_R_CB(_devcb) \
devcb = &rsp_cpu_device::static_set_sp_reg_r_callback(*device, DEVCB_##_devcb);
-
+
#define MCFG_RSP_SP_REG_W_CB(_devcb) \
devcb = &rsp_cpu_device::static_set_sp_reg_w_callback(*device, DEVCB_##_devcb);
@@ -163,7 +163,7 @@ class rsp_cpu_device : public legacy_cpu_device
protected:
// construction/destruction
rsp_cpu_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, UINT32 clock, cpu_get_info_func info);
-
+
public:
void resolve_cb();
template static devcb_base &static_set_dp_reg_r_callback(device_t &device, _Object object) { return downcast(device).dp_reg_r_func.set_callback(object); }
@@ -171,13 +171,13 @@ public:
template static devcb_base &static_set_sp_reg_r_callback(device_t &device, _Object object) { return downcast(device).sp_reg_r_func.set_callback(object); }
template static devcb_base &static_set_sp_reg_w_callback(device_t &device, _Object object) { return downcast(device).sp_reg_w_func.set_callback(object); }
template static devcb_base &static_set_status_callback(device_t &device, _Object object) { return downcast(device).sp_set_status_func.set_callback(object); }
-
+
devcb_read32 dp_reg_r_func;
devcb_write32 dp_reg_w_func;
devcb_read32 sp_reg_r_func;
devcb_write32 sp_reg_w_func;
- devcb_write32 sp_set_status_func;
+ devcb_write32 sp_set_status_func;
};
diff --git a/src/emu/cpu/scudsp/scudsp.h b/src/emu/cpu/scudsp/scudsp.h
index 9d460b58ee0..9406a7e1917 100644
--- a/src/emu/cpu/scudsp/scudsp.h
+++ b/src/emu/cpu/scudsp/scudsp.h
@@ -61,11 +61,11 @@ class scudsp_cpu_device : public cpu_device
public:
// construction/destruction
scudsp_cpu_device(const machine_config &mconfig, const char *_tag, device_t *_owner, UINT32 _clock);
-
+
template static devcb_base &set_out_irq_callback(device_t &device, _Object object) { return downcast(device).m_out_irq_cb.set_callback(object); }
template static devcb_base &set_in_dma_callback(device_t &device, _Object object) { return downcast(device).m_in_dma_cb.set_callback(object); }
template static devcb_base &set_out_dma_callback(device_t &device, _Object object) { return downcast(device).m_out_dma_cb.set_callback(object); }
-
+
/* port 0 */
DECLARE_READ32_MEMBER( program_control_r );
DECLARE_WRITE32_MEMBER( program_control_w );
@@ -104,7 +104,7 @@ protected:
devcb_write_line m_out_irq_cb;
devcb_read16 m_in_dma_cb;
devcb_write16 m_out_dma_cb;
-
+
private:
address_space_config m_program_config;
address_space_config m_data_config;
diff --git a/src/emu/cpu/sh2/sh2.h b/src/emu/cpu/sh2/sh2.h
index 21e53f19a4c..d8e7401053c 100644
--- a/src/emu/cpu/sh2/sh2.h
+++ b/src/emu/cpu/sh2/sh2.h
@@ -519,19 +519,19 @@ public:
class sh2_frontend : public drc_frontend
{
public:
- sh2_frontend(sh2_device *device, UINT32 window_start, UINT32 window_end, UINT32 max_sequence);
+ sh2_frontend(sh2_device *device, UINT32 window_start, UINT32 window_end, UINT32 max_sequence);
protected:
- virtual bool describe(opcode_desc &desc, const opcode_desc *prev);
+ virtual bool describe(opcode_desc &desc, const opcode_desc *prev);
private:
- bool describe_group_0(opcode_desc &desc, const opcode_desc *prev, UINT16 opcode);
- bool describe_group_2(opcode_desc &desc, const opcode_desc *prev, UINT16 opcode);
- bool describe_group_3(opcode_desc &desc, const opcode_desc *prev, UINT16 opcode);
- bool describe_group_4(opcode_desc &desc, const opcode_desc *prev, UINT16 opcode);
- bool describe_group_6(opcode_desc &desc, const opcode_desc *prev, UINT16 opcode);
- bool describe_group_8(opcode_desc &desc, const opcode_desc *prev, UINT16 opcode);
- bool describe_group_12(opcode_desc &desc, const opcode_desc *prev, UINT16 opcode);
+ bool describe_group_0(opcode_desc &desc, const opcode_desc *prev, UINT16 opcode);
+ bool describe_group_2(opcode_desc &desc, const opcode_desc *prev, UINT16 opcode);
+ bool describe_group_3(opcode_desc &desc, const opcode_desc *prev, UINT16 opcode);
+ bool describe_group_4(opcode_desc &desc, const opcode_desc *prev, UINT16 opcode);
+ bool describe_group_6(opcode_desc &desc, const opcode_desc *prev, UINT16 opcode);
+ bool describe_group_8(opcode_desc &desc, const opcode_desc *prev, UINT16 opcode);
+ bool describe_group_12(opcode_desc &desc, const opcode_desc *prev, UINT16 opcode);
sh2_device *m_sh2;
};
diff --git a/src/emu/cpu/sharc/sharcops.inc b/src/emu/cpu/sharc/sharcops.inc
index e1140c9885b..95c86cfa140 100644
--- a/src/emu/cpu/sharc/sharcops.inc
+++ b/src/emu/cpu/sharc/sharcops.inc
@@ -823,7 +823,7 @@ void adsp21062_device::COMPUTE(UINT32 opcode)
case 0x62: compute_max(rn, rx, ry); break;
case 0x81: compute_fadd(rn, rx, ry); break;
case 0x82: compute_fsub(rn, rx, ry); break;
- case 0x89: compute_favg(rn, rx, ry); break;
+ case 0x89: compute_favg(rn, rx, ry); break;
case 0x8a: compute_fcomp(rx, ry); break;
case 0x91: compute_fabs_plus(rn, rx, ry); break;
case 0xa1: compute_fpass(rn, rx); break;
diff --git a/src/emu/cpu/tms7000/tms7000.h b/src/emu/cpu/tms7000/tms7000.h
index 35f733d115a..1a66c79b9cf 100644
--- a/src/emu/cpu/tms7000/tms7000.h
+++ b/src/emu/cpu/tms7000/tms7000.h
@@ -65,7 +65,7 @@ public:
DECLARE_WRITE8_MEMBER(tms7000_pf_w);
DECLARE_READ8_MEMBER(tms7002_pf_r) { return tms7000_pf_r(space, offset + 0x10); }
DECLARE_WRITE8_MEMBER(tms7002_pf_w) { tms7000_pf_w(space, offset + 0x10, data); }
-
+
bool chip_is_cmos() { return (m_info_flags & TMS7000_CHIP_IS_CMOS) ? true : false; }
UINT32 chip_get_family() { return m_info_flags & TMS7000_CHIP_FAMILY_MASK; }
bool chip_is_family_70x0() { return chip_get_family() == TMS7000_CHIP_FAMILY_70X0; }
@@ -128,17 +128,17 @@ protected:
UINT8 m_port_latch[4];
UINT8 m_port_ddr[4];
-
+
void flag_ext_interrupt(int extline);
void check_interrupts();
void do_interrupt(int irqline);
-
+
TIMER_CALLBACK_MEMBER(simple_timer_cb);
void timer_run(int tmr);
void timer_reload(int tmr);
void timer_tick_pre(int tmr);
void timer_tick_low(int tmr);
-
+
// internal read/write
inline UINT8 read_r8(UINT8 address) { return m_program->read_byte(address); }
inline void write_r8(UINT8 address, UINT8 data) { m_program->write_byte(address, data); }
@@ -160,7 +160,7 @@ protected:
inline void push8(UINT8 data) { m_program->write_byte(++m_sp, data); }
inline UINT16 pull16() { UINT16 ret = m_program->read_byte(m_sp--); return ret | m_program->read_byte(m_sp--) << 8; }
inline void push16(UINT16 data) { m_program->write_byte(++m_sp, data >> 8 & 0xff); m_program->write_byte(++m_sp, data & 0xff); }
-
+
// opcode handlers
void br_dir();
void br_inx();
@@ -202,7 +202,7 @@ protected:
void stsp();
void trap(UINT8 address);
void illegal(UINT8 op);
-
+
typedef int (tms7000_device::*op_func)(UINT8, UINT8);
int op_clr(UINT8 param1, UINT8 param2);
int op_dec(UINT8 param1, UINT8 param2);
@@ -214,7 +214,7 @@ protected:
int op_rrc(UINT8 param1, UINT8 param2);
int op_swap(UINT8 param1, UINT8 param2);
int op_xchb(UINT8 param1, UINT8 param2);
-
+
int op_adc(UINT8 param1, UINT8 param2);
int op_add(UINT8 param1, UINT8 param2);
int op_and(UINT8 param1, UINT8 param2);
@@ -227,7 +227,7 @@ protected:
int op_sbb(UINT8 param1, UINT8 param2);
int op_sub(UINT8 param1, UINT8 param2);
int op_xor(UINT8 param1, UINT8 param2);
-
+
inline void shortbranch(bool check);
inline void jmp(bool check);
int op_djnz(UINT8 param1, UINT8 param2);
diff --git a/src/emu/cpu/tms7000/tms70op.inc b/src/emu/cpu/tms7000/tms70op.inc
index 8b81a7e8721..904e5d713cb 100644
--- a/src/emu/cpu/tms7000/tms70op.inc
+++ b/src/emu/cpu/tms7000/tms70op.inc
@@ -307,19 +307,19 @@ int tms7000_device::op_dac(UINT8 param1, UINT8 param2)
UINT8 l1 = param1 >> 0 & 0xf;
UINT8 h2 = param2 >> 4 & 0xf;
UINT8 l2 = param2 >> 0 & 0xf;
-
+
// compute bcd constant
UINT8 d = ((l1 + l2 + c) < 10) ? 0 : 1;
if ((h1 + h2) == 9)
d |= 2;
else if ((h1 + h2) > 9)
d |= 4;
-
+
UINT8 t = param1 + param2 + c + lut_bcd_out[d];
SET_CNZ(t);
if (d > 2)
m_sr |= SR_C;
-
+
return t;
}
@@ -344,7 +344,7 @@ int tms7000_device::op_dsb(UINT8 param1, UINT8 param2)
SET_CNZ(t);
if (d <= 2)
m_sr |= SR_C;
-
+
return t;
}
diff --git a/src/emu/cpu/upd7725/upd7725.h b/src/emu/cpu/upd7725/upd7725.h
index aeb9097e11b..4e4d9ed6c5d 100644
--- a/src/emu/cpu/upd7725/upd7725.h
+++ b/src/emu/cpu/upd7725/upd7725.h
@@ -63,7 +63,7 @@ class upd96050_device;
#define MCFG_NECDSP_OUT_DRQ_CB(_devcb) \
devcb = &necdsp_device::set_out_drq_callback(*device, DEVCB_##_devcb);
-
+
// ======================> necdsp_device
@@ -86,7 +86,7 @@ public:
//template static devcb_base &set_out_so_callback(device_t &device, _Object object) { return downcast(device).m_out_so_cb.set_callback(object); }
//template static devcb_base &set_out_sorq_callback(device_t &device, _Object object) { return downcast(device).m_out_sorq_cb.set_callback(object); }
//template static devcb_base &set_out_drq_callback(device_t &device, _Object object) { return downcast(device).m_out_drq_cb.set_callback(object); }
-
+
UINT8 snesdsp_read(bool mode);
void snesdsp_write(bool mode, UINT8 data);
diff --git a/src/emu/cpu/z80/tmpz84c011.h b/src/emu/cpu/z80/tmpz84c011.h
index 973d9efb2d7..553a24d8fda 100644
--- a/src/emu/cpu/z80/tmpz84c011.h
+++ b/src/emu/cpu/z80/tmpz84c011.h
@@ -97,7 +97,7 @@ public:
DECLARE_WRITE_LINE_MEMBER( trg1 ) { m_ctc->trg1(state); }
DECLARE_WRITE_LINE_MEMBER( trg2 ) { m_ctc->trg2(state); }
DECLARE_WRITE_LINE_MEMBER( trg3 ) { m_ctc->trg3(state); }
-
+
/////////////////////////////////////////////////////////
DECLARE_READ8_MEMBER( tmpz84c011_pa_r );
diff --git a/src/emu/cpu/z80/tmpz84c015.h b/src/emu/cpu/z80/tmpz84c015.h
index 05c20a46c89..412f47556c9 100644
--- a/src/emu/cpu/z80/tmpz84c015.h
+++ b/src/emu/cpu/z80/tmpz84c015.h
@@ -122,10 +122,10 @@ public:
template static devcb_base &set_out_syncb_callback(device_t &device, _Object object) { return downcast(device).m_out_syncb_cb.set_callback(object); }
template static devcb_base &set_out_rxdrqa_callback(device_t &device, _Object object) { return downcast(device).m_out_rxdrqa_cb.set_callback(object); }
- template static devcb_base &set_out_txdrqa_callback(device_t &device, _Object object) { return downcast(device).m_out_txdrqa_cb.set_callback(object); }
+ template static devcb_base &set_out_txdrqa_callback(device_t &device, _Object object) { return downcast(device).m_out_txdrqa_cb.set_callback(object); }
template static devcb_base &set_out_rxdrqb_callback(device_t &device, _Object object) { return downcast(device).m_out_rxdrqb_cb.set_callback(object); }
- template static devcb_base &set_out_txdrqb_callback(device_t &device, _Object object) { return downcast(device).m_out_txdrqb_cb.set_callback(object); }
-
+ template static devcb_base &set_out_txdrqb_callback(device_t &device, _Object object) { return downcast(device).m_out_txdrqb_cb.set_callback(object); }
+
template static devcb_base &set_zc0_callback(device_t &device, _Object object) { return downcast(device).m_zc0_cb.set_callback(object); }
template static devcb_base &set_zc1_callback(device_t &device, _Object object) { return downcast(device).m_zc1_cb.set_callback(object); }
template static devcb_base &set_zc2_callback(device_t &device, _Object object) { return downcast(device).m_zc2_cb.set_callback(object); }
@@ -171,7 +171,7 @@ public:
DECLARE_READ8_MEMBER( pa_r ) { return m_pio->pa_r(space, offset, mem_mask); }
DECLARE_WRITE8_MEMBER( pb_w ) { m_pio->pb_w(space, offset, data, mem_mask); }
DECLARE_READ8_MEMBER( pb_r ) { return m_pio->pb_r(space, offset, mem_mask); }
-
+
/////////////////////////////////////////////////////////
DECLARE_WRITE8_MEMBER( irq_priority_w );
@@ -204,7 +204,7 @@ public:
DECLARE_READ8_MEMBER( in_pb_cb_trampoline_r ) { return m_in_pb_cb(); }
DECLARE_WRITE8_MEMBER( out_pb_cb_trampoline_w ) { m_out_pb_cb(data); }
DECLARE_WRITE_LINE_MEMBER( out_brdy_cb_trampoline_w ) { m_out_brdy_cb(state); }
-
+
protected:
// device-level overrides
virtual machine_config_constructor device_mconfig_additions() const;
@@ -231,20 +231,20 @@ private:
// internal state
UINT8 m_irq_priority;
-
+
// callbacks
devcb_write_line m_out_txda_cb;
devcb_write_line m_out_dtra_cb;
devcb_write_line m_out_rtsa_cb;
devcb_write_line m_out_wrdya_cb;
devcb_write_line m_out_synca_cb;
-
+
devcb_write_line m_out_txdb_cb;
devcb_write_line m_out_dtrb_cb;
devcb_write_line m_out_rtsb_cb;
devcb_write_line m_out_wrdyb_cb;
devcb_write_line m_out_syncb_cb;
-
+
devcb_write_line m_out_rxdrqa_cb;
devcb_write_line m_out_txdrqa_cb;
devcb_write_line m_out_rxdrqb_cb;
@@ -257,7 +257,7 @@ private:
devcb_read8 m_in_pa_cb;
devcb_write8 m_out_pa_cb;
devcb_write_line m_out_ardy_cb;
-
+
devcb_read8 m_in_pb_cb;
devcb_write8 m_out_pb_cb;
devcb_write_line m_out_brdy_cb;
diff --git a/src/emu/digfx.h b/src/emu/digfx.h
index 86ff9ffd859..aff3a1a2cc1 100644
--- a/src/emu/digfx.h
+++ b/src/emu/digfx.h
@@ -107,8 +107,6 @@ const gfx_layout name = { width, height, RGN_FRAC(1,1), 8, { GFX_RAW }, { 0 }, {
// use these to declare a gfx_decode_entry array as a member of a device class
#define DECLARE_GFXDECODE_MEMBER( name ) static const gfx_decode_entry name[]
#define GFXDECODE_MEMBER( name ) const gfx_decode_entry name[] = {
-
-
// common gfx_decode_entry macros
#define GFXDECODE_ENTRYX(region,offset,layout,start,colors,flags) { region, offset, &layout, start, colors, flags },
#define GFXDECODE_ENTRY(region,offset,layout,start,colors) { region, offset, &layout, start, colors, 0 },
diff --git a/src/emu/imagedev/cartslot.h b/src/emu/imagedev/cartslot.h
index f30e590f45b..d4b5b0322d1 100644
--- a/src/emu/imagedev/cartslot.h
+++ b/src/emu/imagedev/cartslot.h
@@ -42,7 +42,7 @@ public:
static void static_set_extensions(device_t &device, const char *_extensions) { downcast(device).m_extensions = _extensions; }
static void static_set_interface(device_t &device, const char *_interface) { downcast(device).m_interface = _interface; }
static void static_set_must_be_loaded(device_t &device, bool _must_be_loaded) { downcast(device).m_must_be_loaded = _must_be_loaded; }
-
+
// image-level overrides
virtual bool call_load();
virtual void call_unload();
@@ -102,10 +102,10 @@ extern const device_type CARTSLOT;
cartslot_image_device::static_set_must_be_loaded(*device, TRUE);
#define MCFG_CARTSLOT_LOAD(_class,_method) \
- cartslot_image_device::static_set_device_load(*device, device_image_load_delegate(&DEVICE_IMAGE_LOAD_NAME(_class,_method), #_class "::device_image_load_" #_method, downcast<_class *>(owner)));
+ cartslot_image_device::static_set_device_load(*device, device_image_load_delegate(&DEVICE_IMAGE_LOAD_NAME(_class,_method), #_class "::device_image_load_" #_method, downcast<_class *>(owner)));
#define MCFG_CARTSLOT_UNLOAD(_class,_method) \
- cartslot_image_device::static_set_device_unload(*device, device_image_func_delegate(&DEVICE_IMAGE_UNLOAD_NAME(_class,_method), #_class "::device_image_unload_" #_method, downcast<_class *>(owner)));
+ cartslot_image_device::static_set_device_unload(*device, device_image_func_delegate(&DEVICE_IMAGE_UNLOAD_NAME(_class,_method), #_class "::device_image_unload_" #_method, downcast<_class *>(owner)));
#define MCFG_CARTSLOT_PARTIALHASH(_partialhash) \
cartslot_image_device::static_set_partialhash(*device, _partialhash);
diff --git a/src/emu/imagedev/cassette.h b/src/emu/imagedev/cassette.h
index 66de5f12c5a..ac6842aadf8 100644
--- a/src/emu/imagedev/cassette.h
+++ b/src/emu/imagedev/cassette.h
@@ -107,7 +107,7 @@ private:
const struct CassetteFormat* const *m_formats;
const struct CassetteOptions *m_create_opts;
cassette_state m_default_state;
- const char * m_interface;
+ const char * m_interface;
};
// device type definition
@@ -124,17 +124,17 @@ typedef device_type_iterator<&device_creator, cassette_im
#define MCFG_CASSETTE_MODIFY(_tag) \
MCFG_DEVICE_MODIFY(_tag)
-
-#define MCFG_CASSETTE_FORMATS(_formats) \
+
+#define MCFG_CASSETTE_FORMATS(_formats) \
cassette_image_device::static_set_formats(*device, _formats);
-#define MCFG_CASSETTE_CREATE_OPTS(_create_opts) \
+#define MCFG_CASSETTE_CREATE_OPTS(_create_opts) \
cassette_image_device::static_set_create_opts(*device, _create_opts);
-#define MCFG_CASSETTE_DEFAULT_STATE(_state) \
+#define MCFG_CASSETTE_DEFAULT_STATE(_state) \
cassette_image_device::static_set_default_state(*device, (cassette_state) (_state));
-#define MCFG_CASSETTE_INTERFACE(_interface) \
+#define MCFG_CASSETTE_INTERFACE(_interface) \
cassette_image_device::static_set_interface(*device, _interface);
#endif /* CASSETTE_H */
diff --git a/src/emu/imagedev/diablo.h b/src/emu/imagedev/diablo.h
index 44601b4f9ec..58e7ce16697 100644
--- a/src/emu/imagedev/diablo.h
+++ b/src/emu/imagedev/diablo.h
@@ -84,10 +84,10 @@ extern const device_type DIABLO;
MCFG_DEVICE_CONFIG(_config)
#define MCFG_DIABLO_LOAD(_class,_method) \
- diablo_image_device::static_set_device_load(*device, device_image_load_delegate(&DEVICE_IMAGE_LOAD_NAME(_class,_method), #_class "::device_image_load_" #_method, downcast<_class *>(owner)));
+ diablo_image_device::static_set_device_load(*device, device_image_load_delegate(&DEVICE_IMAGE_LOAD_NAME(_class,_method), #_class "::device_image_load_" #_method, downcast<_class *>(owner)));
#define MCFG_DIABLO_UNLOAD(_class,_method) \
- diablo_image_device::static_set_device_unload(*device, device_image_func_delegate(&DEVICE_IMAGE_UNLOAD_NAME(_class,_method), #_class "::device_image_unload_" #_method, downcast<_class *>(owner)));
+ diablo_image_device::static_set_device_unload(*device, device_image_func_delegate(&DEVICE_IMAGE_UNLOAD_NAME(_class,_method), #_class "::device_image_unload_" #_method, downcast<_class *>(owner)));
#define MCFG_DIABLO_INTERFACE(_interface) \
diablo_image_device::static_set_interface(*device, _interface);
diff --git a/src/emu/imagedev/flopdrv.h b/src/emu/imagedev/flopdrv.h
index 462e7d8bf29..dc80796f550 100644
--- a/src/emu/imagedev/flopdrv.h
+++ b/src/emu/imagedev/flopdrv.h
@@ -95,7 +95,7 @@ public:
~legacy_floppy_image_device();
template static devcb_base &set_out_idx_func(device_t &device, _Object object) { return downcast(device).m_out_idx_func.set_callback(object); }
-
+
virtual bool call_load();
virtual bool call_softlist_load(software_list_device &swlist, const char *swname, const rom_entry *start_entry) { return load_software(swlist, swname, start_entry); }
virtual bool call_create(int format_type, option_resolution *format_options);
diff --git a/src/emu/imagedev/harddriv.h b/src/emu/imagedev/harddriv.h
index f808dc7e3ea..6ec48d327fb 100644
--- a/src/emu/imagedev/harddriv.h
+++ b/src/emu/imagedev/harddriv.h
@@ -79,10 +79,10 @@ extern const device_type HARDDISK;
MCFG_DEVICE_ADD(_tag, HARDDISK, 0)
#define MCFG_HARDDISK_LOAD(_class,_method) \
- harddisk_image_device::static_set_device_load(*device, device_image_load_delegate(&DEVICE_IMAGE_LOAD_NAME(_class,_method), #_class "::device_image_load_" #_method, downcast<_class *>(owner)));
+ harddisk_image_device::static_set_device_load(*device, device_image_load_delegate(&DEVICE_IMAGE_LOAD_NAME(_class,_method), #_class "::device_image_load_" #_method, downcast<_class *>(owner)));
#define MCFG_HARDDISK_UNLOAD(_class,_method) \
- harddisk_image_device::static_set_device_unload(*device, device_image_func_delegate(&DEVICE_IMAGE_UNLOAD_NAME(_class,_method), #_class "::device_image_unload_" #_method, downcast<_class *>(owner)));
+ harddisk_image_device::static_set_device_unload(*device, device_image_func_delegate(&DEVICE_IMAGE_UNLOAD_NAME(_class,_method), #_class "::device_image_unload_" #_method, downcast<_class *>(owner)));
#define MCFG_HARDDISK_INTERFACE(_interface) \
harddisk_image_device::static_set_interface(*device, _interface);
diff --git a/src/emu/imagedev/midiin.h b/src/emu/imagedev/midiin.h
index 93dadab5a39..5d3a864e60a 100644
--- a/src/emu/imagedev/midiin.h
+++ b/src/emu/imagedev/midiin.h
@@ -27,7 +27,7 @@ public:
midiin_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
template static devcb_base &set_input_callback(device_t &device, _Object object) { return downcast(device).m_input_cb.set_callback(object); }
-
+
// image-level overrides
virtual bool call_load();
virtual void call_unload();
diff --git a/src/emu/luaengine.h b/src/emu/luaengine.h
index fadeed55bb8..ad4712d262f 100644
--- a/src/emu/luaengine.h
+++ b/src/emu/luaengine.h
@@ -44,12 +44,12 @@ private:
int cb;
hook();
- void set(lua_State *L, int idx);
+ void set(lua_State *L, int idx);
lua_State *precall();
void call(lua_engine *engine, lua_State *T, int nparam);
bool active() const { return L != NULL; }
};
-
+
static const char *const tname_ioport;
// internal state
@@ -58,7 +58,7 @@ private:
hook hook_output_cb;
bool output_notifier_set;
-
+
static lua_engine* luaThis;
std::map > thread_registry;
@@ -93,7 +93,7 @@ private:
static void *checkparam(lua_State *L, int idx, const char *tname);
static void *getparam(lua_State *L, int idx, const char *tname);
static void push(lua_State *L, void *p, const char *tname);
-
+
int report(int status);
int docall(int narg, int nres);
int incomplete(int status) ;
diff --git a/src/emu/machine/53c810.h b/src/emu/machine/53c810.h
index a5f3d86acae..c8ee4f80dce 100644
--- a/src/emu/machine/53c810.h
+++ b/src/emu/machine/53c810.h
@@ -22,7 +22,7 @@ public:
static void set_irq_callback(device_t &device, lsi53c810_irq_delegate callback) { downcast(device).m_irq_cb = callback; }
static void set_dma_callback(device_t &device, lsi53c810_dma_delegate callback) { downcast(device).m_dma_cb = callback; }
static void set_fetch_callback(device_t &device, lsi53c810_fetch_delegate callback) { downcast(device).m_fetch_cb = callback; }
-
+
void lsi53c810_read_data(int bytes, UINT8 *pData);
void lsi53c810_write_data(int bytes, UINT8 *pData);
diff --git a/src/emu/machine/6525tpi.h b/src/emu/machine/6525tpi.h
index 87deba13e7d..40dadbd4ee9 100644
--- a/src/emu/machine/6525tpi.h
+++ b/src/emu/machine/6525tpi.h
@@ -49,7 +49,7 @@ public:
template static devcb_base &set_out_pc_callback(device_t &device, _Object object) { return downcast(device).m_out_pc_cb.set_callback(object); }
template static devcb_base &set_out_ca_callback(device_t &device, _Object object) { return downcast(device).m_out_ca_cb.set_callback(object); }
template static devcb_base &set_out_cb_callback(device_t &device, _Object object) { return downcast(device).m_out_cb_cb.set_callback(object); }
-
+
DECLARE_READ8_MEMBER( read );
DECLARE_WRITE8_MEMBER( write );
diff --git a/src/emu/machine/6532riot.h b/src/emu/machine/6532riot.h
index a2b2ce715f3..49dc2bfc000 100644
--- a/src/emu/machine/6532riot.h
+++ b/src/emu/machine/6532riot.h
@@ -50,7 +50,7 @@ public:
template static devcb_base &set_in_pb_callback(device_t &device, _Object object) { return downcast(device).m_in_pb_cb.set_callback(object); }
template static devcb_base &set_out_pb_callback(device_t &device, _Object object) { return downcast(device).m_out_pb_cb.set_callback(object); }
template static devcb_base &set_irq_callback(device_t &device, _Object object) { return downcast(device).m_irq_cb.set_callback(object); }
-
+
DECLARE_READ8_MEMBER( read );
DECLARE_WRITE8_MEMBER( write );
@@ -75,8 +75,8 @@ protected:
UINT8 m_in;
UINT8 m_out;
UINT8 m_ddr;
- devcb_read8 *m_in_cb;
- devcb_write8 *m_out_cb;
+ devcb_read8 *m_in_cb;
+ devcb_write8 *m_out_cb;
};
// device-level overrides
@@ -100,7 +100,7 @@ private:
devcb_read8 m_in_pb_cb;
devcb_write8 m_out_pb_cb;
devcb_write_line m_irq_cb;
-
+
UINT8 m_irqstate;
UINT8 m_irqenable;
int m_irq;
diff --git a/src/emu/machine/68307.h b/src/emu/machine/68307.h
index 82f5ea25169..35cf8fc4362 100644
--- a/src/emu/machine/68307.h
+++ b/src/emu/machine/68307.h
@@ -45,7 +45,7 @@ public:
template static devcb_base &set_b_tx_cb(device_t &device, _Object object) { return downcast(device).write_b_tx.set_callback(object); }
template static devcb_base &set_inport_cb(device_t &device, _Object object) { return downcast(device).read_inport.set_callback(object); }
template static devcb_base &set_outport_cb(device_t &device, _Object object) { return downcast(device).write_outport.set_callback(object); }
-
+
DECLARE_WRITE_LINE_MEMBER(m68307_duart_irq_handler);
DECLARE_WRITE_LINE_MEMBER(m68307_duart_txa){ write_a_tx(state); }
DECLARE_WRITE_LINE_MEMBER(m68307_duart_txb){ write_b_tx(state); }
@@ -69,7 +69,7 @@ public:
/* 68307 peripheral modules */
m68307_sim* m68307SIM;
m68307_mbus* m68307MBUS;
-// m68307_serial* m68307SERIAL;
+// m68307_serial* m68307SERIAL;
m68307_timer* m68307TIMER;
UINT16 m68307_base;
@@ -94,7 +94,7 @@ public:
/* callbacks for internal ports */
void set_port_callbacks(m68307_porta_read_delegate porta_r, m68307_porta_write_delegate porta_w, m68307_portb_read_delegate portb_r, m68307_portb_write_delegate portb_w);
void set_interrupt(int level, int vector);
- UINT16 get_cs(offs_t address);
+ UINT16 get_cs(offs_t address);
void timer0_interrupt();
void timer1_interrupt();
void serial_interrupt(int vector);
diff --git a/src/emu/machine/6840ptm.h b/src/emu/machine/6840ptm.h
index c5075a24144..d5e8851fae4 100644
--- a/src/emu/machine/6840ptm.h
+++ b/src/emu/machine/6840ptm.h
@@ -49,13 +49,13 @@ public:
// construction/destruction
ptm6840_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
- static void set_internal_clock(device_t &device, double clock) { downcast(device).m_internal_clock = clock; }
+ static void set_internal_clock(device_t &device, double clock) { downcast(device).m_internal_clock = clock; }
static void set_external_clocks(device_t &device, double clock0, double clock1, double clock2) { downcast(device).m_external_clock[0] = clock0; downcast(device).m_external_clock[1] = clock1; downcast(device).m_external_clock[2] = clock2; }
template static devcb_base &set_out0_callback(device_t &device, _Object object) { return downcast(device).m_out0_cb.set_callback(object); }
template static devcb_base &set_out1_callback(device_t &device, _Object object) { return downcast(device).m_out1_cb.set_callback(object); }
template static devcb_base &set_out2_callback(device_t &device, _Object object) { return downcast(device).m_out2_cb.set_callback(object); }
template static devcb_base &set_irq_callback(device_t &device, _Object object) { return downcast(device).m_irq_cb.set_callback(object); }
-
+
int status(int clock) const { return m_enabled[clock]; } // get whether timer is enabled
int irq_state() const { return m_IRQ; } // get IRQ state
UINT16 count(int counter) const { return compute_counter(counter); } // get counter value
diff --git a/src/emu/machine/74123.h b/src/emu/machine/74123.h
index c051c3ce4e5..8b9391988a2 100644
--- a/src/emu/machine/74123.h
+++ b/src/emu/machine/74123.h
@@ -61,13 +61,13 @@
#define MCFG_TTL74123_RESISTOR_VALUE(_value) \
ttl74123_device::set_resistor_value(*device, _value);
-
+
#define MCFG_TTL74123_CAPACITOR_VALUE(_value) \
ttl74123_device::set_capacitor_value(*device, _value);
#define MCFG_TTL74123_A_PIN_VALUE(_value) \
ttl74123_device::set_a_pin_value(*device, _value);
-
+
#define MCFG_TTL74123_B_PIN_VALUE(_value) \
ttl74123_device::set_b_pin_value(*device, _value);
@@ -75,7 +75,7 @@
ttl74123_device::set_clear_pin_value(*device, _value);
#define MCFG_TTL74123_OUTPUT_CHANGED_CB(_devcb) \
- devcb = &ttl74123_device::set_output_changed_callback(*device, DEVCB_##_devcb);
+ devcb = &ttl74123_device::set_output_changed_callback(*device, DEVCB_##_devcb);
/* constants for the different ways the cap/res can be connected.
This determines the formula for calculating the pulse width */
@@ -103,7 +103,7 @@ public:
static void set_b_pin_value(device_t &device, int value) { downcast(device).m_b = value; }
static void set_clear_pin_value(device_t &device, int value) { downcast(device).m_clear = value; }
template static devcb_base &set_output_changed_callback(device_t &device, _Object object) { return downcast(device).m_output_changed_cb.set_callback(object); }
-
+
DECLARE_WRITE8_MEMBER(a_w);
DECLARE_WRITE8_MEMBER(b_w);
DECLARE_WRITE8_MEMBER(clear_w);
diff --git a/src/emu/machine/8042kbdc.h b/src/emu/machine/8042kbdc.h
index ec0180833d1..a2311e1924d 100644
--- a/src/emu/machine/8042kbdc.h
+++ b/src/emu/machine/8042kbdc.h
@@ -40,7 +40,7 @@ enum kbdc8042_type_t
devcb = &kbdc8042_device::set_output_buffer_empty_callback(*device, DEVCB_##_devcb);
#define MCFG_KBDC8042_SPEAKER_CB(_devcb) \
- devcb = &kbdc8042_device::set_speaker_callback(*device, DEVCB_##_devcb);
+ devcb = &kbdc8042_device::set_speaker_callback(*device, DEVCB_##_devcb);
//**************************************************************************
// TYPE DEFINITIONS
@@ -55,7 +55,7 @@ public:
kbdc8042_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
virtual machine_config_constructor device_mconfig_additions() const;
-
+
static void set_keyboard_type(device_t &device, kbdc8042_type_t keybtype) { downcast(device).m_keybtype = keybtype; }
template static devcb_base &set_system_reset_callback(device_t &device, _Object object) { return downcast(device).m_system_reset_cb.set_callback(object); }
template static devcb_base &set_gate_a20_callback(device_t &device, _Object object) { return downcast(device).m_gate_a20_cb.set_callback(object); }
@@ -109,7 +109,7 @@ protected:
required_device m_keyboard_dev;
kbdc8042_type_t m_keybtype;
-
+
devcb_write_line m_system_reset_cb;
devcb_write_line m_gate_a20_cb;
devcb_write_line m_input_buffer_full_cb;
diff --git a/src/emu/machine/aakart.h b/src/emu/machine/aakart.h
index 35d27f5bf41..97b2c1b4727 100644
--- a/src/emu/machine/aakart.h
+++ b/src/emu/machine/aakart.h
@@ -20,7 +20,7 @@ Acorn Archimedes KART interface
#define MCFG_AAKART_OUT_RX_CB(_devcb) \
devcb = &aakart_device::set_out_rx_callback(*device, DEVCB_##_devcb);
-
+
enum{
STATUS_NORMAL = 0,
@@ -42,15 +42,15 @@ class aakart_device : public device_t
public:
// construction/destruction
aakart_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
-
+
template static devcb_base &set_out_tx_callback(device_t &device, _Object object) { return downcast(device).m_out_tx_cb.set_callback(object); }
template static devcb_base &set_out_rx_callback(device_t &device, _Object object) { return downcast(device).m_out_rx_cb.set_callback(object); }
// I/O operations
DECLARE_WRITE8_MEMBER( write );
DECLARE_READ8_MEMBER( read );
- void send_keycode_down(UINT8 row, UINT8 col);
- void send_keycode_up(UINT8 row, UINT8 col);
+ void send_keycode_down(UINT8 row, UINT8 col);
+ void send_keycode_up(UINT8 row, UINT8 col);
protected:
// device-level overrides
virtual void device_validity_check(validity_checker &valid) const;
@@ -77,9 +77,9 @@ private:
UINT8 m_status;
UINT8 m_mouse_enable;
UINT8 m_keyb_enable;
- UINT8 m_keyb_row;
- UINT8 m_keyb_col;
- UINT8 m_keyb_state;
+ UINT8 m_keyb_row;
+ UINT8 m_keyb_col;
+ UINT8 m_keyb_state;
};
diff --git a/src/emu/machine/adc0808.h b/src/emu/machine/adc0808.h
index 1ba210ffdc0..cd0247b8c44 100644
--- a/src/emu/machine/adc0808.h
+++ b/src/emu/machine/adc0808.h
@@ -49,34 +49,34 @@ typedef device_delegate adc0808_analog_read_delegate;
#define MCFG_ADC0808_IN_VREF_POS_CB(_class, _method) \
adc0808_device::set_in_vref_pos_callback(*device, adc0808_analog_read_delegate(&_class::_method, #_class "::" #_method, downcast<_class *>(owner)));
-
+
#define MCFG_ADC0808_IN_VREF_NEG_CB(_class, _method) \
adc0808_device::set_in_vref_neg_callback(*device, adc0808_analog_read_delegate(&_class::_method, #_class "::" #_method, downcast<_class *>(owner)));
-
+
#define MCFG_ADC0808_IN_IN_0_CB(_class, _method) \
adc0808_device::set_in_in_0_callback(*device, adc0808_analog_read_delegate(&_class::_method, #_class "::" #_method, downcast<_class *>(owner)));
-
+
#define MCFG_ADC0808_IN_IN_1_CB(_class, _method) \
adc0808_device::set_in_in_1_callback(*device, adc0808_analog_read_delegate(&_class::_method, #_class "::" #_method, downcast<_class *>(owner)));
-
+
#define MCFG_ADC0808_IN_IN_2_CB(_class, _method) \
adc0808_device::set_in_in_2_callback(*device, adc0808_analog_read_delegate(&_class::_method, #_class "::" #_method, downcast<_class *>(owner)));
-
+
#define MCFG_ADC0808_IN_IN_3_CB(_class, _method) \
adc0808_device::set_in_in_3_callback(*device, adc0808_analog_read_delegate(&_class::_method, #_class "::" #_method, downcast<_class *>(owner)));
-
+
#define MCFG_ADC0808_IN_IN_4_CB(_class, _method) \
adc0808_device::set_in_in_4_callback(*device, adc0808_analog_read_delegate(&_class::_method, #_class "::" #_method, downcast<_class *>(owner)));
-
+
#define MCFG_ADC0808_IN_IN_5_CB(_class, _method) \
adc0808_device::set_in_in_5_callback(*device, adc0808_analog_read_delegate(&_class::_method, #_class "::" #_method, downcast<_class *>(owner)));
#define MCFG_ADC0808_IN_IN_6_CB(_class, _method) \
adc0808_device::set_in_in_6_callback(*device, adc0808_analog_read_delegate(&_class::_method, #_class "::" #_method, downcast<_class *>(owner)));
-
+
#define MCFG_ADC0808_IN_IN_7_CB(_class, _method) \
adc0808_device::set_in_in_7_callback(*device, adc0808_analog_read_delegate(&_class::_method, #_class "::" #_method, downcast<_class *>(owner)));
-
+
// ======================> adc0808_device
class adc0808_device : public device_t
@@ -84,7 +84,7 @@ class adc0808_device : public device_t
public:
// construction/destruction
adc0808_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
-
+
template static devcb_base &set_out_eoc_callback(device_t &device, _Object object) { return downcast(device).m_out_eoc_cb.set_callback(object); }
static void set_in_vref_pos_callback(device_t &device, adc0808_analog_read_delegate callback) { downcast(device).m_in_vref_pos_cb = callback; }
static void set_in_vref_neg_callback(device_t &device, adc0808_analog_read_delegate callback) { downcast(device).m_in_vref_neg_cb = callback; }
diff --git a/src/emu/machine/adc1038.h b/src/emu/machine/adc1038.h
index 45a134e04ab..8e22fd6face 100644
--- a/src/emu/machine/adc1038.h
+++ b/src/emu/machine/adc1038.h
@@ -49,7 +49,7 @@ private:
int m_data_out;
int m_adc_data;
int m_sars;
-
+
int m_gticlub_hack;
adc1038_input_delegate m_input_cb;
};
diff --git a/src/emu/machine/akiko.h b/src/emu/machine/akiko.h
index e3657d9d815..1fa5e46f6ef 100644
--- a/src/emu/machine/akiko.h
+++ b/src/emu/machine/akiko.h
@@ -1,12 +1,12 @@
/***************************************************************************
- Akiko
+ Akiko
- Used in the Amiga CD32
+ Used in the Amiga CD32
- - CD-ROM controller
- - Builtin 1KB NVRAM
- - Chunky to planar converter
+ - CD-ROM controller
+ - Builtin 1KB NVRAM
+ - Chunky to planar converter
***************************************************************************/
@@ -74,7 +74,7 @@ protected:
virtual machine_config_constructor device_mconfig_additions() const;
private:
- // 1X CDROM sector time in msec (300KBps)
+ // 1X CDROM sector time in msec (300KBps)
static const int CD_SECTOR_TIME = (1000/((150*1024)/2048));
// internal state
diff --git a/src/emu/machine/am9517a.h b/src/emu/machine/am9517a.h
index c4aa7383039..ab2cdd3d60c 100644
--- a/src/emu/machine/am9517a.h
+++ b/src/emu/machine/am9517a.h
@@ -73,7 +73,7 @@ public:
template static devcb_base &set_out_dack_1_callback(device_t &device, _Object object) { return downcast(device).m_out_dack_1_cb.set_callback(object); }
template static devcb_base &set_out_dack_2_callback(device_t &device, _Object object) { return downcast(device).m_out_dack_2_cb.set_callback(object); }
template static devcb_base &set_out_dack_3_callback(device_t &device, _Object object) { return downcast(device).m_out_dack_3_cb.set_callback(object); }
-
+
DECLARE_READ8_MEMBER( read );
DECLARE_WRITE8_MEMBER( write );
diff --git a/src/emu/machine/at_keybc.h b/src/emu/machine/at_keybc.h
index 5ce533cc9f7..65ef24e2d1b 100644
--- a/src/emu/machine/at_keybc.h
+++ b/src/emu/machine/at_keybc.h
@@ -53,7 +53,7 @@ public:
template static devcb_base &set_output_buffer_empty_callback(device_t &device, _Object object) { return downcast(device).m_output_buffer_empty_cb.set_callback(object); }
template static devcb_base &set_keyboard_clock_callback(device_t &device, _Object object) { return downcast(device).m_keyboard_clock_cb.set_callback(object); }
template static devcb_base &set_keyboard_data_callback(device_t &device, _Object object) { return downcast(device).m_keyboard_data_cb.set_callback(object); }
-
+
// internal 8042 interface
DECLARE_READ8_MEMBER( t0_r );
DECLARE_READ8_MEMBER( t1_r );
@@ -78,7 +78,7 @@ protected:
virtual const rom_entry *device_rom_region() const;
virtual machine_config_constructor device_mconfig_additions() const;
-
+
private:
// internal state
upi41_cpu_device *m_cpu;
diff --git a/src/emu/machine/autoconfig.h b/src/emu/machine/autoconfig.h
index 5183f474af9..f86e7577c7a 100644
--- a/src/emu/machine/autoconfig.h
+++ b/src/emu/machine/autoconfig.h
@@ -1,6 +1,6 @@
/***************************************************************************
- Amiga Autoconfig
+ Amiga Autoconfig
***************************************************************************/
diff --git a/src/emu/machine/ay31015.h b/src/emu/machine/ay31015.h
index 3745cc7deac..2f46e925fda 100644
--- a/src/emu/machine/ay31015.h
+++ b/src/emu/machine/ay31015.h
@@ -68,7 +68,7 @@ public:
template static devcb_base &set_read_si_callback(device_t &device, _Object object) { return downcast(device).m_read_si_cb.set_callback(object); }
template static devcb_base &set_write_so_callback(device_t &device, _Object object) { return downcast(device).m_write_so_cb.set_callback(object); }
template static devcb_base &set_status_changed_callback(device_t &device, _Object object) { return downcast(device).m_status_changed_cb.set_callback(object); }
-
+
/* Set an input pin */
void set_input_pin( ay31015_input_pin_t pin, int data );
@@ -164,7 +164,7 @@ extern const device_type AY51013; // For AY-3-1014, AY-5-1013 and AY-6-1013 va
#define MCFG_AY31015_TX_CLOCK(_txclk) \
ay31015_device::set_tx_clock(*device, _txclk);
-
+
#define MCFG_AY31015_RX_CLOCK(_rxclk) \
ay31015_device::set_rx_clock(*device, _rxclk);
@@ -175,12 +175,12 @@ extern const device_type AY51013; // For AY-3-1014, AY-5-1013 and AY-6-1013 va
devcb = &ay31015_device::set_write_so_callback(*device, DEVCB_##_devcb);
#define MCFG_AY31015_STATUS_CHANGED_CB(_devcb) \
- devcb = &ay31015_device::set_status_changed_callback(*device, DEVCB_##_devcb);
-
+ devcb = &ay31015_device::set_status_changed_callback(*device, DEVCB_##_devcb);
+
#define MCFG_AY51013_TX_CLOCK(_txclk) \
ay51013_device::set_tx_clock(*device, _txclk);
-
+
#define MCFG_AY51013_RX_CLOCK(_rxclk) \
ay51013_device::set_rx_clock(*device, _rxclk);
@@ -191,6 +191,6 @@ extern const device_type AY51013; // For AY-3-1014, AY-5-1013 and AY-6-1013 va
devcb = &ay51013_device::set_write_so_callback(*device, DEVCB_##_devcb);
#define MCFG_AY51013_STATUS_CHANGED_CB(_devcb) \
- devcb = &ay51013_device::set_status_changed_callback(*device, DEVCB_##_devcb);
+ devcb = &ay51013_device::set_status_changed_callback(*device, DEVCB_##_devcb);
#endif
diff --git a/src/emu/machine/corvushd.h b/src/emu/machine/corvushd.h
index 7b51be5fa68..56bf0cf45b8 100644
--- a/src/emu/machine/corvushd.h
+++ b/src/emu/machine/corvushd.h
@@ -405,9 +405,9 @@ private:
// Put drive into prep mode command (0x11)
//
struct {
- UINT8 code; // Command code
- UINT8 drive; // Drive number (starts at 1)
- UINT8 prep_block[512]; // Machine code payload
+ UINT8 code; // Command code
+ UINT8 drive; // Drive number (starts at 1)
+ UINT8 prep_block[512]; // Machine code payload
} prep_mode_command;
//
// Read Firmware command (Prep Mode 0x32)
@@ -439,15 +439,15 @@ private:
//
// Verify Drive command (Prep Mode 0x07)
//
- // On the real Corvus controller, this is a variable length response. If the
- // number of bad sectors is greater than zero, an additional four bytes will
- // follow for each bad sector. We don't emulate bad sectors, so we always
+ // On the real Corvus controller, this is a variable length response. If the
+ // number of bad sectors is greater than zero, an additional four bytes will
+ // follow for each bad sector. We don't emulate bad sectors, so we always
// return a count of 0. That makes this a fixed length response of 2 bytes.
//
struct {
UINT8 status; // Disk access status
UINT8 bad_sectors; // Number of bad sectors (always zero)
- } verify_drive_response;
+ } verify_drive_response;
} m_buffer;
// Structure of Block #1, the Disk Parameter Block
diff --git a/src/emu/machine/cr511b.h b/src/emu/machine/cr511b.h
index 98380826de7..08ee9056901 100644
--- a/src/emu/machine/cr511b.h
+++ b/src/emu/machine/cr511b.h
@@ -1,33 +1,33 @@
/***************************************************************************
- CR-511-B CD-ROM drive
+ CR-511-B CD-ROM drive
license: MAME, GPL-2.0+
copyright-holders: Dirk Best
- CD-ROM drive with a custom MKE/Panasonic interface as used in the
- Commodore CDTV and early SoundBlaster cards.
+ CD-ROM drive with a custom MKE/Panasonic interface as used in the
+ Commodore CDTV and early SoundBlaster cards.
- 1 _RESET 2 GND
- 3 EFFK 4 SCCK
- 5 SBCP 6 SCOR
- 7 GND 8 GND
- 9 C16M 10 GND
- 11 _XAEN 12 GND
- 13 EMPASIS 14 D0
- 15 LRCK 16 DSCK
- 17 _MUTE 18 GND
- 19 _BUSY 20 _STCH
- 21 _ENABLE 22 DRQ
- 23 _HWR 24 GND
- 25 _DTEN 26 _HRD
- 27 _STEN 28 _CMD
- 29 _EOP 30 GND
- 31 DB7 32 GND
- 33 DB6 34 DB5
- 35 DB4 36 GND
- 37 DB3 38 DB2
- 39 DB1 40 DB0
+ 1 _RESET 2 GND
+ 3 EFFK 4 SCCK
+ 5 SBCP 6 SCOR
+ 7 GND 8 GND
+ 9 C16M 10 GND
+ 11 _XAEN 12 GND
+ 13 EMPASIS 14 D0
+ 15 LRCK 16 DSCK
+ 17 _MUTE 18 GND
+ 19 _BUSY 20 _STCH
+ 21 _ENABLE 22 DRQ
+ 23 _HWR 24 GND
+ 25 _DTEN 26 _HRD
+ 27 _STEN 28 _CMD
+ 29 _EOP 30 GND
+ 31 DB7 32 GND
+ 33 DB6 34 DB5
+ 35 DB4 36 GND
+ 37 DB3 38 DB2
+ 39 DB1 40 DB0
***************************************************************************/
@@ -46,8 +46,7 @@
//**************************************************************************
#define MCFG_CR511B_ADD(_tag) \
- MCFG_DEVICE_ADD(_tag, CR511B, 0) \
-
+ MCFG_DEVICE_ADD(_tag, CR511B, 0)
#define MCFG_CR511B_STCH_HANDLER(_devcb) \
devcb = &cr511b_device::set_stch_handler(*device, DEVCB_##_devcb);
diff --git a/src/emu/machine/dmac.h b/src/emu/machine/dmac.h
index aff36e3f0c3..e87930ad7df 100644
--- a/src/emu/machine/dmac.h
+++ b/src/emu/machine/dmac.h
@@ -23,8 +23,7 @@
//**************************************************************************
#define MCFG_DMAC_ADD(_tag, _clock) \
- MCFG_DEVICE_ADD(_tag, DMAC, _clock) \
-
+ MCFG_DEVICE_ADD(_tag, DMAC, _clock)
#define MCFG_DMAC_CFGOUT_HANDLER(_devcb) \
devcb = &dmac_device::set_cfgout_handler(*device, DEVCB_##_devcb);
@@ -109,25 +108,25 @@ private:
// control register flags
enum
{
- CNTR_TCEN = 0x80, // terminal count enable
- CNTR_PREST = 0x40, // peripheral reset
- CNTR_PDMD = 0x20, // peripheral device mode select (1=scsi, 0=xt)
- CNTR_INTEN = 0x10, // interrupt enable
- CNTR_DDIR = 0x08 // device direction (1=rd host, wr to peripheral)
+ CNTR_TCEN = 0x80, // terminal count enable
+ CNTR_PREST = 0x40, // peripheral reset
+ CNTR_PDMD = 0x20, // peripheral device mode select (1=scsi, 0=xt)
+ CNTR_INTEN = 0x10, // interrupt enable
+ CNTR_DDIR = 0x08 // device direction (1=rd host, wr to peripheral)
};
// interrupt status register
enum
{
- ISTR_INTX = 0x100, // xt interrupt pending
- ISTR_INT_F = 0x080, // interrupt follow
- ISTR_INTS = 0x040, // scsi peripheral interrupt
- ISTR_E_INT = 0x020, // end-of-process interrupt
- ISTR_INT_P = 0x010, // interrupt pending
- ISTR_UE_INT = 0x008, // under-run fifo error interrupt
- ISTR_OE_INT = 0x004, // over-run fifo error interrupt
- ISTR_FF_FLG = 0x002, // fifo-full flag
- ISTR_FE_FLG = 0x001 // fifo-empty flag
+ ISTR_INTX = 0x100, // xt interrupt pending
+ ISTR_INT_F = 0x080, // interrupt follow
+ ISTR_INTS = 0x040, // scsi peripheral interrupt
+ ISTR_E_INT = 0x020, // end-of-process interrupt
+ ISTR_INT_P = 0x010, // interrupt pending
+ ISTR_UE_INT = 0x008, // under-run fifo error interrupt
+ ISTR_OE_INT = 0x004, // over-run fifo error interrupt
+ ISTR_FF_FLG = 0x002, // fifo-full flag
+ ISTR_FE_FLG = 0x001 // fifo-empty flag
};
static const int ISTR_INT_MASK = 0x1fc;
@@ -153,10 +152,10 @@ private:
int m_rst;
// register
- UINT16 m_cntr; // control register
- UINT16 m_istr; // interrupt status register
- UINT32 m_wtc; // word transfer count
- UINT32 m_acr; // address control register
+ UINT16 m_cntr; // control register
+ UINT16 m_istr; // interrupt status register
+ UINT32 m_wtc; // word transfer count
+ UINT32 m_acr; // address control register
bool m_dma_active;
diff --git a/src/emu/machine/dp8390.h b/src/emu/machine/dp8390.h
index 8a3fe0d7441..c4699ff7aab 100644
--- a/src/emu/machine/dp8390.h
+++ b/src/emu/machine/dp8390.h
@@ -17,7 +17,7 @@
#define MCFG_DP8390D_MEM_WRITE_CB(_devcb) \
devcb = &dp8390d_device::set_mem_write_callback(*device, DEVCB_##_devcb);
-
+
#define MCFG_RTL8019A_IRQ_CB(_devcb) \
devcb = &rtl8019a_device::set_irq_callback(*device, DEVCB_##_devcb);
@@ -37,7 +37,7 @@ class dp8390_device : public device_t,
public:
// construction/destruction
dp8390_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, float bandwidth, const char *shortname, const char *source);
-
+
template static devcb_base &set_irq_callback(device_t &device, _Object object) { return downcast(device).m_irq_cb.set_callback(object); }
template static devcb_base &set_breq_callback(device_t &device, _Object object) { return downcast(device).m_breq_cb.set_callback(object); }
template static devcb_base &set_mem_read_callback(device_t &device, _Object object) { return downcast(device).m_mem_read_cb.set_callback(object); }
diff --git a/src/emu/machine/eepromser.h b/src/emu/machine/eepromser.h
index e3683ee34ef..ace9f253f1b 100644
--- a/src/emu/machine/eepromser.h
+++ b/src/emu/machine/eepromser.h
@@ -59,7 +59,7 @@
// X24c44 16 bit ram/eeprom combo
#define MCFG_EEPROM_SERIAL_X24C44_ADD(_tag) \
MCFG_DEVICE_ADD(_tag, EEPROM_SERIAL_X24C44_16BIT, 0)
-
+
// optional enable for streaming reads
#define MCFG_EEPROM_SERIAL_ENABLE_STREAMING() \
eeprom_serial_base_device::static_enable_streaming(*device);
@@ -144,7 +144,7 @@ protected:
virtual void handle_event(eeprom_event event);
virtual void parse_command_and_address() = 0;
virtual void execute_command();
-
+
// configuration state
UINT8 m_command_address_bits; // number of address bits in a command
@@ -219,7 +219,7 @@ protected:
class eeprom_serial_x24c44_device : public eeprom_serial_base_device
{
//async recall not implemented
- //async store not implemented
+ //async store not implemented
protected:
// construction/destruction
eeprom_serial_x24c44_device(const machine_config &mconfig, device_type devtype, const char *name, const char *tag, device_t *owner, const char *shortname, const char *file);
@@ -227,7 +227,7 @@ protected:
public:
// read handlers
DECLARE_READ_LINE_MEMBER(do_read); // DO
-
+
// write handlers
DECLARE_WRITE_LINE_MEMBER(cs_write); // CS signal (active high)
DECLARE_WRITE_LINE_MEMBER(clk_write); // CLK signal (active high)
@@ -283,6 +283,6 @@ DECLARE_SERIAL_EEPROM_DEVICE(93cxx, 93c86, 93C86, 8)
DECLARE_SERIAL_EEPROM_DEVICE(er5911, er5911, ER5911, 8)
DECLARE_SERIAL_EEPROM_DEVICE(er5911, er5911, ER5911, 16)
-// X24c44 8 bit 32byte ram/eeprom combo
+// X24c44 8 bit 32byte ram/eeprom combo
DECLARE_SERIAL_EEPROM_DEVICE(x24c44, x24c44, X24C44, 16)
#endif
diff --git a/src/emu/machine/gayle.h b/src/emu/machine/gayle.h
index d125cec0720..df9a0e043d4 100644
--- a/src/emu/machine/gayle.h
+++ b/src/emu/machine/gayle.h
@@ -1,11 +1,11 @@
/***************************************************************************
- GAYLE
+ GAYLE
license: MAME, GPL-2.0+
copyright-holders: Dirk Best
- Gate array used in the Amiga 600 and Amiga 1200 computers.
+ Gate array used in the Amiga 600 and Amiga 1200 computers.
***************************************************************************/
@@ -87,10 +87,10 @@ protected:
private:
enum
{
- GAYLE_CS = 0, // interrupt status
- GAYLE_IRQ, // interrupt change
- GAYLE_INTEN, // interrupt enable register
- GAYLE_CFG // config register
+ GAYLE_CS = 0, // interrupt status
+ GAYLE_IRQ, // interrupt change
+ GAYLE_INTEN, // interrupt enable register
+ GAYLE_CFG // config register
};
devcb_write_line m_int2_w;
diff --git a/src/emu/machine/hd63450.h b/src/emu/machine/hd63450.h
index 227c970c259..dd4c96d7cda 100644
--- a/src/emu/machine/hd63450.h
+++ b/src/emu/machine/hd63450.h
@@ -100,7 +100,7 @@ public:
dev.m_burst_clock[2] = clk3;
dev.m_burst_clock[3] = clk4;
}
-
+
DECLARE_READ16_MEMBER( read );
DECLARE_WRITE16_MEMBER( write );
DECLARE_WRITE_LINE_MEMBER(drq0_w);
@@ -133,7 +133,7 @@ private:
const char *m_cpu_tag;
attotime m_our_clock[4];
attotime m_burst_clock[4];
-
+
// internal state
hd63450_regs m_reg[4];
emu_timer* m_timer[4]; // for timing data reading/writing each channel
diff --git a/src/emu/machine/i8255.h b/src/emu/machine/i8255.h
index 2b6c3aedf12..ed4b2f39ad2 100644
--- a/src/emu/machine/i8255.h
+++ b/src/emu/machine/i8255.h
@@ -79,7 +79,7 @@ public:
template static devcb_base &set_out_pa_callback(device_t &device, _Object object) { return downcast(device).m_out_pa_cb.set_callback(object); }
template static devcb_base &set_out_pb_callback(device_t &device, _Object object) { return downcast(device).m_out_pb_cb.set_callback(object); }
template static devcb_base &set_out_pc_callback(device_t &device, _Object object) { return downcast(device).m_out_pc_cb.set_callback(object); }
-
+
DECLARE_READ8_MEMBER( read );
DECLARE_WRITE8_MEMBER( write );
@@ -125,7 +125,7 @@ private:
devcb_read8 m_in_pa_cb;
devcb_read8 m_in_pb_cb;
devcb_read8 m_in_pc_cb;
-
+
devcb_write8 m_out_pa_cb;
devcb_write8 m_out_pb_cb;
devcb_write8 m_out_pc_cb;
diff --git a/src/emu/machine/i8271.h b/src/emu/machine/i8271.h
index 97712511d8a..e69baee004f 100644
--- a/src/emu/machine/i8271.h
+++ b/src/emu/machine/i8271.h
@@ -31,8 +31,8 @@ public:
template static devcb_base &set_irq_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_irq.set_callback(object); }
template static devcb_base &set_drq_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_drq.set_callback(object); }
- static void set_floppy_tags(device_t &device, const char *tag1, const char *tag2)
- {
+ static void set_floppy_tags(device_t &device, const char *tag1, const char *tag2)
+ {
i8271_device &dev = downcast(device);
dev.m_floppy_tag1 = tag1;
dev.m_floppy_tag2 = tag2;
diff --git a/src/emu/machine/i8279.h b/src/emu/machine/i8279.h
index 162e50585d5..0f0cbccbd8a 100644
--- a/src/emu/machine/i8279.h
+++ b/src/emu/machine/i8279.h
@@ -84,7 +84,7 @@ public:
template static devcb_base &set_in_rl_callback(device_t &device, _Object object) { return downcast(device).m_in_rl_cb.set_callback(object); }
template static devcb_base &set_in_shift_callback(device_t &device, _Object object) { return downcast(device).m_in_shift_cb.set_callback(object); }
template static devcb_base &set_in_ctrl_callback(device_t &device, _Object object) { return downcast(device).m_in_ctrl_cb.set_callback(object); }
-
+
// read & write handlers
DECLARE_READ8_MEMBER(status_r);
DECLARE_READ8_MEMBER(data_r);
@@ -115,7 +115,7 @@ private:
devcb_write8 m_out_sl_cb; // Scanlines SL0-3
devcb_write8 m_out_disp_cb; // B0-3,A0-3
devcb_write_line m_out_bd_cb; // BD
- devcb_read8 m_in_rl_cb; // kbd readlines RL0-7
+ devcb_read8 m_in_rl_cb; // kbd readlines RL0-7
devcb_read_line m_in_shift_cb; // Shift key
devcb_read_line m_in_ctrl_cb; // Ctrl-Strobe line
diff --git a/src/emu/machine/ins8250.h b/src/emu/machine/ins8250.h
index 1b80ddf646d..cc32242d60c 100644
--- a/src/emu/machine/ins8250.h
+++ b/src/emu/machine/ins8250.h
@@ -18,14 +18,14 @@ class ins8250_uart_device : public device_t,
{
public:
ins8250_uart_device(const machine_config &mconfig, device_type type, const char* name, const char *tag, device_t *owner, UINT32 clock, const char *shortname);
-
+
template static devcb_base &set_out_tx_callback(device_t &device, _Object object) { return downcast(device).m_out_tx_cb.set_callback(object); }
template static devcb_base &set_out_dtr_callback(device_t &device, _Object object) { return downcast(device).m_out_dtr_cb.set_callback(object); }
template static devcb_base &set_out_rts_callback(device_t &device, _Object object) { return downcast(device).m_out_rts_cb.set_callback(object); }
template static devcb_base &set_out_int_callback(device_t &device, _Object object) { return downcast(device).m_out_int_cb.set_callback(object); }
template static devcb_base &set_out_out1_callback(device_t &device, _Object object) { return downcast(device).m_out_out1_cb.set_callback(object); }
template static devcb_base &set_out_out2_callback(device_t &device, _Object object) { return downcast(device).m_out_out2_cb.set_callback(object); }
-
+
DECLARE_WRITE8_MEMBER( ins8250_w );
DECLARE_READ8_MEMBER( ins8250_r );
DECLARE_WRITE_LINE_MEMBER( dcd_w );
diff --git a/src/emu/machine/kb3600.h b/src/emu/machine/kb3600.h
index b9f7c02624d..5775508d3cc 100644
--- a/src/emu/machine/kb3600.h
+++ b/src/emu/machine/kb3600.h
@@ -137,7 +137,7 @@ private:
int m_b; // output buffer
int m_ako; // any key down
- int m_x_mask[9]; // mask of what keys are down
+ int m_x_mask[9]; // mask of what keys are down
// timers
emu_timer *m_scan_timer; // keyboard scan timer
diff --git a/src/emu/machine/keyboard.h b/src/emu/machine/keyboard.h
index 9c5091b5fc3..73eaf160f2a 100644
--- a/src/emu/machine/keyboard.h
+++ b/src/emu/machine/keyboard.h
@@ -16,12 +16,12 @@
INPUT_PORTS_EXTERN( generic_keyboard );
-class generic_keyboard_device : public device_t
+class generic_keyboard_device : public device_t
{
public:
generic_keyboard_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
generic_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
-
+
template static devcb_base &set_keyboard_callback(device_t &device, _Object object) { return downcast(device).m_keyboard_cb.set_callback(object); }
virtual ioport_constructor device_input_ports() const;
diff --git a/src/emu/machine/mb89352.h b/src/emu/machine/mb89352.h
index 1e76def92e4..3c4952b2b2e 100644
--- a/src/emu/machine/mb89352.h
+++ b/src/emu/machine/mb89352.h
@@ -50,7 +50,7 @@
#define MCFG_MB89352A_IRQ_CB(_devcb) \
devcb = &mb89352_device::set_irq_callback(*device, DEVCB_##_devcb);
-
+
#define MCFG_MB89352A_DRQ_CB(_devcb) \
devcb = &mb89352_device::set_drq_callback(*device, DEVCB_##_devcb);
@@ -62,7 +62,7 @@ public:
template static devcb_base &set_irq_callback(device_t &device, _Object object) { return downcast(device).m_irq_cb.set_callback(object); }
template static devcb_base &set_drq_callback(device_t &device, _Object object) { return downcast(device).m_drq_cb.set_callback(object); }
-
+
// any publically accessible interfaces needed for runtime
DECLARE_READ8_MEMBER( mb89352_r );
DECLARE_WRITE8_MEMBER( mb89352_w );
diff --git a/src/emu/machine/mb89363b.h b/src/emu/machine/mb89363b.h
index 43aa03e1e60..0b2f32a304a 100644
--- a/src/emu/machine/mb89363b.h
+++ b/src/emu/machine/mb89363b.h
@@ -113,7 +113,7 @@ private:
devcb_read8 m_in_a_pa_cb;
devcb_read8 m_in_a_pb_cb;
devcb_read8 m_in_a_pc_cb;
-
+
devcb_write8 m_out_a_pa_cb;
devcb_write8 m_out_a_pb_cb;
devcb_write8 m_out_a_pc_cb;
@@ -121,7 +121,7 @@ private:
devcb_read8 m_in_b_pa_cb;
devcb_read8 m_in_b_pb_cb;
devcb_read8 m_in_b_pc_cb;
-
+
devcb_write8 m_out_b_pa_cb;
devcb_write8 m_out_b_pb_cb;
devcb_write8 m_out_b_pc_cb;
diff --git a/src/emu/machine/mc6854.h b/src/emu/machine/mc6854.h
index 40a7c694232..baa16636cc4 100644
--- a/src/emu/machine/mc6854.h
+++ b/src/emu/machine/mc6854.h
@@ -47,7 +47,7 @@ public:
static void set_out_frame_callback(device_t &device, mc6854_out_frame_delegate callback) { downcast(device).m_out_frame_cb = callback; }
template static devcb_base &set_out_rts_callback(device_t &device, _Object object) { return downcast(device).m_out_rts_cb.set_callback(object); }
template static devcb_base &set_out_dtr_callback(device_t &device, _Object object) { return downcast(device).m_out_dtr_cb.set_callback(object); }
-
+
/* interface to CPU via address/data bus*/
DECLARE_READ8_MEMBER( read );
DECLARE_WRITE8_MEMBER( write );
@@ -74,13 +74,13 @@ protected:
private:
// internal state
devcb_write_line m_out_irq_cb; /* interrupt request */
-
+
/* low-level, bit-based interface */
devcb_write_line m_out_txd_cb; /* transmit bit */
-
- /* high-level, frame-based interface */
- mc6854_out_frame_delegate m_out_frame_cb;
-
+
+ /* high-level, frame-based interface */
+ mc6854_out_frame_delegate m_out_frame_cb;
+
/* control lines */
devcb_write_line m_out_rts_cb; /* 1 = transmitting, 0 = idle */
devcb_write_line m_out_dtr_cb; /* 1 = data transmit ready, 0 = busy */
diff --git a/src/emu/machine/mos6530.h b/src/emu/machine/mos6530.h
index a9753235772..33af24cf993 100644
--- a/src/emu/machine/mos6530.h
+++ b/src/emu/machine/mos6530.h
@@ -79,10 +79,10 @@ private:
// internal state
devcb_read8 m_in_pa_cb;
devcb_write8 m_out_pa_cb;
-
+
devcb_read8 m_in_pb_cb;
devcb_write8 m_out_pb_cb;
-
+
mos6530_port m_port[2];
UINT8 m_irqstate;
diff --git a/src/emu/machine/ncr539x.h b/src/emu/machine/ncr539x.h
index ec8eb1112f3..76f081c8c28 100644
--- a/src/emu/machine/ncr539x.h
+++ b/src/emu/machine/ncr539x.h
@@ -17,16 +17,16 @@
#define MCFG_NCR539X_OUT_IRQ_CB(_devcb) \
devcb = &ncr539x_device::set_out_irq_callback(*device, DEVCB_##_devcb);
-
+
#define MCFG_NCR539X_OUT_DRQ_CB(_devcb) \
devcb = &ncr539x_device::set_out_drq_callback(*device, DEVCB_##_devcb);
-
+
class ncr539x_device : public legacy_scsi_host_adapter
{
public:
// construction/destruction
ncr539x_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
-
+
template static devcb_base &set_out_irq_callback(device_t &device, _Object object) { return downcast(device).m_out_irq_cb.set_callback(object); }
template static devcb_base &set_out_drq_callback(device_t &device, _Object object) { return downcast(device).m_out_drq_cb.set_callback(object); }
diff --git a/src/emu/machine/roc10937.h b/src/emu/machine/roc10937.h
index 120cd33bddb..a8c5130b75a 100644
--- a/src/emu/machine/roc10937.h
+++ b/src/emu/machine/roc10937.h
@@ -1,7 +1,7 @@
/**********************************************************************
- Rockwell 10937/10957 interface and simlar chips
- Emulation by J.Wallace
+ Rockwell 10937/10957 interface and simlar chips
+ Emulation by J.Wallace
OKI MSC1937 is a clone of this chip, with many others.
**********************************************************************/
@@ -12,7 +12,7 @@
#define MCFG_ROC10937_ADD(_tag,_val) \
MCFG_DEVICE_ADD(_tag, ROC10937,60)\
- MCFG_ROC10937_PORT(_val)
+ MCFG_ROC10937_PORT(_val)
#define MCFG_ROC10937_PORT(_val) \
roc10937_t::static_set_value(*device, _val);
@@ -21,8 +21,8 @@
#define MCFG_ROC10957_ADD(_tag,_val) \
MCFG_DEVICE_ADD(_tag, ROC10957,60)\
- MCFG_ROC10957_PORT(_val)
-
+ MCFG_ROC10957_PORT(_val)
+
#define MCFG_ROC10957_PORT(_val) \
roc10957_t::static_set_value(*device, _val);
#define MCFG_ROC10957_REMOVE(_tag) \
@@ -30,8 +30,8 @@
#define MCFG_MSC1937_ADD(_tag,_val) \
MCFG_DEVICE_ADD(_tag, ROC10937,60)\
- MCFG_MSC1937_PORT(_val)
-
+ MCFG_MSC1937_PORT(_val)
+
#define MCFG_MSC1937_PORT(_val) \
MCFG_ROC10937_PORT(_val)
@@ -40,7 +40,7 @@
#define MCFG_S16LF01_ADD(_tag,_val) \
MCFG_DEVICE_ADD(_tag, S16LF01,60)\
- MCFG_S16LF01_PORT(_val)
+ MCFG_S16LF01_PORT(_val)
#define MCFG_S16LF01_PORT(_val) \
MCFG_ROC10937_PORT(_val)
diff --git a/src/emu/machine/s2636.h b/src/emu/machine/s2636.h
index 53688f6bcd2..3be2d6e8093 100644
--- a/src/emu/machine/s2636.h
+++ b/src/emu/machine/s2636.h
@@ -32,7 +32,7 @@ public:
dev.m_x_offset = x_offset;
dev.m_y_offset = y_offset;
}
-
+
// returns a BITMAP_FORMAT_IND16 bitmap the size of the screen
// D0-D2 of each pixel is the pixel color
// D3 indicates whether the S2636 drew this pixel - 0 = not drawn, 1 = drawn
@@ -65,7 +65,7 @@ private:
int m_work_ram_size;
int m_y_offset;
int m_x_offset;
-
+
int check_collision( int spriteno1, int spriteno2, const rectangle &cliprect );
};
diff --git a/src/emu/machine/s3c2400.h b/src/emu/machine/s3c2400.h
index b456b080095..db4bc567392 100644
--- a/src/emu/machine/s3c2400.h
+++ b/src/emu/machine/s3c2400.h
@@ -19,16 +19,16 @@
#define MCFG_S3C2400_CORE_PIN_R_CB(_devcb) \
devcb = &s3c2400_device::set_core_pin_r_callback(*device, DEVCB_##_devcb);
-
+
#define MCFG_S3C2400_CORE_PIN_W_CB(_devcb) \
devcb = &s3c2400_device::set_core_pin_w_callback(*device, DEVCB_##_devcb);
-
+
#define MCFG_S3C2400_GPIO_PORT_R_CB(_devcb) \
devcb = &s3c2400_device::set_gpio_port_r_callback(*device, DEVCB_##_devcb);
-
+
#define MCFG_S3C2400_GPIO_PORT_W_CB(_devcb) \
devcb = &s3c2400_device::set_gpio_port_w_callback(*device, DEVCB_##_devcb);
-
+
#define MCFG_S3C2400_I2C_SCL_W_CB(_devcb) \
devcb = &s3c2400_device::set_i2c_scl_w_callback(*device, DEVCB_##_devcb);
@@ -43,7 +43,7 @@
#define MCFG_S3C2400_I2S_DATA_W_CB(_devcb) \
devcb = &s3c2400_device::set_i2s_data_w_callback(*device, DEVCB_##_devcb);
-
+
#define MCFG_S3C2400_LCD_FLAGS(_flags) \
s3c2400_device::set_lcd_flags(*device, _flags);
diff --git a/src/emu/machine/s3c2410.h b/src/emu/machine/s3c2410.h
index da42c393ae7..802eb1cc52a 100644
--- a/src/emu/machine/s3c2410.h
+++ b/src/emu/machine/s3c2410.h
@@ -19,16 +19,16 @@
#define MCFG_S3C2410_CORE_PIN_R_CB(_devcb) \
devcb = &s3c2410_device::set_core_pin_r_callback(*device, DEVCB_##_devcb);
-
+
#define MCFG_S3C2410_CORE_PIN_W_CB(_devcb) \
devcb = &s3c2410_device::set_core_pin_w_callback(*device, DEVCB_##_devcb);
-
+
#define MCFG_S3C2410_GPIO_PORT_R_CB(_devcb) \
devcb = &s3c2410_device::set_gpio_port_r_callback(*device, DEVCB_##_devcb);
-
+
#define MCFG_S3C2410_GPIO_PORT_W_CB(_devcb) \
devcb = &s3c2410_device::set_gpio_port_w_callback(*device, DEVCB_##_devcb);
-
+
#define MCFG_S3C2410_I2C_SCL_W_CB(_devcb) \
devcb = &s3c2410_device::set_i2c_scl_w_callback(*device, DEVCB_##_devcb);
@@ -43,7 +43,7 @@
#define MCFG_S3C2410_I2S_DATA_W_CB(_devcb) \
devcb = &s3c2410_device::set_i2s_data_w_callback(*device, DEVCB_##_devcb);
-
+
#define MCFG_S3C2410_NAND_COMMAND_W_CB(_devcb) \
devcb = &s3c2410_device::set_nand_command_w_callback(*device, DEVCB_##_devcb);
@@ -55,7 +55,7 @@
#define MCFG_S3C2410_NAND_DATA_W_CB(_devcb) \
devcb = &s3c2410_device::set_nand_data_w_callback(*device, DEVCB_##_devcb);
-
+
#define MCFG_S3C2410_LCD_FLAGS(_flags) \
s3c2410_device::set_lcd_flags(*device, _flags);
diff --git a/src/emu/machine/s3c2440.h b/src/emu/machine/s3c2440.h
index b4a737b3776..4c333de06f7 100644
--- a/src/emu/machine/s3c2440.h
+++ b/src/emu/machine/s3c2440.h
@@ -18,16 +18,16 @@
#define MCFG_S3C2440_CORE_PIN_R_CB(_devcb) \
devcb = &s3c2440_device::set_core_pin_r_callback(*device, DEVCB_##_devcb);
-
+
#define MCFG_S3C2440_CORE_PIN_W_CB(_devcb) \
devcb = &s3c2440_device::set_core_pin_w_callback(*device, DEVCB_##_devcb);
-
+
#define MCFG_S3C2440_GPIO_PORT_R_CB(_devcb) \
devcb = &s3c2440_device::set_gpio_port_r_callback(*device, DEVCB_##_devcb);
-
+
#define MCFG_S3C2440_GPIO_PORT_W_CB(_devcb) \
devcb = &s3c2440_device::set_gpio_port_w_callback(*device, DEVCB_##_devcb);
-
+
#define MCFG_S3C2440_I2C_SCL_W_CB(_devcb) \
devcb = &s3c2440_device::set_i2c_scl_w_callback(*device, DEVCB_##_devcb);
@@ -54,7 +54,7 @@
#define MCFG_S3C2440_NAND_DATA_W_CB(_devcb) \
devcb = &s3c2440_device::set_nand_data_w_callback(*device, DEVCB_##_devcb);
-
+
#define MCFG_S3C2440_LCD_FLAGS(_flags) \
s3c2440_device::set_lcd_flags(*device, _flags);
diff --git a/src/emu/machine/s3c44b0.h b/src/emu/machine/s3c44b0.h
index 96b86240160..dc13e086f77 100644
--- a/src/emu/machine/s3c44b0.h
+++ b/src/emu/machine/s3c44b0.h
@@ -600,7 +600,7 @@ class s3c44b0_device : public device_t
public:
s3c44b0_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
~s3c44b0_device() {}
-
+
template static devcb_base &set_gpio_port_r_callback(device_t &device, _Object object) { return downcast(device).m_port_r_cb.set_callback(object); }
template static devcb_base &set_gpio_port_w_callback(device_t &device, _Object object) { return downcast(device).m_port_w_cb.set_callback(object); }
template static devcb_base &set_i2c_scl_w_callback(device_t &device, _Object object) { return downcast(device).m_scl_w_cb.set_callback(object); }
diff --git a/src/emu/machine/terminal.h b/src/emu/machine/terminal.h
index 9684cb691db..9e2944e8806 100644
--- a/src/emu/machine/terminal.h
+++ b/src/emu/machine/terminal.h
@@ -21,14 +21,14 @@
INPUT_PORTS_EXTERN( generic_terminal );
-class generic_terminal_device : public device_t
+class generic_terminal_device : public device_t
{
public:
generic_terminal_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
generic_terminal_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
-
+
template