summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/devices/bus/ieee488/ieee488.cpp2
-rw-r--r--src/devices/bus/ieee488/ieee488.h2
-rw-r--r--src/devices/bus/iq151/iq151.h4
-rw-r--r--src/devices/cpu/diablo/diablo1300.cpp60
-rw-r--r--src/devices/cpu/diablo/diablo1300dasm.cpp30
-rw-r--r--src/devices/cpu/e132xs/e132xs.h2
-rw-r--r--src/devices/cpu/es5510/es5510.cpp4
-rw-r--r--src/devices/cpu/mb86235/mb86235.cpp16
-rw-r--r--src/devices/cpu/mb86235/mb86235.h16
-rw-r--r--src/devices/cpu/mb86235/mb86235drc.cpp14
-rw-r--r--src/devices/cpu/mb86235/mb86235ops.cpp210
-rw-r--r--src/devices/cpu/sharc/sharcops.hxx6
-rw-r--r--src/devices/machine/ay31015.cpp2
-rw-r--r--src/devices/machine/kr2376.cpp82
-rw-r--r--src/devices/machine/kr2376.h6
-rw-r--r--src/devices/machine/mb89374.cpp8
-rw-r--r--src/devices/machine/mb89374.h2
-rw-r--r--src/devices/sound/c352.cpp2
-rw-r--r--src/devices/sound/c352.h2
-rw-r--r--src/devices/sound/es8712.cpp4
-rw-r--r--src/devices/sound/es8712.h4
-rw-r--r--src/devices/video/imagetek_i4100.cpp6
-rw-r--r--src/emu/screen.h2
-rw-r--r--src/lib/formats/poly_dsk.cpp4
-rw-r--r--src/mame/drivers/alphatro.cpp4
-rw-r--r--src/mame/drivers/altos5.cpp12
-rw-r--r--src/mame/drivers/at.cpp6
-rw-r--r--src/mame/drivers/aussiebyte.cpp18
-rw-r--r--src/mame/drivers/balsente.cpp4
-rw-r--r--src/mame/drivers/cz101.cpp14
-rw-r--r--src/mame/drivers/ddayjlc.cpp36
-rw-r--r--src/mame/drivers/de_2.cpp18
-rw-r--r--src/mame/drivers/diablo1300.cpp18
-rw-r--r--src/mame/drivers/divebomb.cpp4
-rw-r--r--src/mame/drivers/dmv.cpp8
-rw-r--r--src/mame/drivers/dynax.cpp4
-rw-r--r--src/mame/drivers/esqasr.cpp10
-rw-r--r--src/mame/drivers/esqkt.cpp4
-rw-r--r--src/mame/drivers/galaxian.cpp2
-rw-r--r--src/mame/drivers/galpani3.cpp10
-rw-r--r--src/mame/drivers/gkigt.cpp16
-rw-r--r--src/mame/drivers/gunpey.cpp18
-rw-r--r--src/mame/drivers/hyprduel.cpp2
-rw-r--r--src/mame/drivers/ibmpc.cpp6
-rw-r--r--src/mame/drivers/kaneko16.cpp4
-rw-r--r--src/mame/drivers/konblands.cpp40
-rw-r--r--src/mame/drivers/lastbank.cpp4
-rw-r--r--src/mame/drivers/magnum.cpp26
-rw-r--r--src/mame/drivers/metro.cpp8
-rw-r--r--src/mame/drivers/midvunit.cpp8
-rw-r--r--src/mame/drivers/milton6805.cpp4
-rw-r--r--src/mame/drivers/model2.cpp140
-rw-r--r--src/mame/drivers/model3.cpp6
-rw-r--r--src/mame/drivers/naomi.cpp16
-rw-r--r--src/mame/drivers/nmk16.cpp12
-rw-r--r--src/mame/drivers/notetaker.cpp18
-rw-r--r--src/mame/drivers/powerbal.cpp2
-rw-r--r--src/mame/drivers/proteus.cpp18
-rw-r--r--src/mame/drivers/qx10.cpp12
-rw-r--r--src/mame/drivers/rad_eu3a05.cpp8
-rw-r--r--src/mame/drivers/rad_eu3a14.cpp14
-rw-r--r--src/mame/drivers/raiden2.cpp10
-rw-r--r--src/mame/drivers/s11c.cpp24
-rw-r--r--src/mame/drivers/seattle.cpp6
-rw-r--r--src/mame/drivers/taito_x.cpp10
-rw-r--r--src/mame/drivers/taito_z.cpp2
-rw-r--r--src/mame/drivers/ti85.cpp38
-rw-r--r--src/mame/drivers/vamphalf.cpp2
-rw-r--r--src/mame/drivers/vegaeo.cpp2
-rw-r--r--src/mame/drivers/vii.cpp6
-rw-r--r--src/mame/drivers/x68k.cpp2
-rw-r--r--src/mame/drivers/xavix.cpp368
-rw-r--r--src/mame/drivers/xerox820.cpp10
-rw-r--r--src/mame/includes/bbc.h74
-rw-r--r--src/mame/includes/kaneko16.h6
-rw-r--r--src/mame/includes/lisa.h2
-rw-r--r--src/mame/includes/model2.h46
-rw-r--r--src/mame/includes/naomi.h2
-rw-r--r--src/mame/includes/spectrum.h12
-rw-r--r--src/mame/layout/crusnusa.lay4
-rw-r--r--src/mame/layout/rz1.lay10
-rw-r--r--src/mame/machine/315-5881_crypt.cpp10
-rw-r--r--src/mame/machine/315-5881_crypt.h4
-rw-r--r--src/mame/machine/kaypro.cpp4
-rw-r--r--src/mame/machine/m1comm.cpp8
-rw-r--r--src/mame/machine/model2.cpp58
-rw-r--r--src/mame/mame.lst10
-rw-r--r--src/mame/video/kaneko_grap2.h2
-rw-r--r--src/mame/video/model2.cpp66
-rw-r--r--src/mame/video/model2rd.hxx32
-rw-r--r--src/mame/video/segaic24.cpp2
-rw-r--r--src/mame/video/segaic24.h6
-rw-r--r--src/mame/video/tecmosys.cpp8
93 files changed, 945 insertions, 945 deletions
diff --git a/src/devices/bus/ieee488/ieee488.cpp b/src/devices/bus/ieee488/ieee488.cpp
index 3083721b4b0..3f823bdd48d 100644
--- a/src/devices/bus/ieee488/ieee488.cpp
+++ b/src/devices/bus/ieee488/ieee488.cpp
@@ -436,6 +436,6 @@ SLOT_INTERFACE_END
#include "remote488.h"
SLOT_INTERFACE_START(remote488_devices)
- SLOT_INTERFACE("remote488", REMOTE488)
+ SLOT_INTERFACE("remote488", REMOTE488)
SLOT_INTERFACE_END
diff --git a/src/devices/bus/ieee488/ieee488.h b/src/devices/bus/ieee488/ieee488.h
index d751024adc2..94a4fbcaa21 100644
--- a/src/devices/bus/ieee488/ieee488.h
+++ b/src/devices/bus/ieee488/ieee488.h
@@ -187,7 +187,7 @@ private:
devcb_write_line m_write_srq;
devcb_write_line m_write_atn;
devcb_write_line m_write_ren;
- devcb_write8 m_write_dio;
+ devcb_write8 m_write_dio;
void set_signal(device_t *device, int signal, int state);
int get_signal(int signal);
diff --git a/src/devices/bus/iq151/iq151.h b/src/devices/bus/iq151/iq151.h
index a0799601d35..baca40fd928 100644
--- a/src/devices/bus/iq151/iq151.h
+++ b/src/devices/bus/iq151/iq151.h
@@ -131,8 +131,8 @@ public:
devcb_write_line m_out_irq4_cb;
devcb_write_line m_out_drq_cb;
- device_iq151cart_interface* m_cart;
- required_device<screen_device> m_screen;
+ device_iq151cart_interface* m_cart;
+ required_device<screen_device> m_screen;
};
diff --git a/src/devices/cpu/diablo/diablo1300.cpp b/src/devices/cpu/diablo/diablo1300.cpp
index ee2ae5264a2..2e04796a582 100644
--- a/src/devices/cpu/diablo/diablo1300.cpp
+++ b/src/devices/cpu/diablo/diablo1300.cpp
@@ -2,7 +2,7 @@
// copyright-holders:Joakim Larsson Edstrom
// thanks-to: Jeff Laughton
/*
- Diablo 1300 series Printer TTL CPU
+ Diablo 1300 series Printer TTL CPU
The work is based on the RE done by Jeff Laughton http://laughtonelectronics.com/Arcana/Diablo%20CPU/DiabloCPU.html
*/
@@ -199,23 +199,23 @@ void diablo1300_cpu_device::execute_run()
switch (op & 0x0007)
{
case 0:
- /* OUTPUT Dport, Sreg: Output register SSSS via reg A to port DDD, reg B and carry are cleared
+ /* OUTPUT Dport, Sreg: Output register SSSS via reg A to port DDD, reg B and carry are cleared
111A SSSS 0DDD RIII
- A = 0: register is ORed into reg A, = 1: register is copied into reg A
+ A = 0: register is ORed into reg A, = 1: register is copied into reg A
SSSS = Source register
DDD = Destination port address
R = RAM bank select
III = 000 (opcode)
*/
LOGOP("OUTPUT dv%d, r%02X\n",
- (op & 0x0070) >> 4,
- ((op & 0x0f00) >> 8) + ((op & 0x0008) ? 0x10 : 0));
+ (op & 0x0070) >> 4,
+ ((op & 0x0f00) >> 8) + ((op & 0x0008) ? 0x10 : 0));
m_a = read_reg(((op & 0x0f00) >> 8) + ((op & 0x0008) ? 0x10 : 0));
m_b = 0;
m_carry = 0;
write_port((op & 0x0070) >> 4, m_a);
break;
- case 1:
+ case 1:
/* JNC Addr: Set PC to address H AAAA AAAA, reg B and carry are cleared
AAAA AAAA 0000 HIII
AAAA AAAA = 8 low bits in Destination Address
@@ -250,8 +250,8 @@ void diablo1300_cpu_device::execute_run()
III = 011 (opcode)
*/
LOGOP("LDBBIT r%02X, %02X\n",
- ((op & 0x00f0) >> 4) + ((op & 0x0008) ? 0x10 : 0),
- (op & 0xff00) >> 8);
+ ((op & 0x00f0) >> 4) + ((op & 0x0008) ? 0x10 : 0),
+ (op & 0xff00) >> 8);
m_a = (op & 0xff00) >> 8;
m_b = read_reg(((op & 0x00f0) >> 4));
m_carry = (m_a & m_b) != 0 ? 1 : 0;
@@ -262,12 +262,12 @@ void diablo1300_cpu_device::execute_run()
case 0x4000:
/* XLAT Dreg: Load table data into A and reg, 0 into B
II10 0000 AAAA RIII
- AAAA = Register
- R = RAM bank select
- II III = 01xx xxxx xxxx x100 (opcode)
+ AAAA = Register
+ R = RAM bank select
+ II III = 01xx xxxx xxxx x100 (opcode)
*/
LOGOP("XLAT r%02X\n",
- ((op & 0x00f0) >> 4) + ((op & 0x0008) ? 0x10 : 0));
+ ((op & 0x00f0) >> 4) + ((op & 0x0008) ? 0x10 : 0));
m_a = read_table(m_b + m_carry);
m_b = 0;
m_carry = 0;
@@ -277,15 +277,15 @@ void diablo1300_cpu_device::execute_run()
case 0xc000:
/* MOVCPL Dreg, Sreg: register to register within RAM bank, acc B and carry is cleared
II11 SSSS DDDD RIII
- SSSS = Source Register
- DDDD = Destination register
- R = RAM bank select
- II III = 11xx xxxx xxxx x100 (opcode)
+ SSSS = Source Register
+ DDDD = Destination register
+ R = RAM bank select
+ II III = 11xx xxxx xxxx x100 (opcode)
*/
LOGOP("MOVCPL r%02X, r%02X\n",
- ((op & 0x00f0) >> 4) + ((op & 0x0008) ? 0x10 : 0),
- ((op & 0x0f00) >> 8) + ((op & 0x0008) ? 0x10 : 0));
- m_a = read_reg(((op & 0x0008) != 0 ? 0x10 : 0) + ((op & 0x0f00) >> 8));
+ ((op & 0x00f0) >> 4) + ((op & 0x0008) ? 0x10 : 0),
+ ((op & 0x0f00) >> 8) + ((op & 0x0008) ? 0x10 : 0));
+ m_a = read_reg(((op & 0x0008) != 0 ? 0x10 : 0) + ((op & 0x0f00) >> 8));
m_b = 0;
m_carry = 0;
write_reg(((op & 0x0008) != 0 ? 0x10 : 0) + ((op & 0x00f0) >> 4), m_a);
@@ -295,14 +295,14 @@ void diablo1300_cpu_device::execute_run()
/* INPUT Dreg, Sport: port to register, acc B and carry is cleared
II10 SSSS DDDD RIII
SSSS = Source Port
- DDDD = Destination register
- R = RAM bank select
+ DDDD = Destination register
+ R = RAM bank select
II III = 01xx xxxx xxxx x100 (opcode)
*/
LOGOP("INPUT r%02X, dv%X\n",
- ((op & 0x00f0) >> 4) + ((op & 0x0008) ? 0x10 : 0),
- ((op & 0x0f00) >> 8));
- m_a = read_port((op & 0x0f00) >> 8);
+ ((op & 0x00f0) >> 4) + ((op & 0x0008) ? 0x10 : 0),
+ ((op & 0x0f00) >> 8));
+ m_a = read_port((op & 0x0f00) >> 8);
m_b = 0;
m_carry = 0;
write_reg(((op & 0x0008) != 0 ? 0x10 : 0) + ((op & 0x00f0) >> 4), m_a);
@@ -320,8 +320,8 @@ void diablo1300_cpu_device::execute_run()
III = 101 (opcode)
*/
LOGOP("LOAD# r%02X, %02X\n",
- ((op & 0x00f0) >> 4) + ((op & 0x0008) ? 0x10 : 0),
- (op & 0xff00) >> 8);
+ ((op & 0x00f0) >> 4) + ((op & 0x0008) ? 0x10 : 0),
+ (op & 0xff00) >> 8);
m_a = (op & 0xff00) >> 8;
m_b = 0;
m_carry = 0;
@@ -336,8 +336,8 @@ void diablo1300_cpu_device::execute_run()
III = 110 (opcode)
*/
LOGOP("ADCCPL r%02X, r%02X\n",
- ((op & 0x00f0) >> 4) + ((op & 0x0008) ? 0x10 : 0),
- ((op & 0x0f00) >> 8) + ((op & 0x0008) ? 0x10 : 0));
+ ((op & 0x00f0) >> 4) + ((op & 0x0008) ? 0x10 : 0),
+ ((op & 0x0f00) >> 8) + ((op & 0x0008) ? 0x10 : 0));
m_a = read_reg(((op & 0x0008) != 0 ? 0x10 : 0) + ((op & 0x0f00) >> 8));
m_b = read_reg(((op & 0x0008) != 0 ? 0x10 : 0) + ((op & 0x00f0) >> 4));
m_carry = (m_a + m_b + m_carry) > 255 ? 1 : 0;
@@ -352,8 +352,8 @@ void diablo1300_cpu_device::execute_run()
III = 100 (opcode)
*/
LOGOP("ADC# r%02X, %02X\n",
- ((op & 0x00f0) >> 4) + ((op & 0x0008) ? 0x10 : 0),
- (op & 0xff00) >> 8);
+ ((op & 0x00f0) >> 4) + ((op & 0x0008) ? 0x10 : 0),
+ (op & 0xff00) >> 8);
m_a = (op & 0xff00) >> 8;
m_b = read_reg(((op & 0x0008) != 0 ? 0x10 : 0) + ((op & 0x00f0) >> 4));
m_carry = (m_a + m_b + m_carry) > 255 ? 1 : 0;
diff --git a/src/devices/cpu/diablo/diablo1300dasm.cpp b/src/devices/cpu/diablo/diablo1300dasm.cpp
index 3bc0a921dd2..ed62f3957a6 100644
--- a/src/devices/cpu/diablo/diablo1300dasm.cpp
+++ b/src/devices/cpu/diablo/diablo1300dasm.cpp
@@ -22,8 +22,8 @@ offs_t diablo1300_disassembler::disassemble(std::ostream &stream, offs_t pc, con
{
case 0: // OUTPUT Dport, Sreg
util::stream_format(stream, "OUTPUT dv%d, r%02X",
- (op & 0x0070) >> 4,
- ((op & 0x0f00) >> 8) + ((op & 0x0008) ? 0x10 : 0));
+ (op & 0x0070) >> 4,
+ ((op & 0x0f00) >> 8) + ((op & 0x0008) ? 0x10 : 0));
break;
case 1: // JNC Addr
util::stream_format(stream, "JNC %03X", ((op & 0xff00) >> 8) + ((op & 0x0008) ? 0x100 : 0));
@@ -33,25 +33,25 @@ offs_t diablo1300_disassembler::disassemble(std::ostream &stream, offs_t pc, con
break;
case 3: // LDBBIT Sreg, #val
util::stream_format(stream, "LDBBIT r%02X, %02X",
- ((op & 0x00f0) >> 4) + ((op & 0x0008) ? 0x10 : 0),
- (op & 0xff00) >> 8);
+ ((op & 0x00f0) >> 4) + ((op & 0x0008) ? 0x10 : 0),
+ (op & 0xff00) >> 8);
break;
case 4: //
switch (op & 0xc000)
{
case 0x4000: // XLAT Dreg
util::stream_format(stream, "XLAT r%02X",
- ((op & 0x00f0) >> 4) + ((op & 0x0008) ? 0x10 : 0));
+ ((op & 0x00f0) >> 4) + ((op & 0x0008) ? 0x10 : 0));
break;
case 0xc000: // MOVCPL Dreg, Sreg
util::stream_format(stream, "MOVCPL r%02X, r%02X",
- ((op & 0x00f0) >> 4) + ((op & 0x0008) ? 0x10 : 0),
- ((op & 0x0f00) >> 8) + ((op & 0x0008) ? 0x10 : 0));
+ ((op & 0x00f0) >> 4) + ((op & 0x0008) ? 0x10 : 0),
+ ((op & 0x0f00) >> 8) + ((op & 0x0008) ? 0x10 : 0));
break;
case 0x8000: // INPUT Dreg, Sport
util::stream_format(stream, "INPUT r%02X, dv%X",
- ((op & 0x00f0) >> 4) + ((op & 0x0008) ? 0x10 : 0),
- ((op & 0x0f00) >> 8));
+ ((op & 0x00f0) >> 4) + ((op & 0x0008) ? 0x10 : 0),
+ ((op & 0x0f00) >> 8));
break;
default:
util::stream_format(stream, "???");
@@ -60,18 +60,18 @@ offs_t diablo1300_disassembler::disassemble(std::ostream &stream, offs_t pc, con
break;
case 5: // LOAD# Dreg,#val
util::stream_format(stream, "LOAD# r%02X, %02X",
- ((op & 0x00f0) >> 4) + ((op & 0x0008) ? 0x10 : 0),
- (op & 0xff00) >> 8);
+ ((op & 0x00f0) >> 4) + ((op & 0x0008) ? 0x10 : 0),
+ (op & 0xff00) >> 8);
break;
case 6: // ADCCPL S/Dreg, Sreg
util::stream_format(stream, "ADCCPL r%02X, r%02X",
- ((op & 0x00f0) >> 4) + ((op & 0x0008) ? 0x10 : 0),
- ((op & 0x0f00) >> 8) + ((op & 0x0008) ? 0x10 : 0));
+ ((op & 0x00f0) >> 4) + ((op & 0x0008) ? 0x10 : 0),
+ ((op & 0x0f00) >> 8) + ((op & 0x0008) ? 0x10 : 0));
break;
case 7: // ADC# S/Dreg, val
util::stream_format(stream, "ADC# r%02X, %02X",
- ((op & 0x00f0) >> 4) + ((op & 0x0008) ? 0x10 : 0),
- (op & 0xff00) >> 8);
+ ((op & 0x00f0) >> 4) + ((op & 0x0008) ? 0x10 : 0),
+ (op & 0xff00) >> 8);
break;
default:
util::stream_format(stream, "???");
diff --git a/src/devices/cpu/e132xs/e132xs.h b/src/devices/cpu/e132xs/e132xs.h
index f04431c62c8..31fbd483f00 100644
--- a/src/devices/cpu/e132xs/e132xs.h
+++ b/src/devices/cpu/e132xs/e132xs.h
@@ -137,7 +137,7 @@ protected:
// compilation boundaries -- how far back/forward does the analysis extend?
enum : u32
{
- COMPILE_BACKWARDS_BYTES = 128,
+ COMPILE_BACKWARDS_BYTES = 128,
COMPILE_FORWARDS_BYTES = 512,
COMPILE_MAX_INSTRUCTIONS = (COMPILE_BACKWARDS_BYTES / 4) + (COMPILE_FORWARDS_BYTES / 4),
COMPILE_MAX_SEQUENCE = 64
diff --git a/src/devices/cpu/es5510/es5510.cpp b/src/devices/cpu/es5510/es5510.cpp
index d7e892c7d09..1e22ff4c8e1 100644
--- a/src/devices/cpu/es5510/es5510.cpp
+++ b/src/devices/cpu/es5510/es5510.cpp
@@ -556,7 +556,7 @@ void es5510_device::device_start() {
m_icountptr = &icount;
state_add(STATE_GENPC,"GENPC", pc).noshow();
state_add(STATE_GENPCBASE, "CURPC", pc).noshow();
-
+
save_item(NAME(icount));
save_item(NAME(halt_asserted));
save_item(NAME(pc));
@@ -589,7 +589,7 @@ void es5510_device::device_start() {
save_pointer(NAME(gpr.get()), 0xc0);
save_pointer(NAME(instr.get()), 160);
save_pointer(NAME(dram.get()), DRAM_SIZE);
-
+
save_item(NAME(dol_latch));
save_item(NAME(dil_latch));
save_item(NAME(dadr_latch));
diff --git a/src/devices/cpu/mb86235/mb86235.cpp b/src/devices/cpu/mb86235/mb86235.cpp
index eb1baa4565e..f61c7c4fd14 100644
--- a/src/devices/cpu/mb86235/mb86235.cpp
+++ b/src/devices/cpu/mb86235/mb86235.cpp
@@ -11,7 +11,7 @@
* - move post-opcodes outside of the execute_op() function, like increment_prp()
* (needed if opcode uses fifo in/out);
* - rewrite fifo hookups, remove them from the actual opcodes.
- * - use a phase system for the execution, like do_alu() being separated
+ * - use a phase system for the execution, like do_alu() being separated
* from control();
* - illegal delay slots unsupported, and no idea about what is supposed to happen;
* - externalize PDR / DDR (error LED flags on Model 2);
@@ -59,17 +59,17 @@ void mb86235_device::execute_run()
run_drc();
#else
uint64_t opcode;
- while(m_core->icount > 0)
+ while(m_core->icount > 0)
{
uint32_t curpc;
-
+
curpc = check_previous_op_stall() ? m_core->cur_fifo_state.pc : m_core->pc;
debugger_instruction_hook(this, curpc);
opcode = m_direct->read_qword(curpc);
-
+
m_core->ppc = curpc;
-
+
if(m_core->delay_slot == true)
{
m_core->pc = m_core->delay_pc;
@@ -77,9 +77,9 @@ void mb86235_device::execute_run()
}
else
handle_single_step_execution();
-
+
execute_op(opcode >> 32, opcode & 0xffffffff);
-
+
m_core->icount--;
}
@@ -228,7 +228,7 @@ void mb86235_device::device_reset()
#if ENABLE_DRC
flush_cache();
#endif
-
+
m_core->pc = 0;
m_core->delay_pc = 0;
m_core->ppc = 0;
diff --git a/src/devices/cpu/mb86235/mb86235.h b/src/devices/cpu/mb86235/mb86235.h
index 72301d39bfd..73ee7fcb07f 100644
--- a/src/devices/cpu/mb86235/mb86235.h
+++ b/src/devices/cpu/mb86235/mb86235.h
@@ -109,13 +109,13 @@ private:
int num;
uint32_t data[16];
};
-
+
struct fifo_state
{
uint32_t pc;
bool has_stalled;
};
-
+
struct mb86235_internal_state
{
uint32_t pc;
@@ -141,7 +141,7 @@ private:
// TODO: remove this, use ST instead
mb86235_flags flags;
uint32_t st;
-
+
int icount;
uint32_t arg0;
@@ -150,8 +150,8 @@ private:
uint32_t arg3;
uint64_t arg64;
- uint32_t pcp; /**< PC stack pointer */
- uint32_t pcs[4]; /**< PC stack contents */
+ uint32_t pcp; /**< PC stack pointer */
+ uint32_t pcs[4]; /**< PC stack contents */
uint32_t jmpdest;
uint32_t alutemp;
@@ -163,7 +163,7 @@ private:
float fp0;
bool delay_slot;
-
+
fifo fifoin;
fifo fifoout0;
fifo fifoout1;
@@ -243,7 +243,7 @@ private:
bool has_register_clash(const opcode_desc *desc, int outreg);
bool aluop_has_result(int aluop);
bool check_previous_op_stall();
-
+
// interpreter
void execute_op(uint32_t h, uint32_t l);
void do_alu1(uint32_t h, uint32_t l);
@@ -261,7 +261,7 @@ private:
inline uint32_t get_mulreg(uint8_t which, bool isfloatop);
inline void set_alureg(uint8_t which, uint32_t value);
inline void decode_aluop(uint8_t opcode, uint32_t src1, uint32_t src2, uint8_t imm, uint8_t dst_which);
- inline void decode_mulop(bool isfmul, uint32_t src1, uint32_t src2, uint8_t dst_which);
+ inline void decode_mulop(bool isfmul, uint32_t src1, uint32_t src2, uint8_t dst_which);
inline bool decode_branch_jump(uint8_t which);
inline uint32_t do_control_dst(uint32_t l);
inline void push_pc(uint32_t pcval);
diff --git a/src/devices/cpu/mb86235/mb86235drc.cpp b/src/devices/cpu/mb86235/mb86235drc.cpp
index 941f0f39f36..d1682d0e024 100644
--- a/src/devices/cpu/mb86235/mb86235drc.cpp
+++ b/src/devices/cpu/mb86235/mb86235drc.cpp
@@ -640,7 +640,7 @@ void mb86235_device::generate_ea(drcuml_block &block, compiler_state &compiler,
case 0x4: // @ARx+ARy
UML_ADD(block, I0, AR(arx), AR(ary));
break;
- case 0x5: // @ARx+ARy++
+ case 0x5: // @ARx+ARy++
UML_ADD(block, I0, AR(arx), AR(ary));
UML_ADD(block, AR(ary), AR(ary), 1);
break;
@@ -663,7 +663,7 @@ void mb86235_device::generate_reg_read(drcuml_block &block, compiler_state &comp
case 0x00: case 0x01: case 0x02: case 0x03: case 0x04: case 0x05: case 0x06: case 0x07:
// MA0-7
UML_MOV(block, dst, MA(reg & 7));
- break;
+ break;
case 0x08: case 0x09: case 0x0a: case 0x0b: case 0x0c: case 0x0d: case 0x0e: case 0x0f:
// AA0-7
@@ -679,7 +679,7 @@ void mb86235_device::generate_reg_read(drcuml_block &block, compiler_state &comp
// MB0-7
UML_MOV(block, dst, MB(reg & 7));
break;
-
+
case 0x28: case 0x29: case 0x2a: case 0x2b: case 0x2c: case 0x2d: case 0x2e: case 0x2f:
// AB0-7
UML_MOV(block, dst, AB(reg & 7));
@@ -1331,7 +1331,7 @@ void mb86235_device::generate_alu(drcuml_block &block, compiler_state &compiler,
if (AU_CALC_REQUIRED) UML_MOV(block, FLAGS_AU, 0);
break;
- case 0x19: // OR
+ case 0x19: // OR
generate_alumul_input(block, compiler, desc, i2, uml::I0, false, false);
UML_OR(block, alutemp ? mem(&m_core->alutemp) : get_alu_output(io), I0, get_alu1_input(i1));
if (AN_CALC_REQUIRED) UML_SETc(block, COND_S, FLAGS_AN);
@@ -1339,8 +1339,8 @@ void mb86235_device::generate_alu(drcuml_block &block, compiler_state &compiler,
if (AV_CALC_REQUIRED) UML_MOV(block, FLAGS_AV, 0);
if (AU_CALC_REQUIRED) UML_MOV(block, FLAGS_AU, 0);
break;
-
- case 0x1a: // XOR
+
+ case 0x1a: // XOR
generate_alumul_input(block, compiler, desc, i2, uml::I0, false, false);
UML_XOR(block, alutemp ? mem(&m_core->alutemp) : get_alu_output(io), I0, get_alu1_input(i1));
if (AN_CALC_REQUIRED) UML_SETc(block, COND_S, FLAGS_AN);
@@ -1348,7 +1348,7 @@ void mb86235_device::generate_alu(drcuml_block &block, compiler_state &compiler,
if (AV_CALC_REQUIRED) UML_MOV(block, FLAGS_AV, 0);
if (AU_CALC_REQUIRED) UML_MOV(block, FLAGS_AU, 0);
break;
-
+
case 0x1c: // LSR
generate_alumul_input(block, compiler, desc, i1, uml::I0, false, false);
UML_SHR(block, I0, I0, i2);
diff --git a/src/devices/cpu/mb86235/mb86235ops.cpp b/src/devices/cpu/mb86235/mb86235ops.cpp
index c667d745d90..024437c506a 100644
--- a/src/devices/cpu/mb86235/mb86235ops.cpp
+++ b/src/devices/cpu/mb86235/mb86235ops.cpp
@@ -18,35 +18,35 @@
*
********************/
-#define AD 0x00000001
-#define AU 0x00000002
-#define AV 0x00000004
+#define AD 0x00000001
+#define AU 0x00000002
+#define AV 0x00000004
#define AZ 0x00000008
#define AN 0x00000010
#define ZC 0x00000100
-#define IL 0x00000200
-#define NR 0x00000400
-#define ZD 0x00000800
-#define RP 0x00004000
-#define LP 0x00008000
-#define MD 0x00010000
-#define MU 0x00020000
-#define MV 0x00040000
-#define MZ 0x00080000
-#define MN 0x00100000
+#define IL 0x00000200
+#define NR 0x00000400
+#define ZD 0x00000800
+#define RP 0x00004000
+#define LP 0x00008000
+#define MD 0x00010000
+#define MU 0x00020000
+#define MV 0x00040000
+#define MZ 0x00080000
+#define MN 0x00100000
#define OFF 0x01000000
#define OFE 0x02000000
#define IFF 0x04000000
#define IFE 0x08000000
-#define F0 0x10000000
+#define F0 0x10000000
#define F1 0x20000000
#define F2 0x40000000
-#define FSET(f) m_core->st|=(f)
-#define FCLR(f) m_core->st&=~(f)
-
+#define FSET(f) m_core->st|=(f)
+#define FCLR(f) m_core->st&=~(f)
+
void mb86235_device::handle_single_step_execution()
-{
+{
if(m_core->cur_fifo_state.has_stalled == true)
return;
@@ -60,11 +60,11 @@ void mb86235_device::handle_single_step_execution()
else // normal operation
m_core->pc ++;
}
-
+
bool mb86235_device::check_previous_op_stall()
{
return (m_core->cur_fifo_state.has_stalled == true) && ((m_core->st & RP) == 0);
-}
+}
inline void mb86235_device::increment_pwp()
{
@@ -84,7 +84,7 @@ void mb86235_device::decrement_prp()
{
if(m_core->prp == 0)
m_core->prp = 24;
-
+
m_core->prp --;
}
@@ -96,7 +96,7 @@ void mb86235_device::zero_prp()
inline uint32_t mb86235_device::decode_ea(uint8_t mode, uint8_t rx, uint8_t ry, uint16_t disp, bool isbbus)
{
uint32_t res;
-
+
switch(mode)
{
case 0x00: // ARx
@@ -116,7 +116,7 @@ inline uint32_t mb86235_device::decode_ea(uint8_t mode, uint8_t rx, uint8_t ry,
m_core->ar[rx]&=0x3fff;
return res;
case 0x04: // ARx + ARy
- return m_core->ar[rx]+m_core->ar[ry];
+ return m_core->ar[rx]+m_core->ar[ry];
case 0x05: // ARx + ARy++
res = m_core->ar[ry];
if(m_core->cur_fifo_state.has_stalled == true)
@@ -136,7 +136,7 @@ inline uint32_t mb86235_device::decode_ea(uint8_t mode, uint8_t rx, uint8_t ry,
case 0x0b: // ARx + ARy + disp12
return m_core->ar[rx]+m_core->ar[ry]+disp;
}
-
+
fatalerror("TGPx4: unemulated decode_ea type %02x executed at pc=%08x\n",mode,m_core->ppc);
return 0;
@@ -151,11 +151,11 @@ inline void mb86235_device::write_bus(bool isbbus, uint32_t addr, uint32_t data)
{
if(isbbus == true)
m_datab->write_dword(addr & 0x3ff,data);
- else
+ else
m_dataa->write_dword(addr & 0x3ff,data);
}
-
+
/*********************
*
* Instruction fetch
@@ -203,7 +203,7 @@ void mb86235_device::execute_op(uint32_t h, uint32_t l)
* ALU
*
********************/
-
+
inline void mb86235_device::set_alu_flagsd(uint32_t val)
{
FCLR(AN|AZ);
@@ -236,7 +236,7 @@ inline uint32_t mb86235_device::get_prx(uint8_t which)
case 3: zero_prp(); break;
default: fatalerror("TGPx4: unimplemented get_prx %02x at pc=%08x\n",which & 7,m_core->ppc); break;
}
-
+
return res;
}
@@ -275,7 +275,7 @@ inline uint32_t mb86235_device::get_alureg(uint8_t which, bool isfloatop)
case 3: // constants
return (isfloatop == true) ? get_constfloat(which & 7) : get_constint(which & 7);
}
-
+
fatalerror("TGPx4: unimplemented get_alureg %02x at pc=%08x\n",which,m_core->ppc);
return 0;
}
@@ -293,7 +293,7 @@ inline uint32_t mb86235_device::get_mulreg(uint8_t which, bool isfloatop)
case 3: // constants
return (isfloatop == true) ? get_constfloat(which & 7) : get_constint(which & 7);
}
-
+
fatalerror("TGPx4: unimplemented get_mulreg %02x at pc=%08x\n",which,m_core->ppc);
return 0;
}
@@ -318,7 +318,7 @@ inline void mb86235_device::set_alureg(uint8_t which, uint32_t value)
}
inline void mb86235_device::decode_aluop(uint8_t opcode, uint32_t src1, uint32_t src2, uint8_t imm, uint8_t dst_which)
-{
+{
switch(opcode)
{
// floating point ops
@@ -357,7 +357,7 @@ inline void mb86235_device::decode_aluop(uint8_t opcode, uint32_t src1, uint32_t
double f1 = u2f(src1);
double f2 = u2f(src2);
double d;
-
+
if(opcode & 2)
d = fabs(f2)-fabs(f1);
else
@@ -389,7 +389,7 @@ inline void mb86235_device::decode_aluop(uint8_t opcode, uint32_t src1, uint32_t
else
exp += imm;
exp &= 0xff;
- src1 |= exp<<23;
+ src1 |= exp<<23;
set_alu_flagsd(src1);
set_alureg(dst_which,src1);
break;
@@ -455,19 +455,19 @@ inline void mb86235_device::decode_aluop(uint8_t opcode, uint32_t src1, uint32_t
uint32_t res;
FCLR(AU);
res = f2u(f);
- if(f<0)
- {
- FSET(AU);
- res=0;
+ if(f<0)
+ {
+ FSET(AU);
+ res=0;
};
FCLR(AZ);
- if(res==0)
+ if(res==0)
FSET(AZ);
FCLR(AV);
if(res>0xff)
- {
- FSET(AV);
- res=0xff;
+ {
+ FSET(AV);
+ res=0xff;
}
set_alureg(dst_which,res);
break;
@@ -525,10 +525,10 @@ inline void mb86235_device::decode_aluop(uint8_t opcode, uint32_t src1, uint32_t
if(opcode & 1)
{
FCLR(ZC);
- if(src1&0x80000000)
- {
- FSET(ZC);
- src1=0;
+ if(src1&0x80000000)
+ {
+ FSET(ZC);
+ src1=0;
}
}
set_alureg(dst_which,src1);
@@ -598,7 +598,7 @@ inline void mb86235_device::decode_aluop(uint8_t opcode, uint32_t src1, uint32_t
set_alu_flagsd(res);
set_alureg(dst_which,(uint32_t)res);
break;
- }
+ }
default:
fatalerror("TGPx4: unimplemented decode_aluop %02x at pc=%08x\n",opcode,m_core->ppc);
@@ -636,10 +636,10 @@ void mb86235_device::decode_mulop(bool isfmul, uint32_t src1, uint32_t src2, uin
#define GETAI2(x) ((x>>15)&0x1f)
#define GETAO(x) ((x>>10)&0x1f)
-#define GETMOP(x) ((x>>9)&0x1)
-#define GETMI1(x) ((x>>5)&0x0f)
-#define GETMI2(x) ((x>>0)&0x1f)
-#define GETMO(x) ((x>>27)&0x1f)
+#define GETMOP(x) ((x>>9)&0x1)
+#define GETMI1(x) ((x>>5)&0x0f)
+#define GETMI2(x) ((x>>0)&0x1f)
+#define GETMO(x) ((x>>27)&0x1f)
inline bool mb86235_device::get_alu_second_src(uint8_t which)
{
@@ -648,13 +648,13 @@ inline bool mb86235_device::get_alu_second_src(uint8_t which)
if((which & 0x1e) == 0x16) // ATRx
return false;
-
+
if((which & 0x0f) == 0x05) // ABS/FABS
return false;
-
+
if((which & 0x18) == 0x08) // floating point ops
return false;
-
+
return true;
}
@@ -662,7 +662,7 @@ void mb86235_device::do_alu1(uint32_t h, uint32_t l)
{
if(m_core->cur_fifo_state.has_stalled == true)
return;
-
+
if(h&(1<<9)) // ALU
{
uint8_t opcode = GETAOP(h);
@@ -679,7 +679,7 @@ void mb86235_device::do_alu1(uint32_t h, uint32_t l)
bool opcode = GETAOP(h) != 0;
uint32_t mulsrc1 = get_mulreg(GETAI1(h),false);
uint32_t mulsrc2 = get_mulreg(GETAI2(h),opcode);
- decode_mulop(opcode, mulsrc1, mulsrc2, GETAO(h));
+ decode_mulop(opcode, mulsrc1, mulsrc2, GETAO(h));
}
}
@@ -687,7 +687,7 @@ void mb86235_device::do_alu2(uint32_t h, uint32_t l)
{
if(m_core->cur_fifo_state.has_stalled == true)
return;
-
+
// ALU
uint8_t opcode = GETAOP(h);
uint32_t alusrc1 = get_alureg(GETAI1(h),false);
@@ -710,7 +710,7 @@ void mb86235_device::do_alu2(uint32_t h, uint32_t l)
* Transfer types
*
********************/
-
+
inline uint32_t mb86235_device::get_transfer_reg(uint8_t which)
{
switch(which >> 3)
@@ -722,7 +722,7 @@ inline uint32_t mb86235_device::get_transfer_reg(uint8_t which)
case 2:
switch(which & 7)
{
- case 0: return m_core->eb;
+ case 0: return m_core->eb;
//case 1: m_core->ebu = value; break;
//case 2: m_core->ebl = value; break;
case 3: return m_core->eo;
@@ -730,7 +730,7 @@ inline uint32_t mb86235_device::get_transfer_reg(uint8_t which)
case 5: return m_core->st;
case 6: return m_core->mod;
case 7: return m_core->lpc;
- default:
+ default:
fatalerror("TGPx4: unimplemented set_transfer_reg %02x at pc=%08x\n",which,m_core->ppc);
break;
}
@@ -754,13 +754,13 @@ inline uint32_t mb86235_device::get_transfer_reg(uint8_t which)
FCLR(IFE);
if(is_fifoin_empty() == true)
{
- FSET(IFE);
+ FSET(IFE);
m_core->cur_fifo_state.has_stalled = true;
if((m_core->st & RP) == 0)
m_core->cur_fifo_state.pc = m_core->ppc;
//else
- // fatalerror("check me %08x\n",m_core->ppc);
-
+ // fatalerror("check me %08x\n",m_core->ppc);
+
return 0;
}
@@ -770,17 +770,17 @@ inline uint32_t mb86235_device::get_transfer_reg(uint8_t which)
m_core->fifoin.rpos++;
m_core->fifoin.rpos &= FIFOIN_SIZE-1;
m_core->fifoin.num--;
-
+
return res;
}
}
}
}
-
+
fatalerror("TGPx4: unimplemented get_transfer_reg %02x at pc=%08x\n",which,m_core->ppc);
return 0;
}
-
+
inline void mb86235_device::set_transfer_reg(uint8_t which, uint32_t value)
{
switch(which >> 3)
@@ -794,7 +794,7 @@ inline void mb86235_device::set_transfer_reg(uint8_t which, uint32_t value)
case 2:
switch(which & 7)
{
- case 0: m_core->eb = value; break;
+ case 0: m_core->eb = value; break;
//case 1: m_core->ebu = value; break;
//case 2: m_core->ebl = value; break;
case 3: m_core->eo = value; break;
@@ -802,7 +802,7 @@ inline void mb86235_device::set_transfer_reg(uint8_t which, uint32_t value)
case 5: m_core->st = value; break;
case 6: m_core->mod = value; break;
case 7: m_core->lpc = value; break;
- default:
+ default:
fatalerror("TGPx4: unimplemented set_transfer_reg %02x at pc=%08x\n",which,m_core->ppc);
break;
}
@@ -833,9 +833,9 @@ inline void mb86235_device::set_transfer_reg(uint8_t which, uint32_t value)
m_core->cur_fifo_state.has_stalled = true;
if((m_core->st & RP) == 0)
m_core->cur_fifo_state.pc = m_core->ppc;
-
+
//else
- // fatalerror("check me (writes)");
+ // fatalerror("check me (writes)");
return;
}
@@ -848,24 +848,24 @@ inline void mb86235_device::set_transfer_reg(uint8_t which, uint32_t value)
break;
case 4: m_core->pdr = value; break;
case 5: m_core->ddr = value; break;
- case 6:
+ case 6:
if(value >= 24)
fatalerror("TGPx4: attempting to set prp with a %02x at pc=%08x\n",value,m_core->ppc);
- m_core->prp = value;
+ m_core->prp = value;
break;
- case 7:
+ case 7:
if(value >= 24)
fatalerror("TGPx4: attempting to set pwp with a %02x at pc=%08x\n",value,m_core->ppc);
- m_core->pwp = value;
+ m_core->pwp = value;
break;
- default:
+ default:
fatalerror("TGPx4: unimplemented set_transfer_reg %02x at pc=%08x\n",which,m_core->ppc);
break;
}
- break;
+ break;
default:
fatalerror("TGPx4: unimplemented set_transfer_reg dst %02x at pc=%08x\n",which,m_core->ppc);
break;
@@ -884,14 +884,14 @@ void mb86235_device::do_trans1_1(uint32_t h, uint32_t l)
uint8_t sr,dr;
uint32_t res;
- if(l & (1<<26)) //External transfer
+ if(l & (1<<26)) //External transfer
{
if(l & (1<<25)) // ext -> int
{
dr = (l >> 12) & 0x7f;
uint32_t addr = m_core->eb+m_core->eo;
uint8_t disp_offs = (l >> 19) & 0x3f;
-
+
res = m_dataa->read_dword(addr);
if(dr & 0x40)
{
@@ -916,7 +916,7 @@ void mb86235_device::do_trans1_1(uint32_t h, uint32_t l)
{
sr = (l>>19) & 0x7f;
dr = (l>>12) & 0x7f;
-
+
if(sr & 0x40)
{
if(sr == 0x58)
@@ -930,7 +930,7 @@ void mb86235_device::do_trans1_1(uint32_t h, uint32_t l)
}
else
res = get_transfer_reg(sr);
-
+
if(dr & 0x40)
{
if(dr == 0x58)
@@ -959,17 +959,17 @@ void mb86235_device::do_trans2_2(uint32_t h, uint32_t l)
{
uint8_t as = (h >> 1) & 0x1f;
uint8_t ada= (l >> 28) & 0xf;
- if(h&1)
+ if(h&1)
ada|=0x10;
set_transfer_reg(ada,get_transfer_reg(as));
break;
}
- default:
+ default:
fatalerror("TGPx4: unimplemented trans2_2 SDA %08x at pc=%08x\n",sda,m_core->ppc);
break;
}
-
+
// B bus
switch(sdb)
{
@@ -981,8 +981,8 @@ void mb86235_device::do_trans2_2(uint32_t h, uint32_t l)
set_transfer_reg(bd|0x20,get_transfer_reg(bs|0x20));
break;
}
-
- default:
+
+ default:
fatalerror("TGPx4: unimplemented trans2_2 SDB %08x at pc=%08x\n",sdb,m_core->ppc);
break;
}
@@ -1004,7 +1004,7 @@ void mb86235_device::do_trans1_2(uint32_t h, uint32_t l)
uint32_t res;
if(l&0x80000000)
disp_offs |= 1;
-
+
res = m_dataa->read_dword(addr);
if(dr & 0x40)
{
@@ -1027,7 +1027,7 @@ void mb86235_device::do_trans1_2(uint32_t h, uint32_t l)
uint8_t disp_offs = (h << 1) & 0x3e;
if(l&0x80000000)
disp_offs |= 1;
-
+
if(sr & 0x40)
{
if(sr == 0x58)
@@ -1041,7 +1041,7 @@ void mb86235_device::do_trans1_2(uint32_t h, uint32_t l)
}
else
res = get_transfer_reg(sr);
-
+
m_dataa->write_dword(addr,res);
if(disp_offs & 0x20)
m_core->eo -= disp_offs & 0x1f;
@@ -1055,7 +1055,7 @@ void mb86235_device::do_trans1_2(uint32_t h, uint32_t l)
dr = (l >> 24) &0x7f;
if(l & 0x80000000)
sr|=1;
-
+
if(sr & 0x40)
{
if(sr == 0x58)
@@ -1074,7 +1074,7 @@ void mb86235_device::do_trans1_2(uint32_t h, uint32_t l)
{
if(dr == 0x58)
fatalerror("TGPx4: illegal do_trans1_2 dr == 0x58 at pc=%08x\n",m_core->ppc);
-
+
bool isbbus = (dr & 0x20) == 0x20;
uint32_t addr = decode_ea(l & 0xf,dr & 7,(l >> 4) & 7, (l >> 7) & 0x3fff,isbbus);
write_bus(isbbus,addr,res);
@@ -1111,20 +1111,20 @@ inline void mb86235_device::push_pc(uint32_t pcval)
{
m_core->pcs[m_core->pcp++] = pcval;
m_core->pcp &= 3;
-// if(m_core->pcp & ~3)
-// fatalerror("TGPx4: push_pc overflow PCP=%08x PC=%08x\n",m_core->pcp,m_core->ppc);
+// if(m_core->pcp & ~3)
+// fatalerror("TGPx4: push_pc overflow PCP=%08x PC=%08x\n",m_core->pcp,m_core->ppc);
}
inline uint32_t mb86235_device::pop_pc()
{
m_core->pcp--;
m_core->pcp &= 3;
-// if(m_core->pcp & ~3)
-// fatalerror("TGPx4: pop_pc underflow PCP=%08x PC=%08x\n",m_core->pcp,m_core->ppc);
-
+// if(m_core->pcp & ~3)
+// fatalerror("TGPx4: pop_pc underflow PCP=%08x PC=%08x\n",m_core->pcp,m_core->ppc);
+
return m_core->pcs[m_core->pcp];
}
-
+
inline uint32_t mb86235_device::do_control_dst(uint32_t l)
{
switch((l>>12)&0xf)
@@ -1134,11 +1134,11 @@ inline uint32_t mb86235_device::do_control_dst(uint32_t l)
case 2: // absolute register AR
return m_core->ar[(l >> 6) & 7];
case 4: // absolute register AAx / ABx
- return (l & 1 << 11) ? m_core->ab[(l >> 6) & 7] : m_core->aa[(l >> 6) & 7];
+ return (l & 1 << 11) ? m_core->ab[(l >> 6) & 7] : m_core->aa[(l >> 6) & 7];
default:
fatalerror("TGPx4: unimplemented do_control_dst op mode %08x at pc=%08x\n",(l>>12) & 0xf,m_core->ppc);
}
-
+
return 0;
}
@@ -1153,13 +1153,13 @@ inline bool mb86235_device::decode_branch_jump(uint8_t which)
// test, should be 22
if(which < 14)
{
- const uint32_t condition_table[22] = {MN, MZ, MV, MU, ZD, NR, IL, ZC,
- AN, AZ, AV, AU, MD, AD, F0, F1,
+ const uint32_t condition_table[22] = {MN, MZ, MV, MU, ZD, NR, IL, ZC,
+ AN, AZ, AV, AU, MD, AD, F0, F1,
F2,IFF,IFE,OFF,OFE, 0};
return (m_core->st & condition_table[which]) != 0;
}
-
+
fatalerror("TGPx4: unimplemented decode_branch_jump mode %08x at pc=%08x\n",which,m_core->ppc);
return false;
}
@@ -1179,7 +1179,7 @@ void mb86235_device::do_control(uint32_t h, uint32_t l)
m_core->rpc = m_core->ar[(ef2 >> 13) & 7];
else
m_core->rpc = ef2;
-
+
FSET(RP); // set repeat flag
break;
case 0x02: // SETL
@@ -1187,7 +1187,7 @@ void mb86235_device::do_control(uint32_t h, uint32_t l)
m_core->lpc = m_core->ar[(ef2 >> 13) & 7];
else
m_core->lpc = ef2;
-
+
FSET(LP); // set repeat flag
break;
case 0x03: // CLRF
@@ -1280,7 +1280,7 @@ void mb86235_device::do_control(uint32_t h, uint32_t l)
m_core->delay_pc = m_core->pc + (l & 0xfff);
m_core->delay_pc&= 0xfff;
}
-
+
--m_core->lpc;
if(m_core->lpc == 1)
FCLR(LP);
@@ -1318,8 +1318,8 @@ void mb86235_device::do_control(uint32_t h, uint32_t l)
m_core->delay_pc = pop_pc();
break;
default:
- fatalerror("TGPx4: unimplemented control op %08x at pc=%08x\n",cop,m_core->ppc);
+ fatalerror("TGPx4: unimplemented control op %08x at pc=%08x\n",cop,m_core->ppc);
}
}
- \ No newline at end of file
+
diff --git a/src/devices/cpu/sharc/sharcops.hxx b/src/devices/cpu/sharc/sharcops.hxx
index 9afa4754f5d..aa01c5bfab2 100644
--- a/src/devices/cpu/sharc/sharcops.hxx
+++ b/src/devices/cpu/sharc/sharcops.hxx
@@ -565,7 +565,7 @@ void adsp21062_device::SHIFT_OPERATION_IMM(int shiftop, int data, int rn, int rx
}
break;
}
-
+
case 0x12: /* FEXT Rx BY <bit6>:<len6> (Sign Extended) */
{
uint32_t ext = (REG(rx) & MAKE_EXTRACT_MASK(bit, len)) >> bit;
@@ -749,12 +749,12 @@ void adsp21062_device::COMPUTE(uint32_t opcode)
}
// TODO: verify this (Gunblade NY Score Attack Remix mode)
- case 0x1d:
+ case 0x1d:
{
compute_fmul_abs(fm, fxm, fym, fa, fxa, fya);
break;
}
-
+
case 0x1e: /* Fm = Fxm * Fym, Fa = MAX(Fxa, Fya) */
{
compute_fmul_fmax(fm, fxm, fym, fa, fxa, fya);
diff --git a/src/devices/machine/ay31015.cpp b/src/devices/machine/ay31015.cpp
index 7ff281eb1a0..c3f5ae7f2d6 100644
--- a/src/devices/machine/ay31015.cpp
+++ b/src/devices/machine/ay31015.cpp
@@ -787,7 +787,7 @@ uint8_t ay31015_device::get_received_data()
m_status_reg &= ~STATUS_DAV;
update_status_pins();
}
-
+
return m_rx_buffer;
}
diff --git a/src/devices/machine/kr2376.cpp b/src/devices/machine/kr2376.cpp
index 1a602559ad5..f24670a3ff3 100644
--- a/src/devices/machine/kr2376.cpp
+++ b/src/devices/machine/kr2376.cpp
@@ -85,52 +85,52 @@ uint8_t kr2376_st_device::key_codes(int mode, int x, int y)
// TODO: determine ROM contents of KR2376-12
//kr2376_12_device::kr2376_12_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
-// : kr2376_device(mconfig, KR2376_12, tag, owner, clock)
+// : kr2376_device(mconfig, KR2376_12, tag, owner, clock)
//{}
//uint8_t kr2376_12_device::key_codes(int mode, int x, int y)
//{
-// static const uint8_t KEY_CODES[3][8][11] =
-// {
-// // normal
-// {
-// // Y0 Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 Y9 Y10
-// { 0x33, 0x32, 0x31, 0x00, 0x00, 0x7e, 0x00, 0x00, 0x00, 0x00, 0x00 }, // X0
-// { 0x36, 0x35, 0x34, 0x7d, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, // X1
-// { 0x39, 0x38, 0x37, 0x5b, 0x02, 0x00, 0x00, 0x1b, 0x00, 0x00, 0x00 }, // X2
-// { 0x08, 0x0a, 0x09, 0x0b, 0x00, 0x7c, 0x00, 0x00, 0x0d, 0x20, 0x00 }, // X3
-// { 0x2d, 0x2f, 0x2e, 0x2c, 0x6d, 0x6e, 0x62, 0x76, 0x63, 0x78, 0x7a }, // X4
-// { 0x3a, 0x3b, 0x6c, 0x6b, 0x6a, 0x68, 0x67, 0x66, 0x64, 0x73, 0x61 }, // X5
-// { 0x60, 0x70, 0x6f, 0x69, 0x75, 0x79, 0x74, 0x72, 0x65, 0x77, 0x71 }, // X6
-// { 0x2d, 0x30, 0x39, 0x38, 0x37, 0x36, 0x35, 0x34, 0x33, 0x32, 0x31 } // X7
-// },
+// static const uint8_t KEY_CODES[3][8][11] =
+// {
+// // normal
+// {
+// // Y0 Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 Y9 Y10
+// { 0x33, 0x32, 0x31, 0x00, 0x00, 0x7e, 0x00, 0x00, 0x00, 0x00, 0x00 }, // X0
+// { 0x36, 0x35, 0x34, 0x7d, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, // X1
+// { 0x39, 0x38, 0x37, 0x5b, 0x02, 0x00, 0x00, 0x1b, 0x00, 0x00, 0x00 }, // X2
+// { 0x08, 0x0a, 0x09, 0x0b, 0x00, 0x7c, 0x00, 0x00, 0x0d, 0x20, 0x00 }, // X3
+// { 0x2d, 0x2f, 0x2e, 0x2c, 0x6d, 0x6e, 0x62, 0x76, 0x63, 0x78, 0x7a }, // X4
+// { 0x3a, 0x3b, 0x6c, 0x6b, 0x6a, 0x68, 0x67, 0x66, 0x64, 0x73, 0x61 }, // X5
+// { 0x60, 0x70, 0x6f, 0x69, 0x75, 0x79, 0x74, 0x72, 0x65, 0x77, 0x71 }, // X6
+// { 0x2d, 0x30, 0x39, 0x38, 0x37, 0x36, 0x35, 0x34, 0x33, 0x32, 0x31 } // X7
+// },
//
-// // shift
-// {
-// // Y0 Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 Y9 Y10
-// { 0x33, 0x32, 0x31, 0x00, 0x00, 0x5e, 0x00, 0x00, 0x00, 0x00, 0x00 }, // X0
-// { 0x36, 0x35, 0x34, 0x5d, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, // X1
-// { 0x39, 0x38, 0x37, 0x7b, 0x04, 0x00, 0x00, 0x1b, 0x00, 0x00, 0x00 }, // X2
-// { 0x08, 0x0a, 0x09, 0x0b, 0x00, 0x5c, 0x00, 0x00, 0x0d, 0x20, 0x00 }, // X3
-// { 0x2d, 0x3f, 0x3e, 0x3c, 0x4d, 0x4e, 0x42, 0x56, 0x43, 0x58, 0x5a }, // X4
-// { 0x2a, 0x2b, 0x4c, 0x4b, 0x4a, 0x48, 0x47, 0x46, 0x44, 0x53, 0x41 }, // X5
-// { 0x40, 0x50, 0x4f, 0x49, 0x55, 0x59, 0x54, 0x52, 0x45, 0x57, 0x51 }, // X6
-// { 0x3d, 0x30, 0x29, 0x28, 0x27, 0x26, 0x25, 0x24, 0x23, 0x22, 0x21 } // X7
-// },
+// // shift
+// {
+// // Y0 Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 Y9 Y10
+// { 0x33, 0x32, 0x31, 0x00, 0x00, 0x5e, 0x00, 0x00, 0x00, 0x00, 0x00 }, // X0
+// { 0x36, 0x35, 0x34, 0x5d, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, // X1
+// { 0x39, 0x38, 0x37, 0x7b, 0x04, 0x00, 0x00, 0x1b, 0x00, 0x00, 0x00 }, // X2
+// { 0x08, 0x0a, 0x09, 0x0b, 0x00, 0x5c, 0x00, 0x00, 0x0d, 0x20, 0x00 }, // X3
+// { 0x2d, 0x3f, 0x3e, 0x3c, 0x4d, 0x4e, 0x42, 0x56, 0x43, 0x58, 0x5a }, // X4
+// { 0x2a, 0x2b, 0x4c, 0x4b, 0x4a, 0x48, 0x47, 0x46, 0x44, 0x53, 0x41 }, // X5
+// { 0x40, 0x50, 0x4f, 0x49, 0x55, 0x59, 0x54, 0x52, 0x45, 0x57, 0x51 }, // X6
+// { 0x3d, 0x30, 0x29, 0x28, 0x27, 0x26, 0x25, 0x24, 0x23, 0x22, 0x21 } // X7
+// },
//
-// // control
-// {
-// // Y0 Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 Y9 Y10
-// { 0x33, 0x32, 0x31, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, // X0
-// { 0x36, 0x35, 0x34, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, // X1
-// { 0x39, 0x38, 0x37, 0x00, 0x00, 0x00, 0x00, 0x1b, 0x00, 0x00, 0x00 }, // X2
-// { 0x08, 0x0a, 0x09, 0x0b, 0x00, 0x00, 0x00, 0x00, 0x0d, 0x20, 0x00 }, // X3
-// { 0x1f, 0x2f, 0x2e, 0x2c, 0x0d, 0x0e, 0x02, 0x16, 0x03, 0x18, 0x1a }, // X4
-// { 0x3a, 0x3b, 0x0c, 0x0b, 0x0a, 0x08, 0x07, 0x06, 0x04, 0x13, 0x01 }, // X5
-// { 0x00, 0x10, 0x0f, 0x09, 0x15, 0x19, 0x14, 0x12, 0x05, 0x17, 0x11 }, // X6
-// { 0x2d, 0x30, 0x39, 0x38, 0x37, 0x36, 0x35, 0x34, 0x33, 0x32, 0x31 } // X7
-// }
-// };
-// return KEY_CODES[mode][x][y];
+// // control
+// {
+// // Y0 Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 Y9 Y10
+// { 0x33, 0x32, 0x31, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, // X0
+// { 0x36, 0x35, 0x34, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, // X1
+// { 0x39, 0x38, 0x37, 0x00, 0x00, 0x00, 0x00, 0x1b, 0x00, 0x00, 0x00 }, // X2
+// { 0x08, 0x0a, 0x09, 0x0b, 0x00, 0x00, 0x00, 0x00, 0x0d, 0x20, 0x00 }, // X3
+// { 0x1f, 0x2f, 0x2e, 0x2c, 0x0d, 0x0e, 0x02, 0x16, 0x03, 0x18, 0x1a }, // X4
+// { 0x3a, 0x3b, 0x0c, 0x0b, 0x0a, 0x08, 0x07, 0x06, 0x04, 0x13, 0x01 }, // X5
+// { 0x00, 0x10, 0x0f, 0x09, 0x15, 0x19, 0x14, 0x12, 0x05, 0x17, 0x11 }, // X6
+// { 0x2d, 0x30, 0x39, 0x38, 0x37, 0x36, 0x35, 0x34, 0x33, 0x32, 0x31 } // X7
+// }
+// };
+// return KEY_CODES[mode][x][y];
//}
//-------------------------------------------------
diff --git a/src/devices/machine/kr2376.h b/src/devices/machine/kr2376.h
index 8b8d23e290e..49cfbb4f9cd 100644
--- a/src/devices/machine/kr2376.h
+++ b/src/devices/machine/kr2376.h
@@ -142,10 +142,10 @@ protected:
//class kr2376_12_device : public kr2376_device
//{
//public:
-// // construction/destruction
-// kr2376_12_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+// // construction/destruction
+// kr2376_12_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
//protected:
-// virtual uint8_t key_codes(int mode, int x, int y) override;
+// virtual uint8_t key_codes(int mode, int x, int y) override;
//};
DECLARE_DEVICE_TYPE(KR2376_ST, kr2376_st_device)
diff --git a/src/devices/machine/mb89374.cpp b/src/devices/machine/mb89374.cpp
index f1950c16fb4..32c95b38b05 100644
--- a/src/devices/machine/mb89374.cpp
+++ b/src/devices/machine/mb89374.cpp
@@ -1,10 +1,10 @@
// license:BSD-3-Clause
// copyright-holders:Ariane Fugmann
/**
- MB89374
+ MB89374
- Fujitsu
- Data Link Controller
+ Fujitsu
+ Data Link Controller
**/
@@ -278,7 +278,7 @@ READ8_MEMBER(mb89374_device::read)
case REGISTER_RXSR0:
data = m_rxsr0;
break;
-
+
case REGISTER_RXSR1:
data = m_rxsr1;
break;
diff --git a/src/devices/machine/mb89374.h b/src/devices/machine/mb89374.h
index 3011124d87f..460a4c2c6dc 100644
--- a/src/devices/machine/mb89374.h
+++ b/src/devices/machine/mb89374.h
@@ -58,7 +58,7 @@ Data Link Controller
class mb89374_device : public device_t,
- public device_execute_interface
+ public device_execute_interface
{
public:
// construction/destruction
diff --git a/src/devices/sound/c352.cpp b/src/devices/sound/c352.cpp
index 015f132d229..ea22dbf50f6 100644
--- a/src/devices/sound/c352.cpp
+++ b/src/devices/sound/c352.cpp
@@ -298,7 +298,7 @@ void c352_device::device_start()
}
for(int i=0;i<128;i++)
m_mulawtab[i+128] = (~m_mulawtab[i])&0xffe0;
-
+
// register save state info
for (i = 0; i < 32; i++)
{
diff --git a/src/devices/sound/c352.h b/src/devices/sound/c352.h
index 7a55bb45905..5715bf653cf 100644
--- a/src/devices/sound/c352.h
+++ b/src/devices/sound/c352.h
@@ -105,7 +105,7 @@ private:
int m_divider;
c352_voice_t m_c352_v[32];
-
+
int16_t m_mulawtab[256];
uint16_t m_random;
diff --git a/src/devices/sound/es8712.cpp b/src/devices/sound/es8712.cpp
index cc63781dbac..3c15dc986e2 100644
--- a/src/devices/sound/es8712.cpp
+++ b/src/devices/sound/es8712.cpp
@@ -11,7 +11,7 @@
* Current implementation is based from :
* gcpinbal.cpp, by David Graves & R. Belmont.
* splitted by cam900
- *
+ *
* It seems that the ES8712 is actually a programmable counter which can stream
* ADPCM samples when hooked up to a ROM and a M5205 or M6585 (whose VCK signal
* can drive the counter). Neither of these seem to be used in conjunction with
@@ -233,4 +233,4 @@ WRITE_LINE_MEMBER(es8712_device::msm_int)
if (m_adpcm_trigger == 0)
m_base_offset++;
}
-} \ No newline at end of file
+}
diff --git a/src/devices/sound/es8712.h b/src/devices/sound/es8712.h
index 2ab82aedc5b..30665b9fdc3 100644
--- a/src/devices/sound/es8712.h
+++ b/src/devices/sound/es8712.h
@@ -47,7 +47,7 @@ public:
DECLARE_READ8_MEMBER(read);
DECLARE_WRITE8_MEMBER(msm_w);
DECLARE_WRITE_LINE_MEMBER(msm_int);
-
+
void play();
protected:
@@ -63,7 +63,7 @@ private:
required_device<hct157_device> m_adpcm_select;
optional_device<msm5205_device> m_msm;
-
+
// device callbacks
devcb_write_line m_reset_handler;
devcb_write8 m_msm_write_cb;
diff --git a/src/devices/video/imagetek_i4100.cpp b/src/devices/video/imagetek_i4100.cpp
index b7b33c083cb..763b1413e1d 100644
--- a/src/devices/video/imagetek_i4100.cpp
+++ b/src/devices/video/imagetek_i4100.cpp
@@ -1052,7 +1052,7 @@ void imagetek_i4100_device::draw_tilemap( screen_device &screen, bitmap_ind16 &b
int windowwidth = width >> 2;
int windowheight = height >> 3;
-
+
int dx = m_tilemap_scrolldx[layer] * (m_screen_flip ? 1 : -1);
int dy = m_tilemap_scrolldy[layer] * (m_screen_flip ? 1 : -1);
@@ -1060,7 +1060,7 @@ void imagetek_i4100_device::draw_tilemap( screen_device &screen, bitmap_ind16 &b
sy += dy;
int min_x, max_x, min_y, max_y;
-
+
if (dx != 0)
{
min_x = 0;
@@ -1082,7 +1082,7 @@ void imagetek_i4100_device::draw_tilemap( screen_device &screen, bitmap_ind16 &b
min_y = cliprect.min_y;
max_y = cliprect.max_y;
}
-
+
for (y = min_y; y <= max_y; y++)
{
int scrolly = (sy+y-wy)&(windowheight-1);
diff --git a/src/emu/screen.h b/src/emu/screen.h
index e3c74cf2faf..2bfbc8af963 100644
--- a/src/emu/screen.h
+++ b/src/emu/screen.h
@@ -352,7 +352,7 @@ private:
u64 m_frame_number; // the current frame number
u32 m_partial_updates_this_frame;// partial update counter this frame
- bool m_is_primary_screen;
+ bool m_is_primary_screen;
// VBLANK callbacks
class callback_item
diff --git a/src/lib/formats/poly_dsk.cpp b/src/lib/formats/poly_dsk.cpp
index 221913a5439..cf746b78624 100644
--- a/src/lib/formats/poly_dsk.cpp
+++ b/src/lib/formats/poly_dsk.cpp
@@ -82,10 +82,10 @@ bool poly_cpm_format::load(io_generic *io, uint32_t form_factor, floppy_image *i
head_num = 2;
break;
}
-
+
int cell_count = (form_factor == floppy_image::FF_525) ? 50000 : 100000;
int offset = 0;
-
+
for (int track = 0; track < total_tracks; track++)
for (int head = 0; head < head_num; head++)
{
diff --git a/src/mame/drivers/alphatro.cpp b/src/mame/drivers/alphatro.cpp
index 0063c9ca6ba..f91550288f8 100644
--- a/src/mame/drivers/alphatro.cpp
+++ b/src/mame/drivers/alphatro.cpp
@@ -806,10 +806,10 @@ ROM_START( alphatro )
ROM_SYSTEM_BIOS( 1, "pcb-ii", "Alphatronic PC PCB-II")
ROMX_LOAD( "613256.ic-1058", 0x0000, 0x6000, CRC(ceea4cb3) SHA1(b332dea0a2d3bb2978b8422eb0723960388bb467), ROM_BIOS(2) )
ROMX_LOAD( "2764.ic-1038", 0x8000, 0x2000, CRC(e337db3b) SHA1(6010bade6a21975636383179903b58a4ca415e49), ROM_BIOS(2) )
-
+
ROM_SYSTEM_BIOS( 2, "bicom", "Alphatronic PC PCB-II with BICOM Graphics extension") // correctly displays German Umlauts
ROMX_LOAD( "613256.ic-1058", 0x0000, 0x6000, CRC(ceea4cb3) SHA1(b332dea0a2d3bb2978b8422eb0723960388bb467), ROM_BIOS(3) )
- ROMX_LOAD( "tapcgv2_ic1038.bin", 0x8000, 0x2000, CRC(446b4235) SHA1(ef835ae46b3fdfe6a6f394971396a577528e7b5a), ROM_BIOS(3) )
+ ROMX_LOAD( "tapcgv2_ic1038.bin", 0x8000, 0x2000, CRC(446b4235) SHA1(ef835ae46b3fdfe6a6f394971396a577528e7b5a), ROM_BIOS(3) )
ROM_REGION( 0x1000, "chargen", 0 )
ROMX_LOAD( "4_b4-0_ic1067.bin", 0x000000, 0x001000, CRC(00796934) SHA1(8e70f77cfe3eb2ec2051f660518da5c9d409119a), ROM_BIOS(1) )
diff --git a/src/mame/drivers/altos5.cpp b/src/mame/drivers/altos5.cpp
index 11c92793108..2e8c15ceae6 100644
--- a/src/mame/drivers/altos5.cpp
+++ b/src/mame/drivers/altos5.cpp
@@ -323,10 +323,10 @@ WRITE8_MEMBER( altos5_state::port09_w )
QUICKLOAD_LOAD_MEMBER( altos5_state, altos5 )
{
address_space& prog_space = m_maincpu->space(AS_PROGRAM);
-
+
if (quickload_size >= 0xfd00)
return image_init_result::FAIL;
-
+
setup_banks(2);
/* Avoid loading a program if CP/M-80 is not in memory */
@@ -335,12 +335,12 @@ QUICKLOAD_LOAD_MEMBER( altos5_state, altos5 )
machine_reset();
return image_init_result::FAIL;
}
-
+
/* Load image to the TPA (Transient Program Area) */
for (uint16_t i = 0; i < quickload_size; i++)
{
uint8_t data;
-
+
if (image.fread( &data, 1) != 1)
return image_init_result::FAIL;
prog_space.write_byte(i+0x100, data);
@@ -348,11 +348,11 @@ QUICKLOAD_LOAD_MEMBER( altos5_state, altos5 )
/* clear out command tail */
prog_space.write_byte(0x80, 0); prog_space.write_byte(0x81, 0);
-
+
/* Roughly set SP basing on the BDOS position */
m_maincpu->set_state_int(Z80_SP, 256 * prog_space.read_byte(7) - 300);
m_maincpu->set_pc(0x100); // start program
-
+
return image_init_result::PASS;
}
diff --git a/src/mame/drivers/at.cpp b/src/mame/drivers/at.cpp
index dbf05caa61e..2316b136a79 100644
--- a/src/mame/drivers/at.cpp
+++ b/src/mame/drivers/at.cpp
@@ -1408,9 +1408,9 @@ ROM_END
// Nokia Data WS286
//ROM_START(nws286 ) // Computer is grey with Nokia logo.
-// ROM_REGION(0x20000,"bios", 0)
-// ROM_LOAD16_BYTE( "rys_103_1002_r8a_3c00_ic-pos_71.bin", 0x18000, 0x4000, NO_DUMP)
-// ROM_LOAD16_BYTE( "rys_103_1003_r8a_8600_ic-pos_69.bin", 0x18001, 0x4000, NO_DUMP)
+// ROM_REGION(0x20000,"bios", 0)
+// ROM_LOAD16_BYTE( "rys_103_1002_r8a_3c00_ic-pos_71.bin", 0x18000, 0x4000, NO_DUMP)
+// ROM_LOAD16_BYTE( "rys_103_1003_r8a_8600_ic-pos_69.bin", 0x18001, 0x4000, NO_DUMP)
//ROM_END
/***************************************************************************
diff --git a/src/mame/drivers/aussiebyte.cpp b/src/mame/drivers/aussiebyte.cpp
index d4b7d3e992c..db42528aeb3 100644
--- a/src/mame/drivers/aussiebyte.cpp
+++ b/src/mame/drivers/aussiebyte.cpp
@@ -438,23 +438,23 @@ SLOT_INTERFACE_END
QUICKLOAD_LOAD_MEMBER( aussiebyte_state, aussiebyte )
{
address_space& prog_space = m_maincpu->space(AS_PROGRAM);
-
+
if (quickload_size >= 0xfd00)
return image_init_result::FAIL;
-
+
/* RAM must be banked in */
- m_port15 = true; // disable boot rom
+ m_port15 = true; // disable boot rom
m_port1a = 4;
- membank("bankr0")->set_entry(m_port1a); /* enable correct program bank */
+ membank("bankr0")->set_entry(m_port1a); /* enable correct program bank */
membank("bankw0")->set_entry(m_port1a);
-
+
/* Avoid loading a program if CP/M-80 is not in memory */
if ((prog_space.read_byte(0) != 0xc3) || (prog_space.read_byte(5) != 0xc3))
{
machine_reset();
return image_init_result::FAIL;
}
-
+
/* Load image to the TPA (Transient Program Area) */
for (uint16_t i = 0; i < quickload_size; i++)
{
@@ -466,11 +466,11 @@ QUICKLOAD_LOAD_MEMBER( aussiebyte_state, aussiebyte )
/* clear out command tail */
prog_space.write_byte(0x80, 0); prog_space.write_byte(0x81, 0);
-
+
/* Roughly set SP basing on the BDOS position */
m_maincpu->set_state_int(Z80_SP, 256 * prog_space.read_byte(7) - 0x400);
m_maincpu->set_pc(0x100); // start program
-
+
return image_init_result::PASS;
}
@@ -591,7 +591,7 @@ MACHINE_CONFIG_START(aussiebyte_state::aussiebyte)
MCFG_MC6845_ADDR_CHANGED_CB(aussiebyte_state, crtc_update_addr)
MCFG_MSM5832_ADD("rtc", XTAL(32'768))
-
+
/* quickload */
MCFG_QUICKLOAD_ADD("quickload", aussiebyte_state, aussiebyte, "com,cpm", 3)
diff --git a/src/mame/drivers/balsente.cpp b/src/mame/drivers/balsente.cpp
index f55fe4d9eb1..710a5384093 100644
--- a/src/mame/drivers/balsente.cpp
+++ b/src/mame/drivers/balsente.cpp
@@ -254,9 +254,9 @@ void balsente_state::cpu1_map(address_map &map)
map(0x9000, 0x9007).w(this, FUNC(balsente_state::balsente_adc_select_w));
map(0x9400, 0x9401).r(this, FUNC(balsente_state::balsente_adc_data_r));
map(0x9800, 0x981f).mirror(0x0060).lw8("outlatch_w",
- [this](address_space &space, offs_t offset, u8 data, u8 mem_mask) {
+ [this](address_space &space, offs_t offset, u8 data, u8 mem_mask) {
m_outlatch->write_d7(space, offset >> 2, data, mem_mask);
- });
+ });
map(0x9880, 0x989f).w(this, FUNC(balsente_state::balsente_random_reset_w));
map(0x98a0, 0x98bf).w(this, FUNC(balsente_state::balsente_rombank_select_w));
map(0x98c0, 0x98df).w(this, FUNC(balsente_state::balsente_palette_select_w));
diff --git a/src/mame/drivers/cz101.cpp b/src/mame/drivers/cz101.cpp
index 8907dcb2035..3672b761334 100644
--- a/src/mame/drivers/cz101.cpp
+++ b/src/mame/drivers/cz101.cpp
@@ -4,13 +4,13 @@
Casio CZ-101
- Digital Synthesizer
+ Digital Synthesizer
- TODO:
- - To get the display to show something, our uPD7810 core needs to
- output the full port value even if the port is set as input (port a).
- - Currently seems to hang while processing the serial ports (midi). Our
- uPD7810 core is lacking the externally clocked serial mode.
+ TODO:
+ - To get the display to show something, our uPD7810 core needs to
+ output the full port value even if the port is set as input (port a).
+ - Currently seems to hang while processing the serial ports (midi). Our
+ uPD7810 core is lacking the externally clocked serial mode.
***************************************************************************/
@@ -387,7 +387,7 @@ MACHINE_CONFIG_START( cz101_state::cz101 )
MCFG_UPD7810_PORTC_WRITE_CB(WRITE8(cz101_state, port_c_w))
MCFG_CLOCK_ADD("midi_clock", 2_MHz_XTAL)
-// MCFG_CLOCK_SIGNAL_HANDLER(DEVWRITELINE("maincpu", upd7810_device, sck_w)) not supported yet
+// MCFG_CLOCK_SIGNAL_HANDLER(DEVWRITELINE("maincpu", upd7810_device, sck_w)) not supported yet
// video hardware
MCFG_SCREEN_ADD("screen", LCD)
diff --git a/src/mame/drivers/ddayjlc.cpp b/src/mame/drivers/ddayjlc.cpp
index bc15ffe22cb..097021b99fa 100644
--- a/src/mame/drivers/ddayjlc.cpp
+++ b/src/mame/drivers/ddayjlc.cpp
@@ -6,13 +6,13 @@
driver by Pierpaolo Prazzoli, Tomasz Slanina and Angelo Salese
- TODO:
- - text colors most likely are hardwired but iirc hi score text has a different color? Needs a reference shot;
- - unused upper sprite color bank;
- - improve sound comms, sometimes BGM becomes silent;
- - hookup proper i8257 device;
- - identify & dump MCU;
-
+ TODO:
+ - text colors most likely are hardwired but iirc hi score text has a different color? Needs a reference shot;
+ - unused upper sprite color bank;
+ - improve sound comms, sometimes BGM becomes silent;
+ - hookup proper i8257 device;
+ - identify & dump MCU;
+
-------------------------------------------------------
Is it 1984 or 1987 game ?
There's text inside rom "1987.07 BY ELS"
@@ -112,7 +112,7 @@ protected:
virtual void machine_start() override;
virtual void machine_reset() override;
virtual void video_start() override;
-
+
private:
/* memory pointers */
required_shared_ptr<uint8_t> m_mainram;
@@ -139,7 +139,7 @@ private:
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
required_device<generic_latch_8_device> m_soundlatch;
-
+
void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect);
void draw_foreground(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
};
@@ -174,7 +174,7 @@ void ddayjlc_state::video_start()
m_bg_tilemap = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(FUNC(ddayjlc_state::get_tile_info_bg),this), TILEMAP_SCAN_ROWS, 8, 8, 32, 32);
m_fg_tilemap = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(FUNC(ddayjlc_state::get_tile_info_fg),this), TILEMAP_SCAN_ROWS, 8, 8, 32, 32);
- m_bg_tilemap->set_transparent_pen(0);
+ m_bg_tilemap->set_transparent_pen(0);
m_fg_tilemap->set_transparent_pen(0);
}
@@ -184,7 +184,7 @@ void ddayjlc_state::video_start()
-xxx xxxx code lower offset
[2] x--- ---- X flip
--xx ---- code upper offset
- ---- xxxx color offset
+ ---- xxxx color offset
[3] xxxx xxxx X offset
***************************/
void ddayjlc_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect)
@@ -200,13 +200,13 @@ void ddayjlc_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect
uint8_t color = flags & 0xf;
code = (code & 0x7f) | ((flags & 0x30) << 3);
-
+
if (flip_screen())
{
x = 256 - 16 - x;
xflip ^= 1;
}
-
+
m_gfxdecode->gfx(0)->transpen(bitmap,cliprect, code, color, xflip, yflip, x, y, 0);
}
}
@@ -214,10 +214,10 @@ void ddayjlc_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect
void ddayjlc_state::draw_foreground(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
m_fg_tilemap->draw(screen, bitmap, cliprect, 0, 0);
-
+
rectangle opaque_rect(cliprect.min_x, cliprect.min_x + 16, cliprect.min_y, cliprect.max_y);
m_fg_tilemap->draw(screen, bitmap, opaque_rect, TILEMAP_DRAW_OPAQUE, 0);
-
+
opaque_rect.min_x = cliprect.max_x - 16;
opaque_rect.max_x = cliprect.max_x;
m_fg_tilemap->draw(screen, bitmap, opaque_rect, TILEMAP_DRAW_OPAQUE, 0);
@@ -365,7 +365,7 @@ WRITE8_MEMBER(ddayjlc_state::i8257_LMSR_w)
int32_t dst = m_e00x_d[2][1] * 256 + m_e00x_d[2][0];
int32_t size = (m_e00x_d[1][1] * 256 + m_e00x_d[1][0]) & 0x3ff;
int32_t i;
-
+
size++; //??
for(i = 0; i < size; i++)
@@ -439,7 +439,7 @@ static INPUT_PORTS_START( ddayjlc )
PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_PLAYER(2) PORT_COCKTAIL
PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNUSED )
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED )
-
+
PORT_START("SYSTEM")
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_START1 )
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START2 )
@@ -588,7 +588,7 @@ PALETTE_INIT_MEMBER(ddayjlc_state, ddayjlc)
palette.set_pen_color(i, rgb_t(r, g, b));
}
-
+
// text colors, almost likely hardwired
palette.set_pen_color(0x200, rgb_t(0x00, 0x00, 0x00));
palette.set_pen_color(0x201, rgb_t(0xff, 0x00, 0x00));
diff --git a/src/mame/drivers/de_2.cpp b/src/mame/drivers/de_2.cpp
index 1fa92069a5c..c54f714d5c0 100644
--- a/src/mame/drivers/de_2.cpp
+++ b/src/mame/drivers/de_2.cpp
@@ -124,15 +124,15 @@ private:
};
ADDRESS_MAP_START(de_2_state::de_2_map)
- AM_RANGE(0x0000, 0x1fff) AM_RAM AM_SHARE("nvram")
- AM_RANGE(0x2100, 0x2103) AM_DEVREADWRITE("pia21", pia6821_device, read, write) // sound+solenoids
- AM_RANGE(0x2200, 0x2200) AM_WRITE(sol3_w) // solenoids
- AM_RANGE(0x2400, 0x2403) AM_DEVREADWRITE("pia24", pia6821_device, read, write) // lamps
- AM_RANGE(0x2800, 0x2803) AM_DEVREADWRITE("pia28", pia6821_device, read, write) // display
- AM_RANGE(0x2c00, 0x2c03) AM_DEVREADWRITE("pia2c", pia6821_device, read, write) // alphanumeric display
- AM_RANGE(0x3000, 0x3003) AM_DEVREADWRITE("pia30", pia6821_device, read, write) // inputs
- AM_RANGE(0x3400, 0x3403) AM_DEVREADWRITE("pia34", pia6821_device, read, write) // widget
- AM_RANGE(0x4000, 0xffff) AM_ROM
+ AM_RANGE(0x0000, 0x1fff) AM_RAM AM_SHARE("nvram")
+ AM_RANGE(0x2100, 0x2103) AM_DEVREADWRITE("pia21", pia6821_device, read, write) // sound+solenoids
+ AM_RANGE(0x2200, 0x2200) AM_WRITE(sol3_w) // solenoids
+ AM_RANGE(0x2400, 0x2403) AM_DEVREADWRITE("pia24", pia6821_device, read, write) // lamps
+ AM_RANGE(0x2800, 0x2803) AM_DEVREADWRITE("pia28", pia6821_device, read, write) // display
+ AM_RANGE(0x2c00, 0x2c03) AM_DEVREADWRITE("pia2c", pia6821_device, read, write) // alphanumeric display
+ AM_RANGE(0x3000, 0x3003) AM_DEVREADWRITE("pia30", pia6821_device, read, write) // inputs
+ AM_RANGE(0x3400, 0x3403) AM_DEVREADWRITE("pia34", pia6821_device, read, write) // widget
+ AM_RANGE(0x4000, 0xffff) AM_ROM
ADDRESS_MAP_END
void de_2_state::de_2_audio_map(address_map &map)
diff --git a/src/mame/drivers/diablo1300.cpp b/src/mame/drivers/diablo1300.cpp
index ca29ab9b7be..7f0551c6f0b 100644
--- a/src/mame/drivers/diablo1300.cpp
+++ b/src/mame/drivers/diablo1300.cpp
@@ -37,10 +37,10 @@ Configurations
--------------
There are many options that comes with the Diablo 1300 series and while many are mechanical the electronics are built up with cards
interconnected by a backplane. The backplane has well defined slots for each type of cards and there are also many external cables
-between the cards, sensors and motors of the printer. The backplane consists of up to 8 female connectors for 56 signals card edge
-connectors numbered A-H ordered in two rows, D,C,B,A on top with the fans to the left and H,G,F,E bellow. The signals are routed as
+between the cards, sensors and motors of the printer. The backplane consists of up to 8 female connectors for 56 signals card edge
+connectors numbered A-H ordered in two rows, D,C,B,A on top with the fans to the left and H,G,F,E bellow. The signals are routed as
needed and the slots are NOT generic, a specific card goes in at a specific slot but can be interchanged to accomodate improved
-performance or replaced for repair. Slots E and F are used for feature expansions such as serial, network cards etc.
+performance or replaced for repair. Slots E and F are used for feature expansions such as serial, network cards etc.
The slots are populated as follows:
@@ -53,12 +53,12 @@ F: Optional slot with all signals of slot F
G: Transducer
H: Print Wheel Power Amp
-In case the serial/IEEE488/network interface card is missing in the printer the host computer is supposed to drive which
+In case the serial/IEEE488/network interface card is missing in the printer the host computer is supposed to drive which
connects to the printer over the 50 pin ribbon cable instead of the printer hosted interface card.
Logic #1 Card - printer command management
------------------------------------------
-The board is marked 40505 and has an option field at the top and a J7 connector for the 50 pin ribbon cable. It produces the
+The board is marked 40505 and has an option field at the top and a J7 connector for the 50 pin ribbon cable. It produces the
system clock of 5 MHz that is used by the TTL CPU at Logic #2 Card,
Identified IC:s
@@ -69,7 +69,7 @@ system clock of 5 MHz that is used by the TTL CPU at Logic #2 Card,
1 7451 7849 Dual AND+OR invert gates
1 7486 7849 Quad XOR gates
3 74LS170 7906 4 by 4 register file
- 4 8837 7736
+ 4 8837 7736
2 7408 7906 Quad AND gales
2 74LS42 7906 BCD to decimal decoder
1 7426 7906 Quad NAND gates
@@ -96,7 +96,7 @@ The board is marked 40510 and has no connectors except the 56 signal bus edge co
4 74S289 4x16 bit RAM
1 74107 Dual J-K M/S flip flops w clear
1 74LS155 7731 1/2/3 to 4/8 lines decoder nwih totem pole ouputs
- 2 74161 7904 synchronous binary 4 bit counter
+ 2 74161 7904 synchronous binary 4 bit counter
4 74LS259 7906 8 bit addressable latches
4 74298 7849 Quad 2 input mux with storage
1 74367 7840 Non inverted 3 state outputs, 2 and 4 line enabled inputs
@@ -114,7 +114,7 @@ The serial interface card is z80 based and marked DIABLO-1300-V24
2 Z80-PIO 7852 Zilog Paralell IO interface
10 74367 7845 Non inverted 3 state outputs, 2 and 4 line enabled inputs
2 UPB7400 7845 Quad NAND gates
- 3 7432N 7832 QUAD OR gates
+ 3 7432N 7832 QUAD OR gates
1 1489 7841 Quad line receivers
1 1488 7823 Quad line tranceivers
1 74163 7827 Synchrounous 4 bit counters
@@ -143,7 +143,7 @@ public:
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
{ }
-
+
private:
virtual void machine_start() override;
virtual void machine_reset() override;
diff --git a/src/mame/drivers/divebomb.cpp b/src/mame/drivers/divebomb.cpp
index 5d7c620e2ea..d15cd8ded44 100644
--- a/src/mame/drivers/divebomb.cpp
+++ b/src/mame/drivers/divebomb.cpp
@@ -407,13 +407,13 @@ MACHINE_CONFIG_START(divebomb_state::divebomb)
MCFG_INPUT_MERGER_ANY_HIGH("fgcpu_irq")
MCFG_INPUT_MERGER_OUTPUT_HANDLER(INPUTLINE("fgcpu", INPUT_LINE_IRQ0))
-
+
MCFG_GENERIC_LATCH_8_ADD("fg2spr")
MCFG_GENERIC_LATCH_DATA_PENDING_CB(INPUTLINE("spritecpu", INPUT_LINE_IRQ0))
MCFG_GENERIC_LATCH_8_ADD("fg2roz")
MCFG_GENERIC_LATCH_DATA_PENDING_CB(INPUTLINE("rozcpu", INPUT_LINE_IRQ0))
-
+
MCFG_GENERIC_LATCH_8_ADD("spr2fg")
MCFG_GENERIC_LATCH_DATA_PENDING_CB(DEVWRITELINE("fgcpu_irq", input_merger_any_high_device, in_w<0>))
diff --git a/src/mame/drivers/dmv.cpp b/src/mame/drivers/dmv.cpp
index 84b6e8ca456..20df4ae2852 100644
--- a/src/mame/drivers/dmv.cpp
+++ b/src/mame/drivers/dmv.cpp
@@ -403,10 +403,10 @@ QUICKLOAD_LOAD_MEMBER( dmv_state, dmv )
m_ram->base()[i+0x100] = data;
}
- m_ram->base()[0x80] = m_ram->base()[0x81] = 0; // clear out command tail
-
+ m_ram->base()[0x80] = m_ram->base()[0x81] = 0; // clear out command tail
+
m_maincpu->set_pc(0x100); // start program
- m_maincpu->set_state_int(Z80_SP, 256 * m_ram->base()[7] - 300); // put the stack a bit before BDOS
+ m_maincpu->set_state_int(Z80_SP, 256 * m_ram->base()[7] - 300); // put the stack a bit before BDOS
return image_init_result::PASS;
}
@@ -865,7 +865,7 @@ MACHINE_CONFIG_START(dmv_state::dmv)
MCFG_DMVCART_SLOT_OUT_IRQ_CB(WRITELINE(dmv_state, irq7a_w))
MCFG_SOFTWARE_LIST_ADD("flop_list", "dmv")
-
+
MCFG_QUICKLOAD_ADD("quickload", dmv_state, dmv, "com,cpm", 3)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/dynax.cpp b/src/mame/drivers/dynax.cpp
index 5618afe95f2..e997f781f93 100644
--- a/src/mame/drivers/dynax.cpp
+++ b/src/mame/drivers/dynax.cpp
@@ -5820,10 +5820,10 @@ ROM_START( warahana )
ROM_LOAD( "613-02.4d", 0x30000, 0x20000, CRC(d267a707) SHA1(c38cb06dc09f9062ad4cdd659333410bd2decd01) )
ROM_LOAD( "613-03.5d", 0x50000, 0x20000, CRC(62402ac9) SHA1(bf52d22b119d54410dad4949b0687bb0edf3e143) )
-// ROM_REGION( 0x00000, "gfx1", 0 ) // blitter data
+// ROM_REGION( 0x00000, "gfx1", 0 ) // blitter data
// unused
-// ROM_REGION( 0x00000, "gfx2", 0 ) // blitter data
+// ROM_REGION( 0x00000, "gfx2", 0 ) // blitter data
// unused
ROM_REGION( 0xc0000, "gfx3", 0 ) // blitter data
diff --git a/src/mame/drivers/esqasr.cpp b/src/mame/drivers/esqasr.cpp
index 8ce0a98e8a6..d7330256c07 100644
--- a/src/mame/drivers/esqasr.cpp
+++ b/src/mame/drivers/esqasr.cpp
@@ -64,7 +64,7 @@ public:
optional_device<es5510_device> m_esp;
optional_device<esq_5505_5510_pump_device> m_pump;
required_device<esq2x40_sq1_device> m_sq1vfd;
-
+
virtual void machine_start() override;
virtual void machine_reset() override;
@@ -123,11 +123,11 @@ MACHINE_CONFIG_START(esqasr_state::asr)
MCFG_ESQ2X40_SQ1_ADD("sq1vfd")
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
-
+
MCFG_SOUND_ADD("pump", ESQ_5505_5510_PUMP, XTAL(16'000'000) / (16 * 32))
MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
MCFG_SOUND_ROUTE(1, "rspeaker", 1.0)
-
+
MCFG_SOUND_ADD("ensoniq", ES5506, XTAL(16'000'000))
MCFG_ES5506_REGION0("waverom") /* Bank 0 */
MCFG_ES5506_REGION1("waverom2") /* Bank 1 */
@@ -156,11 +156,11 @@ MACHINE_CONFIG_START(esqasr_state::asrx)
MCFG_ESQ2X40_SQ1_ADD("sq1vfd")
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
-
+
MCFG_SOUND_ADD("pump", ESQ_5505_5510_PUMP, XTAL(16'000'000) / (16 * 32)) // Actually ES5511
MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
MCFG_SOUND_ROUTE(1, "rspeaker", 1.0)
-
+
MCFG_SOUND_ADD("ensoniq", ES5506, XTAL(16'000'000))
MCFG_ES5506_REGION0("waverom") /* Bank 0 */
MCFG_ES5506_REGION1("waverom2") /* Bank 1 */
diff --git a/src/mame/drivers/esqkt.cpp b/src/mame/drivers/esqkt.cpp
index 0f90c6d8e11..676565be99d 100644
--- a/src/mame/drivers/esqkt.cpp
+++ b/src/mame/drivers/esqkt.cpp
@@ -120,7 +120,7 @@ public:
required_device<scn2681_device> m_duart;
required_device<esqpanel2x16_sq1_device> m_sq1panel;
required_device<midi_port_device> m_mdout;
-
+
virtual void machine_start() override;
virtual void machine_reset() override;
@@ -242,7 +242,7 @@ MACHINE_CONFIG_START(esqkt_state::kt)
MCFG_SOUND_ADD("pump", ESQ_5505_5510_PUMP, XTAL(16'000'000) / (16 * 32))
MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
MCFG_SOUND_ROUTE(1, "rspeaker", 1.0)
-
+
MCFG_SOUND_ADD("ensoniq1", ES5506, XTAL(16'000'000))
MCFG_ES5506_REGION0("waverom") /* Bank 0 */
MCFG_ES5506_REGION1("waverom2") /* Bank 1 */
diff --git a/src/mame/drivers/galaxian.cpp b/src/mame/drivers/galaxian.cpp
index 0bfd47ab091..3bfab7940f8 100644
--- a/src/mame/drivers/galaxian.cpp
+++ b/src/mame/drivers/galaxian.cpp
@@ -11616,7 +11616,7 @@ ROM_END
// two board stack MU1 and MU2A. Has different colors and level sequence. Came from an A.V.G. by Zaccaria cabinet with Konami license, but still has only Konami copyright.
-// https://www.youtube.com/watch?v=CZRRVACtC3A
+// https://www.youtube.com/watch?v=CZRRVACtC3A
ROM_START( scobrag )
ROM_REGION( 0x10000, "maincpu", 0 )
ROM_LOAD( "2c_32.bin", 0x0000, 0x1000, CRC(04ffab61) SHA1(302ae8b224d98c405aadd363623eddf88bdc3f0e) )
diff --git a/src/mame/drivers/galpani3.cpp b/src/mame/drivers/galpani3.cpp
index 84671f15f90..c1e0b927ad8 100644
--- a/src/mame/drivers/galpani3.cpp
+++ b/src/mame/drivers/galpani3.cpp
@@ -150,7 +150,7 @@ void galpani3_state::video_start()
{
/* so we can use video/sknsspr.c */
m_spritegen->skns_sprite_kludge(0,0);
-
+
m_spriteram32 = make_unique_clear<uint32_t[]>(0x4000/4);
m_spc_regs = make_unique_clear<uint32_t[]>(0x40/4);
@@ -190,9 +190,9 @@ void galpani3_state::video_start()
uint32_t galpani3_state::screen_update_galpani3(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)
{
const pen_t *paldata = m_palette->pens();
-
+
bitmap.fill(0, cliprect);
-
+
m_sprite_bitmap.fill(0x0000, cliprect);
m_spritegen->skns_draw_sprites(m_sprite_bitmap, cliprect, m_spriteram32.get(), 0x4000, m_spc_regs.get() );
@@ -209,7 +209,7 @@ uint32_t galpani3_state::screen_update_galpani3(screen_device &screen, bitmap_rg
uint16_t* srcline3 = m_grap2[2]->m_framebuffer.get() + ((drawy+m_grap2[2]->m_framebuffer_scrolly+11)&0x1ff) * 0x200;
uint16_t* priline = m_priority_buffer + ((drawy+m_priority_buffer_scrolly+11)&0x1ff) * 0x200;
-
+
uint32_t* dst = &bitmap.pix32(drawy & 0x3ff);
for (drawx=cliprect.min_x;drawx<=cliprect.max_x;drawx++)
@@ -407,7 +407,7 @@ void galpani3_state::galpani3_map(address_map &map)
map(0x680000, 0x680001).w("toybox", FUNC(kaneko_toybox_device::mcu_com2_w));
map(0x700000, 0x700001).w("toybox", FUNC(kaneko_toybox_device::mcu_com3_w));
map(0x780000, 0x780001).r("toybox", FUNC(kaneko_toybox_device::mcu_status_r));
-
+
map(0x800000, 0x9fffff).m("grap2_0", FUNC(kaneko_grap2_device::grap2_map));
map(0xa00000, 0xbfffff).m("grap2_1", FUNC(kaneko_grap2_device::grap2_map));
map(0xc00000, 0xdfffff).m("grap2_2", FUNC(kaneko_grap2_device::grap2_map));
diff --git a/src/mame/drivers/gkigt.cpp b/src/mame/drivers/gkigt.cpp
index efa477beff2..47b689c1fab 100644
--- a/src/mame/drivers/gkigt.cpp
+++ b/src/mame/drivers/gkigt.cpp
@@ -875,21 +875,21 @@ ROM_START( gkkey )
ROM_LOAD( "key00018,1-4002.bin", 0x00000, 0x80000, CRC(b35b8888) SHA1(60adc02d17ab0a163e9a6bfbac1f46eeb4a77243) ) /* WAP keychip */
ROM_LOAD( "key00021,1-4002.bin", 0x00000, 0x80000, CRC(4d1ef12f) SHA1(ab9eebe0ba84d8e27496864adbfe7d1639a6375e) ) /* MD3 WAP keychip & memory clear */
ROM_LOAD( "key00022,1-4002.bin", 0x00000, 0x80000, CRC(a81c3b80) SHA1(5bda045c461f71d2780db6f238c000508c49f254) ) /* MD3 non WAP keychip & memory clear */
-// ROM_LOAD( "key00023,1-4002.bin", 0x00000, 0x80000, NO_DUMP ) /* MD3 exclusive to MGM/Mirage */
-// ROM_LOAD( "key00025,1-4002.bin", 0x00000, 0x80000, NO_DUMP ) /* MD3 WAP keychip & memory clear - New Jersey */
-// ROM_LOAD( "key00026,1-4002.bin", 0x00000, 0x80000, NO_DUMP ) /* MD3 non WAP keychip & memory clear - New Jersey */
+// ROM_LOAD( "key00023,1-4002.bin", 0x00000, 0x80000, NO_DUMP ) /* MD3 exclusive to MGM/Mirage */
+// ROM_LOAD( "key00025,1-4002.bin", 0x00000, 0x80000, NO_DUMP ) /* MD3 WAP keychip & memory clear - New Jersey */
+// ROM_LOAD( "key00026,1-4002.bin", 0x00000, 0x80000, NO_DUMP ) /* MD3 non WAP keychip & memory clear - New Jersey */
ROM_LOAD( "key00028,1-4002.bin", 0x00000, 0x80000, CRC(bf06b98b) SHA1(5c46afb560bb5c0f7540b714c0dea851c6b18fe6) ) /* MD3 non WAP keychip & memory clear - 044 boards ONLY */
ROM_LOAD( "key00029,1-4002.bin", 0x00000, 0x80000, CRC(f458afbb) SHA1(e552b3abc3407e443fdf83163ad10a0e4bb00d19) ) /* MD3 WAP keychip & memory clear - 044 boards ONLY */
-// ROM_LOAD( "key00030,1-4002.bin", 0x00000, 0x80000, NO_DUMP ) /* MD3 non WAP keychip & memory clear - New Jersey - 044 boards ONLY */
+// ROM_LOAD( "key00030,1-4002.bin", 0x00000, 0x80000, NO_DUMP ) /* MD3 non WAP keychip & memory clear - New Jersey - 044 boards ONLY */
ROM_LOAD( "key00032,1-4002.bin", 0x00000, 0x80000, CRC(eafe9167) SHA1(f44f80f7402f43f03cb16225dc944d1f1142a523) )
-// ROM_LOAD( "key00033,1-4002.bin", 0x00000, 0x80000, NO_DUMP ) /* MD3 WAP keychip & memory clear - New Jersey - 044 boards ONLY */
+// ROM_LOAD( "key00033,1-4002.bin", 0x00000, 0x80000, NO_DUMP ) /* MD3 WAP keychip & memory clear - New Jersey - 044 boards ONLY */
ROM_LOAD( "key00037,1-4002.bin", 0x00000, 0x80000, CRC(99bc6554) SHA1(f3afcbd54bd9c4d726df54f1b7aee89cdb4c24f7) ) /* Replaces KEY00017 */
ROM_LOAD( "key00038,1-4002.bin", 0x00000, 0x80000, CRC(3f9e9e43) SHA1(06540b8e96de9bcb7c5de90d1eb408a9353f82dc) ) /* Replaces KEY00018 */
ROM_LOAD( "key00039,1-4002.bin", 0x00000, 0x80000, CRC(da98ba31) SHA1(c87ef5638c55e9ffafc8cc53b1509aaddf23c1c2) ) /* Replaces KEY00021 */
ROM_LOAD( "key00040,1-4002.bin", 0x00000, 0x80000, CRC(a37bda3b) SHA1(af9e0aa3817849f32649392947671cce7ae11af9) ) /* Replaces KEY00022 */
-// ROM_LOAD( "key00041,1-4002.bin", 0x00000, 0x80000, NO_DUMP ) /* Replaces KEY00023 */
-// ROM_LOAD( "key00042,1-4002.bin", 0x00000, 0x80000, NO_DUMP ) /* Replaces KEY00025 */
-// ROM_LOAD( "key00043,1-4002.bin", 0x00000, 0x80000, NO_DUMP ) /* Replaces KEY00026 */
+// ROM_LOAD( "key00041,1-4002.bin", 0x00000, 0x80000, NO_DUMP ) /* Replaces KEY00023 */
+// ROM_LOAD( "key00042,1-4002.bin", 0x00000, 0x80000, NO_DUMP ) /* Replaces KEY00025 */
+// ROM_LOAD( "key00043,1-4002.bin", 0x00000, 0x80000, NO_DUMP ) /* Replaces KEY00026 */
ROM_LOAD( "key00045,1-4002.bin", 0x00000, 0x80000, CRC(bc7a98f9) SHA1(d78bc2528c6ac2fddb9a2b2855a9e024e9d8df85) )
ROM_LOAD( "cvs00077,1-4002.bin", 0x00000, 0x80000, CRC(052e7da8) SHA1(e781b198b273ecfd904168e3e30e6b453d54bd16) ) /* EZ Pay 80960 CVT Clear/Key & 80960 CVT Route/Safe */
ROM_LOAD( "cvs00080,1-4002.bin", 0x00000, 0x80000, CRC(f58a3040) SHA1(906ed54aeafdf2cf58ee8425405498a8c64b52e1) )
diff --git a/src/mame/drivers/gunpey.cpp b/src/mame/drivers/gunpey.cpp
index fedf4eb7400..d17bef7bf78 100644
--- a/src/mame/drivers/gunpey.cpp
+++ b/src/mame/drivers/gunpey.cpp
@@ -6,13 +6,13 @@
TODO:
- Implement correct Axell video chip decompression scheme, currently using decompressed
- data extracted from the PCB (for reference)
- - Framebuffer is actually in the same DRAM as the blitter data gets copied to, not a
- separate RAM. It (and the double buffered copy) appear near the top right of the
- framebuffer, so there are likely registers to control this that need finding.
- - Other sprite modes supported by the video chip (not used here?)
- - Check zooming precision against hardware
- - Cleanup (still a lot of debug code in here)
+ data extracted from the PCB (for reference)
+ - Framebuffer is actually in the same DRAM as the blitter data gets copied to, not a
+ separate RAM. It (and the double buffered copy) appear near the top right of the
+ framebuffer, so there are likely registers to control this that need finding.
+ - Other sprite modes supported by the video chip (not used here?)
+ - Check zooming precision against hardware
+ - Cleanup (still a lot of debug code in here)
=============================================================================================
ASM code study:
@@ -351,7 +351,7 @@ uint8_t gunpey_state::draw_gfx(bitmap_ind16 &bitmap,const rectangle &cliprect,in
uint32_t widthstep = 1<<ZOOM_SHIFT;
uint32_t heightstep = 1<<ZOOM_SHIFT;
-
+
if (zoomwidth) widthstep = sourcewidth / zoomwidth;
if (zoomheight) heightstep = sourceheight / zoomheight;
@@ -369,7 +369,7 @@ uint8_t gunpey_state::draw_gfx(bitmap_ind16 &bitmap,const rectangle &cliprect,in
if (((zoomwidth<<ZOOM_SHIFT) != sourcewidth) || ((zoomheight<<ZOOM_SHIFT) != sourceheight))
{
- // printf("sw %08x zw %08x sh %08x zh %08x heightstep %08x widthstep %08x \n", sourcewidth, zoomwidth<<ZOOM_SHIFT, sourceheight, zoomheight<<ZOOM_SHIFT, heightstep, widthstep );
+ // printf("sw %08x zw %08x sh %08x zh %08x heightstep %08x widthstep %08x \n", sourcewidth, zoomwidth<<ZOOM_SHIFT, sourceheight, zoomheight<<ZOOM_SHIFT, heightstep, widthstep );
}
if(bpp_sel == 0x00) // 4bpp
diff --git a/src/mame/drivers/hyprduel.cpp b/src/mame/drivers/hyprduel.cpp
index 2222dfc1d05..76eb5a7ea06 100644
--- a/src/mame/drivers/hyprduel.cpp
+++ b/src/mame/drivers/hyprduel.cpp
@@ -79,7 +79,7 @@ public:
TIMER_CALLBACK_MEMBER(vblank_end_callback);
DECLARE_WRITE_LINE_MEMBER(vdp_blit_end_w);
TIMER_DEVICE_CALLBACK_MEMBER(interrupt);
-
+
void magerror(machine_config &config);
void hyprduel(machine_config &config);
void i4220_config(machine_config &config);
diff --git a/src/mame/drivers/ibmpc.cpp b/src/mame/drivers/ibmpc.cpp
index bcef016f3e4..3ebdfc1a8ff 100644
--- a/src/mame/drivers/ibmpc.cpp
+++ b/src/mame/drivers/ibmpc.cpp
@@ -524,9 +524,9 @@ ROM_START( ibm5160 )
before.
** The Main Display Board (with one 48-pin custom, two 40 pin customs at least one of which
- is an MCU, four 2016BP-10 srams, an 8254 and an 8255 on it, a SCN2672 (PVTC), two crystals
- (16.257MHz and 21.676MHz) plus two mask roms ) is stickered "61X6579 // 983623 // 6390 SU"
- on the front.
+ is an MCU, four 2016BP-10 srams, an 8254 and an 8255 on it, a SCN2672 (PVTC), two crystals
+ (16.257MHz and 21.676MHz) plus two mask roms ) is stickered "61X6579 // 983623 // 6390 SU"
+ on the front.
* The pcb is trace-marked "6320987" on both the front and back.
* The card has a DE-9 connector on it for a monitor.
* The customs are marked:
diff --git a/src/mame/drivers/kaneko16.cpp b/src/mame/drivers/kaneko16.cpp
index 8e6c1454048..5b9d0c076a5 100644
--- a/src/mame/drivers/kaneko16.cpp
+++ b/src/mame/drivers/kaneko16.cpp
@@ -184,14 +184,14 @@ template<int Mask>
WRITE8_MEMBER(kaneko16_state::oki_bank0_w)
{
m_okibank[0]->set_entry(data & Mask);
-// logerror("%s:Selecting OKI1 bank %02X\n",machine().describe_context(),data&0xff);
+// logerror("%s:Selecting OKI1 bank %02X\n",machine().describe_context(),data&0xff);
}
template<int Mask>
WRITE8_MEMBER(kaneko16_state::oki_bank1_w)
{
m_okibank[1]->set_entry(data & Mask);
-// logerror("%s:Selecting OKI2 bank %02X\n",machine().describe_context(),data&0xff);
+// logerror("%s:Selecting OKI2 bank %02X\n",machine().describe_context(),data&0xff);
}
/***************************************************************************
diff --git a/src/mame/drivers/konblands.cpp b/src/mame/drivers/konblands.cpp
index 978a2c620c4..064361954eb 100644
--- a/src/mame/drivers/konblands.cpp
+++ b/src/mame/drivers/konblands.cpp
@@ -4,16 +4,16 @@
GX455 - Konami Badlands
- driver by Angelo Salese
-
- TODO:
- - verify interrupts, service mode seems way too fast and it randomly crashes;
- - fix overlay positioning & transparency enable;
- - dipswitches;
- - add sn76496 latch mechanism (should actually be in the device itself);
-
- Notes:
- - to enter service mode hold start 1 & 2 at POST.
+ driver by Angelo Salese
+
+ TODO:
+ - verify interrupts, service mode seems way too fast and it randomly crashes;
+ - fix overlay positioning & transparency enable;
+ - dipswitches;
+ - add sn76496 latch mechanism (should actually be in the device itself);
+
+ Notes:
+ - to enter service mode hold start 1 & 2 at POST.
***************************************************************************/
@@ -35,7 +35,7 @@ public:
, m_maincpu(*this, "maincpu")
, m_laserdisc(*this, "laserdisc")
, m_vram(*this, "vram")
- , m_gfxdecode(*this, "gfxdecode")
+ , m_gfxdecode(*this, "gfxdecode")
{
}
@@ -68,7 +68,7 @@ private:
required_device<pioneer_ldv1000_device> m_laserdisc;
required_shared_ptr<uint8_t> m_vram;
required_device<gfxdecode_device> m_gfxdecode;
-
+
bool m_nmi_enable, m_irq_enable, m_firq_enable;
};
@@ -234,7 +234,7 @@ static INPUT_PORTS_START( konblands )
PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
PORT_DIPSETTING( 0x80, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
-
+
PORT_START("INPUTS")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 )
@@ -342,11 +342,11 @@ ROM_START( kbadlands )
ROM_LOAD( "badlands.a14", 0x2000, 0x2000, CRC(82cb4614) SHA1(0cab824b4f3fb29e300f9c05911422d6047d073b) )
ROM_REGION( 0x2000, "gfx", ROMREGION_ERASE00 )
- ROM_LOAD( "badlands.c8", 0x0000, 0x2000, CRC(590209fe) SHA1(8dfc836420e4c3fa417ec0aefb617a7abd0ccbc2) )
+ ROM_LOAD( "badlands.c8", 0x0000, 0x2000, CRC(590209fe) SHA1(8dfc836420e4c3fa417ec0aefb617a7abd0ccbc2) )
ROM_REGION( 0x20, "proms", 0 )
ROM_LOAD( "badlands.c4", 0x000, 0x020, CRC(6757be8d) SHA1(1c9c24e29017f0a16b8a7dedd9776109e7e5734c) )
-
+
DISK_REGION( "laserdisc" )
DISK_IMAGE_READONLY( "badlands", 0, NO_DUMP )
ROM_END
@@ -354,15 +354,15 @@ ROM_END
ROM_START( kbadlandsh )
ROM_REGION( 0x4000, "ipl", ROMREGION_ERASE00 )
- ROM_LOAD( "bl_hit.7a", 0x0000, 0x2000, CRC(a135e444) SHA1(7ef5394c698a5867aef200f577b8708df455b653) )
- ROM_LOAD( "bl_hit.6a", 0x2000, 0x2000, CRC(4c287f37) SHA1(b6b6b64174f1fd014b6c808015f1b0e65b56d24b) )
+ ROM_LOAD( "bl_hit.7a", 0x0000, 0x2000, CRC(a135e444) SHA1(7ef5394c698a5867aef200f577b8708df455b653) )
+ ROM_LOAD( "bl_hit.6a", 0x2000, 0x2000, CRC(4c287f37) SHA1(b6b6b64174f1fd014b6c808015f1b0e65b56d24b) )
ROM_REGION( 0x2000, "gfx", ROMREGION_ERASE00 )
- ROM_LOAD( "bl_hit.9c", 0x000000, 0x002000, CRC(44c3441e) SHA1(6b42961d31e5d025758cdfdc573648a83004577d) )
+ ROM_LOAD( "bl_hit.9c", 0x000000, 0x002000, CRC(44c3441e) SHA1(6b42961d31e5d025758cdfdc573648a83004577d) )
ROM_REGION( 0x20, "proms", 0 )
- ROM_LOAD( "bl_hit.4f", 0x000000, 0x000020, CRC(0226f881) SHA1(b17c5681fca5ae65128793cf263725e2fe1314de) )
-
+ ROM_LOAD( "bl_hit.4f", 0x000000, 0x000020, CRC(0226f881) SHA1(b17c5681fca5ae65128793cf263725e2fe1314de) )
+
DISK_REGION( "laserdisc" )
DISK_IMAGE_READONLY( "badlands", 0, NO_DUMP )
ROM_END
diff --git a/src/mame/drivers/lastbank.cpp b/src/mame/drivers/lastbank.cpp
index 2aaf4c9ceb5..17a3a4ec44e 100644
--- a/src/mame/drivers/lastbank.cpp
+++ b/src/mame/drivers/lastbank.cpp
@@ -73,7 +73,7 @@ public:
DECLARE_WRITE8_MEMBER(irq_vector_w);
DECLARE_READ8_MEMBER(irq_enable_r);
DECLARE_WRITE8_MEMBER(irq_enable_w);
-
+
DECLARE_DRIVER_INIT(lastbank);
TIMER_DEVICE_CALLBACK_MEMBER(irq_scanline);
@@ -547,7 +547,7 @@ MACHINE_CONFIG_START(lastbank_state::lastbank)
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
-
+
MCFG_GENERIC_LATCH_8_ADD("soundlatch1")
MCFG_GENERIC_LATCH_8_ADD("soundlatch2")
diff --git a/src/mame/drivers/magnum.cpp b/src/mame/drivers/magnum.cpp
index dfc4f571012..1c492464355 100644
--- a/src/mame/drivers/magnum.cpp
+++ b/src/mame/drivers/magnum.cpp
@@ -222,19 +222,19 @@ WRITE8_MEMBER(magnum_state::sysctl_w)
}
/* IRQs
- * bit 0 -
- * 1 -
- * 2 -
- * 3 -
- * 4 -
- * 5 - Keyboard?
- * 6 - RTC?
- * 7 -
- * 8 - UART1?
- * 9 - UART2?
- * 10- Reset?
- * 11-14 ...
- * 15- CRTC?
+ * bit 0 -
+ * 1 -
+ * 2 -
+ * 3 -
+ * 4 -
+ * 5 - Keyboard?
+ * 6 - RTC?
+ * 7 -
+ * 8 - UART1?
+ * 9 - UART2?
+ * 10- Reset?
+ * 11-14 ...
+ * 15- CRTC?
*/
READ16_MEMBER(magnum_state::irqstat_r)
diff --git a/src/mame/drivers/metro.cpp b/src/mame/drivers/metro.cpp
index 24656cdb409..62a00847a40 100644
--- a/src/mame/drivers/metro.cpp
+++ b/src/mame/drivers/metro.cpp
@@ -3251,7 +3251,7 @@ MACHINE_CONFIG_END
MACHINE_CONFIG_START(metro_state::puzzli)
daitorid(config);
-
+
MCFG_CPU_MODIFY("maincpu")
MCFG_CPU_VBLANK_INT_REMOVE()
MCFG_CPU_PERIODIC_INT_REMOVE()
@@ -3735,7 +3735,7 @@ MACHINE_CONFIG_START(metro_state::gstrik2)
MCFG_DEVICE_REMOVE("lspeaker")
MCFG_DEVICE_REMOVE("rspeaker")
MCFG_SPEAKER_STANDARD_MONO("mono")
-
+
MCFG_SOUND_REPLACE("ymsnd", YM2610, 16_MHz_XTAL/2)
MCFG_YM2610_IRQ_HANDLER(INPUTLINE("audiocpu", 0))
MCFG_SOUND_ROUTE(0, "mono", 0.25)
@@ -4017,7 +4017,7 @@ Notes:
HSync: 15.11kHz
TODO:
- HUM-002-A-(B) PCB set is also exists, but not dumped. it's blazing tornado conversion?
+ HUM-002-A-(B) PCB set is also exists, but not dumped. it's blazing tornado conversion?
*/
@@ -5674,7 +5674,7 @@ GAME( 1994, blzntrnd, 0, blzntrnd, blzntrnd, metro_state, blzntrnd, R
GAME( 1996, gstrik2, 0, gstrik2, gstrik2, metro_state, blzntrnd, ROT0, "Human Amusement", "Grand Striker 2 (Europe and Oceania)", MACHINE_IMPERFECT_GRAPHICS | MACHINE_SUPPORTS_SAVE | MACHINE_NO_COCKTAIL )
GAME( 1996, gstrik2j, gstrik2, gstrik2, gstrik2, metro_state, blzntrnd, ROT0, "Human Amusement", "Grand Striker 2 (Japan)", MACHINE_IMPERFECT_GRAPHICS | MACHINE_SUPPORTS_SAVE | MACHINE_NO_COCKTAIL ) // priority between rounds
-// ES-9309B-B
+// ES-9309B-B
GAME( 1995, vmetal, 0, vmetal, vmetal, metro_state, vmetal, ROT90, "Excellent System", "Varia Metal", MACHINE_SUPPORTS_SAVE )
GAME( 1995, vmetaln, vmetal, vmetal, vmetal, metro_state, vmetal, ROT90, "Excellent System (New Ways Trading Co. license)", "Varia Metal (New Ways Trading Co.)", MACHINE_SUPPORTS_SAVE )
diff --git a/src/mame/drivers/midvunit.cpp b/src/mame/drivers/midvunit.cpp
index 7feda3c7cd4..c7c1d76c7d2 100644
--- a/src/mame/drivers/midvunit.cpp
+++ b/src/mame/drivers/midvunit.cpp
@@ -57,7 +57,7 @@ void midvunit_state::machine_start()
save_item(NAME(m_wheel_board_output));
save_item(NAME(m_wheel_board_last));
save_item(NAME(m_wheel_board_u8_latch));
-
+
m_optional_drivers.resolve();
}
@@ -654,7 +654,7 @@ void midvunit_state::midvplus_map(address_map &map)
* Input ports
*
*************************************/
-
+
static INPUT_PORTS_START( midvunit )
PORT_START("991030")
PORT_BIT( 0x0000ffff, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, driver_device,custom_port_read, "IN1")
@@ -705,7 +705,7 @@ INPUT_PORTS_END
static INPUT_PORTS_START( crusnusa )
PORT_INCLUDE( midvunit )
-
+
PORT_START("MOTION")
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_NAME("Motion Status - Mat Not Plugged In")
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_NAME("Motion Status - Mat Stepped On")
@@ -715,7 +715,7 @@ static INPUT_PORTS_START( crusnusa )
PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_NAME("Motion Status - Fail Safe Switch Engaged")
PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_NAME("Motion Status - Fail Safe Switch Not Connected Correctly")
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_NAME("Motion Status - Board Not Plugged In")
-
+
PORT_MODIFY("IN1")
PORT_BIT( 0x0080, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_NAME("Motion Stop")
PORT_BIT( 0x0100, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_NAME("Motion Status - Device 1")
diff --git a/src/mame/drivers/milton6805.cpp b/src/mame/drivers/milton6805.cpp
index 6a61b74ce9d..14a85fdf0fe 100644
--- a/src/mame/drivers/milton6805.cpp
+++ b/src/mame/drivers/milton6805.cpp
@@ -5,7 +5,7 @@ infos provided by Sean Riddle
Milton Bradley Milton
-Chips labeled
+Chips labeled
SC87008P
7834043001
@@ -76,7 +76,7 @@ red
C F
B G
A
-
+
yellow
A
G B
diff --git a/src/mame/drivers/model2.cpp b/src/mame/drivers/model2.cpp
index a0dd627ba87..59b4ce3fe2d 100644
--- a/src/mame/drivers/model2.cpp
+++ b/src/mame/drivers/model2.cpp
@@ -9,46 +9,46 @@
Hardware and protection reverse-engineering and general assistance by ElSemi.
MAME driver by R. Belmont, Olivier Galibert, ElSemi and Angelo Salese.
- TODO:
- - z-sort, focal distance, color gamma and Mip Mapping still needs to be properly sorted in the renderer;
- - FIFO needs to be properly emulated in the various CPU cores (we currently rely on some workarounds);
- - sound comms still needs some work (sometimes m68k doesn't get some commands or play them with a delay);
- - 2C games needs TGPx4 emulation;
- - outputs and artwork (for gearbox indicators);
- - clean-ups;
-
- TODO (per-game issues)
- - daytona: crashes when coining it up with master network active
- culprit is a wrong command parameter in geo_parse texture data opcode;
- - daytona: car glasses doesn't get loaded during gameplay;
- - doa, doaa: corrupted sound, eventually becomes silent;
- - doa, doaa: Kasumi model has many culled polygons;
- - dynamcopc: corrupts palette for 2d (most likely unrelated with the lack of DSP);
- - fvipers, schamp: rasterizer has issues displaying some characters @see video/model2.cpp
+ TODO:
+ - z-sort, focal distance, color gamma and Mip Mapping still needs to be properly sorted in the renderer;
+ - FIFO needs to be properly emulated in the various CPU cores (we currently rely on some workarounds);
+ - sound comms still needs some work (sometimes m68k doesn't get some commands or play them with a delay);
+ - 2C games needs TGPx4 emulation;
+ - outputs and artwork (for gearbox indicators);
+ - clean-ups;
+
+ TODO (per-game issues)
+ - daytona: crashes when coining it up with master network active
+ culprit is a wrong command parameter in geo_parse texture data opcode;
+ - daytona: car glasses doesn't get loaded during gameplay;
+ - doa, doaa: corrupted sound, eventually becomes silent;
+ - doa, doaa: Kasumi model has many culled polygons;
+ - dynamcopc: corrupts palette for 2d (most likely unrelated with the lack of DSP);
+ - fvipers, schamp: rasterizer has issues displaying some characters @see video/model2.cpp
- fvipers: enables timers, but then irq register is empty, hence it crashes with an "interrupt halt" at POST (regression);
- lastbrnx: uses external DMA port 0 for uploading SHARC program, hook-up might not be 100% right;
- - lastbrnx: has wrong graphics, uses several SHARC opcodes that needs to be double checked
- (compute_fmul_avg, shift operation 0x11, ALU operation 0x89 (compute_favg));
- - manxtt: no escape from "active motion slider" tutorial (needs analog inputs),
- bypass it by entering then exiting service mode;
+ - lastbrnx: has wrong graphics, uses several SHARC opcodes that needs to be double checked
+ (compute_fmul_avg, shift operation 0x11, ALU operation 0x89 (compute_favg));
+ - manxtt: no escape from "active motion slider" tutorial (needs analog inputs),
+ bypass it by entering then exiting service mode;
- manxtt: no bikes are visible (not a z-sort issue!);
- - manxtt: course select island map doesn't rotate properly:
- timing issue, i960 sends read/write geo addresses to bufferram 0x918000/4 which TGP never reads in time.
- - sgt24h: first turn in easy reverse course has ugly rendered mountain in background;
- - skytargt: really slow during gameplay (fixed?);
- - skytargt: short draw distance (might be down to z-sort);
+ - manxtt: course select island map doesn't rotate properly:
+ timing issue, i960 sends read/write geo addresses to bufferram 0x918000/4 which TGP never reads in time.
+ - sgt24h: first turn in easy reverse course has ugly rendered mountain in background;
+ - skytargt: really slow during gameplay (fixed?);
+ - skytargt: short draw distance (might be down to z-sort);
- srallyc: some 3d elements doesn't show up properly (tree models, last hill in course 1 is often black colored);
- vcop: sound dies at enter initial screen (i.e. after played the game once) (untested);
- vcop: lightgun input is offsetted (needs to be calibrated in service mode);
- - vcop: missing 3d at stage select screen (priority?);
- - vstriker: stadium ads have terrible colors (they uses the wrong color table, @see video/model2rd.hxx)
-
- Notes:
- - some analog games can be calibrated in service mode via volume control item ...
- - ... while in manxtt (maybe others) you calibrate by entering input test, press service
- (a blinking > will appear near the item to be calibrated) then keep pressed shift down while
- calibrating the analog input (a blinking "setting" will appear).
-
+ - vcop: missing 3d at stage select screen (priority?);
+ - vstriker: stadium ads have terrible colors (they uses the wrong color table, @see video/model2rd.hxx)
+
+ Notes:
+ - some analog games can be calibrated in service mode via volume control item ...
+ - ... while in manxtt (maybe others) you calibrate by entering input test, press service
+ (a blinking > will appear near the item to be calibrated) then keep pressed shift down while
+ calibrating the analog input (a blinking "setting" will appear).
+
======================================================================================================================================
Sega Model 2 Feedback Driver Board
@@ -367,10 +367,10 @@ MACHINE_START_MEMBER(model2_state,model2)
m_port_1c00010 = 0;
m_port_1c00012 = 1;
m_port_1c00014 = 2;
-
+
// initialize custom debugger pool, @see machine/model2.cpp
debug_init();
-
+
save_item(NAME(m_intreq));
save_item(NAME(m_intena));
save_item(NAME(m_coproctl));
@@ -565,7 +565,7 @@ READ32_MEMBER(model2_state::fifo_control_2a_r)
// #### 1 if fifo empty, zerogun needs | 0x04 set
// TODO: 0x04 is probably fifo full, zeroguna stalls with a fresh nvram with that enabled?
return r;
-// return r | 0x04;
+// return r | 0x04;
}
READ32_MEMBER(model2_state::videoctl_r)
@@ -825,7 +825,7 @@ WRITE32_MEMBER(model2_state::copro_ctl1_w)
{
logerror("Start copro upload\n");
m_coprocnt = 0;
-
+
if(m_dsp_type == DSP_TYPE_TGP)
m_tgp->set_input_line(INPUT_LINE_HALT, ASSERT_LINE);
}
@@ -875,8 +875,8 @@ WRITE32_MEMBER(model2_state::copro_function_port_w)
/* spin the main cpu and let the TGP catch up */
m_maincpu->spin_until_time(attotime::from_usec(1));
return;
- }
-
+ }
+
m_tgpx4->fifoin_w(d);
}
}
@@ -898,7 +898,7 @@ READ32_MEMBER(model2_state::copro_fifo_r)
downcast<i960_cpu_device &>(*m_maincpu).i960_stall();
/* spin the main cpu and let the TGP catch up */
m_maincpu->spin_until_time(attotime::from_usec(1));
-
+
return 0x00884000+offset*4;
}
else
@@ -1772,7 +1772,7 @@ static INPUT_PORTS_START( model2 )
PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_PLAYER(2)
PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(2)
PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_PLAYER(2)
-
+
PORT_START("DSW")
PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW:1")
PORT_DIPSETTING( 0x01, DEF_STR( Off ) )
@@ -1869,7 +1869,7 @@ static INPUT_PORTS_START( vcop )
PORT_START("IN4")
PORT_BIT(0xff, IP_ACTIVE_LOW, IPT_UNKNOWN )
-
+
PORT_START("P1_X")
PORT_BIT(0x3ff, 0x200, IPT_LIGHTGUN_X ) PORT_CROSSHAIR(X, 1.0, 0.0, 0) PORT_MINMAX( 0, 0x3ff ) PORT_SENSITIVITY( 50 ) PORT_KEYDELTA( 15 ) PORT_PLAYER(1)
@@ -1894,7 +1894,7 @@ static INPUT_PORTS_START( gunblade )
PORT_MODIFY("P2_X")
PORT_BIT( 0x3ff, IP_ACTIVE_LOW, IPT_UNUSED )
-
+
PORT_MODIFY("P2_Y")
PORT_BIT( 0x3ff, IP_ACTIVE_LOW, IPT_UNUSED )
@@ -2039,17 +2039,17 @@ static INPUT_PORTS_START( sgt24h )
PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) PORT_NAME("P1 Shift Up")
PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1) PORT_NAME("P1 Shift Down")
PORT_BIT(0xc0, IP_ACTIVE_LOW, IPT_UNKNOWN )
-
+
PORT_MODIFY("IN3")
PORT_BIT(0xff, IP_ACTIVE_LOW, IPT_UNUSED )
-
+
PORT_MODIFY("GEARS")
PORT_BIT(0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
INPUT_PORTS_END
static INPUT_PORTS_START( overrev )
PORT_INCLUDE( sgt24h )
-
+
PORT_MODIFY("IN2")
PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(1) PORT_NAME("View 1 Button")
// optional, enableable when hardware type isn't in "normal (2in1)" mode (overrev)
@@ -2067,7 +2067,7 @@ static INPUT_PORTS_START( bel )
PORT_MODIFY("IN1")
PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1) PORT_NAME("P1 Missile")
PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2) PORT_NAME("P2 Missile")
-// PORT_BIT(0xf0, IP_ACTIVE_LOW, IPT_UNUSED )
+// PORT_BIT(0xf0, IP_ACTIVE_LOW, IPT_UNUSED )
INPUT_PORTS_END
static INPUT_PORTS_START( rchase2 )
@@ -2104,7 +2104,7 @@ static INPUT_PORTS_START( skytargt )
PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("P1 Machine Gun")
PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("P1 Missile")
PORT_BIT(0xc0, IP_ACTIVE_LOW, IPT_UNKNOWN )
-
+
PORT_MODIFY("IN2")
PORT_BIT(0xff, IP_ACTIVE_LOW, IPT_UNKNOWN )
@@ -2161,21 +2161,21 @@ static INPUT_PORTS_START( von )
PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_UP ) PORT_PLAYER(1)
PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_RIGHT ) PORT_PLAYER(1)
PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_LEFT ) PORT_PLAYER(1)
-
+
PORT_MODIFY("IN2")
PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(1) PORT_NAME("P1 Right Shot")
PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_PLAYER(1) PORT_NAME("P1 Right Dash")
PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_UNUSED )
- PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_JOYSTICKRIGHT_DOWN ) PORT_PLAYER(1)
- PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_JOYSTICKRIGHT_UP ) PORT_PLAYER(1)
+ PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_JOYSTICKRIGHT_DOWN ) PORT_PLAYER(1)
+ PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_JOYSTICKRIGHT_UP ) PORT_PLAYER(1)
PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_JOYSTICKRIGHT_RIGHT ) PORT_PLAYER(1)
PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_JOYSTICKRIGHT_LEFT ) PORT_PLAYER(1)
INPUT_PORTS_END
static INPUT_PORTS_START( skisuprg )
PORT_INCLUDE( model2 )
-
+
PORT_MODIFY("IN0")
PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Select 3 Button")
PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Zoom In Button")
@@ -2190,11 +2190,11 @@ static INPUT_PORTS_START( skisuprg )
// TODO: what are these exactly? Enables/disables when all four bits are on
PORT_BIT(0x0f, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_NAME("Foot Sensor (R)")
PORT_BIT(0xf0, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_NAME("Foot Sensor (L)")
-
+
PORT_START("ANA0")
PORT_BIT(0xff, 0x80, IPT_AD_STICK_Y ) PORT_MINMAX(0x00,0xff) PORT_SENSITIVITY(30) PORT_KEYDELTA(20) PORT_PLAYER(1)
- PORT_START("ANA1")
+ PORT_START("ANA1")
PORT_BIT(0xff, 0x80, IPT_AD_STICK_X ) PORT_MINMAX(0x00,0xff) PORT_SENSITIVITY(30) PORT_KEYDELTA(20) PORT_PLAYER(1)
INPUT_PORTS_END
@@ -2208,7 +2208,7 @@ static INPUT_PORTS_START( stcc )
PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) PORT_NAME("Shift Up")
PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1) PORT_NAME("Shift Down")
PORT_BIT(0xc0, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_PLAYER(1)
-
+
PORT_MODIFY("IN2")
PORT_BIT(0xff, IP_ACTIVE_LOW, IPT_UNUSED )
INPUT_PORTS_END
@@ -2230,7 +2230,7 @@ static INPUT_PORTS_START( waverunr )
// TODO: safety sensor
PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_SPECIAL )
PORT_BIT(0xf7, IP_ACTIVE_LOW, IPT_UNUSED )
-
+
// TODO: requires LEFT/RIGHT_AD_STICK in framework
PORT_START("ANA0")
PORT_BIT(0xff, 0x80, IPT_AD_STICK_X ) PORT_MINMAX( 0, 0xff ) PORT_SENSITIVITY( 50 ) PORT_KEYDELTA( 15 ) PORT_NAME("Handle Bar")
@@ -2247,13 +2247,13 @@ INPUT_PORTS_END
static INPUT_PORTS_START( segawski )
PORT_INCLUDE( model2 )
-
+
PORT_MODIFY("IN0")
PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT(0x30, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Select (Down) Button")
PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_UNUSED )
-
+
PORT_MODIFY("IN1")
PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Set Button")
PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Select (Up) Button")
@@ -2263,7 +2263,7 @@ static INPUT_PORTS_START( segawski )
PORT_MODIFY("IN2")
PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
-
+
PORT_START("ANA0")
PORT_BIT(0xff, 0x80, IPT_AD_STICK_X ) PORT_MINMAX( 0, 0xff ) PORT_SENSITIVITY( 50 ) PORT_KEYDELTA( 15 ) PORT_NAME("Slide")
INPUT_PORTS_END
@@ -2281,10 +2281,10 @@ static INPUT_PORTS_START( topskatr )
PORT_MODIFY("IN1")
PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Jump Tail")
PORT_BIT(0xfe, IP_ACTIVE_LOW, IPT_UNUSED )
-
+
PORT_MODIFY("IN2")
PORT_BIT(0xff, IP_ACTIVE_LOW, IPT_UNUSED )
-
+
// TODO: requires LEFT/RIGHT_AD_STICK in framework
PORT_START("ANA0")
PORT_BIT(0xff, 0x80, IPT_AD_STICK_X ) PORT_MINMAX( 0, 0xff ) PORT_SENSITIVITY( 50 ) PORT_KEYDELTA( 15 ) PORT_NAME("Curving")
@@ -2442,7 +2442,7 @@ ADDRESS_MAP_START(model2_state::copro_sharc_map)
AM_RANGE(0x0c00000, 0x13fffff) AM_WRITE(copro_sharc_output_fifo_w)
AM_RANGE(0x1400000, 0x1bfffff) AM_READWRITE(copro_sharc_buffer_r, copro_sharc_buffer_w)
AM_RANGE(0x1c00000, 0x1dfffff) AM_ROM AM_REGION("copro_data", 0)
-// AM_RANGE(0xffff8000, 0xffffffff) AM_READWRITE(copro_sharc_buffer_r, copro_sharc_buffer_w) // last bronx, cpu core bug?
+// AM_RANGE(0xffff8000, 0xffffffff) AM_READWRITE(copro_sharc_buffer_r, copro_sharc_buffer_w) // last bronx, cpu core bug?
ADDRESS_MAP_END
#if 0
@@ -2490,7 +2490,7 @@ MACHINE_CONFIG_START(model2_state::model2_screen)
MCFG_S24TILE_DEVICE_PALETTE("palette")
MCFG_S24TILE_XHOUT_CALLBACK(WRITE16(model2_state, horizontal_sync_w))
MCFG_S24TILE_XVOUT_CALLBACK(WRITE16(model2_state, vertical_sync_w))
-
+
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_VIDEO_ATTRIBUTES(VIDEO_UPDATE_AFTER_VBLANK)
// TODO: from System 24, might not be accurate for Model 2
@@ -2512,8 +2512,8 @@ MACHINE_CONFIG_START(model2_state::model2_scsp)
MCFG_SOUND_ROUTE(0, "rspeaker", 2.0)
MCFG_DEVICE_ADD("uart", I8251, 8000000) // uPD71051C, clock unknown
-// MCFG_I8251_RXRDY_HANDLER(WRITELINE(model2_state, sound_ready_w))
-// MCFG_I8251_TXRDY_HANDLER(WRITELINE(model2_state, sound_ready_w))
+// MCFG_I8251_RXRDY_HANDLER(WRITELINE(model2_state, sound_ready_w))
+// MCFG_I8251_TXRDY_HANDLER(WRITELINE(model2_state, sound_ready_w))
MCFG_CLOCK_ADD("uart_clock", 500000) // 16 times 31.25MHz (standard Sega/MIDI sound data rate)
MCFG_CLOCK_SIGNAL_HANDLER(DEVWRITELINE("uart", i8251_device, write_txc))
@@ -2671,7 +2671,7 @@ uint16_t model2_state::crypt_read_callback(uint32_t addr)
MACHINE_CONFIG_START(model2a_state::model2a_5881)
model2a(config);
-
+
MCFG_CPU_MODIFY("maincpu")
MCFG_CPU_PROGRAM_MAP(model2a_5881_mem)
@@ -2723,7 +2723,7 @@ MACHINE_CONFIG_END
MACHINE_CONFIG_START(model2b_state::model2b_5881)
model2b(config);
-
+
MCFG_CPU_MODIFY("maincpu")
MCFG_CPU_PROGRAM_MAP(model2b_5881_mem)
@@ -2815,7 +2815,7 @@ MACHINE_CONFIG_START(model2c_state::model2c_5881)
MCFG_CPU_MODIFY("maincpu")
MCFG_CPU_PROGRAM_MAP(model2c_5881_mem)
-
+
MCFG_DEVICE_ADD("315_5881", SEGA315_5881_CRYPT, 0)
MCFG_SET_READ_CALLBACK(model2_state, crypt_read_callback)
MACHINE_CONFIG_END
@@ -6206,7 +6206,7 @@ ROM_START( daytonam ) /* Daytona USA (Japan, To The MAXX) */
ROM_REGION( 0x10000, "drivecpu", 0 ) // 838-10646 drive board
ROM_LOAD("epr-16488a.ic12", 0x000000, 0x010000, CRC(546c5d1a) SHA1(5533301fe7e3b499e6cee12230d2c656c3c667da) )
-
+
ROM_REGION( 0x10000, "pic", 0)
ROM_LOAD("pic.bin", 0x00000, 0x10000, NO_DUMP )
ROM_END
diff --git a/src/mame/drivers/model3.cpp b/src/mame/drivers/model3.cpp
index f2996c3bf75..ec3b58d6581 100644
--- a/src/mame/drivers/model3.cpp
+++ b/src/mame/drivers/model3.cpp
@@ -5911,10 +5911,10 @@ uint16_t model3_state::crypt_read_callback(uint32_t addr)
MACHINE_CONFIG_START(model3_state::model3_20_5881)
model3_20(config);
-
+
MCFG_CPU_MODIFY("maincpu")
MCFG_CPU_PROGRAM_MAP(model3_5881_mem)
-
+
MCFG_DEVICE_ADD("315_5881", SEGA315_5881_CRYPT, 0)
MCFG_SET_READ_CALLBACK(model3_state, crypt_read_callback)
MACHINE_CONFIG_END
@@ -5964,7 +5964,7 @@ MACHINE_CONFIG_START(model3_state::model3_21_5881)
MCFG_CPU_MODIFY("maincpu")
MCFG_CPU_PROGRAM_MAP(model3_5881_mem)
-
+
MCFG_DEVICE_ADD("315_5881", SEGA315_5881_CRYPT, 0)
MCFG_SET_READ_CALLBACK(model3_state, crypt_read_callback)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/naomi.cpp b/src/mame/drivers/naomi.cpp
index 9ded6ee74b1..f9e0b22d6bc 100644
--- a/src/mame/drivers/naomi.cpp
+++ b/src/mame/drivers/naomi.cpp
@@ -305,8 +305,8 @@ PFSB Flash ROM board
|-------------------------------------------------------------|
Notes:
OSC1 - oscillator 28.000MHz
- JP1 - JUMPER ROM0 (IC22) size: 1-2 = 32M, 2-3 = 16M
- JP2 - JUMPER ROM0 write: 1-2 = Enabled, 2-3 = Disabled
+ JP1 - JUMPER ROM0 (IC22) size: 1-2 = 32M, 2-3 = 16M
+ JP2 - JUMPER ROM0 write: 1-2 = Enabled, 2-3 = Disabled
JP3,4 - JUMPERS Bank select: 1-2 1-2 = Master, 2-3 2-3 = Slave (slave data accessed at +0x10000000 at cart address space)
IC1S-IC21S - FlashROM (SOP56), either 32Mb or 64Mb. Not all positions are populated
IC22 - EPROM (DIP42), either 27C160 or 27C322
@@ -467,10 +467,10 @@ NRS Flash ROM board
Notes:
OSC1 - oscillator 20.000MHz
JP1 - JUMPER ROM0 (IC16) size: 1-2 = 32M, 2-3 = 16M
- JP2 - JUMPER ROM0 write: 1-2 = Enabled, 2-3 = Disabled
- JP3 - JUMPER ROM board Bank: 1-2 = Slave, 2-3 = Master
- JP4,5,7 - JUMPERS SCSI function: 1-2 2-3 1-2 = Enabled, 2-3 1-2 2-3 = Disabled
- JP6 - JUMPER Unknown function (1-2)
+ JP2 - JUMPER ROM0 write: 1-2 = Enabled, 2-3 = Disabled
+ JP3 - JUMPER ROM board Bank: 1-2 = Slave, 2-3 = Master
+ JP4,5,7 - JUMPERS SCSI function: 1-2 2-3 1-2 = Enabled, 2-3 1-2 2-3 = Disabled
+ JP6 - JUMPER Unknown function (1-2)
SW1 - PUSHBUTTON
SW2 - 8X2 DIPswitch
SCSI-CTRL - SCSI-II controller MB86604A
@@ -1940,7 +1940,7 @@ void atomiswave_state::aw_map(address_map &map)
map(0x00700000, 0x00707fff).rw(this, FUNC(atomiswave_state::dc_aica_reg_r), FUNC(atomiswave_state::dc_aica_reg_w));
map(0x00710000, 0x0071000f).mirror(0x02000000).rw("aicartc", FUNC(aicartc_device::read), FUNC(aicartc_device::write)).umask64(0x0000ffff0000ffff);
map(0x00800000, 0x00ffffff).rw(this, FUNC(atomiswave_state::sh4_soundram_r), FUNC(atomiswave_state::sh4_soundram_w)); // sound RAM (8 MB)
-
+
/* Area 1 - half the texture memory, like dreamcast, not naomi */
map(0x04000000, 0x047fffff).ram().mirror(0x00800000).share("dc_texture_ram"); // texture memory 64 bit access
map(0x05000000, 0x057fffff).ram().mirror(0x00800000).share("frameram"); // apparently this actually accesses the same memory as the 64-bit texture memory access, but in a different format, keep it apart for now
@@ -3072,7 +3072,7 @@ OFF OFF ON Australia
PC BD SET4-25 64M NEC / 171-7598B / 837-19104-01 (c) Sega 1997
EEPROM is 27C4096, it contains monitor-debugger which communicates with host PC via SCSI, may upload code/data to onboard RAM and run it.
This boot ROM is not designed to run cartridges or other media.
-
+
zukinver0930.ipl comes from 837-13502-01 / 837-13663 "Development ROM Board" which contains:
22 empty sockets ROM0 - ROM21
diff --git a/src/mame/drivers/nmk16.cpp b/src/mame/drivers/nmk16.cpp
index 38c730d06fe..539c6f141e5 100644
--- a/src/mame/drivers/nmk16.cpp
+++ b/src/mame/drivers/nmk16.cpp
@@ -346,11 +346,11 @@ void nmk16_state::vandykeb_map(address_map &map)
map(0x080002, 0x080003).portr("IN1");
map(0x080008, 0x080009).portr("DSW1");
map(0x08000a, 0x08000b).portr("DSW2");
-// map(0x08000f, 0x08000f).r(m_nmk004, FUNC(nmk004_device::read));
+// map(0x08000f, 0x08000f).r(m_nmk004, FUNC(nmk004_device::read));
map(0x080010, 0x08001d).w(this, FUNC(nmk16_state::vandykeb_scroll_w)); /* 10, 12, 1a, 1c */
map(0x080016, 0x080017).nopw(); /* IRQ enable? */
map(0x080018, 0x080019).w(this, FUNC(nmk16_state::nmk_tilebank_w));
-// map(0x08001f, 0x08001f).w(m_nmk004, FUNC(nmk004_device::write));
+// map(0x08001f, 0x08001f).w(m_nmk004, FUNC(nmk004_device::write));
map(0x088000, 0x0887ff).ram().w(m_palette, FUNC(palette_device::write16)).share("palette");
map(0x08c000, 0x08c007).nopw(); /* just in case... */
map(0x090000, 0x093fff).ram().w(this, FUNC(nmk16_state::nmk_bgvideoram_w<0>)).share("nmk_bgvideoram0");
@@ -386,12 +386,12 @@ void nmk16_state::tharrier_map(address_map &map)
map(0x08000f, 0x08000f).r("soundlatch2", FUNC(generic_latch_8_device::read)); /* from Z80 */
map(0x080010, 0x080011).w(this, FUNC(nmk16_state::tharrier_mcu_control_w));
map(0x080012, 0x080013).nopw();
-// map(0x080014, 0x080015).w(this, FUNC(nmk16_state::nmk_flipscreen_w));
-// map(0x080018, 0x080019).w(this, FUNC(nmk16_state::nmk_tilebank_w));
+// map(0x080014, 0x080015).w(this, FUNC(nmk16_state::nmk_flipscreen_w));
+// map(0x080018, 0x080019).w(this, FUNC(nmk16_state::nmk_tilebank_w));
map(0x08001f, 0x08001f).w(m_soundlatch, FUNC(generic_latch_8_device::write));
map(0x080202, 0x080203).portr("IN2");
map(0x088000, 0x0883ff).ram().w(m_palette, FUNC(palette_device::write16)).share("palette");
-// map(0x08c000, 0x08c007).w(this, FUNC(nmk16_state::nmk_scroll_w));
+// map(0x08c000, 0x08c007).w(this, FUNC(nmk16_state::nmk_scroll_w));
map(0x090000, 0x093fff).ram().w(this, FUNC(nmk16_state::nmk_bgvideoram_w<0>)).share("nmk_bgvideoram0");
map(0x09c000, 0x09c7ff).ram(); /* Unused txvideoram area? */
map(0x09d000, 0x09d7ff).ram().w(this, FUNC(nmk16_state::nmk_txvideoram_w)).share("nmk_txvideoram");
@@ -502,7 +502,7 @@ void nmk16_state::bioship_map(address_map &map)
map(0x080008, 0x080009).portr("DSW1");
map(0x08000a, 0x08000b).portr("DSW2");
map(0x08000f, 0x08000f).r(m_nmk004, FUNC(nmk004_device::read));
-// map(0xc0014, 0xc0015).w(this, FUNC(nmk16_state::nmk_flipscreen_w));
+// map(0xc0014, 0xc0015).w(this, FUNC(nmk16_state::nmk_flipscreen_w));
map(0x080016, 0x080017).w(this, FUNC(nmk16_state::nmk16_bioship_x0016_w));
map(0x08001f, 0x08001f).w(m_nmk004, FUNC(nmk004_device::write));
map(0x084000, 0x084001).w(this, FUNC(nmk16_state::bioship_bank_w));
diff --git a/src/mame/drivers/notetaker.cpp b/src/mame/drivers/notetaker.cpp
index 6c8e0700b83..dd67c655c42 100644
--- a/src/mame/drivers/notetaker.cpp
+++ b/src/mame/drivers/notetaker.cpp
@@ -698,10 +698,10 @@ x x 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1
*/
ADDRESS_MAP_START(notetaker_state::ep_mem)
- AM_RANGE(0x00000, 0x01fff) AM_MIRROR(0xc0000) AM_RAM // actually a banked block of ram, 8kb (4kw)
- AM_RANGE(0x02000, 0x3ffff) AM_MIRROR(0xc0000) AM_RAM AM_REGION("mainram", 0x2000) // 256k of ram (less 8k), shared between both processors, mirrored 4 times
- //AM_RANGE(0xfffc0, 0xfffdf) AM_MIRROR(0xc0000) AM_READWRITE(proc_illinst_r, proc_illinst_w)
- //AM_RANGE(0xfffe0, 0xfffef) AM_MIRROR(0xc0000) AM_READWRITE(proc_control_r, proc_control_w)
+ AM_RANGE(0x00000, 0x01fff) AM_MIRROR(0xc0000) AM_RAM // actually a banked block of ram, 8kb (4kw)
+ AM_RANGE(0x02000, 0x3ffff) AM_MIRROR(0xc0000) AM_RAM AM_REGION("mainram", 0x2000) // 256k of ram (less 8k), shared between both processors, mirrored 4 times
+ //AM_RANGE(0xfffc0, 0xfffdf) AM_MIRROR(0xc0000) AM_READWRITE(proc_illinst_r, proc_illinst_w)
+ //AM_RANGE(0xfffe0, 0xfffef) AM_MIRROR(0xc0000) AM_READWRITE(proc_control_r, proc_control_w)
ADDRESS_MAP_END
/* note everything in the emulatorcpu's io range is incompletely decoded; so if
@@ -718,11 +718,11 @@ x x x x x 1 x x x x x x x x x x x x x
*/
ADDRESS_MAP_START(notetaker_state::ep_io)
- ADDRESS_MAP_UNMAP_HIGH
- AM_RANGE(0x800, 0x803) AM_MIRROR(0x07fc) AM_DEVREADWRITE8("ep_pic8259", pic8259_device, read, write, 0x00ff)
- //AM_RANGE(0x1000, 0x1001) AM_MIRROR(0x07fe) AM_DEVREADWRITE("debug8255", 8255_device, read, write) // debugger board 8255, is this the same one as the iop accesses? or are these two 8255s on separate cards?
- AM_RANGE(0x2000, 0x2001) AM_MIRROR(0x07fe) AM_WRITE(EPConReg_w) // emu processor control reg & leds
- //AM_RANGE(0x4000, 0x4001) AM_MIRROR(0x07fe) AM_WRITE(EmuClearParity_w) // writes here clear the local 8k-ram parity error register
+ ADDRESS_MAP_UNMAP_HIGH
+ AM_RANGE(0x800, 0x803) AM_MIRROR(0x07fc) AM_DEVREADWRITE8("ep_pic8259", pic8259_device, read, write, 0x00ff)
+ //AM_RANGE(0x1000, 0x1001) AM_MIRROR(0x07fe) AM_DEVREADWRITE("debug8255", 8255_device, read, write) // debugger board 8255, is this the same one as the iop accesses? or are these two 8255s on separate cards?
+ AM_RANGE(0x2000, 0x2001) AM_MIRROR(0x07fe) AM_WRITE(EPConReg_w) // emu processor control reg & leds
+ //AM_RANGE(0x4000, 0x4001) AM_MIRROR(0x07fe) AM_WRITE(EmuClearParity_w) // writes here clear the local 8k-ram parity error register
ADDRESS_MAP_END
/* Input ports */
diff --git a/src/mame/drivers/powerbal.cpp b/src/mame/drivers/powerbal.cpp
index 0e9a6ddb2a0..5e4db749a88 100644
--- a/src/mame/drivers/powerbal.cpp
+++ b/src/mame/drivers/powerbal.cpp
@@ -697,7 +697,7 @@ MACHINE_CONFIG_END
MACHINE_CONFIG_START(powerbal_state::atombjt)
powerbal(config);
-
+
MCFG_CPU_MODIFY("maincpu")
MCFG_CPU_PROGRAM_MAP(atombjt_map)
MCFG_CPU_VBLANK_INT_DRIVER("screen", powerbal_state, irq6_line_hold)
diff --git a/src/mame/drivers/proteus.cpp b/src/mame/drivers/proteus.cpp
index 5a9644b8aa1..4ad69477300 100644
--- a/src/mame/drivers/proteus.cpp
+++ b/src/mame/drivers/proteus.cpp
@@ -130,9 +130,9 @@ void proteus_state::machine_start()
rom[i] = bitswapped[bitswap<16>(i, 15, 14, 13, 12, 10, 8, 4, 2, 0, 1, 3, 5, 6, 7, 9, 11)];
/*
- The Proteus BIOS contains a serial ID for copy protection. Disks also contain the
- OS serial ID which must match the BIOS serial ID. This can be negated by patching the
- serial in the BIOS to 0x0000.
+ The Proteus BIOS contains a serial ID for copy protection. Disks also contain the
+ OS serial ID which must match the BIOS serial ID. This can be negated by patching the
+ serial in the BIOS to 0x0000.
*/
rom[0x02] = 0x00;
rom[0x03] = 0x00;
@@ -271,12 +271,12 @@ void proteus_state::proteus_z80_io(address_map &map)
//Parameter 1: Baud Rate from BIOS
-// 00 = 9600
-// 02 = 4800
-// 04 = 2400
-// 06 = 1200
-// 08 = 600
-// 0A = 300
+// 00 = 9600
+// 02 = 4800
+// 04 = 2400
+// 06 = 1200
+// 08 = 600
+// 0A = 300
static INPUT_PORTS_START(proteus)
PORT_START("TERM_BAUD")
PORT_CONFNAME(0x07, 0x00, "Terminal Baud Rate")
diff --git a/src/mame/drivers/qx10.cpp b/src/mame/drivers/qx10.cpp
index d08236ce272..221fe471367 100644
--- a/src/mame/drivers/qx10.cpp
+++ b/src/mame/drivers/qx10.cpp
@@ -343,14 +343,14 @@ WRITE8_MEMBER( qx10_state::cmos_sel_w )
QUICKLOAD_LOAD_MEMBER( qx10_state, qx10 )
{
address_space& prog_space = m_maincpu->space(AS_PROGRAM);
-
+
if (quickload_size >= 0xfd00)
return image_init_result::FAIL;
-
+
/* The right RAM bank must be active */
m_membank = 0;
update_memory_mapping();
-
+
/* Avoid loading a program if CP/M-80 is not in memory */
if ((prog_space.read_byte(0) != 0xc3) || (prog_space.read_byte(5) != 0xc3))
{
@@ -369,11 +369,11 @@ QUICKLOAD_LOAD_MEMBER( qx10_state, qx10 )
/* clear out command tail */
prog_space.write_byte(0x80, 0); prog_space.write_byte(0x81, 0);
-
+
/* Roughly set SP basing on the BDOS position */
m_maincpu->set_state_int(Z80_SP, 256 * prog_space.read_byte(7) - 300);
m_maincpu->set_pc(0x100); // start program
-
+
return image_init_result::PASS;
}
@@ -831,7 +831,7 @@ MACHINE_CONFIG_START(qx10_state::qx10)
// software lists
MCFG_SOFTWARE_LIST_ADD("flop_list", "qx10_flop")
-
+
MCFG_QUICKLOAD_ADD("quickload", qx10_state, qx10, "com,cpm", 3)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/rad_eu3a05.cpp b/src/mame/drivers/rad_eu3a05.cpp
index 93fd0efbe01..00a3cadae70 100644
--- a/src/mame/drivers/rad_eu3a05.cpp
+++ b/src/mame/drivers/rad_eu3a05.cpp
@@ -20,11 +20,11 @@
Tetris
Space Invaders
- Possible other games on this hardawre
+ Possible other games on this hardawre
- ConnecTV Football (aka ConnecTV International Football)
- - Soccer game, not the same as Play TV Football, or Play TV Soccer
- (it has the same XTAL etc. as this driver at least)
+ ConnecTV Football (aka ConnecTV International Football)
+ - Soccer game, not the same as Play TV Football, or Play TV Soccer
+ (it has the same XTAL etc. as this driver at least)
---
The XaviX ones seem to have a XaviX logo on the external packaging while the
diff --git a/src/mame/drivers/rad_eu3a14.cpp b/src/mame/drivers/rad_eu3a14.cpp
index af8808bd8a9..e3d12c9e29e 100644
--- a/src/mame/drivers/rad_eu3a14.cpp
+++ b/src/mame/drivers/rad_eu3a14.cpp
@@ -12,15 +12,15 @@
Golden Tee Golf Home Edition (developed by FarSight Studios)
- Also on this hardware
+ Also on this hardware
- name PCB ID ROM width TSOP pads ROM size SEEPROM die markings
+ name PCB ID ROM width TSOP pads ROM size SEEPROM die markings
- Real Swing Golf 74037 x16 48 not dumped no ELAN EU3A14
- Play TV Basketball 75029 x16 48 not dumped no ELAN EU3A14
- Baseball 3 ? x16 48 not dumped no ELAN EU3A14
-
- Huntin’3 ? x16 48 not dumped no Elan ?
+ Real Swing Golf 74037 x16 48 not dumped no ELAN EU3A14
+ Play TV Basketball 75029 x16 48 not dumped no ELAN EU3A14
+ Baseball 3 ? x16 48 not dumped no ELAN EU3A14
+
+ Huntin’3 ? x16 48 not dumped no Elan ?
In many ways this is similar to the rad_eu3a05.cpp hardware
but the video system has changed, here the sprites are more traditional non-tile based, rather
diff --git a/src/mame/drivers/raiden2.cpp b/src/mame/drivers/raiden2.cpp
index 5cbd0b3fa31..9a62484b225 100644
--- a/src/mame/drivers/raiden2.cpp
+++ b/src/mame/drivers/raiden2.cpp
@@ -224,10 +224,10 @@ int cnt=0, ccol = -1;
WRITE16_MEMBER(raiden2_state::m_videoram_private_w)
{
- // map(0x0d000, 0x0d7ff).ram().w(this, FUNC(raiden2_state::raiden2_background_w)).share("back_data");
- // map(0x0d800, 0x0dfff).ram().w(this, FUNC(raiden2_state::raiden2_foreground_w).share("fore_data");
- // map(0x0e000, 0x0e7ff).ram().w(this, FUNC(raiden2_state::raiden2_midground_w).share("mid_data");
- // map(0x0e800, 0x0f7ff).ram().w(this, FUNC(raiden2_state::raiden2_text_w).share("text_data");
+ // map(0x0d000, 0x0d7ff).ram().w(this, FUNC(raiden2_state::raiden2_background_w)).share("back_data");
+ // map(0x0d800, 0x0dfff).ram().w(this, FUNC(raiden2_state::raiden2_foreground_w).share("fore_data");
+ // map(0x0e000, 0x0e7ff).ram().w(this, FUNC(raiden2_state::raiden2_midground_w).share("mid_data");
+ // map(0x0e800, 0x0f7ff).ram().w(this, FUNC(raiden2_state::raiden2_text_w).share("text_data");
if (offset < 0x800 / 2)
{
@@ -1025,7 +1025,7 @@ void raiden2_state::zeroteam_mem(address_map &map)
[this](address_space &space, offs_t offset, u8 data, u8 mem_mask) {
m_seibu_sound->main_w(space, offset >> 1, data, mem_mask);
}).umask16(0x00ff);
-
+
map(0x00740, 0x00741).portr("DSW");
map(0x00744, 0x00745).portr("P1_P2");
map(0x00748, 0x00749).portr("P3_P4");
diff --git a/src/mame/drivers/s11c.cpp b/src/mame/drivers/s11c.cpp
index dd6dda2def1..51fd06beff0 100644
--- a/src/mame/drivers/s11c.cpp
+++ b/src/mame/drivers/s11c.cpp
@@ -28,21 +28,21 @@ void s11c_state::s11c_main_map(address_map &map)
}
ADDRESS_MAP_START(s11c_state::s11c_audio_map)
- AM_RANGE(0x0000, 0x07ff) AM_MIRROR(0x0800) AM_RAM
- AM_RANGE(0x1000, 0x1fff) AM_WRITE(bank_w)
- AM_RANGE(0x2000, 0x2003) AM_MIRROR(0x0ffc) AM_DEVREADWRITE("pias", pia6821_device, read, write)
- AM_RANGE(0x8000, 0xbfff) AM_ROMBANK("bank0")
- AM_RANGE(0xc000, 0xffff) AM_ROMBANK("bank1")
+ AM_RANGE(0x0000, 0x07ff) AM_MIRROR(0x0800) AM_RAM
+ AM_RANGE(0x1000, 0x1fff) AM_WRITE(bank_w)
+ AM_RANGE(0x2000, 0x2003) AM_MIRROR(0x0ffc) AM_DEVREADWRITE("pias", pia6821_device, read, write)
+ AM_RANGE(0x8000, 0xbfff) AM_ROMBANK("bank0")
+ AM_RANGE(0xc000, 0xffff) AM_ROMBANK("bank1")
ADDRESS_MAP_END
ADDRESS_MAP_START(s11c_state::s11c_bg_map)
- AM_RANGE(0x0000, 0x07ff) AM_RAM
- AM_RANGE(0x2000, 0x2001) AM_MIRROR(0x1ffe) AM_DEVREADWRITE("ym2151", ym2151_device, read, write)
- AM_RANGE(0x4000, 0x4003) AM_MIRROR(0x1ffc) AM_DEVREADWRITE("pia40", pia6821_device, read, write)
- AM_RANGE(0x6000, 0x67ff) AM_WRITE(bg_speech_digit_w)
- AM_RANGE(0x6800, 0x6fff) AM_WRITE(bg_speech_clock_w)
- AM_RANGE(0x7800, 0x7fff) AM_WRITE(bgbank_w)
- AM_RANGE(0x8000, 0xffff) AM_ROMBANK("bgbank")
+ AM_RANGE(0x0000, 0x07ff) AM_RAM
+ AM_RANGE(0x2000, 0x2001) AM_MIRROR(0x1ffe) AM_DEVREADWRITE("ym2151", ym2151_device, read, write)
+ AM_RANGE(0x4000, 0x4003) AM_MIRROR(0x1ffc) AM_DEVREADWRITE("pia40", pia6821_device, read, write)
+ AM_RANGE(0x6000, 0x67ff) AM_WRITE(bg_speech_digit_w)
+ AM_RANGE(0x6800, 0x6fff) AM_WRITE(bg_speech_clock_w)
+ AM_RANGE(0x7800, 0x7fff) AM_WRITE(bgbank_w)
+ AM_RANGE(0x8000, 0xffff) AM_ROMBANK("bgbank")
ADDRESS_MAP_END
static INPUT_PORTS_START( s11c )
diff --git a/src/mame/drivers/seattle.cpp b/src/mame/drivers/seattle.cpp
index 2dac678e781..278d9d6851f 100644
--- a/src/mame/drivers/seattle.cpp
+++ b/src/mame/drivers/seattle.cpp
@@ -434,7 +434,7 @@ void seattle_state::machine_start()
save_item(NAME(m_output_mode));
save_item(NAME(m_gear));
save_item(NAME(m_wheel_calibrated));
-
+
m_lamps.resolve();
m_leds.resolve();
}
@@ -839,11 +839,11 @@ READ32_MEMBER(seattle_state::output_r)
WRITE32_MEMBER(seattle_state::output_w)
{
uint8_t arg = data & 0xFF;
-
+
if (!BIT(m_output_last, 11) && BIT(data, 11))
m_output_mode = arg;
m_output_last = data;
-
+
if (!BIT(data, 10))
{
switch (m_output_mode)
diff --git a/src/mame/drivers/taito_x.cpp b/src/mame/drivers/taito_x.cpp
index 1bd310c9400..6fcd9cfed55 100644
--- a/src/mame/drivers/taito_x.cpp
+++ b/src/mame/drivers/taito_x.cpp
@@ -330,10 +330,10 @@ Stephh's notes (based on the game M68000 code and some tests) :
WRITE8_MEMBER(taitox_state::superman_counters_w)
{
- machine().bookkeeping().coin_lockout_w(1, data & 0x08);
- machine().bookkeeping().coin_lockout_w(0, data & 0x04);
- machine().bookkeeping().coin_counter_w(1, data & 0x02);
- machine().bookkeeping().coin_counter_w(0, data & 0x01);
+ machine().bookkeeping().coin_lockout_w(1, data & 0x08);
+ machine().bookkeeping().coin_lockout_w(0, data & 0x04);
+ machine().bookkeeping().coin_counter_w(1, data & 0x02);
+ machine().bookkeeping().coin_counter_w(0, data & 0x01);
}
READ16_MEMBER(taitox_state::superman_dsw_input_r)
@@ -827,7 +827,7 @@ MACHINE_CONFIG_START(taitox_state::superman)
MCFG_CPU_ADD("maincpu", M68000, XTAL(16'000'000)/2) /* verified on pcb */
MCFG_CPU_PROGRAM_MAP(superman_map)
MCFG_CPU_VBLANK_INT_DRIVER("screen", taitox_state, interrupt)
-
+
MCFG_CPU_ADD("audiocpu", Z80, XTAL(16'000'000)/4) /* verified on pcb */
MCFG_CPU_PROGRAM_MAP(sound_map)
diff --git a/src/mame/drivers/taito_z.cpp b/src/mame/drivers/taito_z.cpp
index dbf8e65cb52..a657d230182 100644
--- a/src/mame/drivers/taito_z.cpp
+++ b/src/mame/drivers/taito_z.cpp
@@ -1552,7 +1552,7 @@ void taitoz_state::bsharkjjs_map(address_map &map)
map(0x110000, 0x113fff).ram().share("share1");
map(0x400000, 0x40000f).rw(m_tc0220ioc, FUNC(tc0220ioc_device::read), FUNC(tc0220ioc_device::write)).umask16(0x00ff);
map(0x600000, 0x600001).w(this, FUNC(taitoz_state::cpua_ctrl_w));
-// map(0x800000, 0x800007).rw(this, FUNC(taitoz_state::bshark_stick_r), FUNC(taitoz_state::bshark_stick_w)); /* No analog stick, this is the Joystick version */
+// map(0x800000, 0x800007).rw(this, FUNC(taitoz_state::bshark_stick_r), FUNC(taitoz_state::bshark_stick_w)); /* No analog stick, this is the Joystick version */
map(0xa00000, 0xa01fff).ram().w("palette", FUNC(palette_device::write16)).share("palette");
map(0xc00000, 0xc00fff).ram().share("spriteram");
map(0xd00000, 0xd0ffff).rw(m_tc0100scn, FUNC(tc0100scn_device::word_r), FUNC(tc0100scn_device::word_w)); /* tilemaps */
diff --git a/src/mame/drivers/ti85.cpp b/src/mame/drivers/ti85.cpp
index 310351081fd..fd48d32018e 100644
--- a/src/mame/drivers/ti85.cpp
+++ b/src/mame/drivers/ti85.cpp
@@ -796,21 +796,21 @@ ROM_START (ti73b)
ROM_DEFAULT_BIOS("v191")
ROM_SYSTEM_BIOS( 0, "v13004", "V 1.3004" )
ROMX_LOAD( "ti73bv13004.bin", 0x00000, 0x80000, CRC(453701d8) SHA1(371d1f74a5e26ed749e12baac104f0069f329f44), ROM_BIOS(1) )
- ROM_SYSTEM_BIOS( 1, "v140", "V 1.40" )
+ ROM_SYSTEM_BIOS( 1, "v140", "V 1.40" )
ROMX_LOAD( "ti73bv140.bin", 0x00000, 0x80000, CRC(057e85ae) SHA1(4c45c8b26190e887bb9cdc3b185fd7e703922cbc), ROM_BIOS(2) )
- ROM_SYSTEM_BIOS( 2, "v150", "V 1.50" )
+ ROM_SYSTEM_BIOS( 2, "v150", "V 1.50" )
ROMX_LOAD( "ti73bv150.bin", 0x00000, 0x80000, CRC(c0edfb53) SHA1(1049363587b6d7985356aa2467a0118e6cc6dc37), ROM_BIOS(3) )
- ROM_SYSTEM_BIOS( 3, "v160", "V 1.60" )
+ ROM_SYSTEM_BIOS( 3, "v160", "V 1.60" )
ROMX_LOAD( "ti73bv160.bin", 0x00000, 0x80000, CRC(28d07d9d) SHA1(7795720a68ca7017e682a8f2fe617b0cd758c008), ROM_BIOS(4) )
- ROM_SYSTEM_BIOS( 4, "v180", "V 1.80" )
+ ROM_SYSTEM_BIOS( 4, "v180", "V 1.80" )
ROMX_LOAD( "ti73bv180.bin", 0x00000, 0x80000, CRC(7d3b9ee6) SHA1(93bfc8d951c526e1be7c0e1bebc43dd20cd4c3b1), ROM_BIOS(5) )
- ROM_SYSTEM_BIOS( 5, "v185", "V 1.85" )
+ ROM_SYSTEM_BIOS( 5, "v185", "V 1.85" )
ROMX_LOAD( "ti73bv185.bin", 0x00000, 0x80000, CRC(4e7d68e7) SHA1(52a8b71fee7cda11935d6e89825842b4aad046dd), ROM_BIOS(6) )
- ROM_SYSTEM_BIOS( 6, "v190", "V 1.90" )
+ ROM_SYSTEM_BIOS( 6, "v190", "V 1.90" )
ROMX_LOAD( "ti73bv190.bin", 0x00000, 0x80000, CRC(8726a8db) SHA1(636551d75fd0bccbbc89ea6749bb1153e9545e26), ROM_BIOS(7) )
- ROM_SYSTEM_BIOS( 7, "v191", "V 1.91" )
+ ROM_SYSTEM_BIOS( 7, "v191", "V 1.91" )
ROMX_LOAD( "ti73bv191.bin", 0x00000, 0x80000, CRC(f3785d57) SHA1(ad73d0c61ef6a51a04902a9b30a58992a2d860c4), ROM_BIOS(8) )
-
+
ROM_END
ROM_START (ti81)
@@ -903,9 +903,9 @@ ROM_START (ti83pb)
ROMX_LOAD( "ti83pbv115.bin", 0x00000, 0x80000, CRC(a16a4bff) SHA1(a0374a5d5f25e3f9dc1c241447233cf3a23e7946), ROM_BIOS(6) )
ROM_SYSTEM_BIOS( 6, "v116", "V 1.16" )
ROMX_LOAD( "ti83pbv116.bin", 0x00000, 0x80000, CRC(b5e00ef6) SHA1(23b131263b696c03f778eb5d37411be9a86cf752), ROM_BIOS(7) )
- ROM_SYSTEM_BIOS( 7, "v118", "V 1.18" )
+ ROM_SYSTEM_BIOS( 7, "v118", "V 1.18" )
ROMX_LOAD( "ti83pbv118.bin", 0x00000, 0x80000, CRC(0915b0a0) SHA1(48c270c383c2d05058693a5bf58d462936bbb335), ROM_BIOS(8) )
- ROM_SYSTEM_BIOS( 8, "v119", "V 1.19" )
+ ROM_SYSTEM_BIOS( 8, "v119", "V 1.19" )
ROMX_LOAD( "ti83pbv119.bin", 0x00000, 0x80000, CRC(58f14c79) SHA1(1fddd44d54f3ff12bfb548fcb03ce36b5a4f295a), ROM_BIOS(9) )
//Missing 1.17
ROM_END
@@ -959,21 +959,21 @@ ROM_START (ti84pse)
ROM_DEFAULT_BIOS("v255mp")
ROM_SYSTEM_BIOS( 0, "v221", "V 2.21" )
ROMX_LOAD( "ti84psev221.bin", 0x00000, 0x200000, CRC(da8b3c8e) SHA1(736fae1929089167a3af6290e04e9278b0a3d1a6), ROM_BIOS(1) )
- ROM_SYSTEM_BIOS( 1, "v222", "V 2.22" )
+ ROM_SYSTEM_BIOS( 1, "v222", "V 2.22" )
ROMX_LOAD( "ti84psev222.bin", 0x00000, 0x200000, CRC(dc2931db) SHA1(319f1ec6accdbe2309f9ffcd8d9970fa2a422c4d), ROM_BIOS(2) )
- ROM_SYSTEM_BIOS( 2, "v230", "V 2.30" )
+ ROM_SYSTEM_BIOS( 2, "v230", "V 2.30" )
ROMX_LOAD( "ti84psev230.bin", 0x00000, 0x200000, CRC(8800c73a) SHA1(cb9ad540137ede275ff22e293ae0f7cc31b6663d), ROM_BIOS(3) )
- ROM_SYSTEM_BIOS( 3, "v240", "V 2.40" )
+ ROM_SYSTEM_BIOS( 3, "v240", "V 2.40" )
ROMX_LOAD( "ti84psev240.bin", 0x00000, 0x200000, CRC(2aed41c4) SHA1(6886f4c07718f0dfa43b397ff492a6b4b06ded15), ROM_BIOS(4) )
- ROM_SYSTEM_BIOS( 4, "v241", "V 2.41" )
+ ROM_SYSTEM_BIOS( 4, "v241", "V 2.41" )
ROMX_LOAD( "ti84psev241.bin", 0x00000, 0x200000, CRC(3dcb18ba) SHA1(728834cb426c09f6b00d1fd89e81eb154488854c), ROM_BIOS(5) )
- ROM_SYSTEM_BIOS( 5, "v243", "V 2.43" )
+ ROM_SYSTEM_BIOS( 5, "v243", "V 2.43" )
ROMX_LOAD( "ti84psev243.bin", 0x00000, 0x200000, CRC(1e9707f8) SHA1(767a5238882d97fac550971adbfbe48f82f2772f), ROM_BIOS(6) )
- ROM_SYSTEM_BIOS( 6, "v253mp", "V 2.53MP" )
+ ROM_SYSTEM_BIOS( 6, "v253mp", "V 2.53MP" )
ROMX_LOAD( "ti84psev253mp.bin", 0x00000, 0x200000, CRC(3e52683a) SHA1(80050ae2a8f128b291d3a8973ab32e879172f2b9), ROM_BIOS(7) )
- ROM_SYSTEM_BIOS( 7, "v255mp", "V 2.55MP" )
+ ROM_SYSTEM_BIOS( 7, "v255mp", "V 2.55MP" )
ROMX_LOAD( "ti84psev255mp.bin", 0x00000, 0x200000, CRC(70439fdd) SHA1(201e585caa64836829ea57c1291c6136c778ef55), ROM_BIOS(8) )
-
+
ROM_END
ROM_START (ti84psev3)
@@ -1102,7 +1102,7 @@ ROM_START (ti84pcse)
ROMX_LOAD( "ti84pcsev40.bin", 0x00000, 0x400000, CRC(e0b8ec78) SHA1(a4ffdfa0d2a8fc1b1356429675efc96b4f25fbc5), ROM_BIOS(1) )
ROM_SYSTEM_BIOS( 1, "v42", "V 4.2" )
ROMX_LOAD( "ti84pcsev42.bin", 0x00000, 0x400000, CRC(57d5373d) SHA1(06acbd22c9cb31320e022791ac03ba695f058654), ROM_BIOS(2) )
-
+
ROM_END
ROM_START (ti84pce)
diff --git a/src/mame/drivers/vamphalf.cpp b/src/mame/drivers/vamphalf.cpp
index 96529999c67..5119b1e2d32 100644
--- a/src/mame/drivers/vamphalf.cpp
+++ b/src/mame/drivers/vamphalf.cpp
@@ -1093,7 +1093,7 @@ MACHINE_CONFIG_END
MACHINE_CONFIG_START(vamphalf_state::sound_qs1000)
/* sound hardware */
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
-
+
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
MCFG_GENERIC_LATCH_DATA_PENDING_CB(DEVWRITELINE("qs1000", qs1000_device, set_irq))
MCFG_GENERIC_LATCH_SEPARATE_ACKNOWLEDGE(true)
diff --git a/src/mame/drivers/vegaeo.cpp b/src/mame/drivers/vegaeo.cpp
index 82ee30d0d7b..5ee55897cc7 100644
--- a/src/mame/drivers/vegaeo.cpp
+++ b/src/mame/drivers/vegaeo.cpp
@@ -32,7 +32,7 @@ public:
, m_system_io(*this, "SYSTEM")
{
}
-
+
required_device<generic_latch_8_device> m_soundlatch;
required_ioport m_system_io;
diff --git a/src/mame/drivers/vii.cpp b/src/mame/drivers/vii.cpp
index 7c301ef9158..281881397d0 100644
--- a/src/mame/drivers/vii.cpp
+++ b/src/mame/drivers/vii.cpp
@@ -56,9 +56,9 @@ Similar Systems: ( from http://en.wkikpedia.org/wiki/V.Smile )
also on this hardware
- name PCB ID ROM width TSOP pads ROM size SEEPROM die markings
- Radica Play TV Football 2 L7278 x16 48 not dumped no Sunplus
- Dream Life ? x16 48 no tdumped no Sunplus
+ name PCB ID ROM width TSOP pads ROM size SEEPROM die markings
+ Radica Play TV Football 2 L7278 x16 48 not dumped no Sunplus
+ Dream Life ? x16 48 no tdumped no Sunplus
Detailed list of bugs:
- When loading a cart from file manager, sometimes it will crash
diff --git a/src/mame/drivers/x68k.cpp b/src/mame/drivers/x68k.cpp
index 2ce0ef6e763..ed70043d831 100644
--- a/src/mame/drivers/x68k.cpp
+++ b/src/mame/drivers/x68k.cpp
@@ -1704,7 +1704,7 @@ MACHINE_CONFIG_START(x68k_state::x68000)
MCFG_OKIM6258_OUT_BITS(OUTPUT_10BITS)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "adpcm_outl", 0.50)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "adpcm_outr", 0.50)
-
+
MCFG_FILTER_VOLUME_ADD("adpcm_outl", 0)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.0)
MCFG_FILTER_VOLUME_ADD("adpcm_outr", 0)
diff --git a/src/mame/drivers/xavix.cpp b/src/mame/drivers/xavix.cpp
index cd0e88aa197..59c3537261e 100644
--- a/src/mame/drivers/xavix.cpp
+++ b/src/mame/drivers/xavix.cpp
@@ -22,184 +22,184 @@
with 3D capabilities.
Notes:
-
- To access service mode in Monster Truck hold Horn and Nitro on startup
-
- There are multiple revisions of the CPU hardware, the SSD 2000 / SSD 2002 chips definitely add more opcodes
- (thanks to Sean Riddle for this table)
-
- preliminary list of XaviX software based on various sources (some likely still missing)
-
- year name PCB ID ROM width TSOP pads ROM size SEEPROM die markings extra components / notes
-
- 2011 anpan-man kazoku de ikunou mat DX/JoyPalette/Japan - - - - - - -
- 2009 anpan-man pyon-pyon ikunou mat/JoyPalette/Japan - - - - - - -
- 2008 kyuukyoku! kinniku grand slam! SASUKE kanzen seiha/EPOCH/Japan - - - - - - -
- 2007 Tokyo Friend park? perfect! mezase! grand slam!/EPOCH/Japan - - - - - - -
- 2006 1 Let's TV Play series "Kamen Rider Kabuto" /EPOCH/Japan - - - - - - -
- 2 Let's TV Play series "Bo-kenger" /EPOCH/Japan - - - - - - -
- 3 Challenge Ai-chan! Exciting Ping-pong /TAKARATOMY/Japan - - - - - - -
- 4 Sasuke & Sportsman Tournament /BANDAI/Japan - - - - - - -
- 5 Hyper resque, I am a resque team /BANDAI/Japan - - - - - - -
- 6 Let's TV Play series "Ultraman" /BANDAI/Japan - - - - - - -
- 7 Let's TV Play Classic series "Namco Nostalgia 1" /BANDAI/Japan CGSJ x8 48 1M 24LC04 dumped non destructively
- 8 Let's TV Play Classic series "Namco Nostalgia 2" /BANDAI/Japan CGSJ x8 48 1M 24LC04 SSD 98 PL7351-181 dumped
- 9 Let's TV Play Classic series "Taito Nostalgia 1" /BANDAI/Japan CGSJ x8 48 2M 24LC04 flash, dumped non destructively
- 10 Let's TV Play Classic series "Taito Nostalgia 2" /BANDAI/Japan CGSJ x8 48 2M 24LC04 flash, dumped non destructively
- 11 Let's play and study! Doraemon Hiragana book /BANDAI/Japan - - - - - - -
- 12 Scan card! Exciting Stage Soccer. /EPOCH/Japan - - - - - - -
- 13 Hello Kitty Super TV computer /EPOCH/Japan - - - - - - -
- 14 Doraemon Super TV computer /EPOCH/Japan - - - - - - -
- 2005 1 Let's TV Play series "Dragon Ball Z" /BANDAI/Japan - - - - - - -
- 2 Let's TV Play series "Purikyua" /BANDAI/Japan - - - - - - -
- 3 Idaten Jump /TOMY/Japan - - - - - - -
- 4 Tokyo Friend Park 2 Special /EPOCH/Japan - - - - - - -
- 5 Masked Rider HIBIKI /BANDAI/Japan - - - - - - -
- 6 Magic Ranger Battle /BANDAI/Japan - - - - - - -
- 7 Accessory cartridge for Super TV computer "ECC Junior"/EPOCH/Japan - - - - - - -
- 8 Wild Adventure Mini Golf Game /Hasbro/USA MGFA x8 48 4M 24C04 SSD 98 PL7351-181 dumped
- 9 MX DIRT REBEL Game /Hasbro/USA MTXA x8 48 8M 24C04 SSD 2000 NEC 85605-621 dumped
- 10 Dokodemo Doraemon Japan Travel Game DX /EPOCH/Japan - - - - - - -
- 11 Tomas Plarail /TOMY/Japan - - - - - - -
- 12 Thomas TV Personal Computer /EPOCH/Japan - - - - - - -
- 13 STAR WARS Light Saber Battle /TOMY/Japan - - - - - - -
- 14 Jala Jaland /atlus/Japan - - - - - - -
- 15 Star Wars Lightsaber Battle Game /Hasbro/USA SWSA x8 48 8M 24C02 SSD 2000 NEC 85605-621 dumped
- 16 Gururin World /EPOCH/Japan - - - - - - -
- 17 Toinohgi Onmyo-daisenki /BANDAI/Japan - - - - - - -
- 2004 1 Accessory cartridge for Super TV computer "Double mouse party"/EPOCH/Japan - - - - - - -
- 2 Printer for TV computer /EPOCH/Japan - - - - - - -
- 3 Virtual punching battle of "One Piece" /BANDAI/Japan - - - - - - -
- 4 Accessory cartridge for Super TV computer "Doraemon"/EPOCH/Japan - - - - - - -
- 5 Accessory cartridge for Super TV computer "Hamutaro"/EPOCH/Japan - - - - - - -
- 6 Super TV computer /EPOCH/Japan - - - - - - -
- 7 Super Dash ball /EPOCH/Japan - - - - - - -
- 8 Exciting sports Tennis X Fitness /EPOCH/Japan - - - - - - -
- 9 Accessory memory mascot for TV mail Pc mail cot 2 characters (Putchi, Petchi) /EPOCH/Japan - - - - - - -
- 10 Accessory memory mascot for TV mail Pc mail cot 2 characters (Charuru, Kurau) /EPOCH/Japan - - - - - - -
- 11 The Lord of the Rings Warrior of Middle Earth /Hasbro/USA LORA x8 48 8M 24C02 SSD 2000 NEC 85605-621 dumped
- 12 Beyblade Arcade Challenge 5-in-1 /Hasbro/USA - - - - - - -
- 13 All star Festival Quize /EPOCH/Japan - - - - - - -
- 14 e-kara mix /TAKARA/Japan - - - - - - -
- 15 Jumping Popira /TAKARA/Japan - - - - - - -
- 16 Tour around Japan. I'm a Prarail motorman /TOMY/Japan - - - - - - -
- 17 TV mail PC "Mercot /EPOCH/Japan - - - - - - -
- 18 Play TV Monster Truck /RADICA/USA 74026 x8 48 4M none SSD 98 PL7351-181 dumped
- 19 Play TV Madden Football /RADICA/USA 74021 x8 48 4M none SSD 98 PL7351-181 dumped
- 20 Play TV SSX Snowboarder (and Snowboarder white?) /RADICA/USA 74023 none have
- 21 Disney Princess "Kira-Kira magical lesson" /TOMY/Japan - - - - - - -
- 22 Mermaid Melody "pichi-pichi Pitch" e-pitch microcomputer pure starter set /TAKARA/Japan - - - - - - -
- 23 Hello Kitty TV computer /EPOCH/Japan - - - - - - -
- 24 Gan-Gan Revoultion /TAKARA/Japan - - - - - - -
- 2003 1 Tokyo Friend Park II /EPOCH/Japan - - - - - - -
- 2 TV mah-jongg /EPOCH/Japan - - - - - - -
- 3 e-kara Web /TAKARA/Japan - - - - - - -
- 4 Doraemon TV computer /EPOCH/Japan - - - - - - -
- 5 Exciting stadium DX, Hansin Tigers version /EPOCH/Japan - - - - - - -
- 6 Dragon Quest /SQUARE ENIX/Japan - - - - - - -
- 7 Croquette! Win a medal! /EPOCH/Japan - - - - - - -
- 8 Taiko Popira /TAKARA/Japan - - - - - - -
- 9 Together Minimoni, Dancing' Stage! plus /EPOCH/Japan - - - - - - -
- 10 Evio /TOMY/Japan - - - - - - -
- 11 Together Minimoni,Jumping Party! /EPOCH/Japan - - - - - - -
- 12 Hamutaro TV computer /EPOCH/Japan - - - - - - -
- 13 Jara-Ja Land /TAKARA/Japan - - - - - - -
- 14 Tomika, Draiving by Car navigation system /TOMY/Japan - - - - - - -
- 15 PLAY TV Rescue Heroes /RADICA/USA 73036 x8 48 2M none SSD 98 PL7351-181 dumped
- 16 PLAY TV Huntin' 2 /RADICA/USA 73030 x8 none none SSD 98 PL7351-181 have
- 17 Let's play Ping-pong. Exciting pingpong2 /EPOCH/Japan - - - - - - -
- 18 Cartridge for Slot machine TV "King of wild animal" /TAKARA/Japan - - - - - - -
- 19 ChyoroQ "Burning up Racer /TAKARA/Japan - - - - - - -
- 20 Super shot! Exciting golf /EPOCH/Japan - - - - - - -
- 21 PichiPichi Pitchi /TAKARA/Japan - - - - - - -
- 22 Dual Station /TAKARA/Japan - - - - - - -
- 23 Gei-Geki GoGo! Shooting /TAKARA/Japan - - - - - - -
- 24 Let's fish a big one. Exciting fishing! /EPOCH/Japan - - - - - - -
- 25 Champion Pinball /TOMY/Japan - - - - - - -
- 26 Excite Fishing DX EF2J x8 48 4M 24C08 SSD 98 PL7351-181 dumped
- 2002 1 Accessory cartridge for Slot machine "Gin-gin maru TV" /TAKARA/Japan - - - - - - -
- 2 Wildest computer robot "Daigander" (Korean version) /TAKARA/Korea - - - - - - -
- 3 Hamutaro's circus /EPOCH/Japan - - - - - - -
- 4 Doraemon ,computer megaphone /EPOCH/Japan - - - - - - -
- 5 Strike! Exciting bowling /EPOCH/Japan - - - - - - -
- 6 e-kara /Hasbro/Spain - - - - - - -
- 7 Starter set for e-kara H.S," Morning sisters" /TAKARA/Japan - - - - - - -
- 8 e-kara H.S.(headphones set) /TAKARA/Japan - - - - - - -
- 9 Accessory cartridge for Slot machine TV," Aladdin TV" /TAKARA/Japan - - - - - - -
- 10 Accessory cartridge for Slot machine TV "Businessman Kintaro/TAKARA/Japan - - - - - - -
- 11 Poko-poko Hammers /TAKARA/Japan - - - - - - -
- 12 e-kara N Angel blue special set /TAKARA/Japan - - - - - - -
- 13 Together Minimoni,Dancing Stage! /EPOCH/Japan - - - - - - -
- 14 King of shooting /TOMY/Japan - - - - - - -
- 15 Knock them out! Exciting boxing /EPOCH/Japan - - - - - - -
- 16 Popira2 /TAKARA/Japan - - - - - - -
- 17 Zuba-Zuba Blade /TAKARA/Japan - - - - - - -
- 18 Starter set for e-kara N "Morning sisters" /TAKARA/Japan - - - - - - -
- 19 e-kara /Hasbro/England - - - - - - -
- 20 e-kara /Takara USA/USA - - - - - - -
- 21 e-kara PLAY TV Soccer /RADICA/USA 76088500 x8 none none SSD 98 PA7351-107 (aka Radica PlayTV Soccer? if so, have)
- 22 PLAY TV Jr. Construction /RADICA/USA - - - - - - -
- 23 PLAY TV Boxing /RADICA/Japan 72039 x8 48 2M none SSD 98 PA7351-107 dumped
- 24 PLAY TV Baseball 2 /RADICA/USA 72042 x8 48 2M none SSD 98 PL7351-181 dumped
- 25 Barbie Dance Party /RADICA/USA,EU - - - - - - -
- 26 Compete! Exciting stadium DX /EPOCH/Japan - - - - - - -
- 27 e-kara N /EPOCH/Japan - - - - - - -
- 28 Who's the ace? Excite Tennis /EPOCH/Japan - - - - - - -
- 29 Wildest computer robot, "Daigander" /TAKARA/Japan - - - - - - -
- 30 Cartridge for Slot machine TV "King of wild animal Jr." /TAKARA/Japan - - - - - - -
- 31 Gachinko Contest! Slot machine TV /DCT/Japan - - - - - - -
- 32 Beyblade Ultimate shooter /TAKARA/Japan - - - - - - -
- 2001 1 Ping-pong(Chinese version) /Tenpon/China - - - - - - -
- 2 TV hockey /TOMY/Japan - - - - - - -
- 3 e-kara Morning sisters /TAKARA/Japan - - - - - - -
- 4 e-kara Duet microphone plus /TAKARA/Japan - - - - - - -
- 5 e-kara plus /TAKARA/Japan - - - - - - -
- 6 Hamutaro, Dancing', Running /EPOCH/Japan - - - - - - -
- 7 Gin-gin Snowboarders /TAKARA/Japan - - - - - - -
- 8 Shoot! Exciting striker /EPOCH/Japan - - - - - - -
- 9 e-kara US version /TAKARA USA, Hasbro/USA,EU 71076 x8 none 1M SSD 98 PA7351-107 this one or #20 above? dumped
- 10 Popira Korea version /SONOKONG/Korea - - - - - - -
- 11 I singer: e-kara Korean version /SONOKONG/Korea - - - - - - -
- 12 Ms.Comett, Lovely baton /TAKARA/Japan< - - - - - - -
- 13 Dance Dance revolution family mat /KONAMI,KONAMI Sports/Japan - - - - - - -
- 14 PLAY TV Card Night /RADICA/USA 71063 x8 40 1M none SSD 98 PA7351-107 dumped
- 15 PLAY TV Bass Fishin' /RADICA/USA 71008 x8 40 1M none SSD 98 PA7351-107 dumped
- 16 PLAY TV Snowboarder (blue) /RADICA/USA 71023 x8 40 1M none SSD 98 PL7351-181 dumped
- 17 Bistro Kids /SEGA Toys/Japan - - - - - - -
- 18 Let's construct the town! /TAKARA/Japan - - - - - - -
- 19 Let's fish black bass! Exciting Fishing /EPOCH/Japan - - - - - - -
- 20 Baseball Korean version /SONOKONG/Korea - - - - - - -
- 21 Ping-pong Korean version /SONOKONG/Korea - - - - - - -
- 22 e-kara Hello Kitty /TAKARA/Japan - - - - - - -
- 23 Special box "Morning sisters" /TAKARA/Japan - - - - - - -
- 24 Gan-Gan Adventure /TAKARA/Japan - - - - - - -
- 25 e-kara wireless unit /TAKARA/Japan - - - - - - -
- 26 Webdiver Gradion /TAKARA/Japan - - - - - - -
- 27 black bass tsurouze! Excite Fishing/EPOCH/Japan - - - - - - -
- 28 Hamu-chan's Daishuugou dance surunoda! hasirunoda!/EPOCH/Japan - - - - - - -
- 2000 1 Popira /TAKARA/Japan - - - - - - -
- 2 e-kara Duet microphone /TAKARA/Japan - - - - - - -
- 3 e-kara /TAKARA/Japan - - - - - - -
- 4 Let's play ping-pong. Exciting ping-pong /EPOCH/Japan - - - - - - -
- 5 PLAY TV Huntin' Buckmasters /RADICA/USA 8074 x8 none none SSD 98 PA7351-107 have
- 6 PLAY TV Ping Pong /RADICA/USA,HK,EU 8028 x8 48 1M none SSD 97 PA7270-107 dumped
- 7 PLAY TV OPUS /RADICA/USA,EU - - - - - - -
- 8 PLAY TV Baseball 2 /EPOCH/Japan, HK - - - - - - -
- 9 Let's hit a homerun! Exciting baseball /RADICA/USA,EU 8017 x8 none none SSD 98 PA7351-107 (aka Radica PlayTV Baseball, if so, have)
- 1999 1 ABC Jungle Fun Hippo /Vteck/HK, USA, France - - - - - - -
- Unknown 1 PLAY TV Football /RADICA/USA 74021 x8 48 4M none SSD 98 PL7351-181 dumped
- XaviXTennis SGM6446 x16 48 8M 24C08 SSD 2002 NEC 85054-611 dumped
- XaviXBowling SGM644C x16 48 not dumped
-
-
- TODO: put into above table (XaviXPORT cartridges)
-
- XaviX Tennis and XaviX Baseball are the simplest: just the CPU, x16 ROM and 24C08 SEEPROM. Bowling and Boxing also have 4 IR LEDs and a 32x32 sensor.
- XaviX Fishing has ROM, 24C08 and a 24-pin daughterboard with a Nordic nRF24E1 2.4GHz 8051-based SoC.
- All the rest of the carts include an S35390 I2C clock chip with crystal and battery backup, and have two x16 ROM chips, using a 5-pin single-gate inverter to create complementary /OE signals.
- J-MAT, Fitness Exercise, Fitness Challenge and Bike Concept have a 24CS64 SEEPROM. Bike Concept also has two 74HC14s.
- Fitness Dance has an Atmel H93864C (maybe SEEPROM?) a Microchip DSPIC 33FJ12GP202 and two JRC 2740 dual op amps.
- Music and Circuit has a 24CS64, two UTC324 quad op amps, a 74HC14, a 74HCT04, and an 8-pin SOIC labeled 61545, which is likely an M61545 dual electronic volume control.
+
+ To access service mode in Monster Truck hold Horn and Nitro on startup
+
+ There are multiple revisions of the CPU hardware, the SSD 2000 / SSD 2002 chips definitely add more opcodes
+ (thanks to Sean Riddle for this table)
+
+ preliminary list of XaviX software based on various sources (some likely still missing)
+
+ year name PCB ID ROM width TSOP pads ROM size SEEPROM die markings extra components / notes
+
+ 2011 anpan-man kazoku de ikunou mat DX/JoyPalette/Japan - - - - - - -
+ 2009 anpan-man pyon-pyon ikunou mat/JoyPalette/Japan - - - - - - -
+ 2008 kyuukyoku! kinniku grand slam! SASUKE kanzen seiha/EPOCH/Japan - - - - - - -
+ 2007 Tokyo Friend park? perfect! mezase! grand slam!/EPOCH/Japan - - - - - - -
+ 2006 1 Let's TV Play series "Kamen Rider Kabuto" /EPOCH/Japan - - - - - - -
+ 2 Let's TV Play series "Bo-kenger" /EPOCH/Japan - - - - - - -
+ 3 Challenge Ai-chan! Exciting Ping-pong /TAKARATOMY/Japan - - - - - - -
+ 4 Sasuke & Sportsman Tournament /BANDAI/Japan - - - - - - -
+ 5 Hyper resque, I am a resque team /BANDAI/Japan - - - - - - -
+ 6 Let's TV Play series "Ultraman" /BANDAI/Japan - - - - - - -
+ 7 Let's TV Play Classic series "Namco Nostalgia 1" /BANDAI/Japan CGSJ x8 48 1M 24LC04 dumped non destructively
+ 8 Let's TV Play Classic series "Namco Nostalgia 2" /BANDAI/Japan CGSJ x8 48 1M 24LC04 SSD 98 PL7351-181 dumped
+ 9 Let's TV Play Classic series "Taito Nostalgia 1" /BANDAI/Japan CGSJ x8 48 2M 24LC04 flash, dumped non destructively
+ 10 Let's TV Play Classic series "Taito Nostalgia 2" /BANDAI/Japan CGSJ x8 48 2M 24LC04 flash, dumped non destructively
+ 11 Let's play and study! Doraemon Hiragana book /BANDAI/Japan - - - - - - -
+ 12 Scan card! Exciting Stage Soccer. /EPOCH/Japan - - - - - - -
+ 13 Hello Kitty Super TV computer /EPOCH/Japan - - - - - - -
+ 14 Doraemon Super TV computer /EPOCH/Japan - - - - - - -
+ 2005 1 Let's TV Play series "Dragon Ball Z" /BANDAI/Japan - - - - - - -
+ 2 Let's TV Play series "Purikyua" /BANDAI/Japan - - - - - - -
+ 3 Idaten Jump /TOMY/Japan - - - - - - -
+ 4 Tokyo Friend Park 2 Special /EPOCH/Japan - - - - - - -
+ 5 Masked Rider HIBIKI /BANDAI/Japan - - - - - - -
+ 6 Magic Ranger Battle /BANDAI/Japan - - - - - - -
+ 7 Accessory cartridge for Super TV computer "ECC Junior"/EPOCH/Japan - - - - - - -
+ 8 Wild Adventure Mini Golf Game /Hasbro/USA MGFA x8 48 4M 24C04 SSD 98 PL7351-181 dumped
+ 9 MX DIRT REBEL Game /Hasbro/USA MTXA x8 48 8M 24C04 SSD 2000 NEC 85605-621 dumped
+ 10 Dokodemo Doraemon Japan Travel Game DX /EPOCH/Japan - - - - - - -
+ 11 Tomas Plarail /TOMY/Japan - - - - - - -
+ 12 Thomas TV Personal Computer /EPOCH/Japan - - - - - - -
+ 13 STAR WARS Light Saber Battle /TOMY/Japan - - - - - - -
+ 14 Jala Jaland /atlus/Japan - - - - - - -
+ 15 Star Wars Lightsaber Battle Game /Hasbro/USA SWSA x8 48 8M 24C02 SSD 2000 NEC 85605-621 dumped
+ 16 Gururin World /EPOCH/Japan - - - - - - -
+ 17 Toinohgi Onmyo-daisenki /BANDAI/Japan - - - - - - -
+ 2004 1 Accessory cartridge for Super TV computer "Double mouse party"/EPOCH/Japan - - - - - - -
+ 2 Printer for TV computer /EPOCH/Japan - - - - - - -
+ 3 Virtual punching battle of "One Piece" /BANDAI/Japan - - - - - - -
+ 4 Accessory cartridge for Super TV computer "Doraemon"/EPOCH/Japan - - - - - - -
+ 5 Accessory cartridge for Super TV computer "Hamutaro"/EPOCH/Japan - - - - - - -
+ 6 Super TV computer /EPOCH/Japan - - - - - - -
+ 7 Super Dash ball /EPOCH/Japan - - - - - - -
+ 8 Exciting sports Tennis X Fitness /EPOCH/Japan - - - - - - -
+ 9 Accessory memory mascot for TV mail Pc mail cot 2 characters (Putchi, Petchi) /EPOCH/Japan - - - - - - -
+ 10 Accessory memory mascot for TV mail Pc mail cot 2 characters (Charuru, Kurau) /EPOCH/Japan - - - - - - -
+ 11 The Lord of the Rings Warrior of Middle Earth /Hasbro/USA LORA x8 48 8M 24C02 SSD 2000 NEC 85605-621 dumped
+ 12 Beyblade Arcade Challenge 5-in-1 /Hasbro/USA - - - - - - -
+ 13 All star Festival Quize /EPOCH/Japan - - - - - - -
+ 14 e-kara mix /TAKARA/Japan - - - - - - -
+ 15 Jumping Popira /TAKARA/Japan - - - - - - -
+ 16 Tour around Japan. I'm a Prarail motorman /TOMY/Japan - - - - - - -
+ 17 TV mail PC "Mercot /EPOCH/Japan - - - - - - -
+ 18 Play TV Monster Truck /RADICA/USA 74026 x8 48 4M none SSD 98 PL7351-181 dumped
+ 19 Play TV Madden Football /RADICA/USA 74021 x8 48 4M none SSD 98 PL7351-181 dumped
+ 20 Play TV SSX Snowboarder (and Snowboarder white?) /RADICA/USA 74023 none have
+ 21 Disney Princess "Kira-Kira magical lesson" /TOMY/Japan - - - - - - -
+ 22 Mermaid Melody "pichi-pichi Pitch" e-pitch microcomputer pure starter set /TAKARA/Japan - - - - - - -
+ 23 Hello Kitty TV computer /EPOCH/Japan - - - - - - -
+ 24 Gan-Gan Revoultion /TAKARA/Japan - - - - - - -
+ 2003 1 Tokyo Friend Park II /EPOCH/Japan - - - - - - -
+ 2 TV mah-jongg /EPOCH/Japan - - - - - - -
+ 3 e-kara Web /TAKARA/Japan - - - - - - -
+ 4 Doraemon TV computer /EPOCH/Japan - - - - - - -
+ 5 Exciting stadium DX, Hansin Tigers version /EPOCH/Japan - - - - - - -
+ 6 Dragon Quest /SQUARE ENIX/Japan - - - - - - -
+ 7 Croquette! Win a medal! /EPOCH/Japan - - - - - - -
+ 8 Taiko Popira /TAKARA/Japan - - - - - - -
+ 9 Together Minimoni, Dancing' Stage! plus /EPOCH/Japan - - - - - - -
+ 10 Evio /TOMY/Japan - - - - - - -
+ 11 Together Minimoni,Jumping Party! /EPOCH/Japan - - - - - - -
+ 12 Hamutaro TV computer /EPOCH/Japan - - - - - - -
+ 13 Jara-Ja Land /TAKARA/Japan - - - - - - -
+ 14 Tomika, Draiving by Car navigation system /TOMY/Japan - - - - - - -
+ 15 PLAY TV Rescue Heroes /RADICA/USA 73036 x8 48 2M none SSD 98 PL7351-181 dumped
+ 16 PLAY TV Huntin' 2 /RADICA/USA 73030 x8 none none SSD 98 PL7351-181 have
+ 17 Let's play Ping-pong. Exciting pingpong2 /EPOCH/Japan - - - - - - -
+ 18 Cartridge for Slot machine TV "King of wild animal" /TAKARA/Japan - - - - - - -
+ 19 ChyoroQ "Burning up Racer /TAKARA/Japan - - - - - - -
+ 20 Super shot! Exciting golf /EPOCH/Japan - - - - - - -
+ 21 PichiPichi Pitchi /TAKARA/Japan - - - - - - -
+ 22 Dual Station /TAKARA/Japan - - - - - - -
+ 23 Gei-Geki GoGo! Shooting /TAKARA/Japan - - - - - - -
+ 24 Let's fish a big one. Exciting fishing! /EPOCH/Japan - - - - - - -
+ 25 Champion Pinball /TOMY/Japan - - - - - - -
+ 26 Excite Fishing DX EF2J x8 48 4M 24C08 SSD 98 PL7351-181 dumped
+ 2002 1 Accessory cartridge for Slot machine "Gin-gin maru TV" /TAKARA/Japan - - - - - - -
+ 2 Wildest computer robot "Daigander" (Korean version) /TAKARA/Korea - - - - - - -
+ 3 Hamutaro's circus /EPOCH/Japan - - - - - - -
+ 4 Doraemon ,computer megaphone /EPOCH/Japan - - - - - - -
+ 5 Strike! Exciting bowling /EPOCH/Japan - - - - - - -
+ 6 e-kara /Hasbro/Spain - - - - - - -
+ 7 Starter set for e-kara H.S," Morning sisters" /TAKARA/Japan - - - - - - -
+ 8 e-kara H.S.(headphones set) /TAKARA/Japan - - - - - - -
+ 9 Accessory cartridge for Slot machine TV," Aladdin TV" /TAKARA/Japan - - - - - - -
+ 10 Accessory cartridge for Slot machine TV "Businessman Kintaro/TAKARA/Japan - - - - - - -
+ 11 Poko-poko Hammers /TAKARA/Japan - - - - - - -
+ 12 e-kara N Angel blue special set /TAKARA/Japan - - - - - - -
+ 13 Together Minimoni,Dancing Stage! /EPOCH/Japan - - - - - - -
+ 14 King of shooting /TOMY/Japan - - - - - - -
+ 15 Knock them out! Exciting boxing /EPOCH/Japan - - - - - - -
+ 16 Popira2 /TAKARA/Japan - - - - - - -
+ 17 Zuba-Zuba Blade /TAKARA/Japan - - - - - - -
+ 18 Starter set for e-kara N "Morning sisters" /TAKARA/Japan - - - - - - -
+ 19 e-kara /Hasbro/England - - - - - - -
+ 20 e-kara /Takara USA/USA - - - - - - -
+ 21 e-kara PLAY TV Soccer /RADICA/USA 76088500 x8 none none SSD 98 PA7351-107 (aka Radica PlayTV Soccer? if so, have)
+ 22 PLAY TV Jr. Construction /RADICA/USA - - - - - - -
+ 23 PLAY TV Boxing /RADICA/Japan 72039 x8 48 2M none SSD 98 PA7351-107 dumped
+ 24 PLAY TV Baseball 2 /RADICA/USA 72042 x8 48 2M none SSD 98 PL7351-181 dumped
+ 25 Barbie Dance Party /RADICA/USA,EU - - - - - - -
+ 26 Compete! Exciting stadium DX /EPOCH/Japan - - - - - - -
+ 27 e-kara N /EPOCH/Japan - - - - - - -
+ 28 Who's the ace? Excite Tennis /EPOCH/Japan - - - - - - -
+ 29 Wildest computer robot, "Daigander" /TAKARA/Japan - - - - - - -
+ 30 Cartridge for Slot machine TV "King of wild animal Jr." /TAKARA/Japan - - - - - - -
+ 31 Gachinko Contest! Slot machine TV /DCT/Japan - - - - - - -
+ 32 Beyblade Ultimate shooter /TAKARA/Japan - - - - - - -
+ 2001 1 Ping-pong(Chinese version) /Tenpon/China - - - - - - -
+ 2 TV hockey /TOMY/Japan - - - - - - -
+ 3 e-kara Morning sisters /TAKARA/Japan - - - - - - -
+ 4 e-kara Duet microphone plus /TAKARA/Japan - - - - - - -
+ 5 e-kara plus /TAKARA/Japan - - - - - - -
+ 6 Hamutaro, Dancing', Running /EPOCH/Japan - - - - - - -
+ 7 Gin-gin Snowboarders /TAKARA/Japan - - - - - - -
+ 8 Shoot! Exciting striker /EPOCH/Japan - - - - - - -
+ 9 e-kara US version /TAKARA USA, Hasbro/USA,EU 71076 x8 none 1M SSD 98 PA7351-107 this one or #20 above? dumped
+ 10 Popira Korea version /SONOKONG/Korea - - - - - - -
+ 11 I singer: e-kara Korean version /SONOKONG/Korea - - - - - - -
+ 12 Ms.Comett, Lovely baton /TAKARA/Japan< - - - - - - -
+ 13 Dance Dance revolution family mat /KONAMI,KONAMI Sports/Japan - - - - - - -
+ 14 PLAY TV Card Night /RADICA/USA 71063 x8 40 1M none SSD 98 PA7351-107 dumped
+ 15 PLAY TV Bass Fishin' /RADICA/USA 71008 x8 40 1M none SSD 98 PA7351-107 dumped
+ 16 PLAY TV Snowboarder (blue) /RADICA/USA 71023 x8 40 1M none SSD 98 PL7351-181 dumped
+ 17 Bistro Kids /SEGA Toys/Japan - - - - - - -
+ 18 Let's construct the town! /TAKARA/Japan - - - - - - -
+ 19 Let's fish black bass! Exciting Fishing /EPOCH/Japan - - - - - - -
+ 20 Baseball Korean version /SONOKONG/Korea - - - - - - -
+ 21 Ping-pong Korean version /SONOKONG/Korea - - - - - - -
+ 22 e-kara Hello Kitty /TAKARA/Japan - - - - - - -
+ 23 Special box "Morning sisters" /TAKARA/Japan - - - - - - -
+ 24 Gan-Gan Adventure /TAKARA/Japan - - - - - - -
+ 25 e-kara wireless unit /TAKARA/Japan - - - - - - -
+ 26 Webdiver Gradion /TAKARA/Japan - - - - - - -
+ 27 black bass tsurouze! Excite Fishing/EPOCH/Japan - - - - - - -
+ 28 Hamu-chan's Daishuugou dance surunoda! hasirunoda!/EPOCH/Japan - - - - - - -
+ 2000 1 Popira /TAKARA/Japan - - - - - - -
+ 2 e-kara Duet microphone /TAKARA/Japan - - - - - - -
+ 3 e-kara /TAKARA/Japan - - - - - - -
+ 4 Let's play ping-pong. Exciting ping-pong /EPOCH/Japan - - - - - - -
+ 5 PLAY TV Huntin' Buckmasters /RADICA/USA 8074 x8 none none SSD 98 PA7351-107 have
+ 6 PLAY TV Ping Pong /RADICA/USA,HK,EU 8028 x8 48 1M none SSD 97 PA7270-107 dumped
+ 7 PLAY TV OPUS /RADICA/USA,EU - - - - - - -
+ 8 PLAY TV Baseball 2 /EPOCH/Japan, HK - - - - - - -
+ 9 Let's hit a homerun! Exciting baseball /RADICA/USA,EU 8017 x8 none none SSD 98 PA7351-107 (aka Radica PlayTV Baseball, if so, have)
+ 1999 1 ABC Jungle Fun Hippo /Vteck/HK, USA, France - - - - - - -
+ Unknown 1 PLAY TV Football /RADICA/USA 74021 x8 48 4M none SSD 98 PL7351-181 dumped
+ XaviXTennis SGM6446 x16 48 8M 24C08 SSD 2002 NEC 85054-611 dumped
+ XaviXBowling SGM644C x16 48 not dumped
+
+
+ TODO: put into above table (XaviXPORT cartridges)
+
+ XaviX Tennis and XaviX Baseball are the simplest: just the CPU, x16 ROM and 24C08 SEEPROM. Bowling and Boxing also have 4 IR LEDs and a 32x32 sensor.
+ XaviX Fishing has ROM, 24C08 and a 24-pin daughterboard with a Nordic nRF24E1 2.4GHz 8051-based SoC.
+ All the rest of the carts include an S35390 I2C clock chip with crystal and battery backup, and have two x16 ROM chips, using a 5-pin single-gate inverter to create complementary /OE signals.
+ J-MAT, Fitness Exercise, Fitness Challenge and Bike Concept have a 24CS64 SEEPROM. Bike Concept also has two 74HC14s.
+ Fitness Dance has an Atmel H93864C (maybe SEEPROM?) a Microchip DSPIC 33FJ12GP202 and two JRC 2740 dual op amps.
+ Music and Circuit has a 24CS64, two UTC324 quad op amps, a 74HC14, a 74HCT04, and an 8-pin SOIC labeled 61545, which is likely an M61545 dual electronic volume control.
***************************************************************************/
@@ -1469,7 +1469,7 @@ WRITE8_MEMBER(xavix_state::xavix_6fd8_w) // also related to tilemap 2?
{
// possibly just a mirror of tmap2_regs_w, at least it writes 0x04 here which would be the correct
// base address to otherwise write at tmap2_regs_w offset 0
-// tmap2_regs_w(space,offset,data);
+// tmap2_regs_w(space,offset,data);
logerror("%s: xavix_6fd8_w data %02x\n", machine().describe_context(), data);
}
@@ -2122,11 +2122,11 @@ ROM_START( rad_rh )
ROM_END
/*
- There's more code in here than in the 'eka_strt' set, but all it seems to do is display an 'insert cartridge' message,
- however eka_strt also seems a complete program in it's own right, it's unclear if it can see any of the data from this
- ROM.
+ There's more code in here than in the 'eka_strt' set, but all it seems to do is display an 'insert cartridge' message,
+ however eka_strt also seems a complete program in it's own right, it's unclear if it can see any of the data from this
+ ROM.
- (TODO: turn the cartridges into a software list once the mapping is properly understood)
+ (TODO: turn the cartridges into a software list once the mapping is properly understood)
*/
ROM_START( eka_base )
@@ -2171,7 +2171,7 @@ CONS( 2003, rad_mtrkp, rad_mtrk, 0, xavixp, rad_mtrkp,xavix_state, xavix,
CONS( 200?, rad_box, 0, 0, xavix, rad_box, xavix_state, rad_box, "Radica / SSD Company LTD", "Play TV Boxing (NTSC)", MACHINE_IS_SKELETON)
CONS( 200?, rad_boxp, rad_box, 0, xavixp, rad_boxp, xavix_state, rad_box, "Radica / SSD Company LTD", "ConnecTV Boxing (PAL)", MACHINE_IS_SKELETON)
-
+
CONS( 200?, rad_crdn, 0, 0, xavix, rad_crdn, xavix_state, rad_box, "Radica / SSD Company LTD", "Play TV Card Night (NTSC)", MACHINE_IS_SKELETON)
CONS( 200?, rad_crdnp, rad_crdn, 0, xavixp, rad_crdnp,xavix_state, rad_box, "Radica / SSD Company LTD", "ConnecTV Card Night (PAL)", MACHINE_IS_SKELETON)
diff --git a/src/mame/drivers/xerox820.cpp b/src/mame/drivers/xerox820.cpp
index a83089253ad..776c60729af 100644
--- a/src/mame/drivers/xerox820.cpp
+++ b/src/mame/drivers/xerox820.cpp
@@ -402,10 +402,10 @@ static const z80_daisy_config xerox820_daisy_chain[] =
QUICKLOAD_LOAD_MEMBER( xerox820_state, xerox820 )
{
address_space& prog_space = m_maincpu->space(AS_PROGRAM);
-
+
if (quickload_size >= 0xfd00)
return image_init_result::FAIL;
-
+
bankswitch(0);
/* Avoid loading a program if CP/M-80 is not in memory */
@@ -414,7 +414,7 @@ QUICKLOAD_LOAD_MEMBER( xerox820_state, xerox820 )
machine_reset();
return image_init_result::FAIL;
}
-
+
/* Load image to the TPA (Transient Program Area) */
for (uint16_t i = 0; i < quickload_size; i++)
{
@@ -426,11 +426,11 @@ QUICKLOAD_LOAD_MEMBER( xerox820_state, xerox820 )
/* clear out command tail */
prog_space.write_byte(0x80, 0); prog_space.write_byte(0x81, 0);
-
+
/* Roughly set SP basing on the BDOS position */
m_maincpu->set_state_int(Z80_SP, 256 * prog_space.read_byte(7) - 300);
m_maincpu->set_pc(0x100); // start program
-
+
return image_init_result::PASS;
}
diff --git a/src/mame/includes/bbc.h b/src/mame/includes/bbc.h
index d21d24839f1..b53a469ccd4 100644
--- a/src/mame/includes/bbc.h
+++ b/src/mame/includes/bbc.h
@@ -313,22 +313,22 @@ public: // HACK FOR MC6845
bool m_lk19_ic37_paged_rom; // BBC Master Paged ROM/RAM select IC37
/*
- ACCCON
- b7 IRR 1=Causes an IRQ to the processor
- b6 TST 1=Selects &FC00-&FEFF read from OS-ROM
- b5 IFJ 1=Internal 1 MHz bus
- 0=External 1MHz bus
- b4 ITU 1=Internal Tube
- 0=External Tube
- b3 Y 1=Read/Write HAZEL &C000-&DFFF RAM
- 0=Read/Write ROM &C000-&DFFF OS-ROM
- b2 X 1=Read/Write LYNNE
- 0=Read/WRITE main memory &3000-&8000
- b1 E 1=Causes shadow if VDU code
- 0=Main all the time
- b0 D 1=Display LYNNE as screen
- 0=Display main RAM screen
- ACCCON is a read/write register
+ ACCCON
+ b7 IRR 1=Causes an IRQ to the processor
+ b6 TST 1=Selects &FC00-&FEFF read from OS-ROM
+ b5 IFJ 1=Internal 1 MHz bus
+ 0=External 1MHz bus
+ b4 ITU 1=Internal Tube
+ 0=External Tube
+ b3 Y 1=Read/Write HAZEL &C000-&DFFF RAM
+ 0=Read/Write ROM &C000-&DFFF OS-ROM
+ b2 X 1=Read/Write LYNNE
+ 0=Read/WRITE main memory &3000-&8000
+ b1 E 1=Causes shadow if VDU code
+ 0=Main all the time
+ b0 D 1=Display LYNNE as screen
+ 0=Display main RAM screen
+ ACCCON is a read/write register
*/
int m_acccon;
@@ -343,27 +343,27 @@ public: // HACK FOR MC6845
/*
- The addressable latch
- This 8 bit addressable latch is operated from port B lines 0-3.
- PB0-PB2 are set to the required address of the output bit to be set.
- PB3 is set to the value which should be programmed at that bit.
- The function of the 8 output bits from this latch are:-
-
- B0 - Write Enable to the sound generator IC
- B1 - READ select on the speech processor (B and B+)
- R/nW control on CMOS RAM (Master only)
- B2 - WRITE select on the speech processor
- DS control on CMOS RAM (Master only)
- B3 - Keyboard write enable
- B4,B5 - these two outputs define the number to be added to the
- start of screen address in hardware to control hardware scrolling:-
- Mode Size Start of screen Size No.to add B5 B4
- 0,1,2 20K &3000 12K 1 1
- 3 16K &4000 16K 0 0
- 4,5 10K &5800 (or &1800) 22K 1 0
- 6 8K &6000 (or &2000) 24K 0 1
- B6 - Operates the CAPS lock LED (Pin 17 keyboard connector)
- B7 - Operates the SHIFT lock LED (Pin 16 keyboard connector)
+ The addressable latch
+ This 8 bit addressable latch is operated from port B lines 0-3.
+ PB0-PB2 are set to the required address of the output bit to be set.
+ PB3 is set to the value which should be programmed at that bit.
+ The function of the 8 output bits from this latch are:-
+
+ B0 - Write Enable to the sound generator IC
+ B1 - READ select on the speech processor (B and B+)
+ R/nW control on CMOS RAM (Master only)
+ B2 - WRITE select on the speech processor
+ DS control on CMOS RAM (Master only)
+ B3 - Keyboard write enable
+ B4,B5 - these two outputs define the number to be added to the
+ start of screen address in hardware to control hardware scrolling:-
+ Mode Size Start of screen Size No.to add B5 B4
+ 0,1,2 20K &3000 12K 1 1
+ 3 16K &4000 16K 0 0
+ 4,5 10K &5800 (or &1800) 22K 1 0
+ 6 8K &6000 (or &2000) 24K 0 1
+ B6 - Operates the CAPS lock LED (Pin 17 keyboard connector)
+ B7 - Operates the SHIFT lock LED (Pin 16 keyboard connector)
*/
int m_b0_sound;
diff --git a/src/mame/includes/kaneko16.h b/src/mame/includes/kaneko16.h
index 6da41c59395..61f363a0085 100644
--- a/src/mame/includes/kaneko16.h
+++ b/src/mame/includes/kaneko16.h
@@ -53,14 +53,14 @@ public:
optional_shared_ptr<uint16_t> m_spriteram;
optional_shared_ptr<uint16_t> m_mainram;
-
+
optional_memory_region_array<2> m_okiregion;
optional_memory_bank_array<2> m_okibank;
uint16_t m_disp_enable;
int m_VIEW2_2_pri;
-
+
void kaneko16_common_oki_bank_install(int bankno, size_t fixedsize, size_t bankedsize);
DECLARE_WRITE16_MEMBER(kaneko16_coin_lockout_w);
DECLARE_WRITE16_MEMBER(kaneko16_eeprom_w);
@@ -74,7 +74,7 @@ public:
DECLARE_READ8_MEMBER(eeprom_r);
DECLARE_WRITE8_MEMBER(eeprom_w);
-
+
DECLARE_DRIVER_INIT(kaneko16);
DECLARE_DRIVER_INIT(bakubrkr);
diff --git a/src/mame/includes/lisa.h b/src/mame/includes/lisa.h
index 5b3fb167288..13922be4346 100644
--- a/src/mame/includes/lisa.h
+++ b/src/mame/includes/lisa.h
@@ -24,7 +24,7 @@
#define COP421_TAG "u9f"
#define KB_COP421_TAG "kbcop"
-#define SCREEN_TAG "screen"
+#define SCREEN_TAG "screen"
/* lisa MMU segment regs */
struct real_mmu_entry
diff --git a/src/mame/includes/model2.h b/src/mame/includes/model2.h
index df714ea5e66..288d597855c 100644
--- a/src/mame/includes/model2.h
+++ b/src/mame/includes/model2.h
@@ -124,7 +124,7 @@ public:
raster_state *m_raster;
geo_state *m_geo;
bitmap_rgb32 m_sys24_bitmap;
-// uint32_t m_soundack;
+// uint32_t m_soundack;
void model2_check_irq_state();
void model2_check_irqack_state(uint32_t data);
uint8_t m_gearsel;
@@ -170,7 +170,7 @@ public:
DECLARE_WRITE32_MEMBER(model2_serial_w);
DECLARE_WRITE16_MEMBER(horizontal_sync_w);
DECLARE_WRITE16_MEMBER(vertical_sync_w);
-
+
void raster_init(memory_region *texture_rom);
void geo_init(memory_region *polygon_rom);
DECLARE_READ32_MEMBER(render_mode_r);
@@ -217,8 +217,8 @@ public:
DECLARE_MACHINE_RESET(model2_common);
DECLARE_MACHINE_RESET(model2_scsp);
uint32_t screen_update_model2(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
-// DECLARE_WRITE_LINE_MEMBER(screen_vblank_model2);
-// DECLARE_WRITE_LINE_MEMBER(sound_ready_w);
+// DECLARE_WRITE_LINE_MEMBER(screen_vblank_model2);
+// DECLARE_WRITE_LINE_MEMBER(sound_ready_w);
TIMER_DEVICE_CALLBACK_MEMBER(model2_timer_cb);
TIMER_DEVICE_CALLBACK_MEMBER(model2_interrupt);
TIMER_DEVICE_CALLBACK_MEMBER(model2c_interrupt);
@@ -240,7 +240,7 @@ public:
void geo_parse( void );
void model2_3d_frame_end( bitmap_rgb32 &bitmap, const rectangle &cliprect );
void draw_framebuffer(bitmap_rgb32 &bitmap, const rectangle &cliprect );
-
+
void model2_timers(machine_config &config);
void model2_screen(machine_config &config);
void model2_scsp(machine_config &config);
@@ -262,7 +262,7 @@ public:
void debug_geo_dasm_command(int ref, const std::vector<std::string> &params);
void debug_tri_dump_command(int ref, const std::vector<std::string> &params);
void debug_help_command(int ref, const std::vector<std::string> &params);
-
+
protected:
virtual void video_start() override;
@@ -291,19 +291,19 @@ private:
// geo commands
uint32_t *geo_nop( geo_state *geo, uint32_t opcode, uint32_t *input );
uint32_t *geo_object_data( geo_state *geo, uint32_t opcode, uint32_t *input );
- uint32_t *geo_direct_data( geo_state *geo, uint32_t opcode, uint32_t *input );
- uint32_t *geo_window_data( geo_state *geo, uint32_t opcode, uint32_t *input );
- uint32_t *geo_texture_data( geo_state *geo, uint32_t opcode, uint32_t *input );
- uint32_t *geo_polygon_data( geo_state *geo, uint32_t opcode, uint32_t *input );
- uint32_t *geo_texture_parameters( geo_state *geo, uint32_t opcode, uint32_t *input );
- uint32_t *geo_mode( geo_state *geo, uint32_t opcode, uint32_t *input );
- uint32_t *geo_zsort_mode( geo_state *geo, uint32_t opcode, uint32_t *input );
- uint32_t *geo_focal_distance( geo_state *geo, uint32_t opcode, uint32_t *input );
- uint32_t *geo_light_source( geo_state *geo, uint32_t opcode, uint32_t *input );
- uint32_t *geo_matrix_write( geo_state *geo, uint32_t opcode, uint32_t *input );
- uint32_t *geo_translate_write( geo_state *geo, uint32_t opcode, uint32_t *input );
- uint32_t *geo_data_mem_push( geo_state *geo, uint32_t opcode, uint32_t *input );
- uint32_t *geo_test( geo_state *geo, uint32_t opcode, uint32_t *input );
+ uint32_t *geo_direct_data( geo_state *geo, uint32_t opcode, uint32_t *input );
+ uint32_t *geo_window_data( geo_state *geo, uint32_t opcode, uint32_t *input );
+ uint32_t *geo_texture_data( geo_state *geo, uint32_t opcode, uint32_t *input );
+ uint32_t *geo_polygon_data( geo_state *geo, uint32_t opcode, uint32_t *input );
+ uint32_t *geo_texture_parameters( geo_state *geo, uint32_t opcode, uint32_t *input );
+ uint32_t *geo_mode( geo_state *geo, uint32_t opcode, uint32_t *input );
+ uint32_t *geo_zsort_mode( geo_state *geo, uint32_t opcode, uint32_t *input );
+ uint32_t *geo_focal_distance( geo_state *geo, uint32_t opcode, uint32_t *input );
+ uint32_t *geo_light_source( geo_state *geo, uint32_t opcode, uint32_t *input );
+ uint32_t *geo_matrix_write( geo_state *geo, uint32_t opcode, uint32_t *input );
+ uint32_t *geo_translate_write( geo_state *geo, uint32_t opcode, uint32_t *input );
+ uint32_t *geo_data_mem_push( geo_state *geo, uint32_t opcode, uint32_t *input );
+ uint32_t *geo_test( geo_state *geo, uint32_t opcode, uint32_t *input );
uint32_t *geo_end( geo_state *geo, uint32_t opcode, uint32_t *input );
uint32_t *geo_dummy( geo_state *geo, uint32_t opcode, uint32_t *input );
uint32_t *geo_log_data( geo_state *geo, uint32_t opcode, uint32_t *input );
@@ -315,7 +315,7 @@ private:
void geo_parse_np_s( geo_state *geo, uint32_t *input, uint32_t count );
void geo_parse_nn_ns( geo_state *geo, uint32_t *input, uint32_t count );
void geo_parse_nn_s( geo_state *geo, uint32_t *input, uint32_t count );
-
+
// raster functions
// main data input port
void model2_3d_push( raster_state *raster, uint32_t input );
@@ -388,11 +388,11 @@ public:
DECLARE_READ8_MEMBER(gtx_r);
void daytona_gtx(machine_config &config);
void model2o_gtx_mem(address_map &map);
-
+
private:
int m_gtx_state;
};
-
+
/*****************************
*
* Model 2A
@@ -534,7 +534,7 @@ public:
void model2_3d_render(triangle *tri, const rectangle &cliprect);
void set_xoffset(int16 xoffs) { m_xoffs = xoffs; }
void set_yoffset(int16 yoffs) { m_yoffs = yoffs; }
-
+
/* checker = 0, textured = 0, transparent = 0 */
#define MODEL2_FUNC 0
#define MODEL2_FUNC_NAME model2_3d_render_0
diff --git a/src/mame/includes/naomi.h b/src/mame/includes/naomi.h
index d20d037d4d8..3c3489c6af9 100644
--- a/src/mame/includes/naomi.h
+++ b/src/mame/includes/naomi.h
@@ -129,7 +129,7 @@ public:
DECLARE_WRITE64_MEMBER( aw_flash_w );
DECLARE_READ64_MEMBER( aw_modem_r );
DECLARE_WRITE64_MEMBER( aw_modem_w );
-
+
DECLARE_DRIVER_INIT(atomiswave);
DECLARE_DRIVER_INIT(xtrmhnt2);
diff --git a/src/mame/includes/spectrum.h b/src/mame/includes/spectrum.h
index 8f8005e5c7f..ad0c21d5b64 100644
--- a/src/mame/includes/spectrum.h
+++ b/src/mame/includes/spectrum.h
@@ -64,12 +64,12 @@ struct EVENT_LIST_ITEM
class spectrum_state : public driver_device
{
public:
- enum
- {
- TIMER_IRQ_ON,
- TIMER_IRQ_OFF,
- TIMER_SCANLINE
- };
+ enum
+ {
+ TIMER_IRQ_ON,
+ TIMER_IRQ_OFF,
+ TIMER_SCANLINE
+ };
spectrum_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
m_video_ram(*this, "video_ram"),
diff --git a/src/mame/layout/crusnusa.lay b/src/mame/layout/crusnusa.lay
index 19de22b5624..17fc81d4c6c 100644
--- a/src/mame/layout/crusnusa.lay
+++ b/src/mame/layout/crusnusa.lay
@@ -92,14 +92,14 @@
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3.125" />
</screen>
-
+
<bezel element="radio" inputtag="IN1" inputmask="0x02">
<bounds x="3.250" y="3.150" width="0.35" height="0.35" />
</bezel>
<bezel name="lamp0" element="start" inputtag="IN0" inputmask="0x04">
<bounds x="3.625" y="3.150" width="0.35" height="0.35" />
</bezel>
-
+
<bezel name="lamp1" element="view1" inputtag="IN1" inputmask="0x10">
<bounds x="0.025" y="3.150" width="0.5" height="0.1" />
</bezel>
diff --git a/src/mame/layout/rz1.lay b/src/mame/layout/rz1.lay
index 5c358327621..f020a339255 100644
--- a/src/mame/layout/rz1.lay
+++ b/src/mame/layout/rz1.lay
@@ -7,7 +7,7 @@ Casio RZ-1 layout
-->
<mamelayout version="2">
-
+
<element name="background">
<rect><color red="0.15" green="0.11" blue="0.11" /></rect>
</element>
@@ -120,12 +120,12 @@ Casio RZ-1 layout
<element name="text_sample2"><text string="SAMPLE 2"><color red="0.15" green="0.11" blue="0.11" /></text></element>
<element name="text_sample3"><text string="SAMPLE 3"><color red="0.15" green="0.11" blue="0.11" /></text></element>
<element name="text_sample4"><text string="SAMPLE 4"><color red="0.15" green="0.11" blue="0.11" /></text></element>
-
+
<view name="Default">
<backdrop element="background">
<bounds x="0" y="0" width="800" height="535" />
</backdrop>
-
+
<backdrop element="button_white">
<bounds x="319" y="211" width="161" height="13" />
</backdrop>
@@ -242,8 +242,8 @@ Casio RZ-1 layout
<bounds x="1" y="181" width="798" height="1" />
</cpanel>
- <!-- leds -->
-
+ <!-- leds -->
+
<cpanel name="led_song" element="led">
<bounds x="50" y="271" width="9" height="4" />
</cpanel>
diff --git a/src/mame/machine/315-5881_crypt.cpp b/src/mame/machine/315-5881_crypt.cpp
index dbb5b2c42a5..eab07f56785 100644
--- a/src/mame/machine/315-5881_crypt.cpp
+++ b/src/mame/machine/315-5881_crypt.cpp
@@ -26,7 +26,7 @@ DEFINE_DEVICE_TYPE(SEGA315_5881_CRYPT, sega_315_5881_crypt_device, "sega315_5881
// might be due of high address variables not properly set (@see sega_315_5881_crypt_device::set_addr_high)
ADDRESS_MAP_START(sega_315_5881_crypt_device::iomap_64be)
AM_RANGE(0x0000, 0x0001) AM_READ(ready_r)
-// TODO: it is unknown if the
+// TODO: it is unknown if the
AM_RANGE(0x0010, 0x0011) AM_WRITE(addrlo_w)
AM_RANGE(0x0012, 0x0013) AM_WRITE(addrhi_w)
AM_RANGE(0x0018, 0x0019) AM_WRITE(subkey_be_w)
@@ -90,7 +90,7 @@ void sega_315_5881_crypt_device::device_reset()
dec_header = 0;
enc_ready = false;
first_read = false;
-
+
buffer_pos = 0;
line_buffer_pos = 0;
line_buffer_size = 0;
@@ -141,9 +141,9 @@ WRITE16_MEMBER(sega_315_5881_crypt_device::subkey_be_w)
READ16_MEMBER(sega_315_5881_crypt_device::decrypt_le_r)
{
uint16_t retval = decrypt_be_r(space,offset,mem_mask);
- // endian swap the sub-key for little endian CPUs
+ // endian swap the sub-key for little endian CPUs
retval = ((retval & 0xff00) >> 8) | ((retval & 0x00ff) << 8);
-
+
return retval;
}
@@ -163,7 +163,7 @@ READ16_MEMBER(sega_315_5881_crypt_device::decrypt_be_r)
uint16_t retval;
retval = do_decrypt(base);
// retval = ((retval & 0xff00) >> 8) | ((retval & 0x00ff) << 8);
-
+
return retval;
}
diff --git a/src/mame/machine/315-5881_crypt.h b/src/mame/machine/315-5881_crypt.h
index 8f3f91a3227..2f595435a89 100644
--- a/src/mame/machine/315-5881_crypt.h
+++ b/src/mame/machine/315-5881_crypt.h
@@ -21,13 +21,13 @@ public:
sega_315_5881_crypt_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
DECLARE_READ16_MEMBER(ready_r);
- DECLARE_WRITE16_MEMBER(subkey_le_w);
+ DECLARE_WRITE16_MEMBER(subkey_le_w);
DECLARE_WRITE16_MEMBER(subkey_be_w);
DECLARE_WRITE16_MEMBER(addrlo_w);
DECLARE_WRITE16_MEMBER(addrhi_w);
DECLARE_READ16_MEMBER(decrypt_le_r);
DECLARE_READ16_MEMBER(decrypt_be_r);
-
+
void iomap_64be(address_map &map);
void iomap_le(address_map &map);
diff --git a/src/mame/machine/kaypro.cpp b/src/mame/machine/kaypro.cpp
index e70d8b802e2..cd93253abc8 100644
--- a/src/mame/machine/kaypro.cpp
+++ b/src/mame/machine/kaypro.cpp
@@ -273,9 +273,9 @@ QUICKLOAD_LOAD_MEMBER( kaypro_state, kaypro )
membank("bankr0")->set_entry(0);
membank("bank3")->set_entry(0);
RAM[0x80]=0; RAM[0x81]=0; // clear out command tail
-
+
m_maincpu->set_pc(0x100); // start program
- m_maincpu->set_state_int(Z80_SP, 256 * RAM[7] - 300); // put the stack a bit before BDOS
+ m_maincpu->set_state_int(Z80_SP, 256 * RAM[7] - 300); // put the stack a bit before BDOS
return image_init_result::PASS;
}
diff --git a/src/mame/machine/m1comm.cpp b/src/mame/machine/m1comm.cpp
index 98cc02aa1bb..943669406fa 100644
--- a/src/mame/machine/m1comm.cpp
+++ b/src/mame/machine/m1comm.cpp
@@ -128,10 +128,10 @@ MACHINE_CONFIG_END
//-------------------------------------------------
// rom_region - device-specific ROM region
//-------------------------------------------------
-const tiny_rom_entry *m1comm_device::device_rom_region() const
-{
- return ROM_NAME( m1comm );
-}
+const tiny_rom_entry *m1comm_device::device_rom_region() const
+{
+ return ROM_NAME( m1comm );
+}
//**************************************************************************
// LIVE DEVICE
diff --git a/src/mame/machine/model2.cpp b/src/mame/machine/model2.cpp
index 62bcf3cdba7..af38c3e7f26 100644
--- a/src/mame/machine/model2.cpp
+++ b/src/mame/machine/model2.cpp
@@ -2,7 +2,7 @@
// copyright-holders:R. Belmont, Olivier Galibert, ElSemi, Angelo Salese
/*********************************************************************************************************************************
- Model 2 Debugger functions
+ Model 2 Debugger functions
*********************************************************************************************************************************/
@@ -15,7 +15,7 @@
#include <fstream>
-
+
void model2_state::debug_init()
{
if (machine().debug_flags & DEBUG_FLAG_ENABLED)
@@ -29,7 +29,7 @@ void model2_state::debug_commands(int ref, const std::vector<std::string> &param
{
if (params.size() < 1)
return;
-
+
if (params[0] == "geodasm")
debug_geo_dasm_command(ref, params);
else if(params[0] == "trilist")
@@ -41,7 +41,7 @@ void model2_state::debug_commands(int ref, const std::vector<std::string> &param
void model2_state::debug_help_command(int ref, const std::vector<std::string> &params)
{
debugger_console &con = machine().debugger().console();
-
+
con.printf("Available Sega Model 2 commands:\n");
con.printf(" m2 geodasm,<filename> -- dump current geometrizer DASM in <filename>\n");
con.printf(" m2 trilist,<filename> -- dump current parsed triangles in <filename>\n");
@@ -112,12 +112,12 @@ void model2_state::debug_geo_dasm_command(int ref, const std::vector<std::string
}
else
{
-
+
// parse the opcode info
switch((opcode >> 23) & 0x1f)
{
// nop
- case 0x00:
+ case 0x00:
util::stream_format(f, "nop");
break;
// object data display
@@ -126,7 +126,7 @@ void model2_state::debug_geo_dasm_command(int ref, const std::vector<std::string
ptr+=4;
break;
// direct object data display
- case 0x02:
+ case 0x02:
util::stream_format(f, "direct data (point:%08x header:%08x)",m_bufferram[ptr],m_bufferram[ptr+1]);
ptr+=2;
// skip first point
@@ -134,14 +134,14 @@ void model2_state::debug_geo_dasm_command(int ref, const std::vector<std::string
// parse and get next pointer address
do{
attr = m_bufferram[ptr];
-
+
ptr++;
if((attr & 3) == 0)
continue;
// check and skip quad/tri data
- ptr += (attr & 1) ? 8 : 5;
- }while((attr & 3) != 0);
-
+ ptr += (attr & 1) ? 8 : 5;
+ }while((attr & 3) != 0);
+
break;
// set display window
case 0x03:
@@ -162,34 +162,34 @@ void model2_state::debug_geo_dasm_command(int ref, const std::vector<std::string
ptr+=6;
break;
// set texture color data to RAM
- case 0x04:
+ case 0x04:
util::stream_format(f, "texture data (start:%08x count:%08x)",m_bufferram[ptr],m_bufferram[ptr+1]);
ptr+=(2+m_bufferram[ptr+1]);
break;
// set polygon data to RAM
- case 0x05:
+ case 0x05:
attr = m_bufferram[ptr+1];
util::stream_format(f, "polygon data (start:%08x count:%08x)",m_bufferram[ptr],attr);
ptr+=(2+attr);
break;
// set texture params
- case 0x06:
+ case 0x06:
attr = m_bufferram[ptr+1];
util::stream_format(f, "texture param (start:%08x count:%08x)",m_bufferram[ptr],attr);
ptr+=(2+attr*2);
break;
// set mode
- case 0x07:
+ case 0x07:
util::stream_format(f, "mode (%08x)",m_bufferram[ptr]);
ptr++;
break;
// set z-sort mode
- case 0x08:
+ case 0x08:
util::stream_format(f, "zsort (%08x)",m_bufferram[ptr]);
ptr++;
break;
// set focus
- case 0x09:
+ case 0x09:
util::stream_format(f, "focus [%f,%f]",u2f(m_bufferram[ptr]),u2f(m_bufferram[ptr+1]));
ptr+=2;
break;
@@ -199,15 +199,15 @@ void model2_state::debug_geo_dasm_command(int ref, const std::vector<std::string
ptr+=3;
break;
// set transform matrix
- case 0x0B:
+ case 0x0B:
util::stream_format(f, "matrix ");
for(attr=0;attr<12;attr+=3)
util::stream_format(f,"[%f,%f,%f] ",u2f(m_bufferram[ptr+attr]),u2f(m_bufferram[ptr+1+attr]),u2f(m_bufferram[ptr+2+attr]));
-
+
ptr+=12;
break;
// set translate matrix
- case 0x0C:
+ case 0x0C:
util::stream_format(f, "translate [%f,%f,%f]",u2f(m_bufferram[ptr]),u2f(m_bufferram[ptr+1]),u2f(m_bufferram[ptr+2]));
ptr+=3;
break;
@@ -217,29 +217,29 @@ void model2_state::debug_geo_dasm_command(int ref, const std::vector<std::string
ptr+=2;
break;
// test
- case 0x0E:
+ case 0x0E:
util::stream_format(f, "test (blocks:%08x)",m_bufferram[ptr+32]);
ptr+=32;
ptr+=m_bufferram[ptr]*3;
break;
// end code
- case 0x0F:
+ case 0x0F:
util::stream_format(f, "end");
end_code = true;
break;
// dummy
- case 0x10:
+ case 0x10:
util::stream_format(f, "dummy");
ptr++;
break;
// log data
- case 0x14:
+ case 0x14:
attr = m_bufferram[ptr+1];
util::stream_format(f, "log (start:%08x count:%08x)",m_bufferram[ptr],attr);
ptr+=2+attr;
break;
// set lod mode
- case 0x16:
+ case 0x16:
util::stream_format(f, "lod (%f)",u2f(m_bufferram[ptr]));
ptr++;
break;
@@ -249,7 +249,7 @@ void model2_state::debug_geo_dasm_command(int ref, const std::vector<std::string
break;
}
}
-
+
// append the raw opcode and new line here
util::stream_format(f,"\t%08x\n",opcode);
}
@@ -268,13 +268,13 @@ void model2_state::debug_tri_dump_command(int ref, const std::vector<std::string
{
debugger_console &con = machine().debugger().console();
FILE *f;
-
+
if (params.size() < 2)
{
con.printf("Error: not enough parameters for m2 trilist command\n");
return;
}
-
+
if (params[1].empty() || params[1].length() > 127)
{
con.printf("Error: invalid filename parameter for m2 trilist command\n");
@@ -288,5 +288,5 @@ void model2_state::debug_tri_dump_command(int ref, const std::vector<std::string
}
tri_list_dump(f);
- con.printf("Data dumped successfully\n");
+ con.printf("Data dumped successfully\n");
}
diff --git a/src/mame/mame.lst b/src/mame/mame.lst
index 1b1cd8e9faf..5e992dcfcaa 100644
--- a/src/mame/mame.lst
+++ b/src/mame/mame.lst
@@ -10805,7 +10805,7 @@ cyclemb // P0 (c) 1984 Taito Corporation [+ Seta]
skydest // PD0 (c) 1985 Taito Corporation
@source:cz101.cpp
-cz101 // 1984 Casio
+cz101 // 1984 Casio
@source:czk80.cpp
czk80 //
@@ -15172,7 +15172,7 @@ hp85 //
hshavoc // (c) 1993 Data East
@source:ht6000.cpp
-ht6000 // 1987 Casio
+ht6000 // 1987 Casio
@source:ht68k.cpp
ht68k //
@@ -21345,7 +21345,7 @@ daytonas //
daytonase // 1994 Daytona USA Special Edition (Japan, Revision A)
daytonat // 1994? Kyle Hodgetts hack
daytonata // 1994? Kyle Hodgetts hack
-daytonagtx // 2004 Kyle Hodgetts hack
+daytonagtx // 2004 Kyle Hodgetts hack
desert // 1994.07 Desert Tank
doa // 1996.11 Dead or Alive (Revision B)
doaa // 1996.11 Dead or Alive (Revision A)
@@ -32963,7 +32963,7 @@ rvoicepc //
rx78 //
@source:rz1.cpp
-rz1 // 1986 Casio
+rz1 // 1986 Casio
@source:rzone.cpp
rzbatfor //
@@ -39070,7 +39070,7 @@ rad_snowp //
rad_madf //
rad_fb //
epo_efdx //
-rad_rh //
+rad_rh //
has_wamg //
eka_base //
eka_strt //
diff --git a/src/mame/video/kaneko_grap2.h b/src/mame/video/kaneko_grap2.h
index 10e5fab62cf..affbc3c2ad1 100644
--- a/src/mame/video/kaneko_grap2.h
+++ b/src/mame/video/kaneko_grap2.h
@@ -13,7 +13,7 @@ public:
DECLARE_READ16_MEMBER(regs1_r);
DECLARE_WRITE16_MEMBER(regs1_go_w);
-
+
void grap2_map(address_map &map);
void do_rle(uint32_t address);
diff --git a/src/mame/video/model2.cpp b/src/mame/video/model2.cpp
index 29cc8c89a43..6e035383d41 100644
--- a/src/mame/video/model2.cpp
+++ b/src/mame/video/model2.cpp
@@ -109,7 +109,7 @@
struct raster_state
{
-// uint32_t mode; /* bit 0 = Test Mode, bit 2 = Switch 60Hz(1)/30Hz(0) operation */
+// uint32_t mode; /* bit 0 = Test Mode, bit 2 = Switch 60Hz(1)/30Hz(0) operation */
uint16_t *texture_rom; /* Texture ROM pointer */
uint32_t texture_rom_mask; /* Texture ROM mask */
int16_t viewport[4]; /* View port (startx,starty,endx,endy) */
@@ -258,7 +258,7 @@ static int32_t clip_polygon(poly_vertex *v, int32_t num_vertices, poly_vertex *v
float curdot, nextdot, scale;
int32_t i, curin, nextin, nextvert, outcount;
plane clip_plane;
-
+
clip_plane.normal.x = 0.0f;
clip_plane.normal.y = 0.0f;
clip_plane.normal.pz = 1.0f;
@@ -283,7 +283,7 @@ static int32_t clip_polygon(poly_vertex *v, int32_t num_vertices, poly_vertex *v
nextin = (nextdot >= clip_plane.distance) ? 1 : 0;
/* Add a clipped vertex if one end of the current edge is inside the plane and the other is outside */
- // TODO: displaying Honey in Fighting Vipers and Bean in Sonic the Fighters somehow causes a NaN dot product here,
+ // TODO: displaying Honey in Fighting Vipers and Bean in Sonic the Fighters somehow causes a NaN dot product here,
// causing MAME to hardlock in the renderer routine. They are also causing lots of invalid polygon renders
// which might be related.
if ( curin != nextin && std::isnan(curdot) == false && std::isnan(nextdot) == false )
@@ -327,7 +327,7 @@ inline bool model2_state::check_culling( raster_state *raster, uint32_t attr, fl
/* if the maximum z value is < 0 then we can safely clip the entire polygon */
if ( max_z < 0 )
return true;
-
+
return false;
}
@@ -348,7 +348,7 @@ void model2_state::raster_init( memory_region *texture_rom )
save_item(NAME(m_raster->min_z));
save_item(NAME(m_raster->max_z));
-// save_item(NAME(m_raster->tri_list));
+// save_item(NAME(m_raster->tri_list));
save_item(NAME(m_raster->tri_list_index));
save_item(NAME(m_raster->command_buffer));
save_item(NAME(m_raster->command_index));
@@ -360,7 +360,7 @@ void model2_state::raster_init( memory_region *texture_rom )
save_item(NAME(m_raster->viewport));
save_item(NAME(m_raster->center));
save_item(NAME(m_raster->center_sel));
- save_item(NAME(m_raster->texture_ram));
+ save_item(NAME(m_raster->texture_ram));
save_item(NAME(m_raster->log_ram));
}
@@ -388,7 +388,7 @@ READ32_MEMBER(model2_state::polygon_count_r)
* Hardware 3D Rasterizer Processing
*
*******************************************/
-
+
void model2_state::model2_3d_process_quad( raster_state *raster, uint32_t attr )
{
quad_m2 object;
@@ -709,7 +709,7 @@ void model2_state::model2_3d_process_triangle( raster_state *raster, uint32_t at
}
raster->triangle_z = zvalue;
-
+
/* if we're not culling, do z-clip and add to out triangle list */
if ( cull == false )
{
@@ -915,14 +915,14 @@ void model2_renderer::model2_3d_render(triangle *tri, const rectangle &cliprect)
WRITE16_MEMBER(model2_state::horizontal_sync_w)
{
m_crtc_xoffset = 84 + (int16_t)data;
-// printf("H %04x %d %d\n",data,(int16_t)data,m_crtc_xoffset);
+// printf("H %04x %d %d\n",data,(int16_t)data,m_crtc_xoffset);
m_poly->set_xoffset(m_crtc_xoffset);
}
WRITE16_MEMBER(model2_state::vertical_sync_w)
{
m_crtc_yoffset = 130 + (int16_t)data;
-// printf("V %04x %d %d\n",data,(int16_t)data,m_crtc_yoffset);
+// printf("V %04x %d %d\n",data,(int16_t)data,m_crtc_yoffset);
m_poly->set_yoffset(m_crtc_yoffset);
}
@@ -1199,7 +1199,7 @@ void model2_state::model2_3d_push( raster_state *raster, uint32_t input )
raster->center_sel = ( input >> 6 ) & 3;
/* reset the triangle z value */
- // Zero Gunner sets backgrounds with "previous z value" mode at the start of the display list,
+ // Zero Gunner sets backgrounds with "previous z value" mode at the start of the display list,
// needs this to be this big in order to work properly
raster->triangle_z = 1e10;
}
@@ -1222,7 +1222,7 @@ void model2_state::geo_init(memory_region *polygon_rom)
m_geo->raster = m_raster;
m_geo->polygon_rom = (uint32_t *)polygon_rom->base();
m_geo->polygon_rom_mask = (polygon_rom->bytes() / 4) - 1;
-
+
save_item(NAME(m_geo->mode));
save_item(NAME(m_geo->matrix));
save_item(NAME(m_geo->lod));
@@ -1254,7 +1254,7 @@ void model2_state::geo_parse_np_ns( geo_state *geo, uint32_t *input, uint32_t co
/* apply focus */
apply_focus( geo, &point );
-
+
/* push it to the 3d rasterizer */
model2_3d_push( raster, f2u(point.x) >> 8 );
model2_3d_push( raster, f2u(point.y) >> 8 );
@@ -1270,7 +1270,7 @@ void model2_state::geo_parse_np_ns( geo_state *geo, uint32_t *input, uint32_t co
/* apply focus */
apply_focus( geo, &point );
-
+
/* push it to the 3d rasterizer */
model2_3d_push( raster, f2u(point.x) >> 8 );
model2_3d_push( raster, f2u(point.y) >> 8 );
@@ -1316,7 +1316,7 @@ void model2_state::geo_parse_np_ns( geo_state *geo, uint32_t *input, uint32_t co
/* apply focus */
apply_focus( geo, &point );
-
+
/* determine whether this is the front or the back of the polygon */
face = 0x100; /* rear */
if ( dotp >= 0 ) face = 0; /* front */
@@ -1363,7 +1363,7 @@ void model2_state::geo_parse_np_ns( geo_state *geo, uint32_t *input, uint32_t co
/* apply focus */
apply_focus( geo, &point );
-
+
/* push to the 3d rasterizer */
model2_3d_push( raster, f2u(point.x) >> 8 );
model2_3d_push( raster, f2u(point.y) >> 8 );
@@ -1402,7 +1402,7 @@ void model2_state::geo_parse_np_s( geo_state *geo, uint32_t *input, uint32_t cou
/* apply focus */
apply_focus( geo, &point );
-
+
/* push it to the 3d rasterizer */
model2_3d_push( raster, f2u(point.x) >> 8 );
model2_3d_push( raster, f2u(point.y) >> 8 );
@@ -1418,7 +1418,7 @@ void model2_state::geo_parse_np_s( geo_state *geo, uint32_t *input, uint32_t cou
/* apply focus */
apply_focus( geo, &point );
-
+
/* push it to the 3d rasterizer */
model2_3d_push( raster, f2u(point.x) >> 8 );
model2_3d_push( raster, f2u(point.y) >> 8 );
@@ -1464,7 +1464,7 @@ void model2_state::geo_parse_np_s( geo_state *geo, uint32_t *input, uint32_t cou
/* apply focus */
apply_focus( geo, &point );
-
+
/* determine whether this is the front or the back of the polygon */
face = 0x100; /* rear */
if ( dotp >= 0 ) face = 0; /* front */
@@ -1520,7 +1520,7 @@ void model2_state::geo_parse_np_s( geo_state *geo, uint32_t *input, uint32_t cou
/* apply focus */
apply_focus( geo, &point );
-
+
/* push to the 3d rasterizer */
model2_3d_push( raster, f2u(point.x) >> 8 );
model2_3d_push( raster, f2u(point.y) >> 8 );
@@ -1562,7 +1562,7 @@ void model2_state::geo_parse_nn_ns( geo_state *geo, uint32_t *input, uint32_t co
/* apply focus */
apply_focus( geo, &point );
-
+
/* push it to the 3d rasterizer */
model2_3d_push( raster, f2u(point.x) >> 8 );
model2_3d_push( raster, f2u(point.y) >> 8 );
@@ -1581,7 +1581,7 @@ void model2_state::geo_parse_nn_ns( geo_state *geo, uint32_t *input, uint32_t co
/* apply focus */
apply_focus( geo, &point );
-
+
/* push it to the 3d rasterizer */
model2_3d_push( raster, f2u(point.x) >> 8 );
model2_3d_push( raster, f2u(point.y) >> 8 );
@@ -1605,7 +1605,7 @@ void model2_state::geo_parse_nn_ns( geo_state *geo, uint32_t *input, uint32_t co
/* Skip normal */
input += 3;
-
+
/* read in the next point */
point.x = u2f( *input++ );
point.y = u2f( *input++ );
@@ -1631,7 +1631,7 @@ void model2_state::geo_parse_nn_ns( geo_state *geo, uint32_t *input, uint32_t co
/* apply focus */
apply_focus( geo, &point );
-
+
/* determine whether this is the front or the back of the polygon */
face = 0x100; /* rear */
if ( dotp >= 0 ) face = 0; /* front */
@@ -1681,7 +1681,7 @@ void model2_state::geo_parse_nn_ns( geo_state *geo, uint32_t *input, uint32_t co
/* apply focus */
apply_focus( geo, &point );
-
+
/* push to the 3d rasterizer */
model2_3d_push( raster, f2u(point.x) >> 8 );
model2_3d_push( raster, f2u(point.y) >> 8 );
@@ -1753,7 +1753,7 @@ void model2_state::geo_parse_nn_s( geo_state *geo, uint32_t *input, uint32_t cou
/* apply focus */
apply_focus( geo, &point );
-
+
/* push it to the 3d rasterizer */
model2_3d_push( raster, f2u(point.x) >> 8 );
model2_3d_push( raster, f2u(point.y) >> 8 );
@@ -1772,7 +1772,7 @@ void model2_state::geo_parse_nn_s( geo_state *geo, uint32_t *input, uint32_t cou
/* apply focus */
apply_focus( geo, &point );
-
+
/* push it to the 3d rasterizer */
model2_3d_push( raster, f2u(point.x) >> 8 );
model2_3d_push( raster, f2u(point.y) >> 8 );
@@ -1796,7 +1796,7 @@ void model2_state::geo_parse_nn_s( geo_state *geo, uint32_t *input, uint32_t cou
/* Skip normal */
input += 3;
-
+
/* read in the next point */
point.x = u2f( *input++ );
point.y = u2f( *input++ );
@@ -1822,7 +1822,7 @@ void model2_state::geo_parse_nn_s( geo_state *geo, uint32_t *input, uint32_t cou
/* apply focus */
apply_focus( geo, &point );
-
+
/* determine whether this is the front or the back of the polygon */
face = 0x100; /* rear */
if ( dotp >= 0 ) face = 0; /* front */
@@ -2587,7 +2587,7 @@ void model2_state::geo_parse( void )
// bad timings for geo_parse?
if(opcode & 0x078000000 )
return;
-
+
/* get the address */
address = (opcode & 0x1FFFF) / 4;
@@ -2628,7 +2628,7 @@ void model2_state::video_start()
m_lumaram = make_unique_clear<uint16_t[]>(0x10000/2);
m_fbvramA = make_unique_clear<uint16_t[]>(0x80000/2);
m_fbvramB = make_unique_clear<uint16_t[]>(0x80000/2);
-
+
// convert (supposedly) 3d sRGB color space into linear
// TODO: might be slightly different algorithm (Daytona USA road/cars, VF2 character skins)
for(int i=0;i<256;i++)
@@ -2638,7 +2638,7 @@ void model2_state::video_start()
m_gamma_table[i] = (uint8_t)raw_value;
// printf("%02x: %02x %lf\n",i,m_gamma_table[i],raw_value);
}
-
+
save_item(NAME(m_render_test_mode));
save_item(NAME(m_render_unk));
save_item(NAME(m_render_mode));
@@ -2670,7 +2670,7 @@ uint32_t model2_state::screen_update_model2(screen_device &screen, bitmap_rgb32
{
model2_3d_frame_start();
- /* let the geometry engine do it's thing */
+ /* let the geometry engine do it's thing */
// TODO: move it from here
geo_parse();
diff --git a/src/mame/video/model2rd.hxx b/src/mame/video/model2rd.hxx
index e8c13af9eb6..d7a7104a6cb 100644
--- a/src/mame/video/model2rd.hxx
+++ b/src/mame/video/model2rd.hxx
@@ -62,16 +62,16 @@ void MODEL2_FUNC_NAME(int32_t scanline, const extent_t& extent, const m2_poly_ex
model2_state *state = object.state;
bitmap_rgb32 *destmap = (bitmap_rgb32 *)&m_destmap;
uint32_t *p = &destmap->pix32(scanline);
-// uint8_t *gamma_value = &state->m_gamma_table[0];
+// uint8_t *gamma_value = &state->m_gamma_table[0];
/* extract color information */
-// const uint16_t *colortable_r = &state->m_colorxlat[0x0000/2];
-// const uint16_t *colortable_g = &state->m_colorxlat[0x4000/2];
-// const uint16_t *colortable_b = &state->m_colorxlat[0x8000/2];
-// const uint16_t *lumaram = &state->m_lumaram[0];
-// uint32_t lumabase = object.lumabase;
+// const uint16_t *colortable_r = &state->m_colorxlat[0x0000/2];
+// const uint16_t *colortable_g = &state->m_colorxlat[0x4000/2];
+// const uint16_t *colortable_b = &state->m_colorxlat[0x8000/2];
+// const uint16_t *lumaram = &state->m_lumaram[0];
+// uint32_t lumabase = object.lumabase;
uint32_t color = object.colorbase;
-// uint8_t luma;
+// uint8_t luma;
uint32_t tr, tg, tb;
int x;
#endif
@@ -80,16 +80,16 @@ void MODEL2_FUNC_NAME(int32_t scanline, const extent_t& extent, const m2_poly_ex
return;
#else
-// luma = lumaram[(lumabase + (0xf << 3))];
+// luma = lumaram[(lumabase + (0xf << 3))];
// fix luma overflow
-// luma = std::min((int)luma,0x3f);
+// luma = std::min((int)luma,0x3f);
color = state->m_palram[(color + 0x1000)] & 0xffff;
-// colortable_r += ((color >> 0) & 0x1f) << 8;
-// colortable_g += ((color >> 5) & 0x1f) << 8;
-// colortable_b += ((color >> 10) & 0x1f) << 8;
+// colortable_r += ((color >> 0) & 0x1f) << 8;
+// colortable_g += ((color >> 5) & 0x1f) << 8;
+// colortable_b += ((color >> 10) & 0x1f) << 8;
/* we have the 6 bits of luma information along with 5 bits per color component */
/* now build and index into the master color lookup table and extract the raw RGB values */
@@ -98,10 +98,10 @@ void MODEL2_FUNC_NAME(int32_t scanline, const extent_t& extent, const m2_poly_ex
tr = pal5bit((color >> 0) & 0x1f); //colortable_r[(luma)] & 0xff;
tg = pal5bit((color >> 5) & 0x1f); //colortable_g[(luma)] & 0xff;
tb = pal5bit((color >> 10) & 0x1f); //colortable_b[(luma)] & 0xff;
-// tr = gamma_value[tr];
-// tg = gamma_value[tg];
-// tb = gamma_value[tb];
-
+// tr = gamma_value[tr];
+// tg = gamma_value[tg];
+// tb = gamma_value[tb];
+
/* build the final color */
color = rgb_t(tr, tg, tb);
diff --git a/src/mame/video/segaic24.cpp b/src/mame/video/segaic24.cpp
index 14dfd56984b..68014c1c014 100644
--- a/src/mame/video/segaic24.cpp
+++ b/src/mame/video/segaic24.cpp
@@ -80,7 +80,7 @@ void segas24_tile_device::device_start()
tile_ram = std::make_unique<uint16_t[]>(0x10000/2);
m_xhout_write_cb.resolve_safe();
m_xvout_write_cb.resolve_safe();
-
+
tile_layer[0] = &machine().tilemap().create(*this, tilemap_get_info_delegate(FUNC(segas24_tile_device::tile_info_0s),this), TILEMAP_SCAN_ROWS, 8, 8, 64, 64);
tile_layer[1] = &machine().tilemap().create(*this, tilemap_get_info_delegate(FUNC(segas24_tile_device::tile_info_0w),this), TILEMAP_SCAN_ROWS, 8, 8, 64, 64);
tile_layer[2] = &machine().tilemap().create(*this, tilemap_get_info_delegate(FUNC(segas24_tile_device::tile_info_1s),this), TILEMAP_SCAN_ROWS, 8, 8, 64, 64);
diff --git a/src/mame/video/segaic24.h b/src/mame/video/segaic24.h
index 9eabcbba84e..6073a0f71c0 100644
--- a/src/mame/video/segaic24.h
+++ b/src/mame/video/segaic24.h
@@ -29,7 +29,7 @@
#define MCFG_S24TILE_XVOUT_CALLBACK(_write) \
devcb = &downcast<segas24_tile_device &>(*device).set_xvout_write_callback(DEVCB_##_write);
-
+
class segas24_tile_device : public device_t, public device_gfx_interface
{
friend class segas24_tile_config;
@@ -52,7 +52,7 @@ public:
template <class Object> devcb_base &set_xhout_write_callback(Object &&cb) { return m_xhout_write_cb.set_callback(std::forward<Object>(cb)); }
template <class Object> devcb_base &set_xvout_write_callback(Object &&cb) { return m_xvout_write_cb.set_callback(std::forward<Object>(cb)); }
-
+
protected:
virtual void device_start() override;
@@ -82,7 +82,7 @@ private:
template<class _BitmapClass>
void draw_common(screen_device &screen, _BitmapClass &bitmap, const rectangle &cliprect, int layer, int pri, int flags);
-
+
devcb_write16 m_xhout_write_cb;
devcb_write16 m_xvout_write_cb;
};
diff --git a/src/mame/video/tecmosys.cpp b/src/mame/video/tecmosys.cpp
index bff8fc32b58..6b9e646f08d 100644
--- a/src/mame/video/tecmosys.cpp
+++ b/src/mame/video/tecmosys.cpp
@@ -230,7 +230,7 @@ void tecmosys_state::do_final_mix(bitmap_rgb32 &bitmap, const rectangle &cliprec
uint32_t tecmosys_state::screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)
{
bitmap.fill(0, cliprect);
-
+
// TODO : Verify 0xc00000-0xc00003 scroll both flip screen and normal screen case, Bit 4 of 0xc00004 is unknown
// TODO : is tilemap flip bits is correct?
m_tilemap[0]->set_flip(((m_scroll[0][2] & 1) ? TILEMAP_FLIPX : 0) | ((m_scroll[0][2] & 2) ? TILEMAP_FLIPY : 0) );
@@ -239,11 +239,11 @@ uint32_t tecmosys_state::screen_update(screen_device &screen, bitmap_rgb32 &bitm
m_tilemap[1]->set_flip(((m_scroll[1][2] & 1) ? TILEMAP_FLIPX : 0) | ((m_scroll[1][2] & 2) ? TILEMAP_FLIPY : 0) );
m_tilemap[1]->set_scrolly(0, m_scroll[1][1]+16);
m_tilemap[1]->set_scrollx(0, m_scroll[1][0]+104);
-
+
m_tilemap[2]->set_flip(((m_scroll[2][2] & 1) ? TILEMAP_FLIPX : 0) | ((m_scroll[2][2] & 2) ? TILEMAP_FLIPY : 0) );
m_tilemap[2]->set_scrolly(0, m_scroll[2][1]+17);
m_tilemap[2]->set_scrollx(0, m_scroll[2][0]+106);
-
+
m_tilemap[3]->set_flip(((m_scroll[3][2] & 1) ? TILEMAP_FLIPX : 0) | ((m_scroll[3][2] & 2) ? TILEMAP_FLIPY : 0) );
m_tilemap[3]->set_scrolly(0, m_scroll[3][1]+17);
m_tilemap[3]->set_scrollx(0, m_scroll[3][0]+106);
@@ -278,7 +278,7 @@ void tecmosys_state::video_start()
{
m_screen->register_screen_bitmap(m_sprite_bitmap);
m_sprite_bitmap.fill(0x4000);
-
+
m_screen->register_screen_bitmap(m_tmp_tilemap_composebitmap);
m_screen->register_screen_bitmap(m_tmp_tilemap_renderbitmap);
m_tmp_tilemap_composebitmap.fill(0x0000);