summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2018-04-22 09:24:13 +1000
committer Vas Crabb <vas@vastheman.com>2018-04-22 09:24:13 +1000
commitac79c9060733a5db9703bb39af3224ecc7b5bd7d (patch)
tree397ae99da2388578923a93b7d6f069b4ae28723b /src
parent137969abf59bcf443d037cdfc810c9b65af554ba (diff)
srcclean (nw)
Diffstat (limited to 'src')
-rw-r--r--src/devices/bus/bbc/1mhzbus/beebsid.cpp2
-rw-r--r--src/devices/bus/hp_dio/hp98544.cpp22
-rw-r--r--src/devices/bus/hp_dio/hp98644.cpp40
-rw-r--r--src/devices/bus/ieee488/remote488.cpp4
-rw-r--r--src/devices/bus/isa/eis_sad8852.cpp9
-rw-r--r--src/devices/bus/isa/pgc.cpp4
-rw-r--r--src/devices/bus/ti99/internal/998board.h32
-rw-r--r--src/devices/cpu/m6502/xavix.cpp26
-rw-r--r--src/devices/cpu/mb86233/mb86233.cpp10
-rw-r--r--src/devices/cpu/mb86233/mb86233d.cpp8
-rw-r--r--src/devices/cpu/mb86235/mb86235ops.cpp2
-rw-r--r--src/devices/cpu/mcs51/mcs51.cpp4
-rw-r--r--src/devices/cpu/sh/sh4.cpp16
-rw-r--r--src/devices/cpu/sh/sh4comn.h2
-rw-r--r--src/devices/machine/adc0808.h12
-rw-r--r--src/devices/machine/gen_fifo.cpp4
-rw-r--r--src/devices/machine/gen_fifo.h4
-rw-r--r--src/devices/machine/ncr5385.cpp4
-rw-r--r--src/devices/machine/ncr5385.h8
-rw-r--r--src/devices/machine/saa1043.cpp8
-rw-r--r--src/devices/machine/saa1043.h4
-rw-r--r--src/devices/machine/smc91c9x.cpp6
-rw-r--r--src/devices/machine/stvcd.cpp4
-rw-r--r--src/devices/video/mb88303.cpp8
-rw-r--r--src/devices/video/stvvdp2.cpp26
-rw-r--r--src/emu/debug/debugcmd.cpp176
-rw-r--r--src/emu/debug/debugcpu.cpp12
-rw-r--r--src/lib/formats/td0_dsk.cpp2
-rw-r--r--src/mame/drivers/aleck64.cpp16
-rw-r--r--src/mame/drivers/alesis.cpp32
-rw-r--r--src/mame/drivers/atarisy2.cpp38
-rw-r--r--src/mame/drivers/bionicc.cpp16
-rw-r--r--src/mame/drivers/coolpool.cpp6
-rw-r--r--src/mame/drivers/cosmicos.cpp4
-rw-r--r--src/mame/drivers/djboy.cpp2
-rw-r--r--src/mame/drivers/dreamwld.cpp2
-rw-r--r--src/mame/drivers/firefox.cpp2
-rw-r--r--src/mame/drivers/gaelco2.cpp2
-rw-r--r--src/mame/drivers/galivan.cpp4
-rw-r--r--src/mame/drivers/goldstar.cpp4
-rw-r--r--src/mame/drivers/hp9k_3xx.cpp2
-rw-r--r--src/mame/drivers/hvyunit.cpp2
-rw-r--r--src/mame/drivers/konblands.cpp8
-rw-r--r--src/mame/drivers/legionna.cpp6
-rw-r--r--src/mame/drivers/model1.cpp6
-rw-r--r--src/mame/drivers/model2.cpp6
-rw-r--r--src/mame/drivers/prodigy.cpp2
-rw-r--r--src/mame/drivers/rad_eu3a14.cpp4
-rw-r--r--src/mame/drivers/sg1000.cpp12
-rw-r--r--src/mame/drivers/slapshot.cpp2
-rw-r--r--src/mame/drivers/smc777.cpp2
-rw-r--r--src/mame/drivers/splus.cpp2
-rw-r--r--src/mame/drivers/ssv.cpp2
-rw-r--r--src/mame/drivers/symbolics.cpp2
-rw-r--r--src/mame/drivers/system16.cpp18
-rw-r--r--src/mame/drivers/taitottl.cpp30
-rw-r--r--src/mame/drivers/tecmo.cpp14
-rw-r--r--src/mame/drivers/tigeroad.cpp4
-rw-r--r--src/mame/drivers/vii.cpp4
-rw-r--r--src/mame/drivers/vp415.cpp72
-rw-r--r--src/mame/drivers/warpwarp.cpp12
-rw-r--r--src/mame/drivers/xavix.cpp2
-rw-r--r--src/mame/etc/korgm1.cpp2
-rw-r--r--src/mame/includes/airbustr.h2
-rw-r--r--src/mame/includes/coolpool.h2
-rw-r--r--src/mame/includes/djboy.h2
-rw-r--r--src/mame/includes/legionna.h2
-rw-r--r--src/mame/includes/xavix.h2
-rw-r--r--src/mame/machine/315_5338a.h8
-rw-r--r--src/mame/machine/cammu.cpp4
-rw-r--r--src/mame/machine/kr1601rr1.cpp6
-rw-r--r--src/mame/machine/kr1601rr1.h14
-rw-r--r--src/mame/machine/model1.cpp2
-rw-r--r--src/mame/machine/model1io.cpp96
-rw-r--r--src/mame/machine/model1io.h6
-rw-r--r--src/mame/machine/nb1412m2.cpp60
-rw-r--r--src/mame/machine/nb1412m2.h6
-rw-r--r--src/mame/machine/xavix.cpp2
-rw-r--r--src/mame/video/lemmings.cpp2
-rw-r--r--src/mame/video/psikyo.cpp2
-rw-r--r--src/mame/video/warpwarp.cpp4
81 files changed, 516 insertions, 509 deletions
diff --git a/src/devices/bus/bbc/1mhzbus/beebsid.cpp b/src/devices/bus/bbc/1mhzbus/beebsid.cpp
index 49ffbceb28d..b9fcf6ebc0f 100644
--- a/src/devices/bus/bbc/1mhzbus/beebsid.cpp
+++ b/src/devices/bus/bbc/1mhzbus/beebsid.cpp
@@ -62,6 +62,6 @@ bbc_beebsid_device::bbc_beebsid_device(const machine_config &mconfig, const char
void bbc_beebsid_device::device_start()
{
address_space& space = machine().device("maincpu")->memory().space(AS_PROGRAM);
-
+
space.install_readwrite_handler(0xfc20, 0xfc3f, read8_delegate(FUNC(mos8580_device::read), (mos8580_device*)m_sid), write8_delegate(FUNC(mos8580_device::write), (mos8580_device*)m_sid));
}
diff --git a/src/devices/bus/hp_dio/hp98544.cpp b/src/devices/bus/hp_dio/hp98544.cpp
index c0b2b8177b7..b00c7c4c428 100644
--- a/src/devices/bus/hp_dio/hp98544.cpp
+++ b/src/devices/bus/hp_dio/hp98544.cpp
@@ -81,12 +81,18 @@ void dio16_98544_device::device_start()
m_rom = device().machine().root_device().memregion(this->subtag(HP98544_ROM_REGION).c_str())->base();
m_vram.resize(VRAM_SIZE);
- m_dio->install_memory(0x200000, 0x2fffff, read16_delegate(FUNC(dio16_98544_device::vram_r), this),
- write16_delegate(FUNC(dio16_98544_device::vram_w), this));
- m_dio->install_memory(0x560000, 0x563fff, read16_delegate(FUNC(dio16_98544_device::rom_r), this),
- write16_delegate(FUNC(dio16_98544_device::rom_w), this));
- m_dio->install_memory(0x564000, 0x567fff, read16_delegate(FUNC(dio16_98544_device::ctrl_r), this),
- write16_delegate(FUNC(dio16_98544_device::ctrl_w), this));
+ m_dio->install_memory(
+ 0x200000, 0x2fffff,
+ read16_delegate(FUNC(dio16_98544_device::vram_r), this),
+ write16_delegate(FUNC(dio16_98544_device::vram_w), this));
+ m_dio->install_memory(
+ 0x560000, 0x563fff,
+ read16_delegate(FUNC(dio16_98544_device::rom_r), this),
+ write16_delegate(FUNC(dio16_98544_device::rom_w), this));
+ m_dio->install_memory(
+ 0x564000, 0x567fff,
+ read16_delegate(FUNC(dio16_98544_device::ctrl_r), this),
+ write16_delegate(FUNC(dio16_98544_device::ctrl_w), this));
m_cursor_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(dio16_98544_device::cursor_callback),this));
m_cursor_timer->adjust(attotime::from_hz(3));
}
@@ -106,7 +112,7 @@ void dio16_98544_device::device_reset()
TIMER_CALLBACK_MEMBER(dio16_98544_device::cursor_callback)
{
- m_cursor_timer->adjust(attotime::from_hz(5));
+ m_cursor_timer->adjust(attotime::from_hz(5));
m_cursor_state ^= true;
if (m_cursor_ctrl & 0x02) {
@@ -138,7 +144,7 @@ READ16_MEMBER(dio16_98544_device::vram_r)
WRITE16_MEMBER(dio16_98544_device::vram_w)
{
-// execute_rule(data, (replacement_rule_t)m_pixel_replacement_rule, &data);
+// execute_rule(data, (replacement_rule_t)m_pixel_replacement_rule, &data);
COMBINE_DATA(&m_vram[offset]);
}
diff --git a/src/devices/bus/hp_dio/hp98644.cpp b/src/devices/bus/hp_dio/hp98644.cpp
index 82b814d6f90..d000e370129 100644
--- a/src/devices/bus/hp_dio/hp98644.cpp
+++ b/src/devices/bus/hp_dio/hp98644.cpp
@@ -26,18 +26,18 @@ DEFINE_DEVICE_TYPE(HPDIO_98644, dio16_98644_device, "dio98644", "HP98644A Asynch
#define INS8250_TAG "ins8250"
MACHINE_CONFIG_START( dio16_98644_device::device_add_mconfig )
- MCFG_DEVICE_ADD(INS8250_TAG, INS8250, XTAL(2'457'600))
-
- MCFG_INS8250_OUT_TX_CB(DEVWRITELINE(RS232_TAG, rs232_port_device, write_txd))
- MCFG_INS8250_OUT_DTR_CB(DEVWRITELINE(RS232_TAG, rs232_port_device, write_dtr))
- MCFG_INS8250_OUT_RTS_CB(DEVWRITELINE(RS232_TAG, rs232_port_device, write_rts))
-
- MCFG_RS232_PORT_ADD(RS232_TAG, default_rs232_devices, nullptr)
- MCFG_RS232_RXD_HANDLER(DEVWRITELINE(INS8250_TAG, ins8250_uart_device, rx_w))
- MCFG_RS232_DCD_HANDLER(DEVWRITELINE(INS8250_TAG, ins8250_uart_device, dcd_w))
- MCFG_RS232_DSR_HANDLER(DEVWRITELINE(INS8250_TAG, ins8250_uart_device, dsr_w))
- MCFG_RS232_RI_HANDLER(DEVWRITELINE(INS8250_TAG, ins8250_uart_device, ri_w))
- MCFG_RS232_CTS_HANDLER(DEVWRITELINE(INS8250_TAG, ins8250_uart_device, cts_w))
+ MCFG_DEVICE_ADD(INS8250_TAG, INS8250, XTAL(2'457'600))
+
+ MCFG_INS8250_OUT_TX_CB(DEVWRITELINE(RS232_TAG, rs232_port_device, write_txd))
+ MCFG_INS8250_OUT_DTR_CB(DEVWRITELINE(RS232_TAG, rs232_port_device, write_dtr))
+ MCFG_INS8250_OUT_RTS_CB(DEVWRITELINE(RS232_TAG, rs232_port_device, write_rts))
+
+ MCFG_RS232_PORT_ADD(RS232_TAG, default_rs232_devices, nullptr)
+ MCFG_RS232_RXD_HANDLER(DEVWRITELINE(INS8250_TAG, ins8250_uart_device, rx_w))
+ MCFG_RS232_DCD_HANDLER(DEVWRITELINE(INS8250_TAG, ins8250_uart_device, dcd_w))
+ MCFG_RS232_DSR_HANDLER(DEVWRITELINE(INS8250_TAG, ins8250_uart_device, dsr_w))
+ MCFG_RS232_RI_HANDLER(DEVWRITELINE(INS8250_TAG, ins8250_uart_device, ri_w))
+ MCFG_RS232_CTS_HANDLER(DEVWRITELINE(INS8250_TAG, ins8250_uart_device, cts_w))
MACHINE_CONFIG_END
//**************************************************************************
@@ -169,16 +169,16 @@ READ16_MEMBER(dio16_98644_device::io_r)
switch(offset) {
case 0: /* ID */
- ret = 0x02;
- if (m_switches->read() & REG_SWITCHES_REMOTE)
- ret |= 0x80;
- if (m_switches->read() & REG_SWITCHES_98626_EN)
- ret |= 0x40;
- break;
+ ret = 0x02;
+ if (m_switches->read() & REG_SWITCHES_REMOTE)
+ ret |= 0x80;
+ if (m_switches->read() & REG_SWITCHES_98626_EN)
+ ret |= 0x40;
+ break;
case 1:
- ret = m_control | m_control << 8;
- break;
+ ret = m_control | m_control << 8;
+ break;
case 0x08:
case 0x09:
diff --git a/src/devices/bus/ieee488/remote488.cpp b/src/devices/bus/ieee488/remote488.cpp
index 9df480c2923..bc4c8623d0e 100644
--- a/src/devices/bus/ieee488/remote488.cpp
+++ b/src/devices/bus/ieee488/remote488.cpp
@@ -158,8 +158,8 @@
// Debugging
#include "logmacro.h"
-#define LOG_PARSER_MASK (LOG_GENERAL << 1)
-#define LOG_PARSER(...) LOGMASKED(LOG_PARSER_MASK, __VA_ARGS__)
+#define LOG_PARSER_MASK (LOG_GENERAL << 1)
+#define LOG_PARSER(...) LOGMASKED(LOG_PARSER_MASK, __VA_ARGS__)
#undef VERBOSE
#define VERBOSE LOG_GENERAL
diff --git a/src/devices/bus/isa/eis_sad8852.cpp b/src/devices/bus/isa/eis_sad8852.cpp
index 5730d2a2466..4962d7cded4 100644
--- a/src/devices/bus/isa/eis_sad8852.cpp
+++ b/src/devices/bus/isa/eis_sad8852.cpp
@@ -36,7 +36,7 @@
Nokia Data - marked TVK 119 5211 R3, rev date 9127, assembled in 1991 indicated by chip dates
ICL - marked TVK 119 5211 R3, rev date 9343, assembled in 1993 indicated by chip dates
+--------------------------------------------------------------------------------------+ ___
- | IC18 IC24 +----------+ ||
+ | IC18 IC24 +----------+ ||
| IC1 IC9 |IC31 EPROM| +--------------+ IC44 ||
| IC19 IC25 |27128 | | IC35 i8274 | IC51 ||
| IC2 IC10 +----------+ | MPSC serial | IC45 ||
@@ -233,9 +233,10 @@ void isa16_sad8852_device::device_reset()
{
if (!m_installed)
{
- m_isa->install_device(0x378, 0x378, // Wrong, need to find real i/o addresses
- read8_delegate(FUNC( isa16_sad8852_device::sad8852_r ), this),
- write8_delegate(FUNC( isa16_sad8852_device::sad8852_w ), this) );
+ m_isa->install_device(
+ 0x378, 0x378, // Wrong, need to find real i/o addresses
+ read8_delegate(FUNC( isa16_sad8852_device::sad8852_r ), this),
+ write8_delegate(FUNC( isa16_sad8852_device::sad8852_w ), this));
m_irq = m_isairq->read();
m_installed = true;
}
diff --git a/src/devices/bus/isa/pgc.cpp b/src/devices/bus/isa/pgc.cpp
index d042731555e..4adf87ca1e7 100644
--- a/src/devices/bus/isa/pgc.cpp
+++ b/src/devices/bus/isa/pgc.cpp
@@ -112,12 +112,12 @@ void isa8_pgc_device::pgc_map(address_map &map)
map(0x00000, 0x07fff).rom();
map(0x08000, 0x0ffff).rom().region("maincpu", 0x8000);
map(0x10000, 0x1001f).rw(this, FUNC(isa8_pgc_device::stateparam_r), FUNC(isa8_pgc_device::stateparam_w));
-// map(0x18000, 0x18fff).ram(); // ??
+// map(0x18000, 0x18fff).ram(); // ??
map(0x28000, 0x287ff).ram().region("commarea", 0).mirror(0x800);
map(0x32001, 0x32001).nopw();
map(0x32020, 0x3203f).w(this, FUNC(isa8_pgc_device::accel_w));
map(0x3c000, 0x3c001).r(this, FUNC(isa8_pgc_device::init_r));
-// map(0x3e000, 0x3efff).ram(); // ??
+// map(0x3e000, 0x3efff).ram(); // ??
map(0x80000, 0xf7fff).rw(this, FUNC(isa8_pgc_device::vram_r), FUNC(isa8_pgc_device::vram_w));
map(0xf8000, 0xfffff).rom().region("maincpu", 0x8000);
}
diff --git a/src/devices/bus/ti99/internal/998board.h b/src/devices/bus/ti99/internal/998board.h
index e8df327cae1..fa161c016db 100644
--- a/src/devices/bus/ti99/internal/998board.h
+++ b/src/devices/bus/ti99/internal/998board.h
@@ -482,7 +482,7 @@ private:
bool m_bavold;
bool m_hsk; // Handshake line; when true, a bus member needs more time to process the message
- bool m_hsklocal; // Local level of HSK
+ bool m_hsklocal; // Local level of HSK
bool m_shsk; // Stable HSK
bool m_hskold;
@@ -512,25 +512,25 @@ private:
// Page 6 (RHSUS*)
bool m_rhsus; // Needed to assert the HSK line until the CPU has read the byte
-
+
bool m_rbusy;
-
+
bool m_phi3;
-
+
// Debugging help
uint8_t m_oldvalue;
-/*
- // This is a buffer to enqueue changes on the Hexbus
- // This is not part of the real implementation, but in the emulation
- // there is no guarantee that two subsequent bus changes will be sensed
- // on the other side
-
- void enqueue(uint8_t val);
- uint8_t dequeue();
-
- uint8_t m_queue[8];
- int m_qhead;
- int m_qtail; */
+/*
+ // This is a buffer to enqueue changes on the Hexbus
+ // This is not part of the real implementation, but in the emulation
+ // there is no guarantee that two subsequent bus changes will be sensed
+ // on the other side
+
+ void enqueue(uint8_t val);
+ uint8_t dequeue();
+
+ uint8_t m_queue[8];
+ int m_qhead;
+ int m_qtail; */
};
class mainboard8_device : public device_t
diff --git a/src/devices/cpu/m6502/xavix.cpp b/src/devices/cpu/m6502/xavix.cpp
index e3f00edbccb..eab8be92dcc 100644
--- a/src/devices/cpu/m6502/xavix.cpp
+++ b/src/devices/cpu/m6502/xavix.cpp
@@ -7,14 +7,14 @@
6502 with custom opcodes
integrated gfx / sound
- special notes
+ special notes
- 0x0000-0x7fff seems to be a 'low bus' area, it is always the same regardless
- of banking
- 0x8000-0xffff is a banked area with individual code and data banks
- 0x00ff contains the DATA bank, set manually in code
- 0x00fe appears to be the current CODE bank, set with either the
- custom opcodes, or manually (if running from lowbus only?)
+ 0x0000-0x7fff seems to be a 'low bus' area, it is always the same regardless
+ of banking
+ 0x8000-0xffff is a banked area with individual code and data banks
+ 0x00ff contains the DATA bank, set manually in code
+ 0x00fe appears to be the current CODE bank, set with either the
+ custom opcodes, or manually (if running from lowbus only?)
***************************************************************************/
@@ -144,25 +144,25 @@ uint8_t xavix_device::mi_xavix_nd::read_arg(uint16_t adr)
inline void xavix_device::set_codebank(uint8_t bank)
{
-// space().write_byte(0xfe, bank);
+// space().write_byte(0xfe, bank);
m_codebank = bank;
}
-
+
inline uint8_t xavix_device::get_codebank()
{
-// return space().read_byte(0xfe);
+// return space().read_byte(0xfe);
return m_codebank;
}
inline void xavix_device::set_databank(uint8_t bank)
{
-// space().write_byte(0xff, bank);
+// space().write_byte(0xff, bank);
m_databank = bank;
}
-
+
inline uint8_t xavix_device::get_databank()
{
-// return space().read_byte(0xff);
+// return space().read_byte(0xff);
return m_databank;
}
diff --git a/src/devices/cpu/mb86233/mb86233.cpp b/src/devices/cpu/mb86233/mb86233.cpp
index 739cdf5a766..59b83241f37 100644
--- a/src/devices/cpu/mb86233/mb86233.cpp
+++ b/src/devices/cpu/mb86233/mb86233.cpp
@@ -43,7 +43,7 @@
internal or external though (fifos, banking in model2/86234), so
there may lie the actual differences.
*/
-
+
DEFINE_DEVICE_TYPE(MB86233, mb86233_device, "mb86233", "Fujitsu MB86233 (TGP)")
DEFINE_DEVICE_TYPE(MB86234, mb86234_device, "mb86234", "Fujitsu MB86234 (TGP)")
@@ -1003,7 +1003,7 @@ void mb86233_device::execute_run()
u32 sub2 = (opcode >> 17) & 7;
alu_pre(alu);
-
+
switch(sub2) {
case 0:
// clr0
@@ -1033,7 +1033,7 @@ void mb86233_device::execute_run()
logerror("unimplemented opcode 0f/%x\n", sub2);
break;
}
-
+
alu_post(alu);
break;
}
@@ -1175,7 +1175,7 @@ void mb86233_device::execute_run()
m_st |= F_ZC0;
}
break;
-
+
case 0x11:
if(m_c1 != 1) {
m_c1 --;
@@ -1184,7 +1184,7 @@ void mb86233_device::execute_run()
}
break;
}
-
+
break;
}
diff --git a/src/devices/cpu/mb86233/mb86233d.cpp b/src/devices/cpu/mb86233/mb86233d.cpp
index 6fde2449449..4530783515d 100644
--- a/src/devices/cpu/mb86233/mb86233d.cpp
+++ b/src/devices/cpu/mb86233/mb86233d.cpp
@@ -77,11 +77,11 @@
Top 3 bits = instruction group, except when it isn't.
- Conditions are 5 bits, but only a subset is known, see condition()
+ Conditions are 5 bits, but only a subset is known, see condition()
- Alu can theorically be on C or D registers, but since C doesn't
- exist, we don't know how C access is encoded. The operation
- itself is 5-bits for the "full" alu range.
+ Alu can theorically be on C or D registers, but since C doesn't
+ exist, we don't know how C access is encoded. The operation
+ itself is 5-bits for the "full" alu range.
*/
diff --git a/src/devices/cpu/mb86235/mb86235ops.cpp b/src/devices/cpu/mb86235/mb86235ops.cpp
index fc8d667fc35..c21b6c8836f 100644
--- a/src/devices/cpu/mb86235/mb86235ops.cpp
+++ b/src/devices/cpu/mb86235/mb86235ops.cpp
@@ -837,7 +837,7 @@ inline void mb86235_device::set_transfer_reg(uint8_t which, uint32_t value)
m_core->cur_fifo_state.has_stalled = false;
m_fifoout0->push(u32(value));
- }
+ }
break;
case 4: m_core->pdr = value; break;
case 5: m_core->ddr = value; break;
diff --git a/src/devices/cpu/mcs51/mcs51.cpp b/src/devices/cpu/mcs51/mcs51.cpp
index 0ea29b16a1c..6d028c9130a 100644
--- a/src/devices/cpu/mcs51/mcs51.cpp
+++ b/src/devices/cpu/mcs51/mcs51.cpp
@@ -2074,8 +2074,8 @@ uint8_t mcs51_cpu_device::sfr_read(size_t offset)
case ADDR_P1: return RWM ? P1 : (P1 | m_forced_inputs[1]) & m_port_in_cb[1]();
case ADDR_P2: return RWM ? P2 : (P2 | m_forced_inputs[2]) & m_port_in_cb[2]();
case ADDR_P3: return RWM ? P3 : (P3 | m_forced_inputs[3]) & m_port_in_cb[3]()
- & ~(GET_BIT(m_last_line_state, MCS51_INT0_LINE) ? 4 : 0)
- & ~(GET_BIT(m_last_line_state, MCS51_INT1_LINE) ? 8 : 0);
+ & ~(GET_BIT(m_last_line_state, MCS51_INT0_LINE) ? 4 : 0)
+ & ~(GET_BIT(m_last_line_state, MCS51_INT1_LINE) ? 8 : 0);
case ADDR_PSW:
case ADDR_ACC:
diff --git a/src/devices/cpu/sh/sh4.cpp b/src/devices/cpu/sh/sh4.cpp
index aa8d6cd03a5..32714989808 100644
--- a/src/devices/cpu/sh/sh4.cpp
+++ b/src/devices/cpu/sh/sh4.cpp
@@ -3429,10 +3429,10 @@ bool sh34_base_device::generate_group_15_FADD(drcuml_block &block, compiler_stat
UML_FDADD(block, FPD32(Rn), FPD32(Rn), FPD32(Rm));
UML_JMP(block, compiler.labelnum+1);
- UML_LABEL(block, compiler.labelnum++); // labelnum:
+ UML_LABEL(block, compiler.labelnum++); // labelnum:
UML_FSADD(block, FPS32(Rn), FPS32(Rn), FPS32(Rm));
- UML_LABEL(block, compiler.labelnum++); // labelnum+1:
+ UML_LABEL(block, compiler.labelnum++); // labelnum+1:
return true;
}
@@ -3445,10 +3445,10 @@ bool sh34_base_device::generate_group_15_FSUB(drcuml_block &block, compiler_stat
UML_FDSUB(block, FPD32(Rn), FPD32(Rn), FPD32(Rm));
UML_JMP(block, compiler.labelnum+1);
- UML_LABEL(block, compiler.labelnum++); // labelnum:
+ UML_LABEL(block, compiler.labelnum++); // labelnum:
UML_FSSUB(block, FPS32(Rn), FPS32(Rn), FPS32(Rm));
- UML_LABEL(block, compiler.labelnum++); // labelnum+1:
+ UML_LABEL(block, compiler.labelnum++); // labelnum+1:
return true;
}
@@ -3461,10 +3461,10 @@ bool sh34_base_device::generate_group_15_FMUL(drcuml_block &block, compiler_stat
UML_FDMUL(block, FPD32(Rn), FPD32(Rn), FPD32(Rm));
UML_JMP(block, compiler.labelnum+1);
- UML_LABEL(block, compiler.labelnum++); // labelnum:
+ UML_LABEL(block, compiler.labelnum++); // labelnum:
UML_FSMUL(block, FPS32(Rn), FPS32(Rn), FPS32(Rm));
- UML_LABEL(block, compiler.labelnum++); // labelnum+1:
+ UML_LABEL(block, compiler.labelnum++); // labelnum+1:
return true;
}
@@ -3477,10 +3477,10 @@ bool sh34_base_device::generate_group_15_FDIV(drcuml_block &block, compiler_stat
UML_FDDIV(block, FPD32(Rn), FPD32(Rn), FPD32(Rm));
UML_JMP(block, compiler.labelnum+1);
- UML_LABEL(block, compiler.labelnum++); // labelnum:
+ UML_LABEL(block, compiler.labelnum++); // labelnum:
UML_FSDIV(block, FPS32(Rn), FPS32(Rn), FPS32(Rm));
- UML_LABEL(block, compiler.labelnum++); // labelnum+1:
+ UML_LABEL(block, compiler.labelnum++); // labelnum+1:
return true;
}
diff --git a/src/devices/cpu/sh/sh4comn.h b/src/devices/cpu/sh/sh4comn.h
index d4faa421548..0d856012581 100644
--- a/src/devices/cpu/sh/sh4comn.h
+++ b/src/devices/cpu/sh/sh4comn.h
@@ -36,7 +36,7 @@
#define FP_XFS2(r) *( (float *)(m_sh2_state->m_xf+((r) ^ m_sh2_state->m_fpu_pr)) )
#endif
-#define FPSCR mem(&m_sh2_state->m_fpscr)
+#define FPSCR mem(&m_sh2_state->m_fpscr)
#define FPS32(reg) m_fs_regmap[reg]
#define FPD32(reg) m_fd_regmap[reg & 14]
enum
diff --git a/src/devices/machine/adc0808.h b/src/devices/machine/adc0808.h
index 646346d92df..74a0b42cd57 100644
--- a/src/devices/machine/adc0808.h
+++ b/src/devices/machine/adc0808.h
@@ -22,12 +22,12 @@
DND 13 | | 16 VREF-
D6 14 |_______| 15 D5
- Notes:
- * The difference between the two devices is the total adjusted
- error: ADC0808 ±½ LSB, ADC0809 ±1 LSB
- * MM74C949 and M58990P are equivalent to ADC0808
- * MM74C949-1 and M58990P-1 are equivalent to ADC0809
- * ADC0816 and ADC0817 are 16 channel equivalents
+ Notes:
+ * The difference between the two devices is the total adjusted
+ error: ADC0808 ±½ LSB, ADC0809 ±1 LSB
+ * MM74C949 and M58990P are equivalent to ADC0808
+ * MM74C949-1 and M58990P-1 are equivalent to ADC0809
+ * ADC0816 and ADC0817 are 16 channel equivalents
***************************************************************************/
diff --git a/src/devices/machine/gen_fifo.cpp b/src/devices/machine/gen_fifo.cpp
index aaf6318a141..862626a2db7 100644
--- a/src/devices/machine/gen_fifo.cpp
+++ b/src/devices/machine/gen_fifo.cpp
@@ -20,7 +20,7 @@ template<typename T> generic_fifo_device_base<T>::generic_fifo_device_base(const
m_size(0),
m_empty_triggered(false),
m_full_triggered(false)
-{
+{
}
template<typename T> void generic_fifo_device_base<T>::clear()
@@ -147,7 +147,7 @@ template<typename T> T generic_fifo_device_base<T>::pop()
// We did a pop
m_on_pop();
- return std::move(t);
+ return std::move(t);
}
}
diff --git a/src/devices/machine/gen_fifo.h b/src/devices/machine/gen_fifo.h
index f182a5c0bd6..430a760aaec 100644
--- a/src/devices/machine/gen_fifo.h
+++ b/src/devices/machine/gen_fifo.h
@@ -100,7 +100,7 @@ public:
clear();
m_size = size;
- }
+ }
/* Generic push/pop */
T pop();
@@ -216,7 +216,7 @@ public:
DECLARE_READ32_MEMBER(read) { return read_gen<u32>(); }
DECLARE_WRITE32_MEMBER(write) { write_gen(data); }
};
-
+
DECLARE_DEVICE_TYPE(GENERIC_FIFO_U32, generic_fifo_u32_device)
#endif
diff --git a/src/devices/machine/ncr5385.cpp b/src/devices/machine/ncr5385.cpp
index df2d61f07d0..d5cd98a4a5f 100644
--- a/src/devices/machine/ncr5385.cpp
+++ b/src/devices/machine/ncr5385.cpp
@@ -4,8 +4,8 @@
NCR 5385E SCSI Controller
- TOOD:
- - Everything.
+ TOOD:
+ - Everything.
***********************************************************************/
diff --git a/src/devices/machine/ncr5385.h b/src/devices/machine/ncr5385.h
index 576b7f2b065..a7b551b2440 100644
--- a/src/devices/machine/ncr5385.h
+++ b/src/devices/machine/ncr5385.h
@@ -4,10 +4,10 @@
NCR 5385 SCSI Controller emulation
- TODO:
- - Everything. Currently, just enough is implemented to make the
- Philips VP415 CPU / Datagrabber board satisfied that the
- controller has passed its internal diagnostics.
+ TODO:
+ - Everything. Currently, just enough is implemented to make the
+ Philips VP415 CPU / Datagrabber board satisfied that the
+ controller has passed its internal diagnostics.
************************************************************************
_____ _____
diff --git a/src/devices/machine/saa1043.cpp b/src/devices/machine/saa1043.cpp
index 215f4d36524..48b1f168639 100644
--- a/src/devices/machine/saa1043.cpp
+++ b/src/devices/machine/saa1043.cpp
@@ -4,8 +4,8 @@
Philips SAA1043 Universal Sync Generator
- TOOD:
- - Everything.
+ TOOD:
+ - Everything.
***********************************************************************/
@@ -19,8 +19,8 @@ DEFINE_DEVICE_TYPE(SAA1043, saa1043_device, "saa1043", "Philips SAA1043")
saa1043_device::saa1043_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
: device_t(mconfig, SAA1043, tag, owner, clock)
, m_outputs{ *this, *this, *this, *this, *this, *this,
- *this, *this, *this, *this, *this, *this,
- *this, *this, *this, *this, *this, *this }
+ *this, *this, *this, *this, *this, *this,
+ *this, *this, *this, *this, *this, *this }
{
memset(m_outputs_hooked, 0, sizeof(bool) * OUT_COUNT);
}
diff --git a/src/devices/machine/saa1043.h b/src/devices/machine/saa1043.h
index 0d8b6507634..4ee4e39d57b 100644
--- a/src/devices/machine/saa1043.h
+++ b/src/devices/machine/saa1043.h
@@ -4,8 +4,8 @@
Philips SAA1043 Universal Sync Generator emulation
- TODO:
- - Everything.
+ TODO:
+ - Everything.
************************************************************************
_____ _____
diff --git a/src/devices/machine/smc91c9x.cpp b/src/devices/machine/smc91c9x.cpp
index f71633152e9..e081c2c6a17 100644
--- a/src/devices/machine/smc91c9x.cpp
+++ b/src/devices/machine/smc91c9x.cpp
@@ -157,7 +157,7 @@ void smc91c9x_device::device_pre_save()
//osd_printf_info("Save: comp_tx: %d comp_rx: %d trans_tx: %d\n", m_comp_tx_size, m_comp_rx_size, m_trans_tx_size);
//if (m_comp_tx_size)
- // osd_printf_info("comp_tx packet: %d\n", m_comp_tx.front());
+ // osd_printf_info("comp_tx packet: %d\n", m_comp_tx.front());
}
// Save state preload to restore vector sizes
@@ -172,7 +172,7 @@ void smc91c9x_device::device_post_load()
//osd_printf_info("Restore: comp_tx: %d comp_rx: %d trans_tx: %d\n", m_comp_tx_size, m_comp_rx_size, m_trans_tx_size);
//if (m_comp_tx_size)
- // osd_printf_info("comp_tx size: %lu comp_tx packet: %d array_data: %d\n", m_comp_tx.size(), m_comp_tx.front(), m_comp_tx_data[0]);
+ // osd_printf_info("comp_tx size: %lu comp_tx packet: %d array_data: %d\n", m_comp_tx.size(), m_comp_tx.front(), m_comp_tx_data[0]);
}
//-------------------------------------------------
@@ -752,7 +752,7 @@ void smc91c9x_device::process_command(uint16_t data)
// Set Busy (clear on next read)
m_reg[EREG_MMU_COMMAND] |= 0x0001;
//LOG("process_command: TxQ: %d TxComp: %d RxComp: %d TxAlloc: %04x RxAlloc: %04x\n",
- // m_trans_tx.size(), m_comp_tx.size(), m_comp_rx.size(), m_alloc_tx, m_alloc_rx);
+ // m_trans_tx.size(), m_comp_tx.size(), m_comp_rx.size(), m_alloc_tx, m_alloc_rx);
}
diff --git a/src/devices/machine/stvcd.cpp b/src/devices/machine/stvcd.cpp
index 0d1dbfb59e3..ef3333e9773 100644
--- a/src/devices/machine/stvcd.cpp
+++ b/src/devices/machine/stvcd.cpp
@@ -1423,7 +1423,7 @@ void stvcd_device::cd_exec_command()
cr_standard_return(cd_stat);
hirqreg |= (CMOK|MPED);
break;
-
+
// following are MPEG commands, enough to get Sport Fishing to do something
// MPEG Get Status
case 0x90:
@@ -1456,7 +1456,7 @@ void stvcd_device::cd_exec_command()
cr4 = 0;
break;
-
+
default:
LOG("Unknown command %04x\n", cr1>>8);
popmessage("CD Block unknown command %02x, contact MAMEdev",cr1>>8);
diff --git a/src/devices/video/mb88303.cpp b/src/devices/video/mb88303.cpp
index ee4432263c8..5b291553ddd 100644
--- a/src/devices/video/mb88303.cpp
+++ b/src/devices/video/mb88303.cpp
@@ -4,10 +4,10 @@
Fujitsu MB88303 NMOS Television Display Controller (TVDC) emulation
- TOOD:
- - Character-size registers.
- - Proper hsync/vsync emulation.
- - Blinking.
+ TOOD:
+ - Character-size registers.
+ - Proper hsync/vsync emulation.
+ - Blinking.
***********************************************************************/
diff --git a/src/devices/video/stvvdp2.cpp b/src/devices/video/stvvdp2.cpp
index d6849470b92..1fcb9478e59 100644
--- a/src/devices/video/stvvdp2.cpp
+++ b/src/devices/video/stvvdp2.cpp
@@ -4194,14 +4194,14 @@ void saturn_state::stv_vdp2_draw_basic_tilemap(bitmap_rgb32 &bitmap, const recta
// store map information
stv_vdp2_layer_data_placement.map_offset_min = 0x7fffffff;
stv_vdp2_layer_data_placement.map_offset_max = 0x00000000;
-
+
for (i = 0; i < stv2_current_tilemap.map_count; i++)
{
uint32_t max_base;
-
+
if ( base[i] < stv_vdp2_layer_data_placement.map_offset_min )
stv_vdp2_layer_data_placement.map_offset_min = base[i];
-
+
// Head On in Sega Memorial Collection 1 cares (uses RBG0 with all map regs equal to 0x20)
max_base = (base[i] + plsize_bytes/4);
if ( max_base > stv_vdp2_layer_data_placement.map_offset_max )
@@ -4783,7 +4783,7 @@ void saturn_state::stv_vdp2_copy_roz_bitmap(bitmap_rgb32 &bitmap,
if ( x & clipxmask || y & clipymask ) continue;
if ( stv_vdp2_roz_window(hcnt, vcnt) == false )
continue;
-
+
if ( stv2_current_tilemap.roz_mode3 == true )
{
if( stv_vdp2_roz_mode3_window(hcnt, vcnt, iRP-1) == false )
@@ -4952,7 +4952,7 @@ inline bool saturn_state::stv_vdp2_roz_window(int x, int y)
uint8_t w1_enable = STV_VDP2_R0W1E;
uint8_t w0_area = STV_VDP2_R0W0A;
uint8_t w1_area = STV_VDP2_R0W1A;
-
+
if (w0_enable == 0 &&
w1_enable == 0)
return true;
@@ -5508,29 +5508,29 @@ void saturn_state::stv_vdp2_draw_rotation_screen(bitmap_rgb32 &bitmap, const rec
{
stv2_current_tilemap.scrollx = stv_current_rotation_parameter_table.mx >> 16;
stv2_current_tilemap.scrolly = stv_current_rotation_parameter_table.my >> 16;
-
+
if(stv2_current_tilemap.roz_mode3 == true)
{
// TODO: Cotton 2 enables mode 3 without an actual RP window enabled
- // Technically you could use split screen effect without rotation applied,
+ // Technically you could use split screen effect without rotation applied,
// which will be annoying to emulate with this video structure.
// Let's see if anything will do it ...
if(STV_VDP2_RPW0E || STV_VDP2_RPW1E)
popmessage("ROZ Mode 3 window enabled without zooming, contact MAMEdev!");
-
+
if(iRP == 2)
return;
}
-
+
// TODO: legacy code, to be removed
stv2_current_tilemap.window_control.logic = STV_VDP2_R0LOG;
stv2_current_tilemap.window_control.enabled[0] = STV_VDP2_R0W0E;
stv2_current_tilemap.window_control.enabled[1] = STV_VDP2_R0W1E;
-// stv2_current_tilemap.window_control.? = STV_VDP2_R0SWE;
+// stv2_current_tilemap.window_control.? = STV_VDP2_R0SWE;
stv2_current_tilemap.window_control.area[0] = STV_VDP2_R0W0A;
stv2_current_tilemap.window_control.area[1] = STV_VDP2_R0W1A;
-// stv2_current_tilemap.window_control.? = STV_VDP2_R0SWA;
-
+// stv2_current_tilemap.window_control.? = STV_VDP2_R0SWA;
+
rectangle mycliprect = cliprect;
if ( stv2_current_tilemap.window_control.enabled[0] || stv2_current_tilemap.window_control.enabled[1] )
@@ -5540,7 +5540,7 @@ void saturn_state::stv_vdp2_draw_rotation_screen(bitmap_rgb32 &bitmap, const rec
stv2_current_tilemap.window_control.enabled[0] = 0;
stv2_current_tilemap.window_control.enabled[1] = 0;
}
-
+
stv_vdp2_check_tilemap(bitmap,mycliprect);
}
else
diff --git a/src/emu/debug/debugcmd.cpp b/src/emu/debug/debugcmd.cpp
index b0f434197ea..9e10615a28a 100644
--- a/src/emu/debug/debugcmd.cpp
+++ b/src/emu/debug/debugcmd.cpp
@@ -1031,57 +1031,57 @@ void debugger_commands::execute_observe(int ref, const std::vector<std::string>
void debugger_commands::execute_suspend(int ref, const std::vector<std::string> &params)
{
- /* if there are no parameters, dump the ignore list */
- if (params.empty())
- {
- std::string buffer;
-
- /* loop over all executable devices */
- for (device_execute_interface &exec : execute_interface_iterator(m_machine.root_device()))
-
- /* build up a comma-separated list */
- if (exec.device().debug()->suspended())
- {
- if (buffer.empty())
- buffer = string_format("Currently suspended device '%s'", exec.device().tag());
- else
- buffer.append(string_format(", '%s'", exec.device().tag()));
- }
-
- /* special message for none */
- if (buffer.empty())
- buffer = string_format("No currently suspended devices");
- m_console.printf("%s\n", buffer.c_str());
- }
- else
- {
- device_t *devicelist[MAX_COMMAND_PARAMS];
-
- /* validate parameters */
- for (int paramnum = 0; paramnum < params.size(); paramnum++)
- if (!validate_cpu_parameter(params[paramnum].c_str(), devicelist[paramnum]))
- return;
-
- for (int paramnum = 0; paramnum < params.size(); paramnum++)
- {
- /* make sure this isn't the last live CPU */
- bool gotone = false;
- for (device_execute_interface &exec : execute_interface_iterator(m_machine.root_device()))
- if (&exec.device() != devicelist[paramnum] && !exec.device().debug()->suspended())
- {
- gotone = true;
- break;
- }
- if (!gotone)
- {
- m_console.printf("Can't suspend all devices!\n");
- return;
- }
-
- devicelist[paramnum]->debug()->suspend(true);
- m_console.printf("Suspended device '%s'\n", devicelist[paramnum]->tag());
- }
- }
+ /* if there are no parameters, dump the ignore list */
+ if (params.empty())
+ {
+ std::string buffer;
+
+ /* loop over all executable devices */
+ for (device_execute_interface &exec : execute_interface_iterator(m_machine.root_device()))
+
+ /* build up a comma-separated list */
+ if (exec.device().debug()->suspended())
+ {
+ if (buffer.empty())
+ buffer = string_format("Currently suspended device '%s'", exec.device().tag());
+ else
+ buffer.append(string_format(", '%s'", exec.device().tag()));
+ }
+
+ /* special message for none */
+ if (buffer.empty())
+ buffer = string_format("No currently suspended devices");
+ m_console.printf("%s\n", buffer.c_str());
+ }
+ else
+ {
+ device_t *devicelist[MAX_COMMAND_PARAMS];
+
+ /* validate parameters */
+ for (int paramnum = 0; paramnum < params.size(); paramnum++)
+ if (!validate_cpu_parameter(params[paramnum].c_str(), devicelist[paramnum]))
+ return;
+
+ for (int paramnum = 0; paramnum < params.size(); paramnum++)
+ {
+ /* make sure this isn't the last live CPU */
+ bool gotone = false;
+ for (device_execute_interface &exec : execute_interface_iterator(m_machine.root_device()))
+ if (&exec.device() != devicelist[paramnum] && !exec.device().debug()->suspended())
+ {
+ gotone = true;
+ break;
+ }
+ if (!gotone)
+ {
+ m_console.printf("Can't suspend all devices!\n");
+ return;
+ }
+
+ devicelist[paramnum]->debug()->suspend(true);
+ m_console.printf("Suspended device '%s'\n", devicelist[paramnum]->tag());
+ }
+ }
}
/*-------------------------------------------------
@@ -1090,43 +1090,43 @@ void debugger_commands::execute_suspend(int ref, const std::vector<std::string>
void debugger_commands::execute_resume(int ref, const std::vector<std::string> &params)
{
- /* if there are no parameters, dump the ignore list */
- if (params.empty())
- {
- std::string buffer;
-
- /* loop over all executable devices */
- for (device_execute_interface &exec : execute_interface_iterator(m_machine.root_device()))
-
- /* build up a comma-separated list */
- if (exec.device().debug()->suspended())
- {
- if (buffer.empty())
- buffer = string_format("Currently suspended device '%s'", exec.device().tag());
- else
- buffer.append(string_format(", '%s'", exec.device().tag()));
- }
-
- /* special message for none */
- if (buffer.empty())
- buffer = string_format("No currently suspended devices");
- m_console.printf("%s\n", buffer.c_str());
- }
- else
- {
- device_t *devicelist[MAX_COMMAND_PARAMS];
-
- /* validate parameters */
- for (int paramnum = 0; paramnum < params.size(); paramnum++)
- if (!validate_cpu_parameter(params[paramnum].c_str(), devicelist[paramnum]))
- return;
-
- for (int paramnum = 0; paramnum < params.size(); paramnum++)
- {
- devicelist[paramnum]->debug()->suspend(false);
- m_console.printf("Resumed device '%s'\n", devicelist[paramnum]->tag());
- }
- }
+ /* if there are no parameters, dump the ignore list */
+ if (params.empty())
+ {
+ std::string buffer;
+
+ /* loop over all executable devices */
+ for (device_execute_interface &exec : execute_interface_iterator(m_machine.root_device()))
+
+ /* build up a comma-separated list */
+ if (exec.device().debug()->suspended())
+ {
+ if (buffer.empty())
+ buffer = string_format("Currently suspended device '%s'", exec.device().tag());
+ else
+ buffer.append(string_format(", '%s'", exec.device().tag()));
+ }
+
+ /* special message for none */
+ if (buffer.empty())
+ buffer = string_format("No currently suspended devices");
+ m_console.printf("%s\n", buffer.c_str());
+ }
+ else
+ {
+ device_t *devicelist[MAX_COMMAND_PARAMS];
+
+ /* validate parameters */
+ for (int paramnum = 0; paramnum < params.size(); paramnum++)
+ if (!validate_cpu_parameter(params[paramnum].c_str(), devicelist[paramnum]))
+ return;
+
+ for (int paramnum = 0; paramnum < params.size(); paramnum++)
+ {
+ devicelist[paramnum]->debug()->suspend(false);
+ m_console.printf("Resumed device '%s'\n", devicelist[paramnum]->tag());
+ }
+ }
}
/*-------------------------------------------------
diff --git a/src/emu/debug/debugcpu.cpp b/src/emu/debug/debugcpu.cpp
index e2a3469ddb0..71037bb1dc1 100644
--- a/src/emu/debug/debugcpu.cpp
+++ b/src/emu/debug/debugcpu.cpp
@@ -1829,13 +1829,13 @@ void device_debug::suspend(bool suspend)
assert(m_exec != nullptr);
if (suspend) {
- m_flags |= DEBUG_FLAG_SUSPENDED;
- m_exec->suspend(SUSPEND_REASON_HALT, 1);
- }
+ m_flags |= DEBUG_FLAG_SUSPENDED;
+ m_exec->suspend(SUSPEND_REASON_HALT, 1);
+ }
else {
- m_flags &= ~DEBUG_FLAG_SUSPENDED;
- m_exec->resume(SUSPEND_REASON_HALT);
- }
+ m_flags &= ~DEBUG_FLAG_SUSPENDED;
+ m_exec->resume(SUSPEND_REASON_HALT);
+ }
if (&m_device == m_device.machine().debugger().cpu().live_cpu() && suspend)
{
diff --git a/src/lib/formats/td0_dsk.cpp b/src/lib/formats/td0_dsk.cpp
index 71d6395a70a..b7c418af53c 100644
--- a/src/lib/formats/td0_dsk.cpp
+++ b/src/lib/formats/td0_dsk.cpp
@@ -911,7 +911,7 @@ bool td0_format::load(io_generic *io, uint32_t form_factor, floppy_image *image)
break;
case 5:
if (form_factor != floppy_image::FF_8)
- return false; // 8" drive form factor is expected
+ return false; // 8" drive form factor is expected
break;
}
diff --git a/src/mame/drivers/aleck64.cpp b/src/mame/drivers/aleck64.cpp
index b4ed3c70d57..e8c52ad6769 100644
--- a/src/mame/drivers/aleck64.cpp
+++ b/src/mame/drivers/aleck64.cpp
@@ -948,9 +948,9 @@ MACHINE_CONFIG_END
uint32_t aleck64_state::screen_update_e90(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)
{
bitmap.fill(0, cliprect);
- screen_update_n64(screen,bitmap,cliprect);
+ screen_update_n64(screen,bitmap,cliprect);
// TODO: extract from the real tables (maybe RLEd inside paletteram words 0xa - 0xf?)
- static constexpr u8 pal_table[8*8] =
+ static constexpr u8 pal_table[8*8] =
{
8, 6, 6, 6, 6, 5, 4, 3,
9, 7, 5, 6, 4, 1, 1, 4,
@@ -961,7 +961,7 @@ uint32_t aleck64_state::screen_update_e90(screen_device &screen, bitmap_rgb32 &b
9, 8, 8, 8, 8, 8, 7, 6,
8, 9, 9, 9, 9, 9, 9, 8
};
-
+
for(int offs=0;offs<0x1000/4;offs+=2)
{
int xi,yi;
@@ -970,14 +970,14 @@ uint32_t aleck64_state::screen_update_e90(screen_device &screen, bitmap_rgb32 &b
int pal_shift;
// 0x400 is another enable? end code if off?
//uint16_t tile = m_e90_vram[offs] >> 16;
-
- // TODO: mask 0x300 on tile seems to be tile number
+
+ // TODO: mask 0x300 on tile seems to be tile number
// (active piece drawn with 0x100, special square blocks drawn with cycling 0x1c0, 0x200 & 0x240)
uint16_t attr = m_e90_vram[offs] & 0xffff;
// bit 5 disables?
if(attr & 0x20)
continue;
-
+
// guess: 0x1000 entries / word / 4bpp = 0x7f, divided by two below
// bits 5 and 6 of palette bank seems to be highlight and shadow, separated from this bank
uint16_t pal = (attr & 0x06) >> 1;
@@ -987,7 +987,7 @@ uint32_t aleck64_state::screen_update_e90(screen_device &screen, bitmap_rgb32 &b
// ghost piece, probably enabled thru one bit of these (as weird as it sounds)
if((y & 0xff00) == 0xbc00)
pal |= (0x40 >> 1);
-
+
// color banks
// some pieces needs this color adjustment (see T piece / 5 block version of I piece)
pal |= (attr & 0xc0) >> 4;
@@ -1011,7 +1011,7 @@ uint32_t aleck64_state::screen_update_e90(screen_device &screen, bitmap_rgb32 &b
r = pal5bit(r);
g = pal5bit(g);
b = pal5bit(b);
-
+
if(cliprect.contains(res_x, res_y))
bitmap.pix32(res_y, res_x) = r << 16 | g << 8 | b;
}
diff --git a/src/mame/drivers/alesis.cpp b/src/mame/drivers/alesis.cpp
index 0e6a83f7ca2..3a38080460d 100644
--- a/src/mame/drivers/alesis.cpp
+++ b/src/mame/drivers/alesis.cpp
@@ -45,15 +45,15 @@ READ8_MEMBER( alesis_state::kb_r )
WRITE8_MEMBER( alesis_state::led_w )
{
- m_patt_led = BIT(data, 0) ? 1 : 0;
- m_song_led = BIT(data, 0) ? 0 : 1;
- m_play_led = BIT(data, 1) ? 0 : 1;
- m_record_led = BIT(data, 2) ? 0 : 1;
- m_voice_led = BIT(data, 3) ? 0 : 1;
- m_tune_led = BIT(data, 4) ? 0 : 1;
- m_mix_led = BIT(data, 5) ? 0 : 1;
- m_tempo_led = BIT(data, 6) ? 0 : 1;
- m_midi_led = BIT(data, 7) ? 0 : 1;
+ m_patt_led = BIT(data, 0) ? 1 : 0;
+ m_song_led = BIT(data, 0) ? 0 : 1;
+ m_play_led = BIT(data, 1) ? 0 : 1;
+ m_record_led = BIT(data, 2) ? 0 : 1;
+ m_voice_led = BIT(data, 3) ? 0 : 1;
+ m_tune_led = BIT(data, 4) ? 0 : 1;
+ m_mix_led = BIT(data, 5) ? 0 : 1;
+ m_tempo_led = BIT(data, 6) ? 0 : 1;
+ m_midi_led = BIT(data, 7) ? 0 : 1;
}
READ8_MEMBER( alesis_state::p3_r )
@@ -77,13 +77,13 @@ WRITE8_MEMBER( alesis_state::sr16_lcd_w )
WRITE8_MEMBER( alesis_state::mmt8_led_w )
{
- m_play_led = BIT(data, 0) ? 0 : 1;
- m_record_led = BIT(data, 1) ? 0 : 1;
- m_part_led = BIT(data, 2) ? 0 : 1;
- m_edit_led = BIT(data, 3) ? 0 : 1;
- m_song_led = BIT(data, 4) ? 0 : 1;
- m_echo_led = BIT(data, 5) ? 0 : 1;
- m_loop_led = BIT(data, 6) ? 0 : 1;
+ m_play_led = BIT(data, 0) ? 0 : 1;
+ m_record_led = BIT(data, 1) ? 0 : 1;
+ m_part_led = BIT(data, 2) ? 0 : 1;
+ m_edit_led = BIT(data, 3) ? 0 : 1;
+ m_song_led = BIT(data, 4) ? 0 : 1;
+ m_echo_led = BIT(data, 5) ? 0 : 1;
+ m_loop_led = BIT(data, 6) ? 0 : 1;
m_leds = data;
}
diff --git a/src/mame/drivers/atarisy2.cpp b/src/mame/drivers/atarisy2.cpp
index dd3b9c8c647..d59e37fdb0b 100644
--- a/src/mame/drivers/atarisy2.cpp
+++ b/src/mame/drivers/atarisy2.cpp
@@ -1432,9 +1432,9 @@ ROM_END
Paperboy prototype pcb
-brown in colour, A042571-01 rev 2
+brown in colour, A042571-01 rev 2
handwritten in red '#10'
-sticky label with '10' on it.
+sticky label with '10' on it.
Had a tag attatched saying 'suspect reset problem'
SOUND section:
@@ -1444,9 +1444,9 @@ There is a 6502 next to the quad pokey. 3 roms are nearby, with the naming conve
CPU section:
one empty 40pin socket, looks like the main cpu.
-There are no designations for IC location, only a
+There are no designations for IC location, only a
handwritten column of letters to denote the left/right.
-I am guessing at the up/down by making up my own numbers,
+I am guessing at the up/down by making up my own numbers,
as atari used to start the numbers from furthest away from the edge connector first.
All IC's and components on this pcb are hand soldered-in
@@ -1456,21 +1456,21 @@ So bear this in mind, there may be a few bytes out here and there.
*********************************************************************************************
-Label Loc. Type File
-FIX-LOW CA50 5P 27128 fix-low.bin
-FIX-HI 0AB3 5M 27128 fix-hi.bin
-L-0 208E 7T 27128 l-0.bin
-H-0 9C75 6T 27128 h-0.bin
-PAGROM L-1 6R/S 27128 pagroml-1.bin
-H-1 5T 27128 h-1.bin
-PAGROM L-2 7R/S 27128 pagroml-2.bin
-PAGROM H-2 4T 27128 pagromh-2.bin
-LOW-3 5R/S 27128 low-3.bin
-HI-3 4R/S 27128 hi-3.bin
-
-PAPTST 4000 2A 27128 paptst4000.bin
-PAPTST 8000 2C 27128 paptst8000.bin
-PAPTST c000 2G 27128 paptstc000.bin
+Label Loc. Type File
+FIX-LOW CA50 5P 27128 fix-low.bin
+FIX-HI 0AB3 5M 27128 fix-hi.bin
+L-0 208E 7T 27128 l-0.bin
+H-0 9C75 6T 27128 h-0.bin
+PAGROM L-1 6R/S 27128 pagroml-1.bin
+H-1 5T 27128 h-1.bin
+PAGROM L-2 7R/S 27128 pagroml-2.bin
+PAGROM H-2 4T 27128 pagromh-2.bin
+LOW-3 5R/S 27128 low-3.bin
+HI-3 4R/S 27128 hi-3.bin
+
+PAPTST 4000 2A 27128 paptst4000.bin
+PAPTST 8000 2C 27128 paptst8000.bin
+PAPTST c000 2G 27128 paptstc000.bin
*/
diff --git a/src/mame/drivers/bionicc.cpp b/src/mame/drivers/bionicc.cpp
index 81dc99907a9..61deab85372 100644
--- a/src/mame/drivers/bionicc.cpp
+++ b/src/mame/drivers/bionicc.cpp
@@ -54,14 +54,14 @@
- see the beginning of level 3: background screwed
- gray tiles around the title in Top Secret
- Note: The MCU rom contains the string
- "<for dealer-location test & USA show. 87/03/10 >"
- which indicates it could be from an earlier version, especially with it
- coming from a 'Top Secret' bootleg with identical program but unprotected
- MCU, however f1dream has a similar string, and is verified as being from
- a production board.
+ Note: The MCU rom contains the string
+ "<for dealer-location test & USA show. 87/03/10 >"
+ which indicates it could be from an earlier version, especially with it
+ coming from a 'Top Secret' bootleg with identical program but unprotected
+ MCU, however f1dream has a similar string, and is verified as being from
+ a production board.
- The MCU hookup is currently wrong, maybe IRQ4 related?
+ The MCU hookup is currently wrong, maybe IRQ4 related?
ToDo:
IRQ4 seems to be control related.
@@ -103,7 +103,7 @@ WRITE8_MEMBER(bionicc_state::mcu_shared_w)
}
WRITE8_MEMBER(bionicc_state::out1_w)
-{
+{
m_soundlatch->write(space,0,data);
}
diff --git a/src/mame/drivers/coolpool.cpp b/src/mame/drivers/coolpool.cpp
index 02f0c11ab16..a0f695cf5a3 100644
--- a/src/mame/drivers/coolpool.cpp
+++ b/src/mame/drivers/coolpool.cpp
@@ -730,7 +730,7 @@ MACHINE_CONFIG_START(coolpool_state::amerdart)
MCFG_CPU_IO_MAP(amerdart_dsp_io_map)
MCFG_TMS32010_BIO_IN_CB(READLINE(coolpool_state, amerdart_dsp_bio_line_r))
MCFG_TIMER_DRIVER_ADD_SCANLINE("audioint", coolpool_state, amerdart_audio_int_gen, "screen", 0, 1)
-
+
MCFG_GENERIC_LATCH_16_ADD("main2dsp")
MCFG_GENERIC_LATCH_16_ADD("dsp2main")
MCFG_GENERIC_LATCH_DATA_PENDING_CB(INPUTLINE("maincpu", 1))
@@ -774,8 +774,8 @@ MACHINE_CONFIG_START(coolpool_state::coolpool)
MCFG_GENERIC_LATCH_16_ADD("main2dsp")
MCFG_GENERIC_LATCH_DATA_PENDING_CB(INPUTLINE("dsp", 0)) /* ??? I have no idea who should generate this! */
- /* the DSP polls the status bit so it isn't strictly */
- /* necessary to also have an IRQ */
+ /* the DSP polls the status bit so it isn't strictly */
+ /* necessary to also have an IRQ */
MCFG_GENERIC_LATCH_16_ADD("dsp2main")
MCFG_GENERIC_LATCH_DATA_PENDING_CB(INPUTLINE("maincpu", 1))
diff --git a/src/mame/drivers/cosmicos.cpp b/src/mame/drivers/cosmicos.cpp
index c304bbb67eb..4f4b86ee500 100644
--- a/src/mame/drivers/cosmicos.cpp
+++ b/src/mame/drivers/cosmicos.cpp
@@ -360,9 +360,9 @@ TIMER_DEVICE_CALLBACK_MEMBER(cosmicos_state::digit_tick)
{
// commented this out because (a) m_digit isn't initialised anywhere,
// and (b) writing to a negative digit is not a good idea.
-// m_digit = !m_digit;
+// m_digit = !m_digit;
-// m_digits[m_digit] = m_segment;
+// m_digits[m_digit] = m_segment;
}
TIMER_DEVICE_CALLBACK_MEMBER(cosmicos_state::int_tick)
diff --git a/src/mame/drivers/djboy.cpp b/src/mame/drivers/djboy.cpp
index 7ce2c287d26..fa061217d6e 100644
--- a/src/mame/drivers/djboy.cpp
+++ b/src/mame/drivers/djboy.cpp
@@ -507,7 +507,7 @@ MACHINE_CONFIG_START(djboy_state::djboy)
MCFG_MCS51_PORT_P3_OUT_CB(WRITE8(djboy_state, beast_p3_w))
MCFG_QUANTUM_TIME(attotime::from_hz(6000))
-
+
MCFG_GENERIC_LATCH_8_ADD("slavelatch")
MCFG_GENERIC_LATCH_8_ADD("beastlatch")
diff --git a/src/mame/drivers/dreamwld.cpp b/src/mame/drivers/dreamwld.cpp
index 1954bb167ba..0d4d7a2ecad 100644
--- a/src/mame/drivers/dreamwld.cpp
+++ b/src/mame/drivers/dreamwld.cpp
@@ -277,7 +277,7 @@ void dreamwld_state::video_start()
m_tilemap[layer][size]->set_scroll_cols(1);
}
}
-
+
m_spritebuf[0] = std::make_unique<uint32_t[]>(0x2000 / 4);
m_spritebuf[1] = std::make_unique<uint32_t[]>(0x2000 / 4);
m_lineram16 = make_unique_clear<uint16_t[]>(0x400 / 2);
diff --git a/src/mame/drivers/firefox.cpp b/src/mame/drivers/firefox.cpp
index 174e11191cb..afc039e602e 100644
--- a/src/mame/drivers/firefox.cpp
+++ b/src/mame/drivers/firefox.cpp
@@ -133,7 +133,7 @@ private:
required_device<x2212_device> m_nvram_1d;
required_memory_bank m_mainbank;
-
+
output_finder<4> m_leds;
int m_n_disc_lock;
diff --git a/src/mame/drivers/gaelco2.cpp b/src/mame/drivers/gaelco2.cpp
index 04202f44b5c..ccc3d0ddf9e 100644
--- a/src/mame/drivers/gaelco2.cpp
+++ b/src/mame/drivers/gaelco2.cpp
@@ -1354,7 +1354,7 @@ REF: 950906
| | | TG IC67.IC67 |P|
| 6264 |----------| |6|
| 6264 IC68* | |
-| J | |
+| J | |
| A |-------------------------| TG IC69.IC69 |-|
| M | | |
| M | 62256 DS5002 BATT_3V | |
diff --git a/src/mame/drivers/galivan.cpp b/src/mame/drivers/galivan.cpp
index 498b493e95e..f9560441027 100644
--- a/src/mame/drivers/galivan.cpp
+++ b/src/mame/drivers/galivan.cpp
@@ -483,7 +483,7 @@ MACHINE_CONFIG_START(dangarj_state::dangarj)
galivan(config);
MCFG_CPU_MODIFY("maincpu")
MCFG_CPU_IO_MAP(dangarj_io_map)
-
+
MCFG_DEVICE_ADD("prot_chip", NB1412M2, XTAL(8'000'000)) // divided by 2 maybe
MACHINE_CONFIG_END
@@ -1209,7 +1209,7 @@ GAME( 1986, dangar, 0, galivan, dangar, galivan_state, 0, ROT27
GAME( 1986, dangara, dangar, galivan, dangar2, galivan_state, 0, ROT270, "Nichibutsu", "Ufo Robo Dangar (12/1/1986)", MACHINE_SUPPORTS_SAVE )
GAME( 1986, dangarj, dangar, dangarj, dangar2, dangarj_state, 0, ROT270, "Nichibutsu", "Ufo Robo Dangar (9/26/1986, Japan)", MACHINE_SUPPORTS_SAVE|MACHINE_IMPERFECT_SOUND ) // wrong BGM in game, no SFXs
GAME( 1986, dangarb, dangar, galivan, dangar2, galivan_state, 0, ROT270, "Nichibutsu", "Ufo Robo Dangar (9/26/1986, bootleg set 1)", MACHINE_SUPPORTS_SAVE ) // checks protection like dangarj but check readback is patched at 0x9d58 (also checks i/o port 0xc0?)
-GAME( 1986, dangarbt, dangar, galivan, dangarb, galivan_state, 0, ROT270, "bootleg", "Ufo Robo Dangar (9/26/1986, bootleg set 2)", MACHINE_SUPPORTS_SAVE ) // directly patched at entry point 0x9d44
+GAME( 1986, dangarbt, dangar, galivan, dangarb, galivan_state, 0, ROT270, "bootleg", "Ufo Robo Dangar (9/26/1986, bootleg set 2)", MACHINE_SUPPORTS_SAVE ) // directly patched at entry point 0x9d44
GAME( 1986, ninjemak, 0, ninjemak, ninjemak, galivan_state, 0, ROT270, "Nichibutsu", "Ninja Emaki (US)", MACHINE_SUPPORTS_SAVE|MACHINE_UNEMULATED_PROTECTION )
GAME( 1986, youma, ninjemak, ninjemak, ninjemak, galivan_state, 0, ROT270, "Nichibutsu", "Youma Ninpou Chou (Japan)", MACHINE_SUPPORTS_SAVE|MACHINE_UNEMULATED_PROTECTION )
GAME( 1986, youma2, ninjemak, ninjemak, ninjemak, galivan_state, 0, ROT270, "Nichibutsu", "Youma Ninpou Chou (Japan, alt)", MACHINE_SUPPORTS_SAVE|MACHINE_UNEMULATED_PROTECTION )
diff --git a/src/mame/drivers/goldstar.cpp b/src/mame/drivers/goldstar.cpp
index 6356fc567e9..e304503bda3 100644
--- a/src/mame/drivers/goldstar.cpp
+++ b/src/mame/drivers/goldstar.cpp
@@ -10791,7 +10791,7 @@ ROM_START( jkrmast )
ROM_REGION( 0x20000, "gfx1", 0 )
ROM_LOAD( "2000b.u48", 0x00000, 0x20000, CRC(e7b406ec) SHA1(c0a10cf8bf5467ecfe3c90e6897db3ab9aae0127) )
-
+
ROM_REGION( 0x20000, "gfx2", 0 )
ROM_LOAD( "2000a.u41", 0x00000, 0x20000, CRC(cb8b1563) SHA1(c8c3ae646a9f3a7482d83566e4b3e18441c5d67f) )
@@ -10808,7 +10808,7 @@ ROM_START( jkrmasta )
ROM_REGION( 0x20000, "gfx1", 0 )
ROM_LOAD( "2000b.u48", 0x00000, 0x20000, CRC(e7b406ec) SHA1(c0a10cf8bf5467ecfe3c90e6897db3ab9aae0127) )
-
+
ROM_REGION( 0x20000, "gfx2", 0 )
ROM_LOAD( "2000a.u41", 0x00000, 0x20000, CRC(cb8b1563) SHA1(c8c3ae646a9f3a7482d83566e4b3e18441c5d67f) )
diff --git a/src/mame/drivers/hp9k_3xx.cpp b/src/mame/drivers/hp9k_3xx.cpp
index 7b8deade4d6..1e9c07c1fe2 100644
--- a/src/mame/drivers/hp9k_3xx.cpp
+++ b/src/mame/drivers/hp9k_3xx.cpp
@@ -319,7 +319,7 @@ READ16_MEMBER(hp9k3xx_state::buserror16_r)
{
m_maincpu->set_input_line(M68K_LINE_BUSERROR, ASSERT_LINE);
m_maincpu->set_input_line(M68K_LINE_BUSERROR, CLEAR_LINE);
- m_lastpc = machine().device<cpu_device>("maincpu")->pc();
+ m_lastpc = machine().device<cpu_device>("maincpu")->pc();
return 0;
}
diff --git a/src/mame/drivers/hvyunit.cpp b/src/mame/drivers/hvyunit.cpp
index 0dad3072b2f..4b62abc8f0c 100644
--- a/src/mame/drivers/hvyunit.cpp
+++ b/src/mame/drivers/hvyunit.cpp
@@ -111,7 +111,7 @@ public:
required_device<generic_latch_8_device> m_soundlatch;
required_device<generic_latch_8_device> m_mermaidlatch;
required_device<generic_latch_8_device> m_slavelatch;
-
+
required_memory_bank m_masterbank;
required_memory_bank m_slavebank;
required_memory_bank m_soundbank;
diff --git a/src/mame/drivers/konblands.cpp b/src/mame/drivers/konblands.cpp
index 657cc362699..518c9936607 100644
--- a/src/mame/drivers/konblands.cpp
+++ b/src/mame/drivers/konblands.cpp
@@ -186,7 +186,7 @@ void konblands_state::konblandsh_map(address_map &map)
static INPUT_PORTS_START( konblands )
PORT_START("DSW1")
- PORT_DIPNAME( 0xff, 0xff, DEF_STR( Coinage ) ) PORT_DIPLOCATION("DSW1:1,2,3,4,5,6,7,8")
+ PORT_DIPNAME( 0xff, 0xff, DEF_STR( Coinage ) ) PORT_DIPLOCATION("DSW1:1,2,3,4,5,6,7,8")
PORT_DIPSETTING( 0x22, DEF_STR( 4C_1C ) )
PORT_DIPSETTING( 0x55, DEF_STR( 3C_1C ) )
PORT_DIPSETTING( 0x88, DEF_STR( 2C_1C ) )
@@ -205,18 +205,18 @@ static INPUT_PORTS_START( konblands )
PORT_DIPSETTING( 0x00, DEF_STR( Free_Play ) )
PORT_START("DSW2")
- PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) ) PORT_DIPLOCATION("DSW2:1,2")
+ PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) ) PORT_DIPLOCATION("DSW2:1,2")
PORT_DIPSETTING( 0x03, "2")
PORT_DIPSETTING( 0x02, "3")
PORT_DIPSETTING( 0x01, "5")
PORT_DIPSETTING( 0x00, "7")
- /* SW3-SW7 NOT IN USE. Keep switches in OFF position (per manual) */
+ /* SW3-SW7 NOT IN USE. Keep switches in OFF position (per manual) */
PORT_DIPUNUSED_DIPLOC( 0x04, 0x04, "DSW2:3" )
PORT_DIPUNUSED_DIPLOC( 0x08, 0x08, "DSW2:4" )
PORT_DIPUNUSED_DIPLOC( 0x10, 0x10, "DSW2:5" )
PORT_DIPUNUSED_DIPLOC( 0x20, 0x20, "DSW2:6" )
PORT_DIPUNUSED_DIPLOC( 0x40, 0x40, "DSW2:7" )
- PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("DSW2:8")
+ PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("DSW2:8")
PORT_DIPSETTING( 0x80, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
diff --git a/src/mame/drivers/legionna.cpp b/src/mame/drivers/legionna.cpp
index b52b243f60c..456ad6ce03b 100644
--- a/src/mame/drivers/legionna.cpp
+++ b/src/mame/drivers/legionna.cpp
@@ -270,8 +270,8 @@ void legionna_state::godzilla_map(address_map &map)
map(0x106800, 0x106fff).ram();
map(0x107000, 0x107fff).ram(); /*Ani-DSP ram*/
map(0x108000, 0x11ffff).ram();
-// map(0xff0000, 0xffffff).ram(); // game reads here at Biollante stage in story mode (i.e. when Super X starts shooting).
- // Development leftover/coding bug? Game doesn't seem to care at all anyway.
+// map(0xff0000, 0xffffff).ram(); // game reads here at Biollante stage in story mode (i.e. when Super X starts shooting).
+ // Development leftover/coding bug? Game doesn't seem to care at all anyway.
}
// additional z80 i/o port, present only in Godzilla (512KB OKI ROM vs 256KB)
@@ -290,7 +290,7 @@ void legionna_state::godzilla_sound_io_map(address_map &map)
map(0x00, 0x00).w(this, FUNC(legionna_state::godzilla_oki_bank_w));
}
-// Denjin Makai: Looks like they specifically swapped address line A1 in this range?
+// Denjin Makai: Looks like they specifically swapped address line A1 in this range?
// Initially thought it was a palette DMA mode 4 but it doesn't apply for Godzilla, causing color bugs in the background tilemap.
WRITE16_MEMBER(legionna_state::palette_swap_w)
{
diff --git a/src/mame/drivers/model1.cpp b/src/mame/drivers/model1.cpp
index d6a40ee1b67..f0b5777a256 100644
--- a/src/mame/drivers/model1.cpp
+++ b/src/mame/drivers/model1.cpp
@@ -1067,15 +1067,15 @@ INPUT_PORTS_END
ROM_REGION32_LE( 0x40000, "copro_tables", 0 ) \
ROM_LOAD32_WORD("opr14742.bin", 0x000000, 0x20000, CRC(446a1085) SHA1(51b3f4d3a35a36087ea0ba4e26d6e7d17b6418e2) ) \
ROM_LOAD32_WORD("opr14743.bin", 0x000002, 0x20000, CRC(e8953554) SHA1(1499f8e30ac15affc66e6f04ae031bb8680d9260) ) \
- \
+ \
ROM_REGION32_LE( 0x80000, "other_data", 0 ) \
- /* 1/x table */ \
+ /* 1/x table */ \
ROM_LOAD32_WORD("opr-14744.58", 0x000000, 0x20000, CRC(730ea9e0) SHA1(651f1db4089a400d073b19ada299b4b08b08f372) ) \
ROM_LOAD32_WORD("opr-14745.59", 0x000002, 0x20000, CRC(4c934d96) SHA1(e3349ece0e47f684d61ad11bfea4a90602287350) ) \
/* 1/sqrt(x) table */ \
ROM_LOAD32_WORD("opr-14746.62", 0x040000, 0x20000, CRC(2a266cbd) SHA1(34e047a93459406c22acf4c25089d1a4955f94ca) ) \
ROM_LOAD32_WORD("opr-14747.63", 0x040002, 0x20000, CRC(a4ad5e19) SHA1(7d7ec300eeb9a8de1590011e37108688c092f329) ) \
- \
+ \
ROM_REGION16_LE( 0x20000, "other_other_data", 0 ) \
/* 1/(1+x) again, but bottom 16 bits only */ \
ROM_LOAD("opr14748.bin", 0x000000, 0x20000, CRC(4a532cb8) SHA1(23280ebbcd6b2bc8a8e643a2d07a58d6598301b8) ) \
diff --git a/src/mame/drivers/model2.cpp b/src/mame/drivers/model2.cpp
index 251e4b755f0..ed5585b06ed 100644
--- a/src/mame/drivers/model2.cpp
+++ b/src/mame/drivers/model2.cpp
@@ -2955,12 +2955,12 @@ OPR-14747 / Linked to 315-5679B
// TODO: roms 58/59 and 62/63 aren't really used so far, actually they should be 32_word loaded too?
// the 'a' versions have the atan table fixed compared to model 1
#define MODEL2_CPU_BOARD \
- ROM_REGION32_LE( 0x40000, "copro_tgp_tables", 0 ) \
+ ROM_REGION32_LE( 0x40000, "copro_tgp_tables", 0 ) \
ROM_LOAD32_WORD("opr-14742a.45", 0x000000, 0x20000, CRC(90c6b117) SHA1(f46429fffcee17d056f56d5fe035a33f1fd6c27e) ) \
ROM_LOAD32_WORD("opr-14743a.46", 0x000002, 0x20000, CRC(ae7f446b) SHA1(5b9f1fc47caf21e061e930c0d72804e4ec8c7bca) ) \
- \
+ \
ROM_REGION32_LE( 0x80000, "other_data", 0 ) \
- /* 1/x table */ \
+ /* 1/x table */ \
ROM_LOAD32_WORD("opr-14744.58", 0x000000, 0x20000, CRC(730ea9e0) SHA1(651f1db4089a400d073b19ada299b4b08b08f372) ) \
ROM_LOAD32_WORD("opr-14745.59", 0x000002, 0x20000, CRC(4c934d96) SHA1(e3349ece0e47f684d61ad11bfea4a90602287350) ) \
/* 1/sqrt(x) table */ \
diff --git a/src/mame/drivers/prodigy.cpp b/src/mame/drivers/prodigy.cpp
index d50482735f6..12246aace05 100644
--- a/src/mame/drivers/prodigy.cpp
+++ b/src/mame/drivers/prodigy.cpp
@@ -214,7 +214,7 @@ NETDEV_LOGIC_CALLBACK_MEMBER(prodigy_state::bcd_bit7_cb) { if (data != 0) m_digi
void prodigy_state::device_start()
{
- m_digits.resolve();
+ m_digits.resolve();
memset(m_line, 0, sizeof(m_line));
#if HTTPUI
m_server = machine().manager().http();
diff --git a/src/mame/drivers/rad_eu3a14.cpp b/src/mame/drivers/rad_eu3a14.cpp
index 5a26570b0b0..efc1021f979 100644
--- a/src/mame/drivers/rad_eu3a14.cpp
+++ b/src/mame/drivers/rad_eu3a14.cpp
@@ -11,7 +11,7 @@
Known to be on this hardware
Golden Tee Golf Home Edition (developed by FarSight Studios)
- Connectv Football (developed by Medialink)
+ Connectv Football (developed by Medialink)
Also on this hardware
@@ -207,7 +207,7 @@ void radica_eu3a14_state::handle_palette(screen_device &screen, bitmap_ind16 &bi
void radica_eu3a14_state::draw_page(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect, int which, int xbase, int ybase, int size)
{
gfx_element *gfx;
-
+
int base = (m_tilebase[1] << 8) | m_tilebase[0];
if (m_tilecfg[2] & 0x04)
{
diff --git a/src/mame/drivers/sg1000.cpp b/src/mame/drivers/sg1000.cpp
index 9a10230bf94..e3eb180700b 100644
--- a/src/mame/drivers/sg1000.cpp
+++ b/src/mame/drivers/sg1000.cpp
@@ -196,12 +196,12 @@ void sg1000_state::sc3000_io_map(address_map &map)
/* This is how the I/O ports are really mapped, but MAME does not support overlapping ranges
void sg1000_state::sc3000_io_map(address_map &map)
{
- map.global_mask(0xff);
- map(0x00, 0x00).mirror(0xdf).rw(UPD9255_TAG, FUNC(i8255_device::read), FUNC(i8255_device::write));
- map(0x00, 0x00).mirror(0x7f).w(SN76489AN_TAG, FUNC(sn76489a_device::write));
- map(0x00, 0x00).mirror(0xae).rw(TMS9918A_TAG, FUNC(tms9918a_device::vram_read), FUNC(tms9918a_device::vram_write));
- map(0x01, 0x01).mirror(0xae).rw(TMS9918A_TAG, FUNC(tms9918a_device::register_read), FUNC(tms9918a_device::register_write));
- map(0x60, 0x60).mirror(0x9f).r(this, FUNC(sg1000_state::sc3000_r_r));
+ map.global_mask(0xff);
+ map(0x00, 0x00).mirror(0xdf).rw(UPD9255_TAG, FUNC(i8255_device::read), FUNC(i8255_device::write));
+ map(0x00, 0x00).mirror(0x7f).w(SN76489AN_TAG, FUNC(sn76489a_device::write));
+ map(0x00, 0x00).mirror(0xae).rw(TMS9918A_TAG, FUNC(tms9918a_device::vram_read), FUNC(tms9918a_device::vram_write));
+ map(0x01, 0x01).mirror(0xae).rw(TMS9918A_TAG, FUNC(tms9918a_device::register_read), FUNC(tms9918a_device::register_write));
+ map(0x60, 0x60).mirror(0x9f).r(this, FUNC(sg1000_state::sc3000_r_r));
}
*/
diff --git a/src/mame/drivers/slapshot.cpp b/src/mame/drivers/slapshot.cpp
index 61252006259..ee0c571fdf4 100644
--- a/src/mame/drivers/slapshot.cpp
+++ b/src/mame/drivers/slapshot.cpp
@@ -261,7 +261,7 @@ void slapshot_state::opwolf3_map(address_map &map)
map(0xc00020, 0xc0002f).r(this, FUNC(slapshot_state::service_input_r)); /* service mirror */
map(0xd00000, 0xd00003).rw(this, FUNC(slapshot_state::msb_sound_r), FUNC(slapshot_state::msb_sound_w));
map(0xe00000, 0xe0000f).rw("adc", FUNC(adc0808_device::data_r), FUNC(adc0808_device::address_offset_start_w)).umask16(0xff00);
-// map(0xe80000, 0xe80001) // gun recoil here?
+// map(0xe80000, 0xe80001) // gun recoil here?
}
diff --git a/src/mame/drivers/smc777.cpp b/src/mame/drivers/smc777.cpp
index 126f66caca7..fb5c4594d5d 100644
--- a/src/mame/drivers/smc777.cpp
+++ b/src/mame/drivers/smc777.cpp
@@ -101,7 +101,7 @@ public:
DECLARE_WRITE8_MEMBER(floppy_select_w);
DECLARE_WRITE_LINE_MEMBER(fdc_intrq_w);
DECLARE_WRITE_LINE_MEMBER(fdc_drq_w);
-
+
DECLARE_QUICKLOAD_LOAD_MEMBER(smc777);
void smc777(machine_config &config);
diff --git a/src/mame/drivers/splus.cpp b/src/mame/drivers/splus.cpp
index 7208d09f72e..6553a1a43a1 100644
--- a/src/mame/drivers/splus.cpp
+++ b/src/mame/drivers/splus.cpp
@@ -112,7 +112,7 @@ private:
uint8_t m_stop_pos[5];
virtual void machine_start() override
- {
+ {
m_digits.resolve();
m_leds.resolve();
}
diff --git a/src/mame/drivers/ssv.cpp b/src/mame/drivers/ssv.cpp
index d83f3334753..c26cc8f466d 100644
--- a/src/mame/drivers/ssv.cpp
+++ b/src/mame/drivers/ssv.cpp
@@ -4777,7 +4777,7 @@ GAME( 1994, twineag2, 0, twineag2, twineag2, ssv_state, twineag2, ROT27
GAME( 1995, gdfs, 0, gdfs, gdfs, ssv_state, gdfs, ROT0, "Banpresto", "Mobil Suit Gundam Final Shooting (Japan)", MACHINE_NO_COCKTAIL | MACHINE_SUPPORTS_SAVE )
-// Ultra X Weapon: "developed by Seta" in ending screen
+// Ultra X Weapon: "developed by Seta" in ending screen
GAME( 1995, ultrax, 0, ultrax, ultrax, ssv_state, ultrax, ROT270, "Banpresto / Tsuburaya Productions / Seta", "Ultra X Weapons / Ultra Keibitai", MACHINE_NO_COCKTAIL | MACHINE_IMPERFECT_GRAPHICS | MACHINE_SUPPORTS_SAVE ) // 95-01-30 13:27:15 on startup
GAME( 1995, ultraxg, ultrax, ultrax, ultrax, ssv_state, ultrax, ROT270, "Banpresto / Tsuburaya Productions / Seta", "Ultra X Weapons / Ultra Keibitai (GAMEST review build)", MACHINE_NO_COCKTAIL | MACHINE_IMPERFECT_GRAPHICS | MACHINE_SUPPORTS_SAVE ) // 95-02-16 15:30:24 on startup (newer, but could have pause functionality due to being a review build so left as clone)
diff --git a/src/mame/drivers/symbolics.cpp b/src/mame/drivers/symbolics.cpp
index bcfe13ebbde..63432c0903a 100644
--- a/src/mame/drivers/symbolics.cpp
+++ b/src/mame/drivers/symbolics.cpp
@@ -358,7 +358,7 @@ ROM_START( s3670 )
ROM_REGION16_BE( 0x20,"fep_prom", 0)
ROM_LOAD("fep-3973.d5", 0x0000, 0x0020, CRC(29910aa0) SHA1(433ea99b8e21055abb80bebc1d7dfc9e3aacd097)) // nFEP S/N 3973
// note: load all the PLAs, PALs and PROMs here
-
+
// picture is at https://4310b1a9-a-11c96037-s-sites.googlegroups.com/a/ricomputermuseum.org/home/Home/equipment/symbolics-3645/Symbolics_3645_FEP.jpg
/*
LBBUFA.4 mb7124 @A6 <- 4887235 page 630 has LBBUFC.UCODE rev27 \
diff --git a/src/mame/drivers/system16.cpp b/src/mame/drivers/system16.cpp
index 2cfe32a6707..0013bc2aa1c 100644
--- a/src/mame/drivers/system16.cpp
+++ b/src/mame/drivers/system16.cpp
@@ -1291,15 +1291,15 @@ void segas1x_bootleg_state::mwalkbl_map(address_map &map)
/* bootleg video regs */
/* map(0xc00000, 0xc00001).nop();
- map(0xc00002, 0xc00003).nop();
- map(0xc00004, 0xc00005).nop(); // tile bank?
- map(0xc00006, 0xc00007).nop();
- map(0xc44000, 0xc44001).nop();
- map(0xc46000, 0xc46001).nop();
- map(0xc46200, 0xc46201).nop();
- map(0xc46400, 0xc464ff).nop(); // scroll?
- map(0xc46500, 0xc465ff).nop(); // scroll?
- */
+ map(0xc00002, 0xc00003).nop();
+ map(0xc00004, 0xc00005).nop(); // tile bank?
+ map(0xc00006, 0xc00007).nop();
+ map(0xc44000, 0xc44001).nop();
+ map(0xc46000, 0xc46001).nop();
+ map(0xc46200, 0xc46201).nop();
+ map(0xc46400, 0xc464ff).nop(); // scroll?
+ map(0xc46500, 0xc465ff).nop(); // scroll?
+ */
map(0xc40000, 0xc40001).portr("COINAGE");
map(0xc40002, 0xc40003).portr("DSW1");
diff --git a/src/mame/drivers/taitottl.cpp b/src/mame/drivers/taitottl.cpp
index e0946626043..73cc33bc564 100644
--- a/src/mame/drivers/taitottl.cpp
+++ b/src/mame/drivers/taitottl.cpp
@@ -314,15 +314,15 @@ TT Speed Race Color
label loc. Part # Use?
==========================================================
-TOP PCB: [CEN00008 CE070013 CE-44 B]
+TOP PCB: [CEN00008 CE070013 CE-44 B]
CE01 7J Harris 7643
- SD06 4D Harris 7643
+ SD06 4D Harris 7643
SD07 4C Harris 7643
SD05 5B MMI 6301
-MIDDLE PCB: [CEN00007 CE070012 CE-44]
- CR11 4A MMI 6301
- CR11 4J MMI 6301
+MIDDLE PCB: [CEN00007 CE070012 CE-44]
+ CR11 4A MMI 6301
+ CR11 4J MMI 6301
TE-01 2B Harris 7643
BOTTOM PCB: [CEN00006 CE070011 CE-44 B]
@@ -339,19 +339,19 @@ ROM_START( ttsracec )
ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
ROM_REGION( 0x0800, "roms", ROMREGION_ERASE00 )
- ROM_LOAD( "ce01.7j", 0x0000, 0x0800, CRC(277cd3ca) SHA1(9493f3b4575a10d0b243446d92fdc56a540bc0e4) )
- ROM_LOAD( "sd06.4d", 0x0000, 0x0800, CRC(2ff92235) SHA1(7be446300937362e365b85181d90006e901534aa) )
- ROM_LOAD( "sd07.4c", 0x0000, 0x0800, CRC(38b69397) SHA1(6a072e74d4537c8128bf4a3b91f5636640f2472f) )
- ROM_LOAD( "sd05.5b", 0x0000, 0x0100, CRC(d10920ee) SHA1(39bcff62a028373193875f873a76a42b9105a647) )
+ ROM_LOAD( "ce01.7j", 0x0000, 0x0800, CRC(277cd3ca) SHA1(9493f3b4575a10d0b243446d92fdc56a540bc0e4) )
+ ROM_LOAD( "sd06.4d", 0x0000, 0x0800, CRC(2ff92235) SHA1(7be446300937362e365b85181d90006e901534aa) )
+ ROM_LOAD( "sd07.4c", 0x0000, 0x0800, CRC(38b69397) SHA1(6a072e74d4537c8128bf4a3b91f5636640f2472f) )
+ ROM_LOAD( "sd05.5b", 0x0000, 0x0100, CRC(d10920ee) SHA1(39bcff62a028373193875f873a76a42b9105a647) )
ROM_LOAD( "cr11.4a", 0x0000, 0x0100, CRC(b3250118) SHA1(ab8bfa11b112b03b8ff00b09b3e6d9b221051ad2) )
- ROM_LOAD( "cr11.4j", 0x0000, 0x0100, CRC(b3250118) SHA1(ab8bfa11b112b03b8ff00b09b3e6d9b221051ad2) )
- ROM_LOAD( "te-01.2b", 0x0000, 0x0800, CRC(1bafaae6) SHA1(5b6dcdf1e2f3842b0a7313cbd308ae312a675298) )
+ ROM_LOAD( "cr11.4j", 0x0000, 0x0100, CRC(b3250118) SHA1(ab8bfa11b112b03b8ff00b09b3e6d9b221051ad2) )
+ ROM_LOAD( "te-01.2b", 0x0000, 0x0800, CRC(1bafaae6) SHA1(5b6dcdf1e2f3842b0a7313cbd308ae312a675298) )
- ROM_LOAD( "sd08.5e", 0x0000, 0x0020, CRC(a0fc7c02) SHA1(ea2cf44ab64bfa8d5f9105069a8f38dc75505c30) )
- ROM_LOAD( "sd09.5d", 0x0000, 0x0020, CRC(6e4fa64e) SHA1(04368bcdb2e91a17cd7815ee98ad846bb9732d9b) )
- ROM_LOAD( "sd10.6m", 0x0000, 0x0020, CRC(402e0c59) SHA1(a8e43fe7c2f194ae49977e8ef753049f6b378937) )
- ROM_LOAD( "red.2h", 0x0000, 0x0020, CRC(43a3b7ff) SHA1(a1ff087f7aba211a021a8ead688a3a8780d34174) )
+ ROM_LOAD( "sd08.5e", 0x0000, 0x0020, CRC(a0fc7c02) SHA1(ea2cf44ab64bfa8d5f9105069a8f38dc75505c30) )
+ ROM_LOAD( "sd09.5d", 0x0000, 0x0020, CRC(6e4fa64e) SHA1(04368bcdb2e91a17cd7815ee98ad846bb9732d9b) )
+ ROM_LOAD( "sd10.6m", 0x0000, 0x0020, CRC(402e0c59) SHA1(a8e43fe7c2f194ae49977e8ef753049f6b378937) )
+ ROM_LOAD( "red.2h", 0x0000, 0x0020, CRC(43a3b7ff) SHA1(a1ff087f7aba211a021a8ead688a3a8780d34174) )
ROM_END
diff --git a/src/mame/drivers/tecmo.cpp b/src/mame/drivers/tecmo.cpp
index ec9a46f9d62..aefbf6a1372 100644
--- a/src/mame/drivers/tecmo.cpp
+++ b/src/mame/drivers/tecmo.cpp
@@ -292,7 +292,7 @@ static INPUT_PORTS_START( tecmo_default )
PORT_START("SYS_2")
PORT_BIT( 0x0f, IP_ACTIVE_HIGH, IPT_UNKNOWN )
-
+
PORT_START("SYS_3")
PORT_BIT( 0x0f, IP_ACTIVE_HIGH, IPT_UNKNOWN )
@@ -591,7 +591,7 @@ static INPUT_PORTS_START( silkwormp )
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON2 )
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_BUTTON1 )
PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_BUTTON3 )
-
+
PORT_MODIFY("JOY2")
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2)
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(2)
@@ -602,13 +602,13 @@ static INPUT_PORTS_START( silkwormp )
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_PLAYER(2)
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_PLAYER(2)
PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_BUTTON3 ) PORT_PLAYER(2)
-
+
PORT_MODIFY("SYS_2")
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_START1 )
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START2 )
PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_COIN2 ) // Coin inputs are switched
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_COIN1 )
-
+
PORT_MODIFY("SYS_3")
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON4 ) // Vehicle swap extra button
@@ -646,7 +646,7 @@ static INPUT_PORTS_START( silkwormp )
PORT_DIPSETTING( 0x06, "200000" )
PORT_DIPSETTING( 0x07, DEF_STR( None ) )
PORT_DIPNAME( 0x70, 0x60, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:!5,!6,!7")
- PORT_DIPSETTING( 0x00, "1" )
+ PORT_DIPSETTING( 0x00, "1" )
PORT_DIPSETTING( 0x40, "2" ) // from the Tecmo US manual
PORT_DIPSETTING( 0x60, "3" ) // (although conflicting info exists, so unverified)
PORT_DIPSETTING( 0x30, "4" )
@@ -799,7 +799,7 @@ MACHINE_CONFIG_END
MACHINE_CONFIG_START(tecmo_state::silkwormp)
silkworm(config);
-
+
/* bootleg pcb doesn't have the MSM5205 populated */
MCFG_DEVICE_REMOVE("msm")
MCFG_CPU_MODIFY("soundcpu")
@@ -1166,7 +1166,7 @@ ROM_START( silkwormb )
ROM_LOAD( "e10.11", 0x10000, 0x08000, CRC(c0c4687d) SHA1(afe05eb7e5a65c995aeac9ea773ad79eb053303f) ) /* fg tiles TMM24256 */
ROM_LOAD( "silkworm.12", 0x20000, 0x10000, CRC(bb0f568f) SHA1(b66c6d0407ed0b068c6bf07987f1b923d4a6e4f8) ) /* fg tiles TMM24512 */
ROM_LOAD( "e12.13", 0x30000, 0x08000, CRC(fc472811) SHA1(e862ec9b38f3f3a1f4668fbc587063eee8e9e821) ) /* fg tiles 27C256 */
-
+
ROM_REGION( 0x40000, "gfx4", 0 )
ROM_LOAD( "silkworm.14", 0x00000, 0x10000, CRC(409df64b) SHA1(cada970bf9cc8f6522e7a71e00fe873568852873) ) /* bg tiles TMM24512 */
ROM_LOAD( "e14.15", 0x10000, 0x08000, CRC(b02acdb6) SHA1(6be74bb89680b79b3a5d13af638ed5a0bb077dad) ) /* bg tiles 27C256 */
diff --git a/src/mame/drivers/tigeroad.cpp b/src/mame/drivers/tigeroad.cpp
index 225debc1389..467f41f78c2 100644
--- a/src/mame/drivers/tigeroad.cpp
+++ b/src/mame/drivers/tigeroad.cpp
@@ -13,12 +13,12 @@ Please contact Phil Stroffolino (phil@maya.com) if there are any questions
regarding this driver.
TODO:
-- F1 Dream throws an address error if player wins all the races (i.e. when the
+- F1 Dream throws an address error if player wins all the races (i.e. when the
game is supposed to give an ending):
010C68: 102E 001C move.b ($1c,A6), D0 ; reads 0xf from work RAM (misaligned)
010C6C: 207B 000E movea.l ($e,PC,D0.w), A0 ; table from 0x10c7c onward
010C70: 4E90 jsr (A0) ; throws address error here
- None of the available 5 vectors seems to fit here, btanb?
+ None of the available 5 vectors seems to fit here, btanb?
**************************************************************************
diff --git a/src/mame/drivers/vii.cpp b/src/mame/drivers/vii.cpp
index 8e47af0fb1a..25ee804c67a 100644
--- a/src/mame/drivers/vii.cpp
+++ b/src/mame/drivers/vii.cpp
@@ -1581,8 +1581,8 @@ ROM_START( rad_sktv )
/* The external scanner MCU is a Winbond from 2000: SA5641
the scanner plays sound effects when scanning, without being connected to the main unit, so a way to dump / emulate
- this MCU is also needed for complete emulation
-
+ this MCU is also needed for complete emulation
+
TODO: find details on MCU so that we know capacity etc. */
ROM_END
diff --git a/src/mame/drivers/vp415.cpp b/src/mame/drivers/vp415.cpp
index 6d8d1025a6c..4283d6e8603 100644
--- a/src/mame/drivers/vp415.cpp
+++ b/src/mame/drivers/vp415.cpp
@@ -4,39 +4,39 @@
Skeleton driver for Philips VP415 LV ROM Player
- List of Modules:
- A - Audio Processor
- B - RGB
- C - Video Processor
- D - Ref Source
- E - Slide Drive
- F - Motor+Sequence
- G - Gen Lock
- H - ETBC B
- I - ETBC C
- J - Focus
- K - HF Processor
- L - Video Dropout Correction
- M - Radial
- N - Display Keyboard
- P - Front Loader
- Q - RC5 Mirror
- R - Drive Processor
- S - Control
- T - Supply
- U - Analog I/O
- V - Module Carrier
- W - CPU Datagrabber
- X - LV ROM
- Y - Vid Mix
- Z - Deck Electronics
-
- TODO:
- - Module W has a NEC D8041AHC which has not yet been dumped. A dump
- will be necessary to properly emulate the player.
- - Driver currently fails the initial self-test with code 053. Per
- the service manual, code 053 means "no lead-in code at start-up of
- player (diagnostics)".
+ List of Modules:
+ A - Audio Processor
+ B - RGB
+ C - Video Processor
+ D - Ref Source
+ E - Slide Drive
+ F - Motor+Sequence
+ G - Gen Lock
+ H - ETBC B
+ I - ETBC C
+ J - Focus
+ K - HF Processor
+ L - Video Dropout Correction
+ M - Radial
+ N - Display Keyboard
+ P - Front Loader
+ Q - RC5 Mirror
+ R - Drive Processor
+ S - Control
+ T - Supply
+ U - Analog I/O
+ V - Module Carrier
+ W - CPU Datagrabber
+ X - LV ROM
+ Y - Vid Mix
+ Z - Deck Electronics
+
+ TODO:
+ - Module W has a NEC D8041AHC which has not yet been dumped. A dump
+ will be necessary to properly emulate the player.
+ - Driver currently fails the initial self-test with code 053. Per
+ the service manual, code 053 means "no lead-in code at start-up of
+ player (diagnostics)".
***************************************************************************/
@@ -618,13 +618,13 @@ WRITE8_MEMBER(vp415_state::drive_cpu_port1_w)
//READ_LINE_MEMBER(vp415_state::drive_rxd_r)
//{
-// logerror("%s: drive_rxd_r: %d\n", machine().describe_context(), 0);
-// return 0;
+// logerror("%s: drive_rxd_r: %d\n", machine().describe_context(), 0);
+// return 0;
//}
//WRITE_LINE_MEMBER(vp415_state::drive_txd_w)
//{
-// logerror("%s: drive_txd_w: %d\n", machine().describe_context(), state);
+// logerror("%s: drive_txd_w: %d\n", machine().describe_context(), state);
//}
WRITE8_MEMBER(vp415_state::drive_cpu_port3_w)
{
diff --git a/src/mame/drivers/warpwarp.cpp b/src/mame/drivers/warpwarp.cpp
index 07b270106e1..436e7cf5ccb 100644
--- a/src/mame/drivers/warpwarp.cpp
+++ b/src/mame/drivers/warpwarp.cpp
@@ -123,13 +123,13 @@ Notes:
- There are images/videos on the net of kaitei and geebee running in 3bpp
(aka 7 colors), this is assumed to be a homebrew repair or hack.
- Update: Gee Bee definitely uses an overlay while kaitei actually outputs
+ Update: Gee Bee definitely uses an overlay while kaitei actually outputs
colors depending on the monitor type used (color or b&w).
- sos is the odd one: it seems to be running in a b&w environment but a pic
- on the net shows it with reversed black and white compared to current
- implementation.
- Also the flyer shows the girl to be colorized purple, while the points
- numbers are in cyan and text in red (and this arrangement doesn't
+ sos is the odd one: it seems to be running in a b&w environment but a pic
+ on the net shows it with reversed black and white compared to current
+ implementation.
+ Also the flyer shows the girl to be colorized purple, while the points
+ numbers are in cyan and text in red (and this arrangement doesn't
make much sense, different version maybe?).
***************************************************************************/
diff --git a/src/mame/drivers/xavix.cpp b/src/mame/drivers/xavix.cpp
index 451b9cecca9..04c727b7890 100644
--- a/src/mame/drivers/xavix.cpp
+++ b/src/mame/drivers/xavix.cpp
@@ -631,7 +631,7 @@ MACHINE_CONFIG_END
DRIVER_INIT_MEMBER(xavix_state, xavix)
{
- m_rgnlen = memregion("bios")->bytes();
+ m_rgnlen = memregion("bios")->bytes();
m_rgn = memregion("bios")->base();
}
diff --git a/src/mame/etc/korgm1.cpp b/src/mame/etc/korgm1.cpp
index 2cc318bf347..f65a3a0a67d 100644
--- a/src/mame/etc/korgm1.cpp
+++ b/src/mame/etc/korgm1.cpp
@@ -59,7 +59,7 @@ void korgm1_state::korgm1_map(address_map &map)
map(0x00000, 0x0ffff).ram(); // 64 KB
// map(0x50000, 0x57fff).ram(); // memory card 32 KB
map(0xe0000, 0xfffff).rom().region("ipl", 0);
-}
+}
void korgm1_state::korgm1_io(address_map &map)
{
diff --git a/src/mame/includes/airbustr.h b/src/mame/includes/airbustr.h
index 85f1f39d23e..a2a9927ceaf 100644
--- a/src/mame/includes/airbustr.h
+++ b/src/mame/includes/airbustr.h
@@ -39,7 +39,7 @@ public:
required_shared_ptr<uint8_t> m_devram;
required_shared_ptr_array<uint8_t, 2> m_videoram;
required_shared_ptr_array<uint8_t, 2> m_colorram;
-
+
required_memory_bank m_masterbank;
required_memory_bank m_slavebank;
required_memory_bank m_audiobank;
diff --git a/src/mame/includes/coolpool.h b/src/mame/includes/coolpool.h
index 89f1c124487..fdc40b33848 100644
--- a/src/mame/includes/coolpool.h
+++ b/src/mame/includes/coolpool.h
@@ -25,7 +25,7 @@ public:
required_device<tms34010_device> m_maincpu;
required_device<cpu_device> m_dsp;
optional_device<tlc34076_device> m_tlc34076;
-
+
required_device<generic_latch_16_device> m_main2dsp;
required_device<generic_latch_16_device> m_dsp2main;
diff --git a/src/mame/includes/djboy.h b/src/mame/includes/djboy.h
index c61cce140a6..4b65463fe03 100644
--- a/src/mame/includes/djboy.h
+++ b/src/mame/includes/djboy.h
@@ -44,7 +44,7 @@ public:
/* ROM banking */
uint8_t m_bankxor;
-
+
required_memory_bank m_masterbank;
required_memory_bank m_slavebank;
required_memory_bank m_soundbank;
diff --git a/src/mame/includes/legionna.h b/src/mame/includes/legionna.h
index 871ae136255..4f3c9c01e59 100644
--- a/src/mame/includes/legionna.h
+++ b/src/mame/includes/legionna.h
@@ -68,7 +68,7 @@ public:
DECLARE_WRITE16_MEMBER(heatbrl_setgfxbank);
DECLARE_WRITE16_MEMBER(grainbow_layer_config_w);
DECLARE_WRITE16_MEMBER(palette_swap_w);
-
+
DECLARE_DRIVER_INIT(legiongfx);
DECLARE_DRIVER_INIT(cupsoc_debug);
DECLARE_DRIVER_INIT(cupsoc);
diff --git a/src/mame/includes/xavix.h b/src/mame/includes/xavix.h
index c755f9bbb48..e6975c2f07c 100644
--- a/src/mame/includes/xavix.h
+++ b/src/mame/includes/xavix.h
@@ -100,7 +100,7 @@ private:
DECLARE_WRITE8_MEMBER(xavix_7a01_w);
DECLARE_WRITE8_MEMBER(xavix_7a02_w);
DECLARE_WRITE8_MEMBER(xavix_7a03_w);
-
+
DECLARE_WRITE8_MEMBER(irq_enable_w);
DECLARE_WRITE8_MEMBER(irq_vector0_lo_w);
DECLARE_WRITE8_MEMBER(irq_vector0_hi_w);
diff --git a/src/mame/machine/315_5338a.h b/src/mame/machine/315_5338a.h
index 8b53fdf0698..82f37376fd5 100644
--- a/src/mame/machine/315_5338a.h
+++ b/src/mame/machine/315_5338a.h
@@ -11,10 +11,10 @@
configuration where one controller acts as master and sends commands
and data over a serial link to another controller.
- TODO:
- - Serial
- - Slave mode
- - and probably lots more
+ TODO:
+ - Serial
+ - Slave mode
+ - and probably lots more
***************************************************************************/
diff --git a/src/mame/machine/cammu.cpp b/src/mame/machine/cammu.cpp
index 3a8c0156075..cc685b5ecdd 100644
--- a/src/mame/machine/cammu.cpp
+++ b/src/mame/machine/cammu.cpp
@@ -232,8 +232,8 @@ bool cammu_device::memory_translate(const u32 ssw, const int spacenum, const int
{
// translate the address
translated_t translated = translate_address(ssw, address, BYTE,
- (intention & TRANSLATE_TYPE_MASK) == TRANSLATE_READ ? READ :
- (intention & TRANSLATE_TYPE_MASK) == TRANSLATE_WRITE ? WRITE :
+ (intention & TRANSLATE_TYPE_MASK) == TRANSLATE_READ ? READ :
+ (intention & TRANSLATE_TYPE_MASK) == TRANSLATE_WRITE ? WRITE :
EXECUTE);
// check that the requested space number matches the mapped space
diff --git a/src/mame/machine/kr1601rr1.cpp b/src/mame/machine/kr1601rr1.cpp
index 233e69f9adc..2018668c46c 100644
--- a/src/mame/machine/kr1601rr1.cpp
+++ b/src/mame/machine/kr1601rr1.cpp
@@ -6,9 +6,9 @@
Same geometry as GI ER2401, but not pin-compatible.
- To do:
- - realistic timing esp. for ERASE_ALL
- - alternate wirings
+ To do:
+ - realistic timing esp. for ERASE_ALL
+ - alternate wirings
***************************************************************************/
diff --git a/src/mame/machine/kr1601rr1.h b/src/mame/machine/kr1601rr1.h
index e5a48029558..2fa1e3e6f8b 100644
--- a/src/mame/machine/kr1601rr1.h
+++ b/src/mame/machine/kr1601rr1.h
@@ -6,13 +6,13 @@
Same geometry as GI ER2401, but not pin-compatible.
- CS ER PR RD Ax
- -- -- -- -- --
- 0 x x x x idle
- 1 0 1 0 x erase all
- 1 0 0 0 A erase single
- 1 1 0 0 A write
- 1 1 1 1 A read
+ CS ER PR RD Ax
+ -- -- -- -- --
+ 0 x x x x idle
+ 1 0 1 0 x erase all
+ 1 0 0 0 A erase single
+ 1 1 0 0 A write
+ 1 1 1 1 A read
****************************************************************************
_____ _____
diff --git a/src/mame/machine/model1.cpp b/src/mame/machine/model1.cpp
index 92197746908..fc8af68c93e 100644
--- a/src/mame/machine/model1.cpp
+++ b/src/mame/machine/model1.cpp
@@ -1689,7 +1689,7 @@ void model1_state::copro_hle_vf()
next:
u32 f = m_copro_fifo_in->peek(0) >> 23; // Extracts the exponent of the ieee float
- // logerror("function %02x size %d/%d\n", f, int(m_copro_fifo_in->size() - 1), ftab_vf[f].count);
+ // logerror("function %02x size %d/%d\n", f, int(m_copro_fifo_in->size() - 1), ftab_vf[f].count);
if(f < ARRAY_LENGTH(ftab_vf) && ftab_vf[f].cb != nullptr) {
unsigned np = ftab_vf[f].count;
diff --git a/src/mame/machine/model1io.cpp b/src/mame/machine/model1io.cpp
index ad9a90dbada..4b3cd637a3d 100644
--- a/src/mame/machine/model1io.cpp
+++ b/src/mame/machine/model1io.cpp
@@ -5,54 +5,54 @@
Sega Model 1/2 I/O Board
- I/O PCB
- -------
-
- 837-8950-01 (C) SEGA 1992
- |-------------------------------------------|
- | CN6 J3 J2 |
- | CN5|
- | DSW3 LED1 |
- | |
- | SW7 |---------| |
- | 32MHz |SEGA | DSW1 |
- | SW6 |315-5338A| |
- | | | |
- | SW5 |---------| DSW2 |
- | CN1|
- | SW4 MB8464 |
- | 14869.25 |
- | 3771 |
- | Z80 |
- | 93C45 |
- | PC910 PC910 |
- | LED2 J1 |
- | M6253 |
- | CN3 CN2 CN4 TL1 |
- |-------------------------------------------|
- Notes:
- 315-5338A - Sega Custom (QFP100)
- Z80 - Zilog Z0840004PSC Z80 CPU, running at 4.000MHz (DIP40, clock 32 / 8)
- 14869.25 - ST Microelectronics M27C512 64k x8 EPROM (DIP28, labelled 'EPR-14869')
- There is an alternative revision B 'EPR-14869B' also
- MB8464 - Fujitsu MB8464 8k x8 SRAM (DIP28)
- 93C45 - 128bytes x8 EEPROM (DIP8)
- M6253 - OKI M6253 (DIP18)
- 3771 - Fujitsu MB3771 Master Reset IC (DIP8)
- PC910 - Sharp PC910 opto-isolator (x2, DIP8)
- DSW1/2/3 - 8-position Dip Switch (x3)
- J1 - Jumper, set to 2-3
- J2, J3 - Jumper, both set to 1-2
- CN1 - 50 pin connector (joins to control panel assembly)
- CN2 - 26 pin connector (joins to foot pedal assembly)
- CN3 - 10 pin connector for power input
- CN4 - 6 pin connector (joins to sound PCB -> CN2, used for sound communication from Main PCB to Sound PCB)
- CN5 - 12 pin connector for input/output controls
- CN6 - 12 pin connector (joins to Motor PCB)
- TL1 - Connector for network optical cable link
- SW7 - Push Button Service Switch
- SW6 - Push Button Test Switch
- SW5, SW4 - Push Button Switches (purpose unknown)
+ I/O PCB
+ -------
+
+ 837-8950-01 (C) SEGA 1992
+ |-------------------------------------------|
+ | CN6 J3 J2 |
+ | CN5|
+ | DSW3 LED1 |
+ | |
+ | SW7 |---------| |
+ | 32MHz |SEGA | DSW1 |
+ | SW6 |315-5338A| |
+ | | | |
+ | SW5 |---------| DSW2 |
+ | CN1|
+ | SW4 MB8464 |
+ | 14869.25 |
+ | 3771 |
+ | Z80 |
+ | 93C45 |
+ | PC910 PC910 |
+ | LED2 J1 |
+ | M6253 |
+ | CN3 CN2 CN4 TL1 |
+ |-------------------------------------------|
+ Notes:
+ 315-5338A - Sega Custom (QFP100)
+ Z80 - Zilog Z0840004PSC Z80 CPU, running at 4.000MHz (DIP40, clock 32 / 8)
+ 14869.25 - ST Microelectronics M27C512 64k x8 EPROM (DIP28, labelled 'EPR-14869')
+ There is an alternative revision B 'EPR-14869B' also
+ MB8464 - Fujitsu MB8464 8k x8 SRAM (DIP28)
+ 93C45 - 128bytes x8 EEPROM (DIP8)
+ M6253 - OKI M6253 (DIP18)
+ 3771 - Fujitsu MB3771 Master Reset IC (DIP8)
+ PC910 - Sharp PC910 opto-isolator (x2, DIP8)
+ DSW1/2/3 - 8-position Dip Switch (x3)
+ J1 - Jumper, set to 2-3
+ J2, J3 - Jumper, both set to 1-2
+ CN1 - 50 pin connector (joins to control panel assembly)
+ CN2 - 26 pin connector (joins to foot pedal assembly)
+ CN3 - 10 pin connector for power input
+ CN4 - 6 pin connector (joins to sound PCB -> CN2, used for sound communication from Main PCB to Sound PCB)
+ CN5 - 12 pin connector for input/output controls
+ CN6 - 12 pin connector (joins to Motor PCB)
+ TL1 - Connector for network optical cable link
+ SW7 - Push Button Service Switch
+ SW6 - Push Button Test Switch
+ SW5, SW4 - Push Button Switches (purpose unknown)
***************************************************************************/
diff --git a/src/mame/machine/model1io.h b/src/mame/machine/model1io.h
index 70335812482..68f302e094f 100644
--- a/src/mame/machine/model1io.h
+++ b/src/mame/machine/model1io.h
@@ -4,9 +4,9 @@
Sega Model 1/2 I/O Board
- 837-8950-01
- 837-8936
- 837-10539
+ 837-8950-01
+ 837-8936
+ 837-10539
***************************************************************************/
diff --git a/src/mame/machine/nb1412m2.cpp b/src/mame/machine/nb1412m2.cpp
index 047e9e2eda9..3e1c3ba3c84 100644
--- a/src/mame/machine/nb1412m2.cpp
+++ b/src/mame/machine/nb1412m2.cpp
@@ -7,51 +7,51 @@ Nichibutsu 1412M2 device emulation
Written by Angelo Salese
Fancy data decrypter + timer + ?
-Most creative usage is hooked up in Mighty Guy sound CPU,
-other games just uses it as a much simpler protection chip providing code
+Most creative usage is hooked up in Mighty Guy sound CPU,
+other games just uses it as a much simpler protection chip providing code
snippets.
-It is unknown at current stage if inside the chip there's a MCU
+It is unknown at current stage if inside the chip there's a MCU
(with internal ROM).
TODO:
-- understand how Mighty Guy decrypts data (uses port adjuster in a
+- understand how Mighty Guy decrypts data (uses port adjuster in a
different way than the other games);
Legacy notes from drivers:
-- m_mAmazonProtReg[4] bit 0 used on hiscore data (clear on code),
- 0x29f vs 0x29e (not an offset?)
+- m_mAmazonProtReg[4] bit 0 used on hiscore data (clear on code),
+ 0x29f vs 0x29e (not an offset?)
- static const uint16_t mAmazonProtData[] =
{
- 0x0000,0x5000,0x5341,0x4b45,0x5349,0x4755,0x5245, <- default high scores (0x40db4) - wrong data ?
- 0x0000,0x4000,0x0e4b,0x4154,0x5544,0x4f4e,0x0e0e,
- 0x0000,0x3000,0x414e,0x4b41,0x4b45,0x5544,0x4f4e,
- 0x0000,0x2000,0x0e0e,0x4b49,0x5455,0x4e45,0x0e0e,
- 0x0000,0x1000,0x0e4b,0x414b,0x4553,0x4f42,0x410e,
-
- 0x4ef9,0x0000,0x62fa,0x0000,0x4ef9,0x0000,0x805E,0x0000, <- code (0x40d92)
- 0xc800 <- checksum
+ 0x0000,0x5000,0x5341,0x4b45,0x5349,0x4755,0x5245, <- default high scores (0x40db4) - wrong data ?
+ 0x0000,0x4000,0x0e4b,0x4154,0x5544,0x4f4e,0x0e0e,
+ 0x0000,0x3000,0x414e,0x4b41,0x4b45,0x5544,0x4f4e,
+ 0x0000,0x2000,0x0e0e,0x4b49,0x5455,0x4e45,0x0e0e,
+ 0x0000,0x1000,0x0e4b,0x414b,0x4553,0x4f42,0x410e,
+
+ 0x4ef9,0x0000,0x62fa,0x0000,0x4ef9,0x0000,0x805E,0x0000, <- code (0x40d92)
+ 0xc800 <- checksum
};
- static const uint16_t mAmatelasProtData[] =
{
- 0x0000,0x5000,0x5341,0x4b45,0x5349,0x4755,0x5245, <- default high scores (0x40db4)
- 0x0000,0x4000,0x0e4b,0x4154,0x5544,0x4f4e,0x0e0e,
- 0x0000,0x3000,0x414e,0x4b41,0x4b45,0x5544,0x4f4e,
- 0x0000,0x2000,0x0e0e,0x4b49,0x5455,0x4e45,0x0e0e,
- 0x0000,0x1000,0x0e4b,0x414b,0x4553,0x4f42,0x410e,
- 0x4ef9,0x0000,0x632e,0x0000,0x4ef9,0x0000,0x80C2,0x0000, <- code (0x40d92)
- 0x6100 <- checksum
+ 0x0000,0x5000,0x5341,0x4b45,0x5349,0x4755,0x5245, <- default high scores (0x40db4)
+ 0x0000,0x4000,0x0e4b,0x4154,0x5544,0x4f4e,0x0e0e,
+ 0x0000,0x3000,0x414e,0x4b41,0x4b45,0x5544,0x4f4e,
+ 0x0000,0x2000,0x0e0e,0x4b49,0x5455,0x4e45,0x0e0e,
+ 0x0000,0x1000,0x0e4b,0x414b,0x4553,0x4f42,0x410e,
+ 0x4ef9,0x0000,0x632e,0x0000,0x4ef9,0x0000,0x80C2,0x0000, <- code (0x40d92)
+ 0x6100 <- checksum
};
- static const uint16_t mHoreKidProtData[] =
{
- 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, <- N/A
- 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
- 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
- 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
- 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
- 0x4e75,0x4e75,0x4e75,0x4e75,0x4e75,0x4e75,0x4e75,0x4e75, <- code (0x40dba) It actually never jumps there?
- 0x1800 <- checksum
+ 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, <- N/A
+ 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
+ 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
+ 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
+ 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
+ 0x4e75,0x4e75,0x4e75,0x4e75,0x4e75,0x4e75,0x4e75,0x4e75, <- code (0x40dba) It actually never jumps there?
+ 0x1800 <- checksum
};
-
+
***************************************************************************/
#include "emu.h"
@@ -117,7 +117,7 @@ READ8_MEMBER( nb1412m2_device::data_r )
return m_data[m_rom_address & 0x1fff] - prot_adj;
}
-
+
return 0;
}
diff --git a/src/mame/machine/nb1412m2.h b/src/mame/machine/nb1412m2.h
index 5df96f4a439..b6965a0ec7e 100644
--- a/src/mame/machine/nb1412m2.h
+++ b/src/mame/machine/nb1412m2.h
@@ -40,11 +40,11 @@ public:
protected:
// device-level overrides
-// virtual void device_validity_check(validity_checker &valid) const override;
-// virtual void device_add_mconfig(machine_config &config) override;
+// virtual void device_validity_check(validity_checker &valid) const override;
+// virtual void device_add_mconfig(machine_config &config) override;
virtual void device_start() override;
virtual void device_reset() override;
-
+
private:
uint8_t m_command;
uint16_t m_rom_address;
diff --git a/src/mame/machine/xavix.cpp b/src/mame/machine/xavix.cpp
index ff02466b516..f9bf639ccc7 100644
--- a/src/mame/machine/xavix.cpp
+++ b/src/mame/machine/xavix.cpp
@@ -557,7 +557,7 @@ WRITE8_MEMBER(xavix_state::irq_source_w)
void xavix_state::machine_start()
{
-
+
}
void xavix_state::machine_reset()
diff --git a/src/mame/video/lemmings.cpp b/src/mame/video/lemmings.cpp
index 45d7c751f71..0116ed0429f 100644
--- a/src/mame/video/lemmings.cpp
+++ b/src/mame/video/lemmings.cpp
@@ -37,7 +37,7 @@ void lemmings_state::video_start()
m_vram_tilemap->set_transparent_pen(0);
m_bitmap0.fill(0x100);
-
+
m_vram_buffer = make_unique_clear<uint8_t[]>(2048 * 64); // 64 bytes per VRAM character
m_gfxdecode->gfx(2)->set_source(m_vram_buffer.get());
diff --git a/src/mame/video/psikyo.cpp b/src/mame/video/psikyo.cpp
index 3043670da1f..2f9c27ec83e 100644
--- a/src/mame/video/psikyo.cpp
+++ b/src/mame/video/psikyo.cpp
@@ -612,7 +612,7 @@ uint32_t psikyo_state::screen_update_psikyo_bootleg(screen_device &screen, bitma
/* Layers scrolling */
tmptilemap[layer]->set_scrolly(0, scrolly[layer]);
-
+
if (layer_ctrl[layer] & 0x0300) /* per-line rowscroll */
{
int tile_rowscroll = (layer_ctrl[layer] & 0x0200) >> 7; /* per-tile rowscroll */
diff --git a/src/mame/video/warpwarp.cpp b/src/mame/video/warpwarp.cpp
index c3bc4d57f75..593956231cf 100644
--- a/src/mame/video/warpwarp.cpp
+++ b/src/mame/video/warpwarp.cpp
@@ -43,8 +43,8 @@ PALETTE_INIT_MEMBER(warpwarp_state,navarone)
MACHINE_RESET_MEMBER(warpwarp_state,kaitei)
{
// Some PCB videos/images shows a b&w arrangement, others a full colorized one.
- // This is due of the monitor type used, cfr. http://news.livedoor.com/article/detail/5604337/
-
+ // This is due of the monitor type used, cfr. http://news.livedoor.com/article/detail/5604337/
+
// We change color palette at reset time, according to the configuration switch.
if(m_in_config->read() & 1) // color
{