summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/devices/bus/electron/cart/slot.cpp2
-rw-r--r--src/devices/bus/isa/mach32.cpp4
-rw-r--r--src/devices/bus/isa/mach32.h2
-rw-r--r--src/devices/bus/nubus/quadralink.cpp20
-rw-r--r--src/devices/bus/psx/gamebooster.cpp6
-rw-r--r--src/devices/cpu/e132xs/32xsdefs.h2
-rw-r--r--src/devices/cpu/e132xs/e132xs.cpp4
-rw-r--r--src/devices/cpu/e132xs/e132xs.h14
-rw-r--r--src/devices/cpu/e132xs/e132xsdrc.cpp2
-rw-r--r--src/devices/cpu/e132xs/e132xsdrc_ops.hxx12
-rw-r--r--src/devices/cpu/e132xs/e132xsfe.cpp6
-rw-r--r--src/devices/cpu/e132xs/e132xsfe.h2
-rw-r--r--src/devices/cpu/e132xs/e132xsop.hxx2
-rw-r--r--src/devices/machine/myb3k_kbd.cpp8
-rw-r--r--src/devices/machine/myb3k_kbd.h6
-rw-r--r--src/devices/machine/wd2010.cpp16
-rw-r--r--src/devices/sound/k054539.h2
-rw-r--r--src/devices/sound/qsound.h2
-rw-r--r--src/devices/sound/volt_reg.cpp12
-rw-r--r--src/devices/video/pc_vga.h8
-rw-r--r--src/devices/video/ppu2c0x.h4
-rw-r--r--src/devices/video/ppu2c0x_vt.cpp14
-rw-r--r--src/devices/video/ppu2c0x_vt.h8
-rw-r--r--src/devices/video/stvvdp1.cpp8
-rw-r--r--src/devices/video/stvvdp2.cpp2
-rw-r--r--src/emu/addrmap.h10
-rw-r--r--src/emu/xtal.cpp20
-rw-r--r--src/mame/audio/segam1audio.h4
-rw-r--r--src/mame/audio/snes_snd.cpp12
-rw-r--r--src/mame/audio/snes_snd.h10
-rw-r--r--src/mame/drivers/aristmk5.cpp4
-rw-r--r--src/mame/drivers/bebox.cpp2
-rw-r--r--src/mame/drivers/blackt96.cpp6
-rw-r--r--src/mame/drivers/blockout.cpp26
-rw-r--r--src/mame/drivers/boogwing.cpp2
-rw-r--r--src/mame/drivers/calchase.cpp8
-rw-r--r--src/mame/drivers/candela.cpp2
-rw-r--r--src/mame/drivers/cninja.cpp4
-rw-r--r--[-rwxr-xr-x]src/mame/drivers/cybstorm.cpp44
-rw-r--r--src/mame/drivers/dassault.cpp4
-rw-r--r--src/mame/drivers/deco32.cpp2
-rw-r--r--src/mame/drivers/didact.cpp2
-rw-r--r--src/mame/drivers/e100.cpp8
-rw-r--r--src/mame/drivers/fmtowns.cpp4
-rw-r--r--src/mame/drivers/gaelco.cpp2
-rw-r--r--src/mame/drivers/gaelco2.cpp2
-rw-r--r--src/mame/drivers/homerun.cpp6
-rw-r--r--src/mame/drivers/luckybal.cpp14
-rw-r--r--src/mame/drivers/mac.cpp4
-rw-r--r--src/mame/drivers/megadriv_rad.cpp26
-rw-r--r--src/mame/drivers/mtouchxl.cpp2
-rw-r--r--src/mame/drivers/myb3k.cpp6
-rw-r--r--src/mame/drivers/mystwarr.cpp4
-rw-r--r--src/mame/drivers/neogeo.cpp2
-rw-r--r--src/mame/drivers/nes_vt.cpp46
-rw-r--r--src/mame/drivers/odyssey.cpp52
-rw-r--r--src/mame/drivers/pacman.cpp6
-rw-r--r--src/mame/drivers/pgm2.cpp6
-rw-r--r--src/mame/drivers/plygonet.cpp2
-rw-r--r--src/mame/drivers/r9751.cpp2
-rw-r--r--src/mame/drivers/rad_eu3a05.cpp270
-rw-r--r--src/mame/drivers/rad_eu3a14.cpp44
-rw-r--r--src/mame/drivers/rohga.cpp4
-rw-r--r--src/mame/drivers/scopus.cpp16
-rw-r--r--src/mame/drivers/segas16a.cpp2
-rw-r--r--src/mame/drivers/segas32.cpp2
-rw-r--r--src/mame/drivers/sigmab98.cpp16
-rw-r--r--src/mame/drivers/snowbros.cpp2
-rw-r--r--src/mame/drivers/tasman.cpp4
-rw-r--r--src/mame/drivers/trackfld.cpp2
-rw-r--r--src/mame/drivers/tvboy.cpp2
-rw-r--r--src/mame/drivers/vgmplay.cpp16
-rw-r--r--src/mame/drivers/voyager.cpp2
-rw-r--r--src/mame/drivers/vt220.cpp2
-rw-r--r--src/mame/drivers/vtech_eu3a12.cpp2
-rw-r--r--src/mame/includes/a2600.h2
-rw-r--r--src/mame/includes/boogwing.h2
-rw-r--r--src/mame/includes/cninja.h2
-rw-r--r--[-rwxr-xr-x]src/mame/includes/cybstorm.h4
-rw-r--r--src/mame/includes/djmain.h2
-rw-r--r--src/mame/includes/kickgoal.h6
-rw-r--r--src/mame/includes/naomi.h2
-rw-r--r--src/mame/includes/x1.h4
-rw-r--r--src/mame/machine/atarifdc.cpp2
-rw-r--r--src/mame/machine/tosh1000_bram.cpp4
-rw-r--r--src/mame/machine/tosh1000_bram.h4
-rw-r--r--src/mame/mame.lst8
-rw-r--r--[-rwxr-xr-x]src/mame/video/cybstorm.cpp68
-rw-r--r--src/mame/video/deco16ic.cpp2
-rw-r--r--src/mame/video/deco16ic.h10
-rw-r--r--src/mame/video/deco_ace.cpp28
-rw-r--r--src/mame/video/deco_ace.h8
-rw-r--r--src/mame/video/drgnmst.cpp4
-rw-r--r--src/mame/video/fmtowns.cpp4
-rw-r--r--src/mame/video/hng64.cpp18
-rw-r--r--src/mame/video/k001604.cpp4
-rw-r--r--src/mame/video/ms32.cpp6
-rw-r--r--src/mame/video/pgm2.cpp10
-rw-r--r--src/mame/video/popeye.cpp6
-rw-r--r--src/mame/video/rohga.cpp6
-rw-r--r--src/mame/video/taito_f3.cpp8
-rw-r--r--src/mame/video/x1.cpp2
-rw-r--r--src/mame/video/ygv608.cpp4
-rw-r--r--src/osd/modules/opengl/gl_shader_mgr.cpp2
-rw-r--r--src/osd/modules/opengl/shader/glsl_bilinear_rgb32_dir.fsh.c50
105 files changed, 596 insertions, 596 deletions
diff --git a/src/devices/bus/electron/cart/slot.cpp b/src/devices/bus/electron/cart/slot.cpp
index 49791c92ce6..805e0449462 100644
--- a/src/devices/bus/electron/cart/slot.cpp
+++ b/src/devices/bus/electron/cart/slot.cpp
@@ -281,4 +281,4 @@ SLOT_INTERFACE_START(electron_cart)
SLOT_INTERFACE_INTERNAL("click", ELECTRON_CLICK)
//SLOT_INTERFACE_INTERNAL("cumana", ELECTRON_CUMANA)
SLOT_INTERFACE_INTERNAL("peg400", ELECTRON_PEG400)
-SLOT_INTERFACE_END \ No newline at end of file
+SLOT_INTERFACE_END
diff --git a/src/devices/bus/isa/mach32.cpp b/src/devices/bus/isa/mach32.cpp
index 7d498310a28..8f58eb4858c 100644
--- a/src/devices/bus/isa/mach32.cpp
+++ b/src/devices/bus/isa/mach32.cpp
@@ -92,7 +92,7 @@ READ16_MEMBER(mach32_8514a_device::mach32_config1_r)
* bits 6-7 16bpp colour mode (0=555, 1=565, 2=655, 3=664)
* bit 8 Multiplex pixels - processes 4 pixels in parallel by the DAC
* bit 9 24bpp config (0=3Bytes/pixel, 1=4Bytes/pixel)
- * bit 10 24bpp colour order (0=RGB, LSB reserved in 4Bpp, 1=BGR, MSB reserved in 4Bpp)
+ * bit 10 24bpp colour order (0=RGB, LSB reserved in 4Bpp, 1=BGR, MSB reserved in 4Bpp)
* bit 11 Display pixel size to be written
* bits 12-13 DAC extended address inputs RS2,RS3
* bit 14 Enabled 8-bit DAC (0=6-bit)
@@ -164,7 +164,7 @@ void mach32_device::ati_define_video_mode()
ati_vga_device::ati_define_video_mode();
return;
}
-
+
set_dot_clock();
}
diff --git a/src/devices/bus/isa/mach32.h b/src/devices/bus/isa/mach32.h
index 815d1319e58..3ce09ccd029 100644
--- a/src/devices/bus/isa/mach32.h
+++ b/src/devices/bus/isa/mach32.h
@@ -31,7 +31,7 @@ public:
DECLARE_READ16_MEMBER(mach32_config1_r);
DECLARE_WRITE16_MEMBER(mach32_horz_overscan_w) {} // TODO
DECLARE_READ16_MEMBER(mach32_ext_ge_r) { return 0x0000; } // TODO
-
+
bool has_display_mode_changed() { if(display_mode_change) { display_mode_change = false; return true; } else return false; }
protected:
diff --git a/src/devices/bus/nubus/quadralink.cpp b/src/devices/bus/nubus/quadralink.cpp
index 199cd08d13f..9b8abc93c91 100644
--- a/src/devices/bus/nubus/quadralink.cpp
+++ b/src/devices/bus/nubus/quadralink.cpp
@@ -126,35 +126,35 @@ WRITE32_MEMBER( nubus_quadralink_device::dev_w )
//printf("write %x to QL space @ %x, mask %08x\n", data, offset, mem_mask);
switch (offset)
{
- case 0x0000: // SCC 2 A control
+ case 0x0000: // SCC 2 A control
m_scc2->ca_w(space, 0, data & 0xff);
break;
- case 0x0002: // SCC 2 A data
+ case 0x0002: // SCC 2 A data
m_scc2->da_w(space, 0, data & 0xff);
break;
- case 0x0004: // SCC 2 B control
+ case 0x0004: // SCC 2 B control
m_scc2->cb_w(space, 0, data & 0xff);
break;
- case 0x0006: // SCC 2 B data
+ case 0x0006: // SCC 2 B data
m_scc2->db_w(space, 0, data & 0xff);
break;
- case 0x10000: // SCC 1 A control
+ case 0x10000: // SCC 1 A control
m_scc1->ca_w(space, 0, data & 0xff);
break;
- case 0x10002: // SCC 1 A data
+ case 0x10002: // SCC 1 A data
m_scc1->da_w(space, 0, data & 0xff);
break;
- case 0x10004: // SCC 1 B control
+ case 0x10004: // SCC 1 B control
m_scc1->cb_w(space, 0, data & 0xff);
break;
- case 0x10006: // SCC 1 B data
+ case 0x10006: // SCC 1 B data
m_scc1->db_w(space, 0, data & 0xff);
break;
}
@@ -173,7 +173,7 @@ READ32_MEMBER( nubus_quadralink_device::dev_r )
case 0x0004:
return m_scc2->cb_r(space, 0);
-
+
case 0x0006:
return m_scc2->db_r(space, 0);
@@ -185,7 +185,7 @@ READ32_MEMBER( nubus_quadralink_device::dev_r )
case 0x10004:
return m_scc1->cb_r(space, 0);
-
+
case 0x10006:
return m_scc1->db_r(space, 0);
}
diff --git a/src/devices/bus/psx/gamebooster.cpp b/src/devices/bus/psx/gamebooster.cpp
index 0a04ec215a5..8cc92e2f5dc 100644
--- a/src/devices/bus/psx/gamebooster.cpp
+++ b/src/devices/bus/psx/gamebooster.cpp
@@ -3,8 +3,8 @@
/**********************************************************************
Datel Game Booster for Playstation 1
-
- Gameboy emulator with Gameboy cartridge slot
+
+ Gameboy emulator with Gameboy cartridge slot
**********************************************************************/
@@ -106,7 +106,7 @@ WRITE16_MEMBER(psx_gamebooster_device::exp_w)
{
offset -= 0x20000;
logerror("%s: psx_gamebooster_device::exp_w %04x %04x\n", machine().describe_context(), offset*2, data);
-
+
if (mem_mask & 0xff00) m_cartslot->write_bank(space, (offset*2)+1, data>>8);
if (mem_mask & 0x00ff) m_cartslot->write_bank(space, (offset*2)+0, data); // send this 2nd or it erases the bank with the above
diff --git a/src/devices/cpu/e132xs/32xsdefs.h b/src/devices/cpu/e132xs/32xsdefs.h
index e1f10ae9e29..94333e2adf9 100644
--- a/src/devices/cpu/e132xs/32xsdefs.h
+++ b/src/devices/cpu/e132xs/32xsdefs.h
@@ -47,7 +47,7 @@
#define EHCMACD 0x04e
#define EHCSUMD 0x086
#define EHCFFTD 0x096
-#define EMUL_N 0x100
+#define EMUL_N 0x100
#define EMUL 0x102
#define EMULU 0x104
#define EMULS 0x106
diff --git a/src/devices/cpu/e132xs/e132xs.cpp b/src/devices/cpu/e132xs/e132xs.cpp
index fbf7020ce50..b72499028f3 100644
--- a/src/devices/cpu/e132xs/e132xs.cpp
+++ b/src/devices/cpu/e132xs/e132xs.cpp
@@ -415,7 +415,7 @@ void hyperstone_device::dump_registers()
{
//if (m_core->global_regs[0] == 0x11094)
//{
- // total_11094++;
+ // total_11094++;
//}
return;
} else if (total_ops == 0ULL) {
@@ -1943,4 +1943,4 @@ DEFINE_DEVICE_TYPE(E132XSR, e132xsr_device, "e132xsr", "E1-32XSR")
DEFINE_DEVICE_TYPE(GMS30C2116, gms30c2116_device, "gms30c2116", "GMS30C2116")
DEFINE_DEVICE_TYPE(GMS30C2132, gms30c2132_device, "gms30c2132", "GMS30C2132")
DEFINE_DEVICE_TYPE(GMS30C2216, gms30c2216_device, "gms30c2216", "GMS30C2216")
-DEFINE_DEVICE_TYPE(GMS30C2232, gms30c2232_device, "gms30c2232", "GMS30C2232") \ No newline at end of file
+DEFINE_DEVICE_TYPE(GMS30C2232, gms30c2232_device, "gms30c2232", "GMS30C2232")
diff --git a/src/devices/cpu/e132xs/e132xs.h b/src/devices/cpu/e132xs/e132xs.h
index f3c37dacdfb..ba5a6efa356 100644
--- a/src/devices/cpu/e132xs/e132xs.h
+++ b/src/devices/cpu/e132xs/e132xs.h
@@ -46,14 +46,14 @@
#define EXECUTE_UNMAPPED_CODE 2
#define EXECUTE_RESET_CACHE 3
-#define E132XS_STRICT_VERIFY 0x0001 /* verify all instructions */
+#define E132XS_STRICT_VERIFY 0x0001 /* verify all instructions */
#define SINGLE_INSTRUCTION_MODE (1)
-#define ENABLE_E132XS_DRC (1)
+#define ENABLE_E132XS_DRC (1)
-#define E132XS_LOG_DRC_REGS (0)
-#define E132XS_LOG_INTERPRETER_REGS (0)
+#define E132XS_LOG_DRC_REGS (0)
+#define E132XS_LOG_INTERPRETER_REGS (0)
#define E132XS_COUNT_INSTRUCTIONS (0)
//**************************************************************************
@@ -443,9 +443,9 @@ private:
/* internal compiler state */
struct compiler_state
{
- uint32_t m_cycles; /* accumulated cycles */
- uint8_t m_checkints; /* need to check interrupts before next instruction */
- uml::code_label m_labelnum; /* index for local labels */
+ uint32_t m_cycles; /* accumulated cycles */
+ uint8_t m_checkints; /* need to check interrupts before next instruction */
+ uml::code_label m_labelnum; /* index for local labels */
};
void execute_run_drc();
diff --git a/src/devices/cpu/e132xs/e132xsdrc.cpp b/src/devices/cpu/e132xs/e132xsdrc.cpp
index 8bcfe2b5eb0..1b198470e6a 100644
--- a/src/devices/cpu/e132xs/e132xsdrc.cpp
+++ b/src/devices/cpu/e132xs/e132xsdrc.cpp
@@ -1231,4 +1231,4 @@ bool hyperstone_device::generate_opcode(drcuml_block *block, compiler_state *com
UML_LABEL(block, done);
return true;
-} \ No newline at end of file
+}
diff --git a/src/devices/cpu/e132xs/e132xsdrc_ops.hxx b/src/devices/cpu/e132xs/e132xsdrc_ops.hxx
index b15fd7a90ab..c35a129f369 100644
--- a/src/devices/cpu/e132xs/e132xsdrc_ops.hxx
+++ b/src/devices/cpu/e132xs/e132xsdrc_ops.hxx
@@ -4528,9 +4528,9 @@ void hyperstone_device::generate_lddp(drcuml_block *block, compiler_state *compi
UML_ADD(block, I3, I0, 8);
UML_AND(block, I0, I0, ~3);
UML_CALLH(block, *m_mem_read32);
- UML_MOV(block, I2, I1); // I2: dreg[0]
+ UML_MOV(block, I2, I1); // I2: dreg[0]
UML_ADD(block, I0, I0, 4);
- UML_CALLH(block, *m_mem_read32); // I1: dreg[4]
+ UML_CALLH(block, *m_mem_read32); // I1: dreg[4]
if (SRC_GLOBAL)
{
@@ -4847,9 +4847,9 @@ void hyperstone_device::generate_frame(drcuml_block *block, compiler_state *comp
UML_ROLAND(block, I1, DRC_SR, 7, 0x7f);
UML_SUB(block, I1, I1, op & 0xf);
- UML_ROLINS(block, DRC_SR, I1, 25, 0xfe000000); // SET_FP(GET_FP - SRC_CODE)
- UML_ROLINS(block, DRC_SR, op, 17, 0x01e00000); // SET_FL(DST_CODE)
- UML_AND(block, DRC_SR, DRC_SR, ~M_MASK); // SET_M(0)
+ UML_ROLINS(block, DRC_SR, I1, 25, 0xfe000000); // SET_FP(GET_FP - SRC_CODE)
+ UML_ROLINS(block, DRC_SR, op, 17, 0x01e00000); // SET_FL(DST_CODE)
+ UML_AND(block, DRC_SR, DRC_SR, ~M_MASK); // SET_M(0)
UML_MOV(block, I0, mem(&SP));
UML_MOV(block, I6, I0);
@@ -4859,7 +4859,7 @@ void hyperstone_device::generate_frame(drcuml_block *block, compiler_state *comp
UML_ROLAND(block, I2, I0, 30, 0x7f);
UML_ADD(block, I2, I2, (64 - 10));
UML_SUB(block, I3, I2, I1);
- UML_SEXT(block, I3, I3, SIZE_BYTE); // difference = ((SP & 0x1fc) >> 2) + (64 - 10) - ((GET_FP - SRC_CODE) + GET_FL)
+ UML_SEXT(block, I3, I3, SIZE_BYTE); // difference = ((SP & 0x1fc) >> 2) + (64 - 10) - ((GET_FP - SRC_CODE) + GET_FL)
int diff_in_range, done;
UML_CMP(block, I3, -64);
diff --git a/src/devices/cpu/e132xs/e132xsfe.cpp b/src/devices/cpu/e132xs/e132xsfe.cpp
index 6baa4b58a1f..474661e5821 100644
--- a/src/devices/cpu/e132xs/e132xsfe.cpp
+++ b/src/devices/cpu/e132xs/e132xsfe.cpp
@@ -14,9 +14,9 @@
#define FE_FP ((m_cpu->m_core->global_regs[1] & 0xfe000000) >> 25)
#define FE_FL (m_cpu->m_core->fl_lut[((m_cpu->m_core->global_regs[1] >> 21) & 0xf)])
-#define FE_DST_CODE ((op & 0xf0) >> 4)
-#define FE_SRC_CODE (op & 0x0f)
-#define SR_CODE (1 << 1)
+#define FE_DST_CODE ((op & 0xf0) >> 4)
+#define FE_SRC_CODE (op & 0x0f)
+#define SR_CODE (1 << 1)
/***************************************************************************
INSTRUCTION PARSERS
diff --git a/src/devices/cpu/e132xs/e132xsfe.h b/src/devices/cpu/e132xs/e132xsfe.h
index 5301ee13ca1..7463fd964d0 100644
--- a/src/devices/cpu/e132xs/e132xsfe.h
+++ b/src/devices/cpu/e132xs/e132xsfe.h
@@ -31,4 +31,4 @@ private:
hyperstone_device *m_cpu;
};
-#endif /* MAME_CPU_E132XS_E132XSFE_H */ \ No newline at end of file
+#endif /* MAME_CPU_E132XS_E132XSFE_H */
diff --git a/src/devices/cpu/e132xs/e132xsop.hxx b/src/devices/cpu/e132xs/e132xsop.hxx
index eb56e4cde0f..8b0c3817b08 100644
--- a/src/devices/cpu/e132xs/e132xsop.hxx
+++ b/src/devices/cpu/e132xs/e132xsop.hxx
@@ -336,7 +336,7 @@ void hyperstone_device::hyperstone_mov()
check_delay_PC();
- const bool h = (SR & H_MASK) != 0;
+ const bool h = (SR & H_MASK) != 0;
SR &= ~H_MASK;
if (DST_GLOBAL && h && !(SR & S_MASK))
{
diff --git a/src/devices/machine/myb3k_kbd.cpp b/src/devices/machine/myb3k_kbd.cpp
index 7e07d383366..7dbbc8d7391 100644
--- a/src/devices/machine/myb3k_kbd.cpp
+++ b/src/devices/machine/myb3k_kbd.cpp
@@ -271,7 +271,7 @@ INPUT_PORTS_START( myb3k_common_ports )
PORT_START("MYB3K_TB")
PORT_BIT( 0x0001U, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_5_PAD) PORT_NAME("KP 5") // 87
PORT_BIT( 0x0002U, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_6_PAD) PORT_NAME("KP 6") // 88
-// PORT_BIT( 0x0004U, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_COMMA_PAD) PORT_NAME("KP ,") // 89
+// PORT_BIT( 0x0004U, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_COMMA_PAD) PORT_NAME("KP ,") // 89
PORT_BIT( 0x0008U, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_1_PAD) PORT_NAME("KP 1") // 90
PORT_BIT( 0x0010U, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_2_PAD) PORT_NAME("KP 2") // 91
PORT_BIT( 0x0020U, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_3_PAD) PORT_NAME("KP 3") // 92
@@ -284,13 +284,13 @@ INPUT_PORTS_START( myb3k_keyboard )
PORT_INCLUDE( myb3k_common_ports )
PORT_MODIFY("MYB3K_T2")
- PORT_BIT( 0x0008U, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_F12) PORT_NAME("Kanji") PORT_CHAR(UCHAR_MAMEKEY(F12)) // 12
+ PORT_BIT( 0x0008U, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_F12) PORT_NAME("Kanji") PORT_CHAR(UCHAR_MAMEKEY(F12)) // 12
PORT_MODIFY("MYB3K_T3")
- PORT_BIT( 0x0080U, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_1) PORT_NAME("1 !") PORT_CHAR('1') PORT_CHAR('!') PORT_CHAR_IGNORE PORT_CHAR(0x30AA) // 16 オ
+ PORT_BIT( 0x0080U, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_1) PORT_NAME("1 !") PORT_CHAR('1') PORT_CHAR('!') PORT_CHAR_IGNORE PORT_CHAR(0x30AA) // 16 オ
PORT_MODIFY("MYB3K_T4")
- PORT_BIT( 0x0002U, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_3) PORT_NAME("3 #") PORT_CHAR('3') PORT_CHAR('#') PORT_CHAR_IGNORE PORT_CHAR(0x30E7) // 18 ョ
+ PORT_BIT( 0x0002U, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_3) PORT_NAME("3 #") PORT_CHAR('3') PORT_CHAR('#') PORT_CHAR_IGNORE PORT_CHAR(0x30E7) // 18 ョ
PORT_MODIFY("MYB3K_T5")
PORT_BIT( 0x0080U, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_W) PORT_NAME("w W") PORT_CHAR('w') PORT_CHAR('W') PORT_CHAR_IGNORE PORT_CHAR(0x30E8) // 32 ヨ
diff --git a/src/devices/machine/myb3k_kbd.h b/src/devices/machine/myb3k_kbd.h
index 9682f2aa352..69a5e5c0513 100644
--- a/src/devices/machine/myb3k_kbd.h
+++ b/src/devices/machine/myb3k_kbd.h
@@ -72,7 +72,7 @@ protected:
virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) override;
output_delegate m_keyboard_cb;
- required_ioport_array<12> m_io_kbd_t;
+ required_ioport_array<12> m_io_kbd_t;
u8 m_io_kbd_state[12][8];
int m_x, m_y;
@@ -84,7 +84,7 @@ protected:
class jb3000_keyboard_device : public myb3k_keyboard_device
{
public:
- jb3000_keyboard_device(
+ jb3000_keyboard_device(
const machine_config &mconfig,
char const *tag,
device_t *owner,
@@ -96,7 +96,7 @@ private:
class stepone_keyboard_device : public myb3k_keyboard_device
{
public:
- stepone_keyboard_device(
+ stepone_keyboard_device(
const machine_config &mconfig,
char const *tag,
device_t *owner,
diff --git a/src/devices/machine/wd2010.cpp b/src/devices/machine/wd2010.cpp
index fe316f15dd7..c25aa538df3 100644
--- a/src/devices/machine/wd2010.cpp
+++ b/src/devices/machine/wd2010.cpp
@@ -17,7 +17,7 @@ Implements WD2010 / WD1010 controller basics for a single hard disk.
UNIMPLEMENTED FEATURES :
- more than 1 drive (untested)
- - multi sector transfers (M = 1)
+ - multi sector transfers (M = 1)
- seek and index timers / ID not found.
- implied seeks / implied writes / retries
- edge or level triggered seek complete (SC)
@@ -399,7 +399,7 @@ void wd2010_device::restore(uint8_t data)
// Datasheet: DIRIN HIGH = in ; LOW = out
m_out_dirin_cb(0); // 0 = heads move away from the spindle, towards track O.
- // Omitted: store step rate for later (implied seeks).
+ // Omitted: store step rate for later (implied seeks).
int step_pulses = 0;
while (step_pulses <= STEP_LIMIT)
@@ -419,7 +419,7 @@ void wd2010_device::restore(uint8_t data)
if ( m_in_tk000_cb() || (step_pulses == STEP_LIMIT) ) // Simulate TRACK 00 signal (normally from DRIVE)
{
- m_present_cylinder = 0;
+ m_present_cylinder = 0;
m_task_file[TASK_FILE_CYLINDER_HIGH] = 0;
m_task_file[TASK_FILE_CYLINDER_LOW] = 0;
@@ -428,9 +428,9 @@ void wd2010_device::restore(uint8_t data)
newstatus &= ~(STATUS_BSY | STATUS_CIP); // prepare new status; (INTRQ later) reset BSY, CIP
// NOTE: calculation needs 'data' (extracted from command register)
- float step_ms = SETTLING_MS + LATENCY_MS + ( (float)sqrt(1.0 * step_pulses) * STEP_RATE_MS );
+ float step_ms = SETTLING_MS + LATENCY_MS + ( (float)sqrt(1.0 * step_pulses) * STEP_RATE_MS );
- cmd_timer->adjust(attotime::from_usec(1000 * step_ms), newstatus);
+ cmd_timer->adjust(attotime::from_usec(1000 * step_ms), newstatus);
return;
}
@@ -463,7 +463,7 @@ void wd2010_device::seek(uint8_t data)
int direction; // 0 = towards 0
int step_pulses;
-
+
// Calculate number of steps by comparing the cylinder registers
// HI/LO with the internally stored position.
uint32_t cylinder_registers = CYLINDER;
@@ -479,7 +479,7 @@ void wd2010_device::seek(uint8_t data)
}
// NOTE: calculation needs 'step_pulses' and 'data' (taken from command register)
- float step_ms = SETTLING_MS + LATENCY_MS + ( (float)sqrt(1.0 * step_pulses) * STEP_RATE_MS );
+ float step_ms = SETTLING_MS + LATENCY_MS + ( (float)sqrt(1.0 * step_pulses) * STEP_RATE_MS );
m_out_dirin_cb(direction);
@@ -532,7 +532,7 @@ void wd2010_device::seek(uint8_t data)
m_task_file[TASK_FILE_CYLINDER_LOW] = (m_present_cylinder - ((m_task_file[TASK_FILE_CYLINDER_HIGH] << 8) )) & 0xff;
//LOGERROR("SEEK (END) - m_present_cylinder = %u SDH CYL L/H %02x / %02x\n", m_present_cylinder,m_task_file[TASK_FILE_CYLINDER_LOW],m_task_file[TASK_FILE_CYLINDER_HIGH]);
- cmd_timer->adjust(attotime::from_usec(1000 * step_ms), newstatus);
+ cmd_timer->adjust(attotime::from_usec(1000 * step_ms), newstatus);
}
//-------------------------------------------------
diff --git a/src/devices/sound/k054539.h b/src/devices/sound/k054539.h
index 920177f025d..a57559c25a2 100644
--- a/src/devices/sound/k054539.h
+++ b/src/devices/sound/k054539.h
@@ -73,7 +73,7 @@ protected:
// device_sound_interface overrides
virtual void sound_stream_update(sound_stream &stream, stream_sample_t **inputs, stream_sample_t **outputs, int samples) override;
-
+
// device_rom_interface overrides
virtual void rom_bank_updated() override;
diff --git a/src/devices/sound/qsound.h b/src/devices/sound/qsound.h
index b39260ad76a..6dd27481500 100644
--- a/src/devices/sound/qsound.h
+++ b/src/devices/sound/qsound.h
@@ -46,7 +46,7 @@ protected:
// sound stream update overrides
virtual void sound_stream_update(sound_stream &stream, stream_sample_t **inputs, stream_sample_t **outputs, int samples) override;
-
+
// device_rom_interface overrides
virtual void rom_bank_updated() override;
diff --git a/src/devices/sound/volt_reg.cpp b/src/devices/sound/volt_reg.cpp
index 46c3e1471cf..12f3ed31130 100644
--- a/src/devices/sound/volt_reg.cpp
+++ b/src/devices/sound/volt_reg.cpp
@@ -5,12 +5,12 @@
volt_reg.c
Direct current.
-
- TODO:
- - If we continue having this device in MAME, add support for default voltage other
- than (currently hardcoded) 5.0
- - When used in combination with a DAC, vreg device 1st stream update is skipped,
- causing the DAC to fetch invalid input data. Why does this happen?
+
+ TODO:
+ - If we continue having this device in MAME, add support for default voltage other
+ than (currently hardcoded) 5.0
+ - When used in combination with a DAC, vreg device 1st stream update is skipped,
+ causing the DAC to fetch invalid input data. Why does this happen?
***************************************************************************/
diff --git a/src/devices/video/pc_vga.h b/src/devices/video/pc_vga.h
index 7fe158db129..aaaa46ea04a 100644
--- a/src/devices/video/pc_vga.h
+++ b/src/devices/video/pc_vga.h
@@ -39,7 +39,7 @@ public:
virtual TIMER_CALLBACK_MEMBER(vblank_timer_cb);
void set_offset(uint16_t val) { vga.crtc.offset = val; }
-
+
protected:
enum
{
@@ -284,7 +284,7 @@ public:
bool is_8514a_enabled() { return ibm8514.enabled; }
bool is_passthrough_set() { return ibm8514.passthrough; }
-
+
READ16_MEMBER(ibm8514_gpstatus_r);
WRITE16_MEMBER(ibm8514_cmd_w);
WRITE16_MEMBER(ibm8514_display_ctrl_w);
@@ -331,7 +331,7 @@ public:
READ16_MEMBER(ibm8514_write_mask_r);
WRITE16_MEMBER(ibm8514_write_mask_w);
WRITE16_MEMBER(ibm8514_advfunc_w);
-
+
void ibm8514_wait_draw();
struct
{
@@ -469,7 +469,7 @@ public:
WRITE16_MEMBER(mach8_advfunc_w) { mach8.ati_mode = false; ibm8514_advfunc_w(space,offset,data,mem_mask); }
uint16_t get_ext_config() { return mach8.ge_ext_config; }
uint16_t offset() { if(mach8.ati_mode) return mach8.ge_pitch; else return 128; }
-
+
protected:
mach8_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);
virtual void device_start() override;
diff --git a/src/devices/video/ppu2c0x.h b/src/devices/video/ppu2c0x.h
index 3f8408b70cc..11eff9624ce 100644
--- a/src/devices/video/ppu2c0x.h
+++ b/src/devices/video/ppu2c0x.h
@@ -219,8 +219,8 @@ protected:
uint8_t m_planebuf[2];
int m_scanline; /* scanline count */
std::unique_ptr<uint8_t[]> m_spriteram; /* sprite ram */
-
-
+
+
private:
static constexpr device_timer_id TIMER_HBLANK = 0;
static constexpr device_timer_id TIMER_NMI = 1;
diff --git a/src/devices/video/ppu2c0x_vt.cpp b/src/devices/video/ppu2c0x_vt.cpp
index fad7f78ab97..bfd18d3d68a 100644
--- a/src/devices/video/ppu2c0x_vt.cpp
+++ b/src/devices/video/ppu2c0x_vt.cpp
@@ -40,7 +40,7 @@ READ8_MEMBER(ppu_vt03_device::palette_read)
void ppu_vt03_device::set_new_pen(int i)
{
- if(m_pal_mode == PAL_MODE_NEW_RGB) {
+ if(m_pal_mode == PAL_MODE_NEW_RGB) {
uint16_t rgbval = (m_newpal[i&0x7f] & 0xff) | ((m_newpal[(i&0x7f)+0x80] & 0xff)<<8);
uint8_t blue = (rgbval & 0x001f) << 3;
uint8_t green = (rgbval & 0x3e0) >> 2;
@@ -49,7 +49,7 @@ void ppu_vt03_device::set_new_pen(int i)
} else {
// TODO: should this be tidied up?
uint16_t palval = (m_newpal[i&0x7f] & 0x3f) | ((m_newpal[(i&0x7f)+0x80] & 0x3f)<<6);
-
+
uint8_t rhue = palval & 0x0F;
uint8_t rlum = (palval >> 4) & 0x0F;
uint8_t rsat = (palval >> 8) & 0x0F;
@@ -61,7 +61,7 @@ void ppu_vt03_device::set_new_pen(int i)
uint8_t hue_lut[16] = {0xD, 0x7, 0x8, 0x9, 0xA, 0xB, 0xC, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x0, 0xE, 0xF};
rhue = hue_lut[rhue];
}
-
+
// Get base color
double hue = 287.0;
@@ -69,7 +69,7 @@ void ppu_vt03_device::set_new_pen(int i)
double Kb = 0.1145;
double Ku = 2.029;
double Kv = 1.140;
-
+
double sat;
double y, u, v;
double rad;
@@ -97,7 +97,7 @@ void ppu_vt03_device::set_new_pen(int i)
y = (m_pal_mode == PAL_MODE_NEW_VG) ? 0.4 : 0.9;
break;
}
-
+
sat *= (rsat / 15.0);
y *= (rlum / 15.0);
u = sat * cos(rad);
@@ -121,7 +121,7 @@ void ppu_vt03_device::set_new_pen(int i)
B = 0;
if (B > 255)
B = 255;
-
+
m_palette->set_pen_color(i & 0x7f, rgb_t(R, G ,B));
}
@@ -194,7 +194,7 @@ void ppu_vt03_device::device_reset()
// todo: what are the actual defaults for these?
for (int i = 0;i < 0x20;i++)
set_201x_reg(i, 0x00);
-
+
init_palette(*m_palette, 0);
m_read_bg4_bg3 = 0;
m_va34 = 0;
diff --git a/src/devices/video/ppu2c0x_vt.h b/src/devices/video/ppu2c0x_vt.h
index bc1a723d273..da9857aae38 100644
--- a/src/devices/video/ppu2c0x_vt.h
+++ b/src/devices/video/ppu2c0x_vt.h
@@ -42,9 +42,9 @@ public:
template <class Object> static devcb_base &set_read_bg_callback(device_t &device, Object &&cb) { return downcast<ppu_vt03_device &>(device).m_read_bg.set_callback(std::forward<Object>(cb)); }
template <class Object> static devcb_base &set_read_sp_callback(device_t &device, Object &&cb) { return downcast<ppu_vt03_device &>(device).m_read_sp.set_callback(std::forward<Object>(cb)); }
-
+
static void set_palette_mode(device_t &device, vtxx_pal_mode pmode) { downcast<ppu_vt03_device &>(device).m_pal_mode = pmode; }
-
+
virtual DECLARE_READ8_MEMBER(read) override;
virtual DECLARE_WRITE8_MEMBER(write) override;
virtual DECLARE_READ8_MEMBER(palette_read) override;
@@ -86,9 +86,9 @@ private:
palette_device *m_palette;
uint8_t m_201x_regs[0x20];
-
+
vtxx_pal_mode m_pal_mode = PAL_MODE_VT0x;
-
+
void set_2010_reg(uint8_t data);
void set_new_pen(int i);
diff --git a/src/devices/video/stvvdp1.cpp b/src/devices/video/stvvdp1.cpp
index 299281f55a2..b54fb66ea84 100644
--- a/src/devices/video/stvvdp1.cpp
+++ b/src/devices/video/stvvdp1.cpp
@@ -898,7 +898,7 @@ void saturn_state::drawpixel_4bpp_trans(int x, int y, int patterndata, int offse
void saturn_state::drawpixel_generic(int x, int y, int patterndata, int offsetcnt)
{
int pix,transmask, spd = stv2_current_sprite.CMDPMOD & 0x40;
-// int mode;
+// int mode;
int mesh = stv2_current_sprite.CMDPMOD & 0x100;
int pix2;
@@ -966,7 +966,7 @@ void saturn_state::drawpixel_generic(int x, int y, int patterndata, int offsetcn
//mode = 2;
pix = pix+(stv2_current_sprite.CMDCOLR&0xffc0);
transmask = 0x3f;
-
+
// Scud: the disposable assassin wants transparent pen on 0
if ( !spd )
{
@@ -1018,7 +1018,7 @@ void saturn_state::drawpixel_generic(int x, int y, int patterndata, int offsetcn
pix |= stv2_current_sprite.CMDPMOD & 0x8000;
/*
TODO: from docs:
- "Except for the color calculation of replace and shadow, color calculation can only be performed when the color code of the original picture is RGB code.
+ "Except for the color calculation of replace and shadow, color calculation can only be performed when the color code of the original picture is RGB code.
Color calculation can be executed when the color code is color bank code, but the results are not guaranteed."
Currently no idea about the "result not guaranteed" part, let's disable this branch for the time being ...
*/
@@ -1063,7 +1063,7 @@ void saturn_state::drawpixel_generic(int x, int y, int patterndata, int offsetcn
m_vdp1.framebuffer_draw_lines[y][x] = stv_vdp1_apply_gouraud_shading( x, y, pix );
break;
default:
- // TODO: mode 5: prohibited, mode 6: gouraud shading + half-luminance, mode 7: gouraud-shading + half-transparent
+ // TODO: mode 5: prohibited, mode 6: gouraud shading + half-luminance, mode 7: gouraud-shading + half-transparent
popmessage("VDP1 PMOD = %02x, contact MAMEdev",stv2_current_sprite.CMDPMOD & 0x7);
m_vdp1.framebuffer_draw_lines[y][x] = pix;
break;
diff --git a/src/devices/video/stvvdp2.cpp b/src/devices/video/stvvdp2.cpp
index 13e07a5124b..64d2057ce83 100644
--- a/src/devices/video/stvvdp2.cpp
+++ b/src/devices/video/stvvdp2.cpp
@@ -64,7 +64,7 @@ Video emulation TODO:
- virtual hydlide:
\- transparent pens usage on most vdp1 items should be black instead.
\- likewise "press start button" is the other way around, i.e. black pen where it should be transparent instead.
-
+
Notes of Interest & Unclear features:
-the test mode / bios is drawn with layer NBG3;
diff --git a/src/emu/addrmap.h b/src/emu/addrmap.h
index 4c59bf8078f..cb2906ad15f 100644
--- a/src/emu/addrmap.h
+++ b/src/emu/addrmap.h
@@ -129,7 +129,7 @@ public:
template<typename _device> address_map_entry &r(const char *tag, uint16_t (_device::*read)(address_space &, offs_t, uint16_t), const char *read_name, uint64_t mask = 0) {
return r(read16_delegate(read, read_name, tag, (_device *)nullptr),
mask);
- }
+ }
template<typename _device> address_map_entry &r(const char *tag, uint32_t (_device::*read)(address_space &, offs_t, uint32_t), const char *read_name, uint64_t mask = 0) {
return r(read32_delegate(read, read_name, tag, (_device *)nullptr),
@@ -142,14 +142,14 @@ public:
}
template<typename _device> address_map_entry &w(const char *tag, void (_device::*write)(address_space &, offs_t, uint8_t, uint8_t), const char *write_name, uint64_t mask = 0) {
- return w(write8_delegate(write, write_name, tag, (_device *)nullptr),
+ return w(write8_delegate(write, write_name, tag, (_device *)nullptr),
mask);
}
template<typename _device> address_map_entry &w(const char *tag, void (_device::*write)(address_space &, offs_t, uint16_t, uint16_t), const char *write_name, uint64_t mask = 0) {
return w(write16_delegate(write, write_name, tag, (_device *)nullptr),
mask);
- }
+ }
template<typename _device> address_map_entry &w(const char *tag, void (_device::*write)(address_space &, offs_t, uint32_t, uint32_t), const char *write_name, uint64_t mask = 0) {
return w(write32_delegate(write, write_name, tag, (_device *)nullptr),
@@ -163,7 +163,7 @@ public:
template<typename _device> address_map_entry &rw(const char *tag, uint8_t (_device::*read)(address_space &, offs_t, uint8_t), const char *read_name, void (_device::*write)(address_space &, offs_t, uint8_t, uint8_t), const char *write_name, uint64_t mask = 0) {
return rw(read8_delegate(read, read_name, tag, (_device *)nullptr),
- write8_delegate(write, write_name, tag, (_device *)nullptr),
+ write8_delegate(write, write_name, tag, (_device *)nullptr),
mask);
}
@@ -171,7 +171,7 @@ public:
return rw(read16_delegate(read, read_name, tag, (_device *)nullptr),
write16_delegate(write, write_name, tag, (_device *)nullptr),
mask);
- }
+ }
template<typename _device> address_map_entry &rw(const char *tag, uint32_t (_device::*read)(address_space &, offs_t, uint32_t), const char *read_name, void (_device::*write)(address_space &, offs_t, uint32_t, uint32_t), const char *write_name, uint64_t mask = 0) {
return rw(read32_delegate(read, read_name, tag, (_device *)nullptr),
diff --git a/src/emu/xtal.cpp b/src/emu/xtal.cpp
index 2df4226b67d..b2b419aba5e 100644
--- a/src/emu/xtal.cpp
+++ b/src/emu/xtal.cpp
@@ -35,7 +35,7 @@
and readability reasons we tend to write the closest integer
value. For example, 3.579545_MHz_XTAL should actually be
3.579545454545...MHz (315/88). This is no problem though: see above
- note about tolerance.
+ note about tolerance.
In the "Examples" column, please don't add 1000 examples, this is just
for interest, so two or three examples is enough.
@@ -54,15 +54,15 @@ const double XTAL::known_xtals[] = {
/*
Frequency Sugarvassed Examples
----------- ---------------------- ---------------------------------------- */
- 32'768, /* 32.768_kHz_XTAL Used to drive RTC chips */
- 384'000, /* 384_kHz_XTAL Resonator - Commonly used for driving OKI MSM5205 */
- 400'000, /* 400_kHz_XTAL Resonator - OKI MSM5205 on Great Swordman h/w */
- 430'000, /* 430_kHz_XTAL Resonator */
- 455'000, /* 455_kHz_XTAL Resonator - OKI MSM5205 on Gladiator h/w */
- 512'000, /* 512_kHz_XTAL Resonator - Toshiba TC8830F */
- 600'000, /* 600_kHz_XTAL - */
- 640'000, /* 640_kHz_XTAL Resonator - NEC UPD7759, Texas Instruments Speech Chips @ 8khz */
- 960'000, /* 960_kHz_XTAL Resonator - Xerox Notetaker Keyboard UART */
+ 32'768, /* 32.768_kHz_XTAL Used to drive RTC chips */
+ 384'000, /* 384_kHz_XTAL Resonator - Commonly used for driving OKI MSM5205 */
+ 400'000, /* 400_kHz_XTAL Resonator - OKI MSM5205 on Great Swordman h/w */
+ 430'000, /* 430_kHz_XTAL Resonator */
+ 455'000, /* 455_kHz_XTAL Resonator - OKI MSM5205 on Gladiator h/w */
+ 512'000, /* 512_kHz_XTAL Resonator - Toshiba TC8830F */
+ 600'000, /* 600_kHz_XTAL - */
+ 640'000, /* 640_kHz_XTAL Resonator - NEC UPD7759, Texas Instruments Speech Chips @ 8khz */
+ 960'000, /* 960_kHz_XTAL Resonator - Xerox Notetaker Keyboard UART */
1'000'000, /* 1_MHz_XTAL Used to drive OKI M6295 chips */
1'056'000, /* 1.056_MHz_XTAL Resonator - OKI M6295 on Trio The Punch h/w */
1'294'400, /* 1.2944_MHz_XTAL BBN BitGraph PSG */
diff --git a/src/mame/audio/segam1audio.h b/src/mame/audio/segam1audio.h
index 0e26e5a6b1f..2d3506dfd6b 100644
--- a/src/mame/audio/segam1audio.h
+++ b/src/mame/audio/segam1audio.h
@@ -10,7 +10,7 @@
#pragma once
-#define M1AUDIO_TAG "m1audio"
+#define M1AUDIO_TAG "m1audio"
#define M1AUDIO_CPU_REGION "m1audio:sndcpu"
#define M1AUDIO_MPCM1_REGION "m1audio:pcm1"
#define M1AUDIO_MPCM2_REGION "m1audio:pcm2"
@@ -52,7 +52,7 @@ private:
required_device<multipcm_device> m_multipcm_2;
required_device<ym3438_device> m_ym;
required_device<i8251_device> m_uart;
-
+
required_memory_region m_multipcm1_region;
required_memory_region m_multipcm2_region;
diff --git a/src/mame/audio/snes_snd.cpp b/src/mame/audio/snes_snd.cpp
index 42b206c2072..495847ec887 100644
--- a/src/mame/audio/snes_snd.cpp
+++ b/src/mame/audio/snes_snd.cpp
@@ -178,7 +178,7 @@ void snes_sound_device::device_start()
memcpy(m_ipl_region, machine().root_device().memregion("sound_ipl")->base(), 64);
m_tick_timer = timer_alloc(TIMER_TICK_ID);
-
+
state_register();
save_pointer(NAME(m_ram.get()), SNES_SPCRAM_SIZE);
}
@@ -207,10 +207,10 @@ void snes_sound_device::device_reset()
m_counter[i] = 0;
m_subcounter[i] = 0;
}
-
+
attotime period = attotime::from_hz(64000);
m_tick_timer->adjust(period, 0, period);
-
+
dsp_reset();
}
@@ -218,9 +218,9 @@ inline void snes_sound_device::update_timer_tick(uint8_t which)
{
if(m_timer_enabled[which] == false)
return;
-
+
m_subcounter[which]++;
-
+
// if timer channel is 0 or 1 we update at 64000/8
if(m_subcounter[which] >= 8 || which == 2)
{
@@ -242,7 +242,7 @@ void snes_sound_device::device_timer(emu_timer &timer, device_timer_id id, int p
assert_always(false, "Unknown id in snes_sound_device::device_timer");
return;
}
-
+
for(int ch=0;ch<3;ch++)
update_timer_tick(ch);
}
diff --git a/src/mame/audio/snes_snd.h b/src/mame/audio/snes_snd.h
index 538228b82fd..4b39b2f3ae0 100644
--- a/src/mame/audio/snes_snd.h
+++ b/src/mame/audio/snes_snd.h
@@ -83,7 +83,7 @@ private:
DECLARE_READ8_MEMBER(dsp_io_r);
DECLARE_WRITE8_MEMBER(dsp_io_w);
-// TIMER_CALLBACK_MEMBER(spc_timer);
+// TIMER_CALLBACK_MEMBER(spc_timer);
void dsp_reset();
void dsp_update(short *sound_ptr);
int advance_envelope(int v);
@@ -116,17 +116,17 @@ private:
TIMER_TICK_ID = 1
};
/* timers */
- emu_timer *m_tick_timer;
+ emu_timer *m_tick_timer;
bool m_timer_enabled[3];
uint16_t m_counter[3];
- uint8_t m_subcounter[3];
+ uint8_t m_subcounter[3];
inline void update_timer_tick(uint8_t which);
/* IO ports */
uint8_t m_port_in[4]; /* SPC input ports */
uint8_t m_port_out[4]; /* SPC output ports */
-
- uint16_t m_TnDIV[3]; /**< Timer N Divider */
+
+ uint16_t m_TnDIV[3]; /**< Timer N Divider */
};
DECLARE_DEVICE_TYPE(SNES, snes_sound_device)
diff --git a/src/mame/drivers/aristmk5.cpp b/src/mame/drivers/aristmk5.cpp
index ba75ccc9184..d070fa88a7b 100644
--- a/src/mame/drivers/aristmk5.cpp
+++ b/src/mame/drivers/aristmk5.cpp
@@ -3863,7 +3863,7 @@ ROM_END
// Green Lizard [Reel Game] / Export / A - 05/01/01
// Requires set chip version: 4.04.xx
// Variation (% and NO):
-// Doesn't requires touch screen
+// Doesn't requires touch screen
ROM_START( glizrdce )
ARISTOCRAT_MK5_BIOS
/*
@@ -4493,7 +4493,7 @@ ROM_END
// Keep Your Hat On / Export / B - 08/05/2000
// Requires set chips 4.01.xx
// Variation (% and NO)
-// Requires touch screen
+// Requires touch screen
ROM_START( kyhatonu )
ARISTOCRAT_MK5_BIOS
/*
diff --git a/src/mame/drivers/bebox.cpp b/src/mame/drivers/bebox.cpp
index 3ca835ef3ed..5b476e2f5fd 100644
--- a/src/mame/drivers/bebox.cpp
+++ b/src/mame/drivers/bebox.cpp
@@ -190,7 +190,7 @@ MACHINE_CONFIG_START(bebox_state::bebox)
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_RAW_PARAMS(XTAL(25'174'800),900,0,640,526,0,480)
MCFG_SCREEN_UPDATE_DEVICE("vga", cirrus_gd5428_device, screen_update)
-
+
MCFG_PALETTE_ADD("palette", 0x100)
MCFG_DEVICE_ADD("vga", CIRRUS_GD5428, 0)
diff --git a/src/mame/drivers/blackt96.cpp b/src/mame/drivers/blackt96.cpp
index 5d0954db33a..b41233409f4 100644
--- a/src/mame/drivers/blackt96.cpp
+++ b/src/mame/drivers/blackt96.cpp
@@ -126,7 +126,7 @@ protected:
// overrides
virtual void machine_start() override;
virtual void machine_reset() override;
- virtual void video_start() override;
+ virtual void video_start() override;
private:
// driver variables
@@ -412,7 +412,7 @@ READ8_MEMBER(blackt96_state::blackt96_soundio_port_c_r)
WRITE8_MEMBER(blackt96_state::blackt96_soundio_port_c_w)
{
-// logerror("%s: blackt96_soundio_port_c_w (PREV DATA %02x CURR DATA %02x)\n", machine().describe_context().c_str(), m_port_c_data, data);
+// logerror("%s: blackt96_soundio_port_c_w (PREV DATA %02x CURR DATA %02x)\n", machine().describe_context().c_str(), m_port_c_data, data);
// data & 0x80 unuused?
// data & 0x40 is read - see above
@@ -441,7 +441,7 @@ WRITE8_MEMBER(blackt96_state::blackt96_soundio_port_c_w)
{
//logerror("%s: blackt96_soundio_port_c_w (write to OKI %02x) (oki selected is %02x)\n", machine().describe_context().c_str(), m_port_b_latch, m_oki_selected);
if (m_oki_selected == 0) m_oki[0]->write(space, 0, m_port_b_latch);
- else if (m_oki_selected == 1) m_oki[1]->write(space, 0, m_port_b_latch);
+ else if (m_oki_selected == 1) m_oki[1]->write(space, 0, m_port_b_latch);
}
if (((data & 0x01) == 0x00) && ((m_port_c_data & 0x01) == 0x01)) // high -> low on bit 0x01 reads to selected OKI
diff --git a/src/mame/drivers/blockout.cpp b/src/mame/drivers/blockout.cpp
index c7b88f3d9d3..f93a8a10e2c 100644
--- a/src/mame/drivers/blockout.cpp
+++ b/src/mame/drivers/blockout.cpp
@@ -129,7 +129,7 @@ static ADDRESS_MAP_START( agress_map, AS_PROGRAM, 16, blockout_state )
AM_RANGE(0x180000, 0x1bffff) AM_RAM_WRITE(blockout_videoram_w) AM_SHARE("videoram")
AM_RANGE(0x1d4000, 0x1dffff) AM_RAM /* work RAM */
AM_RANGE(0x1f4000, 0x1fffff) AM_RAM /* work RAM */
- AM_RANGE(0x200000, 0x207fff) AM_RAM AM_SHARE("frontvideoram")
+ AM_RANGE(0x200000, 0x207fff) AM_RAM AM_SHARE("frontvideoram")
AM_RANGE(0x208000, 0x21ffff) AM_RAM /* ??? */
AM_RANGE(0x280002, 0x280003) AM_WRITE(blockout_frontcolor_w)
AM_RANGE(0x280200, 0x2805ff) AM_RAM_WRITE(blockout_paletteram_w) AM_SHARE("paletteram")
@@ -226,8 +226,8 @@ static INPUT_PORTS_START( blockoutj )
/* these can still be used on the difficutly select even if they can't be used for rotating pieces in this version */
PORT_DIPUNUSED_DIPLOC( 0x40, 0x40, "SW2:7" ) /* Listed as "Unused" */
PORT_DIPUNUSED_DIPLOC( 0x80, 0x80, "SW2:8" ) /* Listed as "Unused" */
-// PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_DIPLOCATION("SW2:7")
-// PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_PLAYER(2) PORT_DIPLOCATION("SW2:8")
+// PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_DIPLOCATION("SW2:7")
+// PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_PLAYER(2) PORT_DIPLOCATION("SW2:8")
INPUT_PORTS_END
static INPUT_PORTS_START( agress )
@@ -238,12 +238,12 @@ static INPUT_PORTS_START( agress )
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1)
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1)
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(1) PORT_NAME("P1 Button 3 (Bomb)")
-
+
PORT_MODIFY("P2")
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2)
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2)
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(2) PORT_NAME("P2 Button 3 (Bomb)")
-
+
/* factory shipment setting is all dips OFF */
PORT_MODIFY("DSW1")
PORT_DIPNAME( 0x04, 0x04, "Opening Cut" ) PORT_DIPLOCATION("SW1:3")
@@ -256,8 +256,8 @@ static INPUT_PORTS_START( agress )
PORT_DIPNAME( 0x04, 0x04, DEF_STR( Players ) ) PORT_DIPLOCATION("SW2:3")
PORT_DIPSETTING( 0x04, "1" )
PORT_DIPSETTING( 0x00, "2" )
- PORT_DIPUNKNOWN_DIPLOC( 0x40, 0x40, "SW2:7" )
- PORT_DIPUNKNOWN_DIPLOC( 0x80, 0x80, "SW2:8" )
+ PORT_DIPUNKNOWN_DIPLOC( 0x40, 0x40, "SW2:7" )
+ PORT_DIPUNKNOWN_DIPLOC( 0x80, 0x80, "SW2:8" )
INPUT_PORTS_END
@@ -436,22 +436,22 @@ DRIVER_INIT_MEMBER(blockout_state,agress)
{
/*
* agress checks at F3A that this is mirrored, blockout glitches if you mirror to it
- * But actually mirroring this VRAM makes display to be offset
+ * But actually mirroring this VRAM makes display to be offset
* (clearly visible with text being on top bank instead of bottom during gameplay)
* There are many possible solutions to this:
* A) reads are actually ORed between upper and lower banks
- * B) VRAM is initialized with same pattern checked, or extreme open bus occurs for the second uninitalized bank.
+ * B) VRAM is initialized with same pattern checked, or extreme open bus occurs for the second uninitalized bank.
* C) Agress isn't truly identical to Block Out HW wise, it really mirrors VRAM data and offsets display
- * D) it's not supposed to enter into trace mode at all, cause of the bogus mirror check (trace exception
+ * D) it's not supposed to enter into trace mode at all, cause of the bogus mirror check (trace exception
* occurs at very beginning of the program execution)
* For now let's use D and just patch the TRACE exception that causes the bogus mirror check
*/
-
- uint16_t *rom = (uint16_t *)memregion("maincpu")->base();
+
+ uint16_t *rom = (uint16_t *)memregion("maincpu")->base();
rom[0x82/2] = 0x2700;
}
-
+
GAME( 1989, blockout, 0, blockout, blockout, blockout_state, 0, ROT0, "Technos Japan / California Dreams", "Block Out (set 1)", MACHINE_SUPPORTS_SAVE )
GAME( 1989, blockout2,blockout, blockout, blockout, blockout_state, 0, ROT0, "Technos Japan / California Dreams", "Block Out (set 2)", MACHINE_SUPPORTS_SAVE )
GAME( 1989, blockoutj,blockout, blockout, blockoutj, blockout_state, 0, ROT0, "Technos Japan / California Dreams", "Block Out (Japan)", MACHINE_SUPPORTS_SAVE )
diff --git a/src/mame/drivers/boogwing.cpp b/src/mame/drivers/boogwing.cpp
index d0e28e8d02c..93f33d66935 100644
--- a/src/mame/drivers/boogwing.cpp
+++ b/src/mame/drivers/boogwing.cpp
@@ -53,7 +53,7 @@
Driver by Bryan McPhail and David Haywood.
- DECO 99 "ACE" Chip hooked up by cam900.
+ DECO 99 "ACE" Chip hooked up by cam900.
Todo:
* Sprite priorities aren't verified to be 100% accurate.
diff --git a/src/mame/drivers/calchase.cpp b/src/mame/drivers/calchase.cpp
index 3ec4b01c422..6c6a757af6a 100644
--- a/src/mame/drivers/calchase.cpp
+++ b/src/mame/drivers/calchase.cpp
@@ -395,7 +395,7 @@ static ADDRESS_MAP_START( calchase_map, AS_PROGRAM, 32, calchase_state )
AM_RANGE(0x000d0024, 0x000d0027) AM_DEVWRITE16("ldac", dac_word_interface, write, 0x0000ffff)
AM_RANGE(0x000d0028, 0x000d002b) AM_DEVWRITE16("rdac", dac_word_interface, write, 0x0000ffff)
AM_RANGE(0x000d0800, 0x000d0fff) AM_ROM AM_REGION("nvram",0) //
-// AM_RANGE(0x000d0800, 0x000d0fff) AM_RAM // GAME_CMOS
+// AM_RANGE(0x000d0800, 0x000d0fff) AM_RAM // GAME_CMOS
//GRULL AM_RANGE(0x000e0000, 0x000effff) AM_RAM
//GRULL-AM_RANGE(0x000f0000, 0x000fffff) AM_ROMBANK("bank1")
@@ -460,7 +460,7 @@ ADDRESS_MAP_END
static INPUT_PORTS_START( calchase )
PORT_START("pc_keyboard_0")
PORT_BIT ( 0x0001, 0x0000, IPT_UNUSED ) /* unused scancode 0 */
-// AT_KEYB_HELPER( 0x0002, "Esc", KEYCODE_Q ) /* Esc 01 81 */
+// AT_KEYB_HELPER( 0x0002, "Esc", KEYCODE_Q ) /* Esc 01 81 */
// 0x0004, KEYCODE_0
// 0x0008, KEYCODE_1
// 0x0010, KEYCODE_2
@@ -475,7 +475,7 @@ static INPUT_PORTS_START( calchase )
// 0x2000, KEYCODE_EQUAL
// 0x4000, KEYCODE_BACKSPACE
// 0x8000, KEYCODE_TAB
-
+
PORT_START("pc_keyboard_1")
// 0x0001, KEYCODE_Q
// 0x0002, KEYCODE_W
@@ -499,7 +499,7 @@ static INPUT_PORTS_START( calchase )
PORT_START("pc_keyboard_3")
AT_KEYB_HELPER( 0x0001, "B", KEYCODE_B ) /* B 30 B0 */
AT_KEYB_HELPER( 0x0002, "N", KEYCODE_N ) /* N 31 B1 */
- AT_KEYB_HELPER( 0x0200, "SPACE", KEYCODE_SPACE ) /* N 31 B1 */
+ AT_KEYB_HELPER( 0x0200, "SPACE", KEYCODE_SPACE ) /* N 31 B1 */
AT_KEYB_HELPER( 0x0800, "F1", KEYCODE_F1 ) /* F1 3B BB */
// AT_KEYB_HELPER( 0x8000, "F5", KEYCODE_F5 )
diff --git a/src/mame/drivers/candela.cpp b/src/mame/drivers/candela.cpp
index 7c06ea65e7f..940b0bec80e 100644
--- a/src/mame/drivers/candela.cpp
+++ b/src/mame/drivers/candela.cpp
@@ -5,7 +5,7 @@
* History of Candela Data AB
*---------------------------
* The Candela computer was designed to be the big breakthough and developed by Candela Data AB, "a Didact Company".
- * The Candela system was based around a main unit that could run OS-9 or Flex and a terminal unit that had a
+ * The Candela system was based around a main unit that could run OS-9 or Flex and a terminal unit that had a
* propietary software including CDBASIC. The Candela system lost the battle of the swedish schools to
* the Compis computer by TeleNova which was based on CP/M initially. Later both lost to IBM PC as we know.
* Candela Data continued to sell their system to the swedish industry without major successes despite great
diff --git a/src/mame/drivers/cninja.cpp b/src/mame/drivers/cninja.cpp
index a4700bc50a3..f0e83166a32 100644
--- a/src/mame/drivers/cninja.cpp
+++ b/src/mame/drivers/cninja.cpp
@@ -1179,7 +1179,7 @@ MACHINE_CONFIG_START(cninja_state::robocop2)
MCFG_SCREEN_RAW_PARAMS(XTAL(28'000'000) / 4, 442, 0, 320, 274, 8, 248)
MCFG_SCREEN_UPDATE_DRIVER(cninja_state, screen_update_robocop2)
MCFG_SCREEN_PALETTE("palette")
-
+
MCFG_MACHINE_START_OVERRIDE(cninja_state,robocop2)
MCFG_MACHINE_RESET_OVERRIDE(cninja_state,robocop2)
@@ -1270,7 +1270,7 @@ MACHINE_CONFIG_START(cninja_state::mutantf)
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_RAW_PARAMS(XTAL(28'000'000) / 4, 442, 0, 320, 274, 8, 248) // same as robocop2? verify this from real pcb
MCFG_SCREEN_UPDATE_DRIVER(cninja_state, screen_update_mutantf)
-
+
MCFG_MACHINE_START_OVERRIDE(cninja_state,robocop2)
MCFG_MACHINE_RESET_OVERRIDE(cninja_state,robocop2)
MCFG_VIDEO_START_OVERRIDE(cninja_state,mutantf)
diff --git a/src/mame/drivers/cybstorm.cpp b/src/mame/drivers/cybstorm.cpp
index c23d676070a..dd8bb937ac7 100755..100644
--- a/src/mame/drivers/cybstorm.cpp
+++ b/src/mame/drivers/cybstorm.cpp
@@ -2,15 +2,15 @@
// copyright-holders:Aaron Giles, Phil Bennett
/***************************************************************************
- Atari Cyberstorm hardware
+ Atari Cyberstorm hardware
- driver by Aaron Giles and Phil Bennett
+ driver by Aaron Giles and Phil Bennett
- Games supported:
- * Cyberstorm (prototype) (1993)
+ Games supported:
+ * Cyberstorm (prototype) (1993)
- Known bugs:
- * STAIN effect not 100% correct
+ Known bugs:
+ * STAIN effect not 100% correct
***************************************************************************/
@@ -25,7 +25,7 @@
/*************************************
*
- * Initialization
+ * Initialization
*
*************************************/
@@ -52,7 +52,7 @@ MACHINE_RESET_MEMBER(cybstorm_state,cybstorm)
/*************************************
*
- * I/O handling
+ * I/O handling
*
*************************************/
@@ -82,14 +82,14 @@ WRITE32_MEMBER(cybstorm_state::latch_w)
/*************************************
*
- * Main CPU memory handlers
+ * Main CPU memory handlers
*
*************************************/
/*************************************
*
- * Memory maps
+ * Memory maps
*
*************************************/
@@ -124,7 +124,7 @@ ADDRESS_MAP_END
/*************************************
*
- * Port definitions
+ * Port definitions
*
*************************************/
@@ -178,7 +178,7 @@ INPUT_PORTS_END
/*************************************
*
- * Graphics definitions
+ * Graphics definitions
*
*************************************/
@@ -219,16 +219,16 @@ static const gfx_layout molayout =
static GFXDECODE_START( cybstorm )
- GFXDECODE_ENTRY( "gfx2", 0, pflayout, 0, 16 ) /* sprites & playfield */
- GFXDECODE_ENTRY( "gfx3", 0, molayout, 4096, 64 ) /* sprites & playfield */
- GFXDECODE_ENTRY( "gfx1", 0, anlayout, 16384, 64 ) /* characters 8x8 */
+ GFXDECODE_ENTRY( "gfx2", 0, pflayout, 0, 16 ) /* sprites & playfield */
+ GFXDECODE_ENTRY( "gfx3", 0, molayout, 4096, 64 ) /* sprites & playfield */
+ GFXDECODE_ENTRY( "gfx1", 0, anlayout, 16384, 64 ) /* characters 8x8 */
GFXDECODE_END
/*************************************
*
- * Machine driver
+ * Machine driver
*
*************************************/
@@ -289,18 +289,18 @@ MACHINE_CONFIG_END
/*************************************
*
- * ROM definition(s)
+ * ROM definition(s)
*
*************************************/
ROM_START( cybstorm )
- ROM_REGION( 0x200000, "maincpu", 0 ) /* 6*128k for 68020 code */
+ ROM_REGION( 0x200000, "maincpu", 0 ) /* 6*128k for 68020 code */
ROM_LOAD32_BYTE( "st_11.22.prog.6a", 0x000000, 0x080000, CRC(8b112ee9) SHA1(cd8367c47c653b8a1ba236c354f009f4297d521d) )
ROM_LOAD32_BYTE( "st_11.22.prog.8a", 0x000001, 0x080000, CRC(36b7cec9) SHA1(c9c2ba6df1fc849200e0c66a7cbc292e8b0b22f3) )
ROM_LOAD32_BYTE( "st_11.22.prog2.13a", 0x000002, 0x080000, CRC(1318f2c5) SHA1(929fbe96621852a10b7072490e1e554cdb2f20d8) )
ROM_LOAD32_BYTE( "st_11.22.prog.16a", 0x000003, 0x080000, CRC(4ae586a8) SHA1(daa803ed38f6582677b397e744dd8f5f60cfb508) )
- ROM_REGION( 0x14000, "jsa:cpu", 0 ) /* 64k + 16k for 6502 code */
+ ROM_REGION( 0x14000, "jsa:cpu", 0 ) /* 64k + 16k for 6502 code */
ROM_LOAD( "st_11.22.6502", 0x010000, 0x004000, CRC(947421b2) SHA1(72b2b66122e779135f1f5af794e4d8513ccbbef6) )
ROM_CONTINUE( 0x004000, 0x00c000 )
@@ -343,7 +343,7 @@ ROM_START( cybstorm )
ROM_LOAD( "st_11.22.mo34",0x980000, 0x080000, CRC(b8b0c8b6) SHA1(f47218a4d94aa151964687a6e4c02f2b3065fdd3) )
ROM_LOAD( "st_11.22.mo35",0xb80000, 0x080000, CRC(f0b9cf9d) SHA1(7ce30b05c1ee02346e8f568f36274b46d1ed99c4) )
- ROM_REGION( 0x100000, "jsa:oki1", 0 ) /* 1MB for ADPCM */
+ ROM_REGION( 0x100000, "jsa:oki1", 0 ) /* 1MB for ADPCM */
ROM_LOAD( "st_11.22.5a", 0x000000, 0x080000, CRC(d469692c) SHA1(b7d94c042cf9f28ea65d44f5305d56459562d209) )
ROM_REGION( 0x100000, "jsa:oki2", 0 ) /* 1MB for ADPCM */
@@ -354,7 +354,7 @@ ROM_END
/*************************************
*
- * Driver initialization
+ * Driver initialization
*
*************************************/
@@ -367,7 +367,7 @@ DRIVER_INIT_MEMBER(cybstorm_state, cybstorm)
/*************************************
*
- * Game driver(s)
+ * Game driver(s)
*
*************************************/
diff --git a/src/mame/drivers/dassault.cpp b/src/mame/drivers/dassault.cpp
index dae99ead976..5a0a09386ec 100644
--- a/src/mame/drivers/dassault.cpp
+++ b/src/mame/drivers/dassault.cpp
@@ -205,7 +205,7 @@ Stephh's notes (based on the games M68000 code and some tests) :
Dip locations verified with US conversion kit manual.
TODO:
- Blend function aren't fully emulated.
+ Blend function aren't fully emulated.
***************************************************************************/
@@ -547,7 +547,7 @@ MACHINE_CONFIG_START(dassault_state::dassault)
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
- MCFG_SCREEN_RAW_PARAMS(XTAL(28'000'000) / 4, 442, 0, 320, 274, 8, 248) // same as robocop2(cninja.cpp)? verify this from real pcb.
+ MCFG_SCREEN_RAW_PARAMS(XTAL(28'000'000) / 4, 442, 0, 320, 274, 8, 248) // same as robocop2(cninja.cpp)? verify this from real pcb.
MCFG_SCREEN_UPDATE_DRIVER(dassault_state, screen_update_dassault)
MCFG_GFXDECODE_ADD("gfxdecode", "palette", dassault)
diff --git a/src/mame/drivers/deco32.cpp b/src/mame/drivers/deco32.cpp
index 00855e9735d..938ad202cc5 100644
--- a/src/mame/drivers/deco32.cpp
+++ b/src/mame/drivers/deco32.cpp
@@ -2290,7 +2290,7 @@ MACHINE_CONFIG_START(nslasher_state::tattass)
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_RAW_PARAMS(XTAL(28'000'000) / 4, 442, 0, 320, 274, 8, 248)
MCFG_SCREEN_UPDATE_DRIVER(nslasher_state, screen_update_nslasher)
-
+
MCFG_DECO_ACE_ADD("deco_ace")
MCFG_DECO_ACE_PALETTE("palette")
diff --git a/src/mame/drivers/didact.cpp b/src/mame/drivers/didact.cpp
index 77d8a18dc63..dbb5e5be0dc 100644
--- a/src/mame/drivers/didact.cpp
+++ b/src/mame/drivers/didact.cpp
@@ -8,7 +8,7 @@
* Lars Bjorklund. They constructed a series of microcomputers for educational purposes such as "Mikrodator 6802",
* Esselte 100 and the Candela computer for the swedish schools to educate the students in assembly programming
* and BASIC for electro mechanical applications such as stepper motors, simple process control, buttons
- * and LED:s. Didact designs were marketed by Esselte Studium to the swedish schools.
+ * and LED:s. Didact designs were marketed by Esselte Studium to the swedish schools.
*
* The Esselte 1000 was an educational package based on Apple II plus software and litterature
* but the relation to Didact is at this point unknown so it is probably a pure Esselte software production.
diff --git a/src/mame/drivers/e100.cpp b/src/mame/drivers/e100.cpp
index 18531ffa224..84f4439b607 100644
--- a/src/mame/drivers/e100.cpp
+++ b/src/mame/drivers/e100.cpp
@@ -7,12 +7,12 @@
* See didact.cpp
*
* The Esselte 100 was an original design with a CRT and a full Keyboard that also had a BASIC interpreter
- * extended with commands suitable for educational experiments using the exapansion bus and its built in
+ * extended with commands suitable for educational experiments using the exapansion bus and its built in
* io control capabilities.
*
* The Esselte 1000 was an educational package based on Apple II plus software and litterature but the relation
- * to Didact is at this point unknown so it is probably a pure Esselte software production. If this branded
- * distribution is recovered it will be added as a clone of the Apple II driver or just as softlist item.
+ * to Didact is at this point unknown so it is probably a pure Esselte software production. If this branded
+ * distribution is recovered it will be added as a clone of the Apple II driver or just as softlist item.
*
* Misc links about the boards supported by this driver.
*-----------------------------------------------------
@@ -131,7 +131,7 @@ class e100_state : public driver_device // public didact_state
{
public:
e100_state(const machine_config &mconfig, device_type type, const char * tag)
- // : didact_state(mconfig, type, tag)
+ // : didact_state(mconfig, type, tag)
: driver_device(mconfig, type, tag)
,m_maincpu(*this, "maincpu")
,m_kbd_74145(*this, "kbd_74145")
diff --git a/src/mame/drivers/fmtowns.cpp b/src/mame/drivers/fmtowns.cpp
index bba14c814a7..5b064b05fe9 100644
--- a/src/mame/drivers/fmtowns.cpp
+++ b/src/mame/drivers/fmtowns.cpp
@@ -1532,8 +1532,8 @@ void towns_state::towns_cdrom_read(cdrom_image_device* device)
// parameter 7 = sector count?
// lemmings 2 sets this to 4 but hates 4 extra sectors being read
-// if(m_towns_cd.parameter[1] != 0)
-// m_towns_cd.lba_last += m_towns_cd.parameter[1];
+// if(m_towns_cd.parameter[1] != 0)
+// m_towns_cd.lba_last += m_towns_cd.parameter[1];
if(LOG_CD) logerror("CD: Mode 1 read from LBA next:%i last:%i track:%i\n",m_towns_cd.lba_current,m_towns_cd.lba_last,track);
diff --git a/src/mame/drivers/gaelco.cpp b/src/mame/drivers/gaelco.cpp
index 8d76ddf7c2d..84bab7820ac 100644
--- a/src/mame/drivers/gaelco.cpp
+++ b/src/mame/drivers/gaelco.cpp
@@ -994,7 +994,7 @@ ROM_START( lastkm ) /* PCB - REF 922804/2 */
ROM_LOAD( "bici-F1.h9", 0x200000, 0x080000, CRC(e7958070) SHA1(7f065b429a500b714dfbf497b1353e90137abbd7))
ROM_RELOAD(0x280000, 0x80000)
-
+
ROM_LOAD( "bici-F0.h10", 0x300000, 0x080000, CRC(73d4b29f) SHA1(e2563562cb5fbaba7e0517ec9811645aca56f374))
ROM_RELOAD(0x380000, 0x80000)
diff --git a/src/mame/drivers/gaelco2.cpp b/src/mame/drivers/gaelco2.cpp
index 2f0df6c9278..afc8db05e85 100644
--- a/src/mame/drivers/gaelco2.cpp
+++ b/src/mame/drivers/gaelco2.cpp
@@ -365,7 +365,7 @@ Part No.: E192
* Denotes unpopulated sockets
-Although this version of Maniac Square use the same PCB as Snow Board Championship, there are some minor
+Although this version of Maniac Square use the same PCB as Snow Board Championship, there are some minor
omponent changes:
Slower OSC clocks
diff --git a/src/mame/drivers/homerun.cpp b/src/mame/drivers/homerun.cpp
index 2fd04e49611..e5af6980482 100644
--- a/src/mame/drivers/homerun.cpp
+++ b/src/mame/drivers/homerun.cpp
@@ -363,9 +363,9 @@ MACHINE_CONFIG_START(homerun_state::dynashot)
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
-// MCFG_SCREEN_REFRESH_RATE(60)
-// MCFG_SCREEN_SIZE(256, 256)
-// MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 0*8, 30*8-1)
+// MCFG_SCREEN_REFRESH_RATE(60)
+// MCFG_SCREEN_SIZE(256, 256)
+// MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 0*8, 30*8-1)
MCFG_SCREEN_RAW_PARAMS(XTAL(20'000'000)/4,328,0,256,253,0,240)
MCFG_SCREEN_UPDATE_DRIVER(homerun_state, screen_update_homerun)
MCFG_SCREEN_PALETTE("palette")
diff --git a/src/mame/drivers/luckybal.cpp b/src/mame/drivers/luckybal.cpp
index 31ad74b039a..afbe48888c0 100644
--- a/src/mame/drivers/luckybal.cpp
+++ b/src/mame/drivers/luckybal.cpp
@@ -40,7 +40,7 @@
1x PPI 8255 (@U10)
3x 4099 (8-Bit Addressable Latch) @U1-U3-U5.
3x 4512 (8-Channel Data Selector) @U2-U4-U7.
-
+
1x INMOS B IMS1630K-70M (8K x 8 SRAM, DIL28)... NOTE: Replaced by UT6264CPC-70LL in another board.
4x sanded IC's identified as 4464 (64K x 4 DRAM) @U16-U17-U18-U19, near the Yamaha 9938 for video RAM.
@@ -51,7 +51,7 @@
1x unknown DAC (DIL16) @U13.
1x LM324 (Single Supply Quad Operational Amplifier)
- 1x Maxim MAX691CPE (battery supervisor).
+ 1x Maxim MAX691CPE (battery supervisor).
1x 21.47727 MHz. crystal, near the Yamaha 9938/58 VDP.
1x 12.288 MHz. crystal, near the Zilog Z180.
@@ -138,7 +138,7 @@
*********************************************************************
Program ROM
- Data Lines Scrambling.
+ Data Lines Scrambling.
BUS ROM
@@ -177,7 +177,7 @@
*********************************************************************
I/O:
-
+
1x PPI 8255.
3x 4099 (8-Bit Addressable Latch).
3x 4512 (8-Channel Data Selector).
@@ -196,7 +196,7 @@
| PB0 |------> I/O 4099 (A0) & 4512 (A)
| PB1 |------> I/O 4099 (A1) & 4512 (B)
| PB2 |------> I/O 4099 (A2) & 4512 (C)
- | PB3 |------> I/O 4099 (WD 4099 #0, Players)
+ | PB3 |------> I/O 4099 (WD 4099 #0, Players)
| PB4 |------> I/O 4099 (WD 4099 #1, Counters)
| PB5 |------> I/O 4099 (WD 4099 #2, unknown)
| PB6 |------> I/O 4099 (D)
@@ -359,9 +359,9 @@ ADDRESS_MAP_END
/*
;*********** PPI 8255 *******
PORTCN EQU C0H ;80H C
-P_AUDIO EQU C0H ;Port A ---> DAC
+P_AUDIO EQU C0H ;Port A ---> DAC
PORTIN EQU C2H ;Port C (High nibble) Inputs. (4=EE, 5=PLATE, 6=KEY, 7=DIP)
-PORT_EE EQU C2H ;Port C (Low nibble) EEPROM. (0=DI, 1=CS, 2=SK)
+PORT_EE EQU C2H ;Port C (Low nibble) EEPROM. (0=DI, 1=CS, 2=SK)
PORTIO EQU C1H ;Port B I/O 4099 (0=A0, 1=A1, 2=A2, 3=WJ, 4=WC, 5=WP, 6=D, 7=LED)
PPI_CTRL EQU C3H ;Mode.
diff --git a/src/mame/drivers/mac.cpp b/src/mame/drivers/mac.cpp
index a1fb49ad535..a1a0eb73354 100644
--- a/src/mame/drivers/mac.cpp
+++ b/src/mame/drivers/mac.cpp
@@ -880,8 +880,8 @@ static SLOT_INTERFACE_START(mac_nubus_cards)
SLOT_INTERFACE("asmc3nb", NUBUS_ASNTMC3NB) /* Asante MC3NB Ethernet card */
SLOT_INTERFACE("portrait", NUBUS_WSPORTRAIT) /* Apple Macintosh II Portrait video card */
SLOT_INTERFACE("enetnb", NUBUS_APPLEENET) /* Apple NuBus Ethernet */
- SLOT_INTERFACE("bootbug", NUBUS_BOOTBUG) /* Brigent BootBug debugger card */
- SLOT_INTERFACE("quadralink", NUBUS_QUADRALINK) /* AE Quadralink serial card */
+ SLOT_INTERFACE("bootbug", NUBUS_BOOTBUG) /* Brigent BootBug debugger card */
+ SLOT_INTERFACE("quadralink", NUBUS_QUADRALINK) /* AE Quadralink serial card */
SLOT_INTERFACE_END
static SLOT_INTERFACE_START(mac_pds030_cards)
diff --git a/src/mame/drivers/megadriv_rad.cpp b/src/mame/drivers/megadriv_rad.cpp
index 2684e2f9434..2b97d4bffdf 100644
--- a/src/mame/drivers/megadriv_rad.cpp
+++ b/src/mame/drivers/megadriv_rad.cpp
@@ -2,20 +2,20 @@
// copyright-holders:David Haywood
/*
- Radica 'Mega Drive' and 'Genesis' clones
- these were mini battery operated "TV Game" consoles with wired in controller and no cartslot
- fully licensed by Sega
+ Radica 'Mega Drive' and 'Genesis' clones
+ these were mini battery operated "TV Game" consoles with wired in controller and no cartslot
+ fully licensed by Sega
- reproduction 'System on a Chip' hardware, not perfect, flaws will need emulating eventually.
+ reproduction 'System on a Chip' hardware, not perfect, flaws will need emulating eventually.
- not dumped
+ not dumped
- Genesis Volume 2
- Genesis SF2 / GnG (PAL one is locked to PAL)
+ Genesis Volume 2
+ Genesis SF2 / GnG (PAL one is locked to PAL)
- Outrun 2019 (probably identical ROM to MD version, just custom controller)
+ Outrun 2019 (probably identical ROM to MD version, just custom controller)
- more?
+ more?
*/
@@ -95,7 +95,7 @@ static INPUT_PORTS_START( megadriv_radica_6button )
PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_PLAYER(2)
PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_PLAYER(2)
PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_UNUSED )
-
+
PORT_START("IN0")
PORT_START("UNK")
INPUT_PORTS_END
@@ -104,7 +104,7 @@ INPUT_PORTS_END
MACHINE_START_MEMBER(megadriv_radica_state, megadriv_radica_6button)
{
MACHINE_START_CALL_MEMBER(megadriv);
- m_vdp->stop_timers();
+ m_vdp->stop_timers();
m_io_pad_6b[0] = ioport("EXTRA1");
m_io_pad_6b[1] = ioport("EXTRA2");
@@ -121,7 +121,7 @@ MACHINE_START_MEMBER(megadriv_radica_state, megadriv_radica_6button)
MACHINE_START_MEMBER(megadriv_radica_state, megadriv_radica_3button)
{
MACHINE_START_CALL_MEMBER(megadriv);
- m_vdp->stop_timers();
+ m_vdp->stop_timers();
save_item(NAME(m_bank));
}
@@ -183,7 +183,7 @@ DRIVER_INIT_MEMBER(megadriv_radica_state,megadriv_radica_6button_pal)
}
// NTSC releases
-CONS( 2004, rad_gen1,0, 0, megadriv_radica_3button_ntsc, megadriv_radica_3button_1player, megadriv_radica_state, megadriv, "Radica / Sega", "Genesis Collection Volume 1 (Radica, Arcade Legends) (USA)", 0)
+CONS( 2004, rad_gen1,0, 0, megadriv_radica_3button_ntsc, megadriv_radica_3button_1player, megadriv_radica_state, megadriv, "Radica / Sega", "Genesis Collection Volume 1 (Radica, Arcade Legends) (USA)", 0)
// PAL releases
CONS( 2004, rad_sf, 0, 0, megadriv_radica_6button_pal, megadriv_radica_6button, megadriv_radica_state, megadriv_radica_6button_pal, "Radica / Capcom / Sega", "Street Fighter II: Special Champion Edition [Ghouls'n Ghosts] (Radica, Arcade Legends) (Europe)", 0) // SF2 game is region locked, US version ROM is definitely different
diff --git a/src/mame/drivers/mtouchxl.cpp b/src/mame/drivers/mtouchxl.cpp
index 4a5936f1a2b..bfdb8962d73 100644
--- a/src/mame/drivers/mtouchxl.cpp
+++ b/src/mame/drivers/mtouchxl.cpp
@@ -193,7 +193,7 @@ void mtxl_state::cdrom(device_t *device)
device_slot_interface::static_option_reset(*ide0);
SLOT_INTERFACE_NAME(mt6k_ata_devices)(ide0);
device_slot_interface::static_set_default_option(*ide0, "cdrom");
- device_slot_interface::static_set_fixed(*ide0, true);
+ device_slot_interface::static_set_fixed(*ide0, true);
auto ide1 = device->subdevice("ide:1");
device_slot_interface::static_set_default_option(*ide1, "");
diff --git a/src/mame/drivers/myb3k.cpp b/src/mame/drivers/myb3k.cpp
index f68b96fe2e9..b2fa0320e3c 100644
--- a/src/mame/drivers/myb3k.cpp
+++ b/src/mame/drivers/myb3k.cpp
@@ -345,7 +345,7 @@ MC6845_UPDATE_ROW( myb3k_state::crtc_update_row )
pdat = 0x00; // This gets wrong when background color is not black
}
else
- { // 320x200, 40x25 char, 8 color
+ { // 320x200, 40x25 char, 8 color
uint32_t rowstart = (((x_pos + ma) * 32 + ra) & 0x7fff) + page;
pdat = ((m_vram[rowstart + 0] & 0xff) << 16); // Green 8 bits
pdat |= ((m_vram[rowstart + 8] & 0xf0) << 8); // Red upper 4 bits
@@ -448,8 +448,8 @@ WRITE8_MEMBER( myb3k_state::myb3k_video_mode_w )
m_vmode = data;
switch (data & 7)
{
- case 0: // Disambiguity between reality and the service manual. Reality is 640x200 in 8 color or tones!
- {
+ case 0: // Disambiguity between reality and the service manual. Reality is 640x200 in 8 color or tones!
+ {
LOGVMOD(" - 640x200 on 80x25 \n");
rectangle rect(0, 640 - 1, 0, 200 - 1);
m_screen->configure(640, 200, rect, HZ_TO_ATTOSECONDS(50));
diff --git a/src/mame/drivers/mystwarr.cpp b/src/mame/drivers/mystwarr.cpp
index 5c0e99b8fe8..d9a57c12282 100644
--- a/src/mame/drivers/mystwarr.cpp
+++ b/src/mame/drivers/mystwarr.cpp
@@ -1143,7 +1143,7 @@ MACHINE_CONFIG_DERIVED(mystwarr_state::martchmp, mystwarr)
MCFG_CPU_PROGRAM_MAP(martchmp_map)
MCFG_TIMER_MODIFY("scantimer")
MCFG_TIMER_DRIVER_CALLBACK(mystwarr_state, mchamp_interrupt)
-
+
MCFG_CPU_MODIFY("soundcpu")
MCFG_CPU_PROGRAM_MAP(martchmp_sound_map)
@@ -1170,7 +1170,7 @@ MACHINE_CONFIG_DERIVED(mystwarr_state::martchmp, mystwarr)
MCFG_DEVICE_MODIFY("k055673")
MCFG_K055673_CB(mystwarr_state, martchmp_sprite_callback)
MCFG_K055673_CONFIG("gfx2", K055673_LAYOUT_GX, -58, -23)
-
+
MCFG_DEVICE_REMOVE("k054539_1")
MCFG_DEVICE_REMOVE("k054539_2")
diff --git a/src/mame/drivers/neogeo.cpp b/src/mame/drivers/neogeo.cpp
index 1059888c638..f34ed090a2f 100644
--- a/src/mame/drivers/neogeo.cpp
+++ b/src/mame/drivers/neogeo.cpp
@@ -8996,7 +8996,7 @@ ROM_START( samsho5 ) /* Encrypted Set */ /* MVS VERSION */
ROM_LOAD16_BYTE( "270-c8.c8", 0x3000001, 0x800000, CRC(02c530a6) SHA1(7a3fafa6075506c6ef78cc4ec2cb72118ec83cb9) ) /* Plane 2,3 */ /* mask rom TC5364205 */
ROM_END
-/* handwritten labels, possible hack of samsho5h?
+/* handwritten labels, possible hack of samsho5h?
p1.bin 270-p1c.p1 90.607002%
p2.bin 270-p2c.sp2 99.999763% (all bytes that differ do so by only bits 0x20 or 0x02, which is suspicious)
*/
diff --git a/src/mame/drivers/nes_vt.cpp b/src/mame/drivers/nes_vt.cpp
index d857abf24ec..2465760c8f8 100644
--- a/src/mame/drivers/nes_vt.cpp
+++ b/src/mame/drivers/nes_vt.cpp
@@ -20,13 +20,13 @@
VT16 - ?
VT18 - ?
-
- VT3x - used in SY889
- Uses SQI rather than parallel flash
- Vaguely OneBus compatible but some registers different ($411C in particular)
- Uses RGB format for palettes
- Credit to NewRisingSun2 for much of the reverse engineering
-
+
+ VT3x - used in SY889
+ Uses SQI rather than parallel flash
+ Vaguely OneBus compatible but some registers different ($411C in particular)
+ Uses RGB format for palettes
+ Credit to NewRisingSun2 for much of the reverse engineering
+
(more)
VT1682 - NOT compatible with NES, different video system, sound CPU (4x
@@ -34,10 +34,10 @@
driver)
todo (VT03):
-
- Super Mario Bros 3 crashes after title screen, some kind of memory map issue
- possibly with MMC3 emulation mode
-
+
+ Super Mario Bros 3 crashes after title screen, some kind of memory map issue
+ possibly with MMC3 emulation mode
+
APU refactoring to allow for mostly doubled up functionality + PCM channel
*more*
@@ -104,7 +104,7 @@ public:
DECLARE_WRITE8_MEMBER(vt03_410x_w);
DECLARE_WRITE8_MEMBER(vt03_8000_w);
DECLARE_WRITE8_MEMBER(vt03_4034_w);
-
+
DECLARE_WRITE8_MEMBER(vt03_41bx_w);
DECLARE_READ8_MEMBER(vt03_41bx_r);
DECLARE_WRITE8_MEMBER(vt03_411c_w);
@@ -140,7 +140,7 @@ private:
uint8_t m_411c;
uint8_t m_412c;
uint8_t m_vdma_ctrl;
-
+
int m_timer_irq_enabled;
int m_timer_running;
int m_timer_val;
@@ -166,7 +166,7 @@ private:
required_memory_bank m_prgbank2;
required_memory_bank m_prgbank3;
required_region_ptr<uint8_t> m_prgrom;
-
+
uint16_t decode_nt_addr(uint16_t addr);
void do_dma(uint8_t data, bool broken);
};
@@ -496,7 +496,7 @@ void nes_vt_state::machine_reset()
m_timer_running = 0;
m_timer_val = 0;
m_vdma_ctrl = 0;
-
+
update_banks();
}
@@ -764,7 +764,7 @@ WRITE8_MEMBER(nes_vt_state::vt03_8000_w)
case 0x07:
m_410x[0x8] = data;
update_banks();
- break;
+ break;
}
} else if((addr >= 0xA000) && (addr < 0xC000) && !(addr & 0x01)) {
// Mirroring
@@ -785,9 +785,9 @@ WRITE8_MEMBER(nes_vt_state::vt03_8000_w)
// IRQ enable
vt03_410x_w(space, 4, data);
} else {
-
+
}
-
+
}
/* APU plumbing, this is because we have a plain M6502 core in the VT03, otherwise this is handled in the core */
@@ -872,9 +872,9 @@ static ADDRESS_MAP_START( nes_vt_map, AS_PROGRAM, 8, nes_vt_state )
AM_RANGE(0x4015, 0x4015) AM_READWRITE(psg1_4015_r, psg1_4015_w) /* PSG status / first control register */
AM_RANGE(0x4016, 0x4016) AM_READWRITE(nes_in0_r, nes_in0_w)
AM_RANGE(0x4017, 0x4017) AM_READ(nes_in1_r) AM_WRITE(psg1_4017_w)
-
+
AM_RANGE(0x4034, 0x4034) AM_WRITE(vt03_4034_w)
-
+
AM_RANGE(0x4100, 0x410b) AM_WRITE(vt03_410x_w)
AM_RANGE(0x8000, 0xffff) AM_WRITE(vt03_8000_w)
@@ -1061,7 +1061,7 @@ MACHINE_CONFIG_END
MACHINE_CONFIG_DERIVED(nes_vt_state::nes_vt_dg, nes_vt_xx)
MCFG_CPU_MODIFY("maincpu")
MCFG_CPU_PROGRAM_MAP(nes_vt_dg_map)
-
+
MCFG_SCREEN_MODIFY("screen")
MCFG_SCREEN_REFRESH_RATE(50.0070)
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC((106.53/(PAL_APU_CLOCK.dvalue()/1000000)) * (ppu2c0x_device::VBLANK_LAST_SCANLINE_PAL-ppu2c0x_device::VBLANK_FIRST_SCANLINE+1+2)))
@@ -1371,6 +1371,6 @@ CONS( 200?, mc_8x6ss, 0, 0, nes_vt, nes_vt, nes_vt_state, 0, "<unk
CONS( 2004, mc_dcat8, 0, 0, nes_vt, nes_vt, nes_vt_state, 0, "<unknown>", "100 in 1 (D-CAT8 8bit Console, set 1) (v5.01.11-frd, BL 20041217)", MACHINE_IMPERFECT_GRAPHICS )
CONS( 2004, mc_dcat8a, mc_dcat8, 0, nes_vt, nes_vt, nes_vt_state, 0, "<unknown>", "100 in 1 (D-CAT8 8bit Console, set 2)", MACHINE_IMPERFECT_GRAPHICS )
// Runs well, minor GFX issues in intro
-CONS( 2017, sy889, 0, 0, nes_vt_hh, nes_vt, nes_vt_state, 0, "SY Corp", "SY-889 300 in 1 Handheld", MACHINE_NOT_WORKING )
+CONS( 2017, sy889, 0, 0, nes_vt_hh, nes_vt, nes_vt_state, 0, "SY Corp", "SY-889 300 in 1 Handheld", MACHINE_NOT_WORKING )
// Runs well, only issues in SMB3 which crashes
-CONS( 2017, bittboy, 0, 0, nes_vt_bt, nes_vt, nes_vt_state, 0, "BittBoy", "BittBoy Mini FC 300 in 1", MACHINE_NOT_WORKING )
+CONS( 2017, bittboy, 0, 0, nes_vt_bt, nes_vt, nes_vt_state, 0, "BittBoy", "BittBoy Mini FC 300 in 1", MACHINE_NOT_WORKING )
diff --git a/src/mame/drivers/odyssey.cpp b/src/mame/drivers/odyssey.cpp
index 24446bbd811..abcf2476e32 100644
--- a/src/mame/drivers/odyssey.cpp
+++ b/src/mame/drivers/odyssey.cpp
@@ -6,7 +6,7 @@
Silicon Gaming.
PC based hardware.
- Preliminary driver by Roberto Fresca.
+ Preliminary driver by Roberto Fresca.
******************************************************************
@@ -14,12 +14,12 @@
--------------
System Hardware:
-
+
The slot machine system is based on an Intel Pentium motherboard.
Could be either a Thor or Tucson motherboard with a Pentium micro
processor running at 133 MHz or higher, with the following bus
interfaces:
-
+
- PCI bus for connecting to the video controller, peripheral memory
board, and SCSI disk controller.
@@ -30,30 +30,30 @@
the 82437FX/82438FX PCI bridge chips, the PIIX ISA bridge chip, the 87306
chip that provides the serial ports, timers and interrupts, and the IEEE
1284 parallel port interface to the GPIO system.
-
+
The Tucson motherboard is based on Intel's Triton-II chipset, which includes
the 82439HX PCI bridge chip, the PIIX3 ISA bridge chip, and the 87306B super
I/O chip that provides the serial ports, timers and interrupts, and the IEEE
1284 parallel port interface to the GPIO system.
-
+
The original manufacturer's BIOS is removed from the motherboard. The system
- uses the Silicon Gaming BIOS on the Peripheral Memory Board instead.
-
+ uses the Silicon Gaming BIOS on the Peripheral Memory Board instead.
+
The motherboard has 4x 16MB SIMMs, getting an amount of 64MB of RAM.
-
-
+
+
Peripheral Memory Board:
-
+
The Peripheral Memory Board stores the boot code, motherboard basic I/O
system (BIOS), operating system (OS), drivers, authentication software,
system configuration, statistics, and game state information. Data on
the Peripheral Memory Board remains after the system is powered off,
using the following memory modules:
-
+
- ROM
- NVRAM
- EEPROM
-
+
A GPIO box is connected to the motherboard through parallel interface.
Could be either GPIO I or GPIO II.
@@ -151,24 +151,24 @@ MACHINE_CONFIG_END
/*
#define ODYSSEY_BIOS \
- ROM_REGION( 0x80000, "maincpu", 0 ) \
- ROM_SYSTEM_BIOS( 0, "bios0", "SGI BIOS 76" ) \
- ROM_LOAD_BIOS( 0, "sgi_bios_76.bin", 0x000000, 0x80000, CRC(00592222) SHA1(29281d25aaf2051e0794dece8be146bb63d5c488) ) \
- ROM_SYSTEM_BIOS( 1, "bios1", "SGI BIOS 65" ) \
- ROM_LOAD_BIOS( 1, "sgi_bios_65.bin", 0x000000, 0x80000, CRC(00592222) SHA1(29281d25aaf2051e0794dece8be146bb63d5c488) ) \
- ROM_SYSTEM_BIOS( 2, "bios2", "SGI BIOS 55" ) \
- ROM_LOAD_BIOS( 2, "sgi_bios_55.bin", 0x000000, 0x80000, CRC(00592222) SHA1(29281d25aaf2051e0794dece8be146bb63d5c488) ) \
- ROM_SYSTEM_BIOS( 3, "bios3", "SGI BIOS 46" ) \
- ROM_LOAD_BIOS( 3, "sgi_bios_46.bin", 0x000000, 0x80000, CRC(00592222) SHA1(29281d25aaf2051e0794dece8be146bb63d5c488) ) \
- ROM_SYSTEM_BIOS( 4, "bios4", "SGI BIOS 31" ) \
- ROM_LOAD_BIOS( 4, "sgi_bios_31.bin", 0x000000, 0x80000, CRC(00592222) SHA1(29281d25aaf2051e0794dece8be146bb63d5c488) ) \
- ROM_SYSTEM_BIOS( 5, "bios5", "SGI BIOS 00" ) \
- ROM_LOAD_BIOS( 5, "sgi_bios_00.bin", 0x000000, 0x80000, CRC(00592222) SHA1(29281d25aaf2051e0794dece8be146bb63d5c488) )
+ ROM_REGION( 0x80000, "maincpu", 0 ) \
+ ROM_SYSTEM_BIOS( 0, "bios0", "SGI BIOS 76" ) \
+ ROM_LOAD_BIOS( 0, "sgi_bios_76.bin", 0x000000, 0x80000, CRC(00592222) SHA1(29281d25aaf2051e0794dece8be146bb63d5c488) ) \
+ ROM_SYSTEM_BIOS( 1, "bios1", "SGI BIOS 65" ) \
+ ROM_LOAD_BIOS( 1, "sgi_bios_65.bin", 0x000000, 0x80000, CRC(00592222) SHA1(29281d25aaf2051e0794dece8be146bb63d5c488) ) \
+ ROM_SYSTEM_BIOS( 2, "bios2", "SGI BIOS 55" ) \
+ ROM_LOAD_BIOS( 2, "sgi_bios_55.bin", 0x000000, 0x80000, CRC(00592222) SHA1(29281d25aaf2051e0794dece8be146bb63d5c488) ) \
+ ROM_SYSTEM_BIOS( 3, "bios3", "SGI BIOS 46" ) \
+ ROM_LOAD_BIOS( 3, "sgi_bios_46.bin", 0x000000, 0x80000, CRC(00592222) SHA1(29281d25aaf2051e0794dece8be146bb63d5c488) ) \
+ ROM_SYSTEM_BIOS( 4, "bios4", "SGI BIOS 31" ) \
+ ROM_LOAD_BIOS( 4, "sgi_bios_31.bin", 0x000000, 0x80000, CRC(00592222) SHA1(29281d25aaf2051e0794dece8be146bb63d5c488) ) \
+ ROM_SYSTEM_BIOS( 5, "bios5", "SGI BIOS 00" ) \
+ ROM_LOAD_BIOS( 5, "sgi_bios_00.bin", 0x000000, 0x80000, CRC(00592222) SHA1(29281d25aaf2051e0794dece8be146bb63d5c488) )
*/
ROM_START( odyssey )
-// ODYSSEY_BIOS
+// ODYSSEY_BIOS
ROM_REGION( 0x80000, "maincpu", 0 ) // main BIOS
ROM_LOAD( "sgi_bios_76.bin", 0x000000, 0x80000, CRC(00592222) SHA1(29281d25aaf2051e0794dece8be146bb63d5c488) )
diff --git a/src/mame/drivers/pacman.cpp b/src/mame/drivers/pacman.cpp
index f20b7967062..a3d6cde8fe9 100644
--- a/src/mame/drivers/pacman.cpp
+++ b/src/mame/drivers/pacman.cpp
@@ -612,9 +612,9 @@ READ8_MEMBER(pacman_state::maketrax_special_port2_r)
0x00, 0xc0, 0x00, 0x40, 0xc0, 0x40, 0x00, 0xc0, 0x00, 0x40, 0x00, 0xc0, 0x00, 0x40, 0xc0, 0x40,
0x00, 0xc0, 0x00, 0x40, 0x00, 0xc0, 0x00, 0x40, 0xc0, 0x40, 0x00, 0xc0, 0x00, 0x40
};
-
+
uint8_t data = ioport("DSW1")->read() & 0x3f;
-
+
if (m_maketrax_disable_protection == 0)
return protdata[m_maketrax_offset] | data;
@@ -640,7 +640,7 @@ READ8_MEMBER(pacman_state::maketrax_special_port3_r)
0x1f, 0x3f, 0x2f, 0x2f, 0x0f, 0x0f, 0x0f, 0x3f, 0x0f, 0x0f, 0x1c, 0x3c, 0x2c, 0x2c, 0x0c, 0x0c,
0x0c, 0x3c, 0x0c, 0x0c, 0x11, 0x31, 0x21, 0x21, 0x01, 0x01, 0x01, 0x31, 0x01, 0x01
};
-
+
if (m_maketrax_disable_protection == 0)
return protdata[m_maketrax_offset];
diff --git a/src/mame/drivers/pgm2.cpp b/src/mame/drivers/pgm2.cpp
index 2717831ec16..b54c55e0eec 100644
--- a/src/mame/drivers/pgm2.cpp
+++ b/src/mame/drivers/pgm2.cpp
@@ -48,8 +48,8 @@
properly implement RTC (integrated into the CPU)
Verify Sprite Zoom (check exactly which pixels are doubled / missed on hardware for flipped , non-flipped cases etc.)
Fix Save States (is this a driver problem or an ARM core problem, they don't work unless you get through the startup tests)
- Determine motherboard card reader MCU internal ROM size and add as NO_DUMP to the sets
- See if kov2nl needs another idle skip, after Game Over there is a period where the current one is ineffective
+ Determine motherboard card reader MCU internal ROM size and add as NO_DUMP to the sets
+ See if kov2nl needs another idle skip, after Game Over there is a period where the current one is ineffective
Debug features (require DIP SW1:8 On and SW1:1 Off):
- QC TEST mode: hold P1 A+B during boot
@@ -142,7 +142,7 @@ void pgm2_state::postload()
if (m_romboard_ram)
{
- decrypter.decrypter_rom((uint16_t*)memregion("user1")->base(), memregion("user1")->bytes(), 0x0200000);
+ decrypter.decrypter_rom((uint16_t*)memregion("user1")->base(), memregion("user1")->bytes(), 0x0200000);
}
else
{
diff --git a/src/mame/drivers/plygonet.cpp b/src/mame/drivers/plygonet.cpp
index f795b3380a7..9533eb18e58 100644
--- a/src/mame/drivers/plygonet.cpp
+++ b/src/mame/drivers/plygonet.cpp
@@ -585,7 +585,7 @@ MACHINE_CONFIG_START(polygonet_state::plygonet)
/* sound hardware */
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
-
+
MCFG_K054321_ADD("k054321", ":lspeaker", ":rspeaker")
MCFG_DEVICE_ADD("k054539", K054539, XTAL(18'432'000))
diff --git a/src/mame/drivers/r9751.cpp b/src/mame/drivers/r9751.cpp
index d365924a557..bf412d6c0b8 100644
--- a/src/mame/drivers/r9751.cpp
+++ b/src/mame/drivers/r9751.cpp
@@ -199,7 +199,7 @@ void r9751_state::UnifiedTrace(u32 address, u32 data, const char* operation, con
stacktrace[i] = 0;
for(int i=0; i<2; i++)
basepointer[i] = 0;
-
+
stacktrace[0] = m_maincpu->pc();
if(reg_a6 + 4 < 0xFFFFFF) stacktrace[1] = m_maincpu->space(AS_PROGRAM).read_dword(reg_a6 + 4);
if(reg_a6 < 0xFFFFFF && reg_a6 != 0) basepointer[0] = m_maincpu->space(AS_PROGRAM).read_dword(reg_a6);
diff --git a/src/mame/drivers/rad_eu3a05.cpp b/src/mame/drivers/rad_eu3a05.cpp
index 6c2f11ad3af..80dc2def568 100644
--- a/src/mame/drivers/rad_eu3a05.cpp
+++ b/src/mame/drivers/rad_eu3a05.cpp
@@ -2,152 +2,152 @@
// copyright-holders:David Haywood, R.Belmont
/*
- Radica Games 6502 based 'TV Game' hardware
+ Radica Games 6502 based 'TV Game' hardware
- These use a 6502 derived CPU under a glob
- The CPU die is marked 'ELAN EU3A05'
+ These use a 6502 derived CPU under a glob
+ The CPU die is marked 'ELAN EU3A05'
- There is a second glob surrounded by TSOP48 pads
- this contains the ROM
+ There is a second glob surrounded by TSOP48 pads
+ this contains the ROM
- Space Invaders uses a 3rd glob marked
- AMIC (C) (M) 1998-1 AM3122A
- this is presumably for the bitmap layer on Qix
+ Space Invaders uses a 3rd glob marked
+ AMIC (C) (M) 1998-1 AM3122A
+ this is presumably for the bitmap layer on Qix
- --
- Known games on this hardare
+ --
+ Known games on this hardare
- Tetris
- Space Invaders
+ Tetris
+ Space Invaders
- ---
- Other games that might be on this hardware
+ ---
+ Other games that might be on this hardware
- Skateboarding
- + some of the earlier PlayTV games (not Soccer, that's XaviX, see xavix.cpp)
+ Skateboarding
+ + some of the earlier PlayTV games (not Soccer, that's XaviX, see xavix.cpp)
- ---
- The XaviX ones seem to have a XaviX logo on the external packaging while the
- ones for this driver don't seem to have any specific marking.
+ ---
+ The XaviX ones seem to have a XaviX logo on the external packaging while the
+ ones for this driver don't seem to have any specific marking.
- Notes:
+ Notes:
- To access internal test on Tetris hold P1 Down + P1 Anticlockwise (Button 2) on boot
- There appears to be a similar mode for Invaders but I don't know if it's accessible
+ To access internal test on Tetris hold P1 Down + P1 Anticlockwise (Button 2) on boot
+ There appears to be a similar mode for Invaders but I don't know if it's accessible
- RAM 0xa0 and 0xa1 contain the ACD0 and AD1 values and player 2 controls if between
- certain values? probably read via serial??
+ RAM 0xa0 and 0xa1 contain the ACD0 and AD1 values and player 2 controls if between
+ certain values? probably read via serial??
- Custom Interrupt purposes
+ Custom Interrupt purposes
- TETRIS
+ TETRIS
- ffb0
- nothing of note?
+ ffb0
+ nothing of note?
- ffb4
- stuff with 500e, 500c and 500d
+ ffb4
+ stuff with 500e, 500c and 500d
- ffb8
- stuff with 50a4 / 50a5 / 50a6 and memory address e2
+ ffb8
+ stuff with 50a4 / 50a5 / 50a6 and memory address e2
- ffbc
- stuff with 50a4 / 50a5 / 50a6 and memory address e2 (similar to above, different bits)
+ ffbc
+ stuff with 50a4 / 50a5 / 50a6 and memory address e2 (similar to above, different bits)
- ffc0 - doesn't exist
- ffc4 - doesn't exist
- ffc8 - doesn't exist
- ffd0 - doesn't exist
+ ffc0 - doesn't exist
+ ffc4 - doesn't exist
+ ffc8 - doesn't exist
+ ffd0 - doesn't exist
- ffd4
- main irq?
+ ffd4
+ main irq?
- ffd8
- jumps straight to an rti
+ ffd8
+ jumps straight to an rti
- ffdc
- accesses 501d / 501b
+ ffdc
+ accesses 501d / 501b
- SPACE INVADERS
+ SPACE INVADERS
- ffb0
- rti
+ ffb0
+ rti
- ffb4
- rti
+ ffb4
+ rti
- ffb8
- rti
+ ffb8
+ rti
- ffbc
- decreases 301 bit 02
- stuff wit 50a5
+ ffbc
+ decreases 301 bit 02
+ stuff wit 50a5
- ffc0
- decreases 302
- stuff with 50a5 bit 04
+ ffc0
+ decreases 302
+ stuff with 50a5 bit 04
- ffc4
- decreases 303
- stuff with 50a5 bit 08
+ ffc4
+ decreases 303
+ stuff with 50a5 bit 08
- ffc8
- decreases 304
- stuff with 50a5 bit 10
+ ffc8
+ decreases 304
+ stuff with 50a5 bit 10
- ffcc
- uses 307
- stuff with 50a5 bit 20
+ ffcc
+ uses 307
+ stuff with 50a5 bit 20
- ffd0
- dead loop
+ ffd0
+ dead loop
- ffd4
- main interrupt
+ ffd4
+ main interrupt
- ffd8
- dead loop
+ ffd8
+ dead loop
- ffdc
- dead loop
+ ffdc
+ dead loop
- ffe0
- dead loop
+ ffe0
+ dead loop
- ffe4
- rti
+ ffe4
+ rti
- ffe8
- dead loop
+ ffe8
+ dead loop
- ffec
- dead loop
+ ffec
+ dead loop
- Flaws (NOT emulation bugs, happen on hardware):
- --
+ Flaws (NOT emulation bugs, happen on hardware):
+ --
- In QIX the sprites lag behind the line drawing, so you see the line infront of your player until you stop moving
-
- In Space Invaders the UFO can sometimes glitch for a frame when appearing, and wraps around at the edges
- (even if the hardware supports having higher priority tiles to prevent this, as used by Lunar Rescue, it isn't
- used here)
+ In QIX the sprites lag behind the line drawing, so you see the line infront of your player until you stop moving
- Colony 7 has a typo in the instructions
+ In Space Invaders the UFO can sometimes glitch for a frame when appearing, and wraps around at the edges
+ (even if the hardware supports having higher priority tiles to prevent this, as used by Lunar Rescue, it isn't
+ used here)
- The fake 'colour band' effect does not apply to the thruster (and several other elements) in Lunar Rescue
+ Colony 7 has a typo in the instructions
- Enemies in Phoenix are rendered above the score panel
+ The fake 'colour band' effect does not apply to the thruster (and several other elements) in Lunar Rescue
- The 200pt right facing bird on the Phoenix score table is corrupt
+ Enemies in Phoenix are rendered above the score panel
- Uncertain (to check)
+ The 200pt right facing bird on the Phoenix score table is corrupt
- Space Invaders seems to be using a darker than expected palette, there are lighter colours in the palette but
- they don't seem to be used. It's difficult to judge from hardware videos, although it definitely isn't as
- white as the menu, so this might also be a non-bug.
+ Uncertain (to check)
+
+ Space Invaders seems to be using a darker than expected palette, there are lighter colours in the palette but
+ they don't seem to be used. It's difficult to judge from hardware videos, although it definitely isn't as
+ white as the menu, so this might also be a non-bug.
*/
@@ -179,7 +179,7 @@ public:
// screen updates
uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
-
+
// system
DECLARE_READ8_MEMBER(radicasi_5003_r);
DECLARE_READ8_MEMBER(radicasi_pal_ntsc_r);
@@ -217,7 +217,7 @@ public:
DECLARE_WRITE8_MEMBER(radicasi_sprite_gfxbase_hi_w);
DECLARE_READ8_MEMBER(radicasi_sprite_gfxbase_lo_r);
DECLARE_READ8_MEMBER(radicasi_sprite_gfxbase_hi_r);
-
+
DECLARE_WRITE8_MEMBER(radicasi_vidctrl_w);
DECLARE_READ8_MEMBER(radicasi_sprite_bg_scroll_r);
@@ -301,24 +301,24 @@ void radica_eu3a05_state::draw_sprites(screen_device &screen, bitmap_ind16 &bitm
address_space& fullbankspace = m_bank->space(AS_PROGRAM);
/*
- Sprites
- AA yy xx cc XX YY aa bb
-
- yy = y position
- xx = x position
- XX = texture x start
- YY = texture y start
- aa = same as unk2 on tiles
- bb = sometimes set in invaders
- cc = same as attr on tiles (colour / priority?)
-
- AA = attributes
- e--- fFsS
- e = enable
- S = SizeX
- s = SizeY
- F = FlipX
- f = FlipY (assumed, not seen)
+ Sprites
+ AA yy xx cc XX YY aa bb
+
+ yy = y position
+ xx = x position
+ XX = texture x start
+ YY = texture y start
+ aa = same as unk2 on tiles
+ bb = sometimes set in invaders
+ cc = same as attr on tiles (colour / priority?)
+
+ AA = attributes
+ e--- fFsS
+ e = enable
+ S = SizeX
+ s = SizeY
+ F = FlipX
+ f = FlipY (assumed, not seen)
*/
@@ -437,7 +437,7 @@ double hue2rgb(double p, double q, double t)
bool radica_eu3a05_state::get_tile_data(int base, int drawpri, int& tile, int &attr, int &unk2)
{
tile = m_vram[base * 4] + (m_vram[(base * 4) + 1] << 8);
-
+
// these seem to be the basically the same as attr/unk2 in the sprites, which also make
// very little sense.
attr = m_vram[(base * 4) + 2];
@@ -481,14 +481,14 @@ void radica_eu3a05_state::draw_tilemaps(screen_device &screen, bitmap_ind16 &bit
realstartrow -= 28;
int base = (((realstartrow + y) & 0x1f) * 8) + x;
-
+
int tile,attr,unk2;
if (!get_tile_data(base, drawpri, tile,attr,unk2))
continue;
int colour = attr & 0xf0;
-
+
if (m_vidctrl & 0x20) // 4bpp mode
{
tile = (tile & 0xf) + ((tile & ~0xf) * 16);
@@ -552,7 +552,7 @@ void radica_eu3a05_state::draw_tilemaps(screen_device &screen, bitmap_ind16 &bit
realstartrow -= 56;
int base = (((realstartrow) & 0x3f) * 32) + x;
-
+
int tile,attr,unk2;
if (!get_tile_data(base, drawpri, tile,attr,unk2))
@@ -605,7 +605,7 @@ uint32_t radica_eu3a05_state::screen_update(screen_device &screen, bitmap_ind16
double s = (double)sl_raw / 7.0f;
double h = (double)h_raw / 24.0f;
- double r, g, b;
+ double r, g, b;
if (s == 0) {
r = g = b = l; // greyscale
@@ -622,7 +622,7 @@ uint32_t radica_eu3a05_state::screen_update(screen_device &screen, bitmap_ind16
int b_real = b * 255.0f;
m_palette->set_pen_color(index, r_real, g_real, b_real);
- }
+ }
draw_tilemaps(screen,bitmap,cliprect,0);
@@ -666,13 +666,13 @@ READ8_MEMBER(radica_eu3a05_state::radicasi_pal_ntsc_r)
READ8_MEMBER(radica_eu3a05_state::radicasi_5003_r)
{
/* masked with 0x0f, 0x01 or 0x03 depending on situation..
-
+
I think it might just be an RNG because if you return 0x00
your shots can never hit the stage 3 enemies in Phoenix and
if you return 0xff they always hit. On the real hardware it
seems to be random. Could also just be a crude frame counter
used for the same purpose.
-
+
*/
logerror("%s: radicasi_5003_r (RNG?)\n", machine().describe_context());
@@ -751,10 +751,10 @@ WRITE8_MEMBER(radica_eu3a05_state::radicasi_vidctrl_w)
{
logerror("%s: radicasi_vidctrl_w %02x (video control?)\n", machine().describe_context(), data);
/*
- c3 8bpp 16x16 1100 0011
- e3 4bpp 16x16 1110 0011
- 83 8bpp 8x8 1000 0011
- 02 8bpp 8x8 (phoenix) 0000 0010
+ c3 8bpp 16x16 1100 0011
+ e3 4bpp 16x16 1110 0011
+ 83 8bpp 8x8 1000 0011
+ 02 8bpp 8x8 (phoenix) 0000 0010
*/
m_vidctrl = data;
}
@@ -910,7 +910,7 @@ static ADDRESS_MAP_START( radicasi_map, AS_PROGRAM, 8, radica_eu3a05_state )
AM_RANGE(0x4800, 0x49ff) AM_RAM AM_SHARE("palram")
// 500x system regs?
- AM_RANGE(0x5003, 0x5003) AM_READ(radicasi_5003_r)
+ AM_RANGE(0x5003, 0x5003) AM_READ(radicasi_5003_r)
AM_RANGE(0x500b, 0x500b) AM_READ(radicasi_pal_ntsc_r) // PAL / NTSC flag at least
AM_RANGE(0x500c, 0x500c) AM_WRITE(radicasi_rombank_hi_w)
AM_RANGE(0x500d, 0x500d) AM_READWRITE(radicasi_rombank_lo_r, radicasi_rombank_lo_w)
@@ -970,7 +970,7 @@ static ADDRESS_MAP_START( radicasi_map, AS_PROGRAM, 8, radica_eu3a05_state )
ADDRESS_MAP_END
-static ADDRESS_MAP_START( radicasi_bank_map, AS_PROGRAM, 8, radica_eu3a05_state )
+static ADDRESS_MAP_START( radicasi_bank_map, AS_PROGRAM, 8, radica_eu3a05_state )
AM_RANGE(0x000000, 0x3fffff) AM_ROM AM_REGION("maincpu", 0)
AM_RANGE(0x400000, 0x40ffff) AM_RAM // ?? only ever cleared maybe a mirror of below?
AM_RANGE(0x800000, 0x80ffff) AM_RAM AM_SHARE("pixram") // Qix writes here and sets the tile base here instead of ROM so it can have a pixel layer
@@ -1008,10 +1008,10 @@ static INPUT_PORTS_START( rad_tetr )
INPUT_PORTS_END
/* both NMI and IRQ vectors just point to RTI
- there is a table of jumps just before that, those appear to be the real interrupt functions?
+ there is a table of jumps just before that, those appear to be the real interrupt functions?
- patch the main IRQ to be the one that decreases an address the code is waiting for
- the others look like they might be timer service routines
+ patch the main IRQ to be the one that decreases an address the code is waiting for
+ the others look like they might be timer service routines
*/
READ8_MEMBER(radica_eu3a05_state::radicasi_nmi_vector_r)
@@ -1147,7 +1147,7 @@ INTERRUPT_GEN_MEMBER(radica_eu3a05_state::interrupt)
MACHINE_CONFIG_START(radica_eu3a05_state::radicasi)
- /* basic machine hardware */
+ /* basic machine hardware */
MCFG_CPU_ADD("maincpu",M6502,XTAL(21'281'370)/2) // Tetris has a XTAL(21'281'370), not confirmed on Space Invaders, actual CPU clock unknown.
MCFG_CPU_PROGRAM_MAP(radicasi_map)
MCFG_CPU_VBLANK_INT_DRIVER("screen", radica_eu3a05_state, interrupt)
diff --git a/src/mame/drivers/rad_eu3a14.cpp b/src/mame/drivers/rad_eu3a14.cpp
index 74b2e48a6e3..e24049b3a09 100644
--- a/src/mame/drivers/rad_eu3a14.cpp
+++ b/src/mame/drivers/rad_eu3a14.cpp
@@ -2,24 +2,24 @@
// copyright-holders:David Haywood, R.Belmont
/*
- These use a 6502 derived CPU under a glob
- The CPU die is marked 'ELAN EU3A14'
+ These use a 6502 derived CPU under a glob
+ The CPU die is marked 'ELAN EU3A14'
- There is a second glob surrounded by TSOP48 pads
- this contains the ROM
+ There is a second glob surrounded by TSOP48 pads
+ this contains the ROM
- Known to be on this hardware
+ Known to be on this hardware
- Golden Tee Golf Home Edition (developed by FarSight Studios)
+ Golden Tee Golf Home Edition (developed by FarSight Studios)
- Maybe on this hardware
+ Maybe on this hardware
- PlayTV Real Swing Golf (also developed by FarSight, looks similar but with different controls)
+ PlayTV Real Swing Golf (also developed by FarSight, looks similar but with different controls)
- 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
- than coming from 'pages'
+ 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
+ than coming from 'pages'
*/
@@ -80,7 +80,7 @@ public:
// screen updates
uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
-
+
void radica_eu3a14(machine_config &config);
int m_custom_irq;
@@ -227,12 +227,12 @@ void radica_eu3a14_state::draw_background(screen_device &screen, bitmap_ind16 &b
draw_page(screen,bitmap,cliprect,1, 512+256-xscroll, 0-yscroll);
draw_page(screen,bitmap,cliprect,2, 512+0-xscroll, 224-yscroll);
draw_page(screen,bitmap,cliprect,3, 512+256-xscroll, 224-yscroll);
-
+
draw_page(screen,bitmap,cliprect,0, 0-xscroll, 448+0-yscroll);
draw_page(screen,bitmap,cliprect,1, 256-xscroll, 448+0-yscroll);
draw_page(screen,bitmap,cliprect,2, 0-xscroll, 448+224-yscroll);
draw_page(screen,bitmap,cliprect,3, 256-xscroll, 448+224-yscroll);
-
+
draw_page(screen,bitmap,cliprect,0, 512+0-xscroll, 448+0-yscroll);
draw_page(screen,bitmap,cliprect,1, 512+256-xscroll, 448+0-yscroll);
draw_page(screen,bitmap,cliprect,2, 512+0-xscroll, 448+224-yscroll);
@@ -299,13 +299,13 @@ void radica_eu3a14_state::draw_sprites(screen_device &screen, bitmap_ind16 &bitm
x -= 8;
y -= 4;
- // int base = 0x18000;
+ // int base = 0x18000;
int offset = ((m_mainram[i + 5] << 8) + (m_mainram[i + 4] << 0));
int extra = m_mainram[i + 6];
gfx_element *gfx;
gfx = m_gfxdecode->gfx(1);
-#if 0
+#if 0
static int test = 0x0000;
if (machine().input().code_pressed_once(KEYCODE_W))
{
@@ -317,7 +317,7 @@ void radica_eu3a14_state::draw_sprites(screen_device &screen, bitmap_ind16 &bitm
test -= 0x2000;
popmessage("%02x", test);
}
-#endif
+#endif
// this probably comes from somewhere else, base register
offset += 0x8000;
@@ -406,7 +406,7 @@ READ8_MEMBER(radica_eu3a14_state::irq_vector_r)
}
}
-/*
+/*
code at 0000 maps to e000
code at 1000 maps to f000
@@ -455,7 +455,7 @@ READ8_MEMBER(radica_eu3a14_state::radicasi_pal_ntsc_r)
//return 0x00; // PAL
}
-static ADDRESS_MAP_START( bank_map, AS_PROGRAM, 8, radica_eu3a14_state )
+static ADDRESS_MAP_START( bank_map, AS_PROGRAM, 8, radica_eu3a14_state )
AM_RANGE(0x000000, 0x3fffff) AM_ROM AM_REGION("maincpu", 0)
ADDRESS_MAP_END
@@ -477,7 +477,7 @@ static ADDRESS_MAP_START( radica_eu3a14_map, AS_PROGRAM, 8, radica_eu3a14_state
AM_RANGE(0x500d, 0x500d) AM_READWRITE(radicasi_rombank_lo_r, radicasi_rombank_lo_w)
// DMA is similar to, but not the same as eu3a05
- AM_RANGE(0x500f, 0x5017) AM_RAM AM_SHARE("dmaparams")
+ AM_RANGE(0x500f, 0x5017) AM_RAM AM_SHARE("dmaparams")
AM_RANGE(0x5018, 0x5018) AM_READWRITE(dma_trigger_r, dma_trigger_w)
// probably GPIO like eu3a05, although it access 47/48 as unknown instead of 48/49/4a
@@ -537,7 +537,7 @@ WRITE8_MEMBER(radica_eu3a14_state::dma_trigger_w)
address_space& fullbankspace = m_bank->space(AS_PROGRAM);
address_space& destspace = m_maincpu->space(AS_PROGRAM);
-
+
if (data == 0x08)
{
for (int i = 0; i < dmalen; i++)
@@ -679,7 +679,7 @@ GFXDECODE_END
MACHINE_CONFIG_START(radica_eu3a14_state::radica_eu3a14)
- /* basic machine hardware */
+ /* basic machine hardware */
MCFG_CPU_ADD("maincpu",M6502,XTAL(21'477'272)/2) // marked as 21'477'270
MCFG_CPU_PROGRAM_MAP(radica_eu3a14_map)
MCFG_CPU_VBLANK_INT_DRIVER("screen", radica_eu3a14_state, interrupt)
diff --git a/src/mame/drivers/rohga.cpp b/src/mame/drivers/rohga.cpp
index 614c9b60eb2..2300c484b87 100644
--- a/src/mame/drivers/rohga.cpp
+++ b/src/mame/drivers/rohga.cpp
@@ -105,8 +105,8 @@
JN-00 : Fujitsu MB7116 PROM
VSync : 58kHz
- TODO:
- nitrobal : blending, priority function wrong
+ TODO:
+ nitrobal : blending, priority function wrong
***************************************************************************/
diff --git a/src/mame/drivers/scopus.cpp b/src/mame/drivers/scopus.cpp
index 07b1570c3e0..e02dae15407 100644
--- a/src/mame/drivers/scopus.cpp
+++ b/src/mame/drivers/scopus.cpp
@@ -86,13 +86,13 @@ static GFXDECODE_START( sagitta180 )
GFXDECODE_ENTRY( "chargen", 0x0000, sagitta180_charlayout, 0, 1 )
GFXDECODE_END
-I8275_DRAW_CHARACTER_MEMBER(sagitta180_state::crtc_display_pixels)
-{
+I8275_DRAW_CHARACTER_MEMBER(sagitta180_state::crtc_display_pixels)
+{
unsigned i;
const rgb_t *palette = m_palette->palette()->entry_list_raw();
uint8_t chargen_byte = m_chargen[ (linecount & 7) | ((unsigned)charcode << 3) ];
uint8_t pixels;
-
+
if (lten) {
pixels = ~0;
} else if (vsp != 0 || (linecount & 8) != 0) {
@@ -118,7 +118,7 @@ void sagitta180_state::machine_reset()
static ADDRESS_MAP_START( maincpu_map, AS_PROGRAM, 8, sagitta180_state )
ADDRESS_MAP_GLOBAL_MASK(0xffff)
AM_RANGE(0x0000, 0x07ff) AM_ROM
-// AM_RANGE(0x0800, 0x17ff) AM_ROM
+// AM_RANGE(0x0800, 0x17ff) AM_ROM
AM_RANGE(0x1800, 0xffff) AM_RAM
ADDRESS_MAP_END
@@ -193,10 +193,10 @@ MACHINE_CONFIG_START(sagitta180_state::sagitta180)
MCFG_CLOCK_SIGNAL_HANDLER(DEVWRITELINE("uart", i8251_device, write_txc))
MCFG_DEVCB_CHAIN_OUTPUT(DEVWRITELINE("uart", i8251_device, write_rxc))
-// MCFG_DEVICE_ADD("intlatch", I8212, 0)
-// MCFG_I8212_MD_CALLBACK(GND) // guessed !
-// MCFG_I8212_DI_CALLBACK(DEVREAD8("picu", i8214_device, vector_r))
-// MCFG_I8212_INT_CALLBACK(INPUTLINE("maincpu", I8085_INTR_LINE)) // guessed !
+// MCFG_DEVICE_ADD("intlatch", I8212, 0)
+// MCFG_I8212_MD_CALLBACK(GND) // guessed !
+// MCFG_I8212_DI_CALLBACK(DEVREAD8("picu", i8214_device, vector_r))
+// MCFG_I8212_INT_CALLBACK(INPUTLINE("maincpu", I8085_INTR_LINE)) // guessed !
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
diff --git a/src/mame/drivers/segas16a.cpp b/src/mame/drivers/segas16a.cpp
index 1b9351fd25d..76191fea83c 100644
--- a/src/mame/drivers/segas16a.cpp
+++ b/src/mame/drivers/segas16a.cpp
@@ -2083,7 +2083,7 @@ MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( system16a_i8751_no7751, system16a_i8751 )
MCFG_DEVICE_REMOVE("n7751")
MCFG_DEVICE_REMOVE("dac")
- MCFG_DEVICE_REMOVE("vref")
+ MCFG_DEVICE_REMOVE("vref")
MCFG_SOUND_REPLACE("ymsnd", YM2151, 4000000)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 1.0)
diff --git a/src/mame/drivers/segas32.cpp b/src/mame/drivers/segas32.cpp
index 3a25c065fe2..ed7f81fc84a 100644
--- a/src/mame/drivers/segas32.cpp
+++ b/src/mame/drivers/segas32.cpp
@@ -5174,7 +5174,7 @@ ROM_END
* Common driver inits
*
*************************************/
-
+
void segas32_state::segas32_common_init()
{
uint8_t *Z80 = memregion("soundcpu")->base();
diff --git a/src/mame/drivers/sigmab98.cpp b/src/mame/drivers/sigmab98.cpp
index 65c9ce8cc38..1572df542a5 100644
--- a/src/mame/drivers/sigmab98.cpp
+++ b/src/mame/drivers/sigmab98.cpp
@@ -666,7 +666,7 @@ READ8_MEMBER(sigmab98_state::d013_r)
{
// bit 5 must go 0->1 (vblank?)
// bit 2 must be set (sprite buffered? triggered by pulsing bit 3 of port C6?)
-// return (m_screen->vblank() ? 0x20 : 0x00) | 0x04;
+// return (m_screen->vblank() ? 0x20 : 0x00) | 0x04;
return (m_screen->vblank() ? 0x20 : 0x01) | 0x04;
// return machine().rand();
}
@@ -1164,7 +1164,7 @@ WRITE8_MEMBER(lufykzku_state::lufykzku_watchdog_w)
WRITE8_MEMBER(lufykzku_state::lufykzku_c4_w)
{
machine().bookkeeping().coin_lockout_w(1, (~data) & 0x20); // 100 yen lockout
-// machine().bookkeeping().coin_lockout_w(2, (~data) & 0x40); // (unused coin lockout)
+// machine().bookkeeping().coin_lockout_w(2, (~data) & 0x40); // (unused coin lockout)
machine().bookkeeping().coin_lockout_w(0, (~data) & 0x80); // medal lockout
m_c4 = data;
@@ -1175,13 +1175,13 @@ WRITE8_MEMBER(lufykzku_state::lufykzku_c4_w)
WRITE8_MEMBER(lufykzku_state::lufykzku_c6_w)
{
machine().bookkeeping().coin_counter_w(1, data & 0x01); // 100 yen in
-// machine().bookkeeping().coin_counter_w(2, data & 0x02); // (unused coin in)
+// machine().bookkeeping().coin_counter_w(2, data & 0x02); // (unused coin in)
machine().bookkeeping().coin_counter_w(0, data & 0x04); // medal in
machine().bookkeeping().coin_counter_w(3, data & 0x08); // medal out
output().set_led_value(0, data & 0x10); // button led
-// output().set_led_value(1, data & 0x20); // (unused button led)
-// output().set_led_value(2, data & 0x40); // (unused button led)
-// output().set_led_value(3, data & 0x80); // (unused button led)
+// output().set_led_value(1, data & 0x20); // (unused button led)
+// output().set_led_value(2, data & 0x40); // (unused button led)
+// output().set_led_value(3, data & 0x80); // (unused button led)
m_c6 = data;
show_outputs();
@@ -2913,7 +2913,7 @@ MACHINE_CONFIG_START(lufykzku_state::lufykzku)
MCFG_PALETTE_FORMAT(xRRRRRGGGGGBBBBB)
MCFG_PALETTE_ENDIANNESS(ENDIANNESS_BIG)
-// MCFG_BUFFERED_SPRITERAM8_ADD("spriteram") // same as sammymdl?
+// MCFG_BUFFERED_SPRITERAM8_ADD("spriteram") // same as sammymdl?
// sound hardware
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
@@ -3476,7 +3476,7 @@ DRIVER_INIT_MEMBER(lufykzku_state,lufykzku)
Xilinx XC9536 VM1212F01 (@U5) - In-System Programmable CPLD
MX29F0??C (@U3) - Empty 32 Pin ROM Socket
- M5295A (@U8) - Watchdog Timer (Near CUT-DEBUG MODE Jumper)
+ M5295A (@U8) - Watchdog Timer (Near CUT-DEBUG MODE Jumper)
M93C46MN6T (@U11?) - Serial EEPROM
Cell Battery (@BAT)
25 Pin Edge Connector
diff --git a/src/mame/drivers/snowbros.cpp b/src/mame/drivers/snowbros.cpp
index 74542a02420..6d89c5ff4fc 100644
--- a/src/mame/drivers/snowbros.cpp
+++ b/src/mame/drivers/snowbros.cpp
@@ -2601,7 +2601,7 @@ ROM_START( cookbib2a )
ROM_REGION( 0x200, "user1", 0 ) /* Data from Shared RAM */
/* this is not a real rom but instead the data extracted from
shared ram, the MCU puts it there
-
+
this one is hacked from the cookbib2 one, absolute code jump needed to be changed at least */
ROM_LOAD16_WORD_SWAP( "protdata_alt.bin", 0x00000, 0x200, BAD_DUMP CRC(bc136ead) SHA1(96459c2ccf7f95880421ba082c2414fa1040f3ed) )
diff --git a/src/mame/drivers/tasman.cpp b/src/mame/drivers/tasman.cpp
index e3e1dbbc446..acad47da8be 100644
--- a/src/mame/drivers/tasman.cpp
+++ b/src/mame/drivers/tasman.cpp
@@ -221,8 +221,8 @@ static ADDRESS_MAP_START( kongambl_map, AS_PROGRAM, 32, kongambl_state )
//0x400000 0x400001 "13M" even addresses
//0x400002,0x400003 "13J" odd addresses
-// AM_RANGE(0x400000, 0x401fff) AM_DEVREAD("k056832", k056832_device, rom_long_r)
-// AM_RANGE(0x420000, 0x43ffff) AM_DEVREADWRITE("k056832", k056832_device, unpaged_ram_long_r, unpaged_ram_long_w)
+// AM_RANGE(0x400000, 0x401fff) AM_DEVREAD("k056832", k056832_device, rom_long_r)
+// AM_RANGE(0x420000, 0x43ffff) AM_DEVREADWRITE("k056832", k056832_device, unpaged_ram_long_r, unpaged_ram_long_w)
AM_RANGE(0x480000, 0x48003f) AM_DEVWRITE("k056832", k056832_device, long_w)
diff --git a/src/mame/drivers/trackfld.cpp b/src/mame/drivers/trackfld.cpp
index 042dc803cf8..abd624ed3b3 100644
--- a/src/mame/drivers/trackfld.cpp
+++ b/src/mame/drivers/trackfld.cpp
@@ -957,7 +957,7 @@ MACHINE_CONFIG_DERIVED(trackfld_state::trackfldu, trackfld)
MCFG_CPU_REPLACE("maincpu", MC6809E, MASTER_CLOCK/6/2) /* exact M6809 model unknown */
MCFG_CPU_PROGRAM_MAP(main_map)
MCFG_CPU_VBLANK_INT_DRIVER("screen", trackfld_state, vblank_irq)
-
+
MACHINE_CONFIG_END
INTERRUPT_GEN_MEMBER(trackfld_state::yieartf_timer_irq)
diff --git a/src/mame/drivers/tvboy.cpp b/src/mame/drivers/tvboy.cpp
index c68f7c568a3..1c9dead4253 100644
--- a/src/mame/drivers/tvboy.cpp
+++ b/src/mame/drivers/tvboy.cpp
@@ -79,7 +79,7 @@ MACHINE_CONFIG_START(tvboy_state::tvboyii)
MCFG_ADDRESS_MAP_BANK_DATA_WIDTH(8)
MCFG_ADDRESS_MAP_BANK_ADDR_WIDTH(19)
MCFG_ADDRESS_MAP_BANK_STRIDE(0x1000)
-
+
/* video hardware */
MCFG_DEVICE_ADD("tia_video", TIA_PAL_VIDEO, 0)
MCFG_TIA_READ_INPUT_PORT_CB(READ16(tvboy_state, a2600_read_input_port))
diff --git a/src/mame/drivers/vgmplay.cpp b/src/mame/drivers/vgmplay.cpp
index c3af32f4828..b99a06f8e7b 100644
--- a/src/mame/drivers/vgmplay.cpp
+++ b/src/mame/drivers/vgmplay.cpp
@@ -109,7 +109,7 @@ public:
virtual void state_string_export(const device_state_entry &entry, std::string &str) const override;
virtual util::disasm_interface *create_disassembler() override;
-
+
DECLARE_READ8_MEMBER(segapcm_rom_r);
DECLARE_READ8_MEMBER(ymf271_rom_r);
DECLARE_READ8_MEMBER(ymz280b_rom_r);
@@ -479,7 +479,7 @@ void vgmplay_device::execute_run()
m_io->write_byte(A_GAMEBOY + m_file->read_byte(m_pc+1), m_file->read_byte(m_pc+2));
m_pc += 3;
break;
-
+
case 0xb4:
m_io->write_byte(A_NESAPU + m_file->read_byte(m_pc+1), m_file->read_byte(m_pc+2));
m_pc += 3;
@@ -527,7 +527,7 @@ void vgmplay_device::execute_run()
m_pc += 3;
break;
}
-
+
case 0xc0:
m_io->write_byte(A_SEGAPCM + (m_file->read_word(m_pc+1) & 0x7ff), m_file->read_byte(m_pc+3));
m_pc += 4;
@@ -549,7 +549,7 @@ void vgmplay_device::execute_run()
m_pc += 4;
break;
}
-
+
case 0xc4:
m_io->write_byte(A_QSOUND + 0, m_file->read_byte(m_pc+1));
m_io->write_byte(A_QSOUND + 1, m_file->read_byte(m_pc+2));
@@ -565,7 +565,7 @@ void vgmplay_device::execute_run()
m_pc += 4;
break;
}
-
+
case 0xd3:
{
uint16_t offset = m_file->read_byte(m_pc+1) << 16 | m_file->read_byte(m_pc+2);
@@ -1620,7 +1620,7 @@ MACHINE_CONFIG_START(vgmplay_state::vgmplay)
MCFG_DEVICE_ADDRESS_MAP(0, c352_map)
MCFG_SOUND_ROUTE(0, "lspeaker", 1)
MCFG_SOUND_ROUTE(1, "rspeaker", 1)
-
+
MCFG_OKIM6295_ADD("okim6295a", 1000000, PIN7_HIGH)
MCFG_DEVICE_ADDRESS_MAP(0, okim6295a_map)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.25)
@@ -1646,12 +1646,12 @@ MACHINE_CONFIG_START(vgmplay_state::vgmplay)
MCFG_SOUND_ROUTE(0, "rspeaker", 0.25)
MCFG_SOUND_ROUTE(1, "lspeaker", 0.50)
MCFG_SOUND_ROUTE(2, "rspeaker", 0.50)
-
+
MCFG_DEVICE_ADD("k054539a", K054539, XTAL(18'432'000))
MCFG_DEVICE_ADDRESS_MAP(0, k054539a_map)
MCFG_SOUND_ROUTE(0, "lspeaker", 1)
MCFG_SOUND_ROUTE(1, "rspeaker", 1)
-
+
MCFG_DEVICE_ADD("k054539b", K054539, XTAL(18'432'000))
MCFG_DEVICE_ADDRESS_MAP(0, k054539b_map)
MCFG_SOUND_ROUTE(0, "lspeaker", 1)
diff --git a/src/mame/drivers/voyager.cpp b/src/mame/drivers/voyager.cpp
index 9f389a1106c..d2f7a6a63b2 100644
--- a/src/mame/drivers/voyager.cpp
+++ b/src/mame/drivers/voyager.cpp
@@ -241,7 +241,7 @@ static ADDRESS_MAP_START( voyager_map, AS_PROGRAM, 32, voyager_state )
//AM_RANGE(0x000d0000, 0x000d0003) AM_RAM // XYLINX - Sincronus serial communication
AM_RANGE(0x000d0008, 0x000d000b) AM_WRITENOP // ???
AM_RANGE(0x000d0800, 0x000d0fff) AM_ROM AM_REGION("nvram",0) //
-// AM_RANGE(0x000d0800, 0x000d0fff) AM_RAM // GAME_CMOS
+// AM_RANGE(0x000d0800, 0x000d0fff) AM_RAM // GAME_CMOS
//GRULL AM_RANGE(0x000e0000, 0x000effff) AM_RAM
//GRULL-AM_RANGE(0x000f0000, 0x000fffff) AM_ROMBANK("bank1")
diff --git a/src/mame/drivers/vt220.cpp b/src/mame/drivers/vt220.cpp
index 46ad9fbb016..c89589012a9 100644
--- a/src/mame/drivers/vt220.cpp
+++ b/src/mame/drivers/vt220.cpp
@@ -98,7 +98,7 @@ uint32_t vt220_state::screen_update_vt220(screen_device &screen, bitmap_ind16 &b
MACHINE_CONFIG_START(vt220_state::vt220)
/* basic machine hardware */
- MCFG_CPU_ADD("maincpu", I8051, XTAL(11'059'200)) // from schematic for earlier version
+ MCFG_CPU_ADD("maincpu", I8051, XTAL(11'059'200)) // from schematic for earlier version
MCFG_CPU_PROGRAM_MAP(vt220_mem)
MCFG_CPU_IO_MAP(vt220_io)
diff --git a/src/mame/drivers/vtech_eu3a12.cpp b/src/mame/drivers/vtech_eu3a12.cpp
index 9ad004d69a0..a03bfb5fa7b 100644
--- a/src/mame/drivers/vtech_eu3a12.cpp
+++ b/src/mame/drivers/vtech_eu3a12.cpp
@@ -43,4 +43,4 @@ ROM_START( vreadere )
ROM_LOAD( "27-08291.U2", 0x000000, 0x400000, CRC(f2eb801f) SHA1(33e2d28ab2f04b17f66880898832265d50de54d4) )
ROM_END
-COMP( 2004, vreadere, 0, 0, vreadere, vreadere, vreadere_state, 0, "Video Technology", "Reader Laptop E (Germany)", MACHINE_IS_SKELETON ) \ No newline at end of file
+COMP( 2004, vreadere, 0, 0, vreadere, vreadere, vreadere_state, 0, "Video Technology", "Reader Laptop E (Germany)", MACHINE_IS_SKELETON )
diff --git a/src/mame/includes/a2600.h b/src/mame/includes/a2600.h
index 55a39069d45..1a18177d2d5 100644
--- a/src/mame/includes/a2600.h
+++ b/src/mame/includes/a2600.h
@@ -94,4 +94,4 @@ protected:
#endif /* MAME_INCLUDES_A2600H */
-
+
diff --git a/src/mame/includes/boogwing.h b/src/mame/includes/boogwing.h
index 2b84d5e146b..1277d21ce30 100644
--- a/src/mame/includes/boogwing.h
+++ b/src/mame/includes/boogwing.h
@@ -60,7 +60,7 @@ public:
required_shared_ptr<uint16_t> m_decrypted_opcodes;
uint16_t m_priority;
-
+
DECLARE_WRITE8_MEMBER(sound_bankswitch_w);
DECLARE_WRITE16_MEMBER(priority_w);
DECLARE_DRIVER_INIT(boogwing);
diff --git a/src/mame/includes/cninja.h b/src/mame/includes/cninja.h
index 690acfdf2d9..fa3e4791515 100644
--- a/src/mame/includes/cninja.h
+++ b/src/mame/includes/cninja.h
@@ -107,7 +107,7 @@ public:
DECLARE_WRITE16_MEMBER( mutantf_protection_region_0_146_w );
DECLARE_READ16_MEMBER( cninja_protection_region_0_104_r );
DECLARE_WRITE16_MEMBER( cninja_protection_region_0_104_w );
-
+
DECLARE_READ16_MEMBER(cninjabl2_sprite_dma_r);
DECLARE_WRITE16_MEMBER(robocop2_priority_w);
DECLARE_READ16_MEMBER(mutantf_71_r);
diff --git a/src/mame/includes/cybstorm.h b/src/mame/includes/cybstorm.h
index e9be1394e00..2b3898005cf 100755..100644
--- a/src/mame/includes/cybstorm.h
+++ b/src/mame/includes/cybstorm.h
@@ -2,7 +2,7 @@
// copyright-holders:Aaron Giles, Phil Bennett
/*************************************************************************
- Atari Cyberstorm hardware
+ Atari Cyberstorm hardware
*************************************************************************/
@@ -39,7 +39,7 @@ public:
TILE_GET_INFO_MEMBER(get_playfield_tile_info);
TILE_GET_INFO_MEMBER(get_playfield2_tile_info);
TILEMAP_MAPPER_MEMBER(playfield_scan);
-
+
DECLARE_DRIVER_INIT(cybstorm);
DECLARE_MACHINE_START(cybstorm);
DECLARE_MACHINE_RESET(cybstorm);
diff --git a/src/mame/includes/djmain.h b/src/mame/includes/djmain.h
index 3ba3f9270d4..15361bbfd22 100644
--- a/src/mame/includes/djmain.h
+++ b/src/mame/includes/djmain.h
@@ -21,7 +21,7 @@ public:
m_sndram(*this, "sndram")
{
}
-
+
required_shared_ptr<uint32_t> m_obj_ram;
required_device<cpu_device> m_maincpu;
required_device<k056832_device> m_k056832;
diff --git a/src/mame/includes/kickgoal.h b/src/mame/includes/kickgoal.h
index 48b0568f29c..f79d616cfd3 100644
--- a/src/mame/includes/kickgoal.h
+++ b/src/mame/includes/kickgoal.h
@@ -43,9 +43,9 @@ public:
TILEMAP_MAPPER_MEMBER(tilemap_scan_actionhwbg2);
DECLARE_VIDEO_START(kickgoal);
DECLARE_VIDEO_START(actionhw);
-
+
INTERRUPT_GEN_MEMBER(kickgoal_interrupt);
-
+
uint32_t screen_update_kickgoal(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
void kickgoal(machine_config &config);
@@ -78,7 +78,7 @@ private:
int m_bg2_region;
int m_sprbase;
-
+
void kickgoal_draw_sprites(bitmap_ind16 &bitmap,const rectangle &cliprect);
/* memory pointers */
diff --git a/src/mame/includes/naomi.h b/src/mame/includes/naomi.h
index 736f6ae088b..984a3bbc71e 100644
--- a/src/mame/includes/naomi.h
+++ b/src/mame/includes/naomi.h
@@ -131,7 +131,7 @@ public:
DECLARE_DRIVER_INIT(xtrmhnt2);
DECLARE_READ64_MEMBER( xtrmhnt2_hack_r );
-
+
void aw_base(machine_config &config);
void aw1c(machine_config &config);
void aw2c(machine_config &config);
diff --git a/src/mame/includes/x1.h b/src/mame/includes/x1.h
index 9b7a79d9cb9..4a292ea7b9d 100644
--- a/src/mame/includes/x1.h
+++ b/src/mame/includes/x1.h
@@ -155,7 +155,7 @@ public:
optional_device<z80dma_device> m_dma;
void x1turbo(machine_config &config);
void x1(machine_config &config);
-
+
uint8_t m_key_irq_flag; /**< Keyboard IRQ pending. */
uint8_t m_key_irq_vector; /**< Keyboard IRQ vector. */
@@ -184,7 +184,7 @@ protected:
{
uint8_t sec, min, hour, day, wday, month, year;
};
-
+
void x1_draw_pixel(bitmap_rgb32 &bitmap,int y,int x,uint16_t pen,uint8_t width,uint8_t height);
void draw_fgtilemap(bitmap_rgb32 &bitmap,const rectangle &cliprect);
void draw_gfxbitmap(bitmap_rgb32 &bitmap,const rectangle &cliprect, int plane,int pri);
diff --git a/src/mame/machine/atarifdc.cpp b/src/mame/machine/atarifdc.cpp
index 7262575fea0..357cdb906af 100644
--- a/src/mame/machine/atarifdc.cpp
+++ b/src/mame/machine/atarifdc.cpp
@@ -123,7 +123,7 @@ void atari_fdc_device::atari_load_proc(device_image_interface &image, bool is_cr
{
int id = atari_fdc_get_drive(&image.device());
int size, i;
-
+
if (id == -1)
return;
diff --git a/src/mame/machine/tosh1000_bram.cpp b/src/mame/machine/tosh1000_bram.cpp
index 928dd969897..17ba88312b1 100644
--- a/src/mame/machine/tosh1000_bram.cpp
+++ b/src/mame/machine/tosh1000_bram.cpp
@@ -2,9 +2,9 @@
// copyright-holders:Sergey Svishchev
/***************************************************************************
- Toshiba 1000 Backup RAM
+ Toshiba 1000 Backup RAM
- Simulation of interface provided by 80C50 keyboard controller.
+ Simulation of interface provided by 80C50 keyboard controller.
***************************************************************************/
diff --git a/src/mame/machine/tosh1000_bram.h b/src/mame/machine/tosh1000_bram.h
index 81b1f149a54..9387b3e65c8 100644
--- a/src/mame/machine/tosh1000_bram.h
+++ b/src/mame/machine/tosh1000_bram.h
@@ -2,9 +2,9 @@
// copyright-holders:Sergey Svishchev
/***************************************************************************
- Toshiba 1000 Backup RAM
+ Toshiba 1000 Backup RAM
- Simulation of interface provided by 80C50 keyboard controller.
+ Simulation of interface provided by 80C50 keyboard controller.
***************************************************************************/
diff --git a/src/mame/mame.lst b/src/mame/mame.lst
index 0945074ff1a..98c098f9217 100644
--- a/src/mame/mame.lst
+++ b/src/mame/mame.lst
@@ -927,7 +927,7 @@ spinlbrkj // (c) 1990 V-System Co. (Japan)
spinlbrku // (c) 1990 V-System Co. (US)
svolly91 // (c) 1991 Video System Co. (Japan)
turbofrc // (c) 1991 Video System Co.
-turbofrco // (c) 1991 Video System Co.
+turbofrco // (c) 1991 Video System Co.
turbofrcu // (c) 1991 Video System Co. (US)
wbbc97 // (c) 1997 Comad
kickball // (c) 1998 Seoung Youn
@@ -20509,9 +20509,9 @@ ssf2mdb // MegaDrive-based hack
topshoot // (c) 1995 Sun Mixing
@source:megadriv_rad.cpp
-rad_sf // (c)2004 Radica
-rad_gen1 // (c)2004 Radica
-rad_ssoc // (c)2004 Radica
+rad_sf // (c)2004 Radica
+rad_gen1 // (c)2004 Radica
+rad_ssoc // (c)2004 Radica
@source:megaphx.cpp
megaphx // (c) 1991 Dinamic / Inder
diff --git a/src/mame/video/cybstorm.cpp b/src/mame/video/cybstorm.cpp
index fdd42326d6b..4fd35dac607 100755..100644
--- a/src/mame/video/cybstorm.cpp
+++ b/src/mame/video/cybstorm.cpp
@@ -2,7 +2,7 @@
// copyright-holders:Aaron Giles, Phil Bennett
/***************************************************************************
- Atari Cyberstorm hardware
+ Atari Cyberstorm hardware
****************************************************************************/
@@ -13,7 +13,7 @@
/*************************************
*
- * Tilemap callbacks
+ * Tilemap callbacks
*
*************************************/
@@ -58,42 +58,42 @@ TILEMAP_MAPPER_MEMBER(cybstorm_state::playfield_scan)
/*************************************
*
- * Video system start
+ * Video system start
*
*************************************/
const atari_motion_objects_config cybstorm_state::s_mob_config =
{
- 1, /* index to which gfx system */
- 1, /* number of motion object banks */
- 1, /* are the entries linked? */
- 0, /* are the entries split? */
- 1, /* render in reverse order? */
- 0, /* render in swapped X/Y order? */
- 0, /* does the neighbor bit affect the next object? */
- 8, /* pixels per SLIP entry (0 for no-slip) */
- 0, /* pixel offset for SLIPs */
- 0, /* maximum number of links to visit/scanline (0=all) */
-
- 0x1000, /* base palette entry */
- 0x1000, /* maximum number of colors */
- 0, /* transparent pen index */
-
- {{ 0x03ff,0,0,0 }}, /* mask for the link */
- {{ 0,0x7fff,0,0 }, { 0x3c00,0,0,0 }}, /* mask for the code index */
- {{ 0,0,0x000f,0 }}, /* mask for the color */
- {{ 0,0,0xff80,0 }}, /* mask for the X position */
- {{ 0,0,0,0xff80 }}, /* mask for the Y position */
- {{ 0,0,0,0x0070 }}, /* mask for the width, in tiles*/
- {{ 0,0,0,0x0007 }}, /* mask for the height, in tiles */
- {{ 0,0x8000,0,0 }}, /* mask for the horizontal flip */
- {{ 0 }}, /* mask for the vertical flip */
- {{ 0,0,0x0070,0 }}, /* mask for the priority */
- {{ 0 }}, /* mask for the neighbor */
- {{ 0 }}, /* mask for absolute coordinates */
-
- {{ 0 }}, /* mask for the special value */
- 0, /* resulting value to indicate "special" */
+ 1, /* index to which gfx system */
+ 1, /* number of motion object banks */
+ 1, /* are the entries linked? */
+ 0, /* are the entries split? */
+ 1, /* render in reverse order? */
+ 0, /* render in swapped X/Y order? */
+ 0, /* does the neighbor bit affect the next object? */
+ 8, /* pixels per SLIP entry (0 for no-slip) */
+ 0, /* pixel offset for SLIPs */
+ 0, /* maximum number of links to visit/scanline (0=all) */
+
+ 0x1000, /* base palette entry */
+ 0x1000, /* maximum number of colors */
+ 0, /* transparent pen index */
+
+ {{ 0x03ff,0,0,0 }}, /* mask for the link */
+ {{ 0,0x7fff,0,0 }, { 0x3c00,0,0,0 }}, /* mask for the code index */
+ {{ 0,0,0x000f,0 }}, /* mask for the color */
+ {{ 0,0,0xff80,0 }}, /* mask for the X position */
+ {{ 0,0,0,0xff80 }}, /* mask for the Y position */
+ {{ 0,0,0,0x0070 }}, /* mask for the width, in tiles*/
+ {{ 0,0,0,0x0007 }}, /* mask for the height, in tiles */
+ {{ 0,0x8000,0,0 }}, /* mask for the horizontal flip */
+ {{ 0 }}, /* mask for the vertical flip */
+ {{ 0,0,0x0070,0 }}, /* mask for the priority */
+ {{ 0 }}, /* mask for the neighbor */
+ {{ 0 }}, /* mask for absolute coordinates */
+
+ {{ 0 }}, /* mask for the special value */
+ 0, /* resulting value to indicate "special" */
};
VIDEO_START_MEMBER(cybstorm_state,cybstorm)
@@ -106,7 +106,7 @@ VIDEO_START_MEMBER(cybstorm_state,cybstorm)
/*************************************
*
- * Main refresh
+ * Main refresh
*
*************************************/
diff --git a/src/mame/video/deco16ic.cpp b/src/mame/video/deco16ic.cpp
index bb8f257d242..41449bfdd05 100644
--- a/src/mame/video/deco16ic.cpp
+++ b/src/mame/video/deco16ic.cpp
@@ -227,7 +227,7 @@ void deco16ic_device::device_start()
m_bank1_cb.bind_relative_to(*owner());
m_bank2_cb.bind_relative_to(*owner());
-
+
int fullheight1 = 0;
int fullwidth1 = 0;
diff --git a/src/mame/video/deco16ic.h b/src/mame/video/deco16ic.h
index c42ba186786..17fd6025ec9 100644
--- a/src/mame/video/deco16ic.h
+++ b/src/mame/video/deco16ic.h
@@ -14,10 +14,10 @@
#pragma once
-#define DECO_32x32 0
-#define DECO_64x32 1
-#define DECO_32x64 2
-#define DECO_64x64 3
+#define DECO_32x32 0
+#define DECO_64x32 1
+#define DECO_32x64 2
+#define DECO_64x64 3
/***************************************************************************
TYPE DEFINITIONS
@@ -180,7 +180,7 @@ DECLARE_DEVICE_TYPE(DECO16IC, deco16ic_device)
#define MCFG_DECO16IC_SPLIT(_split) \
deco16ic_device::set_split(*device, _split);
-
+
#define MCFG_DECO16IC_PF1_SIZE(_size) \
deco16ic_device::set_pf1_size(*device, _size);
diff --git a/src/mame/video/deco_ace.cpp b/src/mame/video/deco_ace.cpp
index fc0af4ca0f9..ec74830bcf1 100644
--- a/src/mame/video/deco_ace.cpp
+++ b/src/mame/video/deco_ace.cpp
@@ -2,25 +2,25 @@
// copyright-holders:Bryan McPhail
/*************************************************************************
- deco_ace.cpp
+ deco_ace.cpp
- Data East 99 "ACE" Chip Emulation
+ Data East 99 "ACE" Chip Emulation
- Original source (from deco32.cpp) by Bryan McPhail, Splited by cam900.
+ Original source (from deco32.cpp) by Bryan McPhail, Splited by cam900.
**************************************************************************/
/*Some notes pieced together from Tattoo Assassins info(from deco32.cpp):
Bytes 0 to 0x1f : Alpha Control
- Tattoo Assassins :
- Bytes 0x00 to 0x16(0x58) - object alpha control?
- Bytes 0x17(0x5c) to 0x1f(0x7c) - tilemap alpha control
+ Tattoo Assassins :
+ Bytes 0x00 to 0x16(0x58) - object alpha control?
+ Bytes 0x17(0x5c) to 0x1f(0x7c) - tilemap alpha control
- Boogie Wings:
- Bytes 0x00 to 0x0f(0x1f) - object alpha control (if ((pix & 0x100) == 0))
- Bytes 0x10(0x20) to 0x13(0x26) - another object alpha control?
- Bytes 0x14(0x28) to 0x19(0x32) - fixed value 0x1c 0x18 0x14 0x10 0x0c 0x08. it controls explosion object's alpha?
- Bytes 0x1a(0x34) to 0x1f(0x3f) - tilemap alpha control?
+ Boogie Wings:
+ Bytes 0x00 to 0x0f(0x1f) - object alpha control (if ((pix & 0x100) == 0))
+ Bytes 0x10(0x20) to 0x13(0x26) - another object alpha control?
+ Bytes 0x14(0x28) to 0x19(0x32) - fixed value 0x1c 0x18 0x14 0x10 0x0c 0x08. it controls explosion object's alpha?
+ Bytes 0x1a(0x34) to 0x1f(0x3f) - tilemap alpha control?
0 = opaque, 0x10 = 50% transparent, 0x20 = fully transparent
@@ -41,7 +41,7 @@
Byte 0x24(0x90): fadestgreen
Byte 0x25(0x94): fadestblue
Byte 0x26(0x98): fadetype
- Byte 0x27(0x9c): unused/unknown
+ Byte 0x27(0x9c): unused/unknown
The 'ST' value lerps between the 'PT' value and the palette entries. So, if PT==0,
then ST ranging from 0 to 255 will cause a fade to black (when ST==255 the palette
@@ -49,8 +49,8 @@
'fadetype' - 1100 for multiplicative fade, 1000 for additive
- TODO:
- additive fade is correct? verify additive fading from real pcb.
+ TODO:
+ additive fade is correct? verify additive fading from real pcb.
*/
diff --git a/src/mame/video/deco_ace.h b/src/mame/video/deco_ace.h
index f03d6d39328..9d45c5a76c7 100644
--- a/src/mame/video/deco_ace.h
+++ b/src/mame/video/deco_ace.h
@@ -3,10 +3,10 @@
/*************************************************************************
deco_ace.h
-
- Data East 99 "ACE" Chip Emulation
- Original source (from deco32.cpp) by Bryan McPhail, Splited by cam900.
+ Data East 99 "ACE" Chip Emulation
+
+ Original source (from deco32.cpp) by Bryan McPhail, Splited by cam900.
**************************************************************************/
#ifndef MAME_VIDEO_DECO_ACE_H
@@ -28,7 +28,7 @@ public:
// static configuration
static void static_set_palette_tag(device_t &device, const char *tag);
-
+
DECLARE_READ32_MEMBER( buffered_palette_r );
DECLARE_READ16_MEMBER( buffered_palette16_r );
DECLARE_READ16_MEMBER( ace_r );
diff --git a/src/mame/video/drgnmst.cpp b/src/mame/video/drgnmst.cpp
index 80d04389b5e..2dbe92ed6ce 100644
--- a/src/mame/video/drgnmst.cpp
+++ b/src/mame/video/drgnmst.cpp
@@ -11,11 +11,11 @@
WRITE16_MEMBER(drgnmst_state::drgnmst_paletteram_w)
{
COMBINE_DATA(&m_generic_paletteram_16[offset]);
- int bright = 0x5 + ((data >> 12) & 0xf); // TODO : verify brightness value from real pcb
+ int bright = 0x5 + ((data >> 12) & 0xf); // TODO : verify brightness value from real pcb
int r = (pal4bit((data >> 8) & 0x0f) * bright) / 0x14;
int g = (pal4bit((data >> 4) & 0x0f) * bright) / 0x14;
int b = (pal4bit((data >> 0) & 0x0f) * bright) / 0x14;
-
+
if (r < 0) r = 0;
if (r > 0xff) r = 0xff;
if (g < 0) g = 0;
diff --git a/src/mame/video/fmtowns.cpp b/src/mame/video/fmtowns.cpp
index 44d4e89a8f6..af8064cad43 100644
--- a/src/mame/video/fmtowns.cpp
+++ b/src/mame/video/fmtowns.cpp
@@ -1042,7 +1042,7 @@ void towns_state::towns_crtc_draw_scan_layer_hicolour(bitmap_rgb32 &bitmap,const
}
else
linesize = m_video.towns_crtc_reg[20] * 8;
-
+
if(m_video.towns_display_page_sel != 0)
{
off = 0x20000;
@@ -1121,7 +1121,7 @@ void towns_state::towns_crtc_draw_scan_layer_256(bitmap_rgb32 &bitmap,const rect
}
linesize = m_video.towns_crtc_reg[20] * 8;
-
+
if(!(m_video.towns_crtc_reg[28] & 0x20))
off += m_video.towns_crtc_reg[17] << 3; // initial offset
else
diff --git a/src/mame/video/hng64.cpp b/src/mame/video/hng64.cpp
index 80902dc89d0..10580f27c50 100644
--- a/src/mame/video/hng64.cpp
+++ b/src/mame/video/hng64.cpp
@@ -637,8 +637,8 @@ void hng64_state::hng64_drawtilemap(screen_device &screen, bitmap_rgb32 &bitmap,
// the linescroll ram fills a buffer and it's cleared automatically between frames?
// for (int ii = 0; ii < 0x2000/4; ii++)
//{
- // const int realAddress = floorAddress/4;
- // m_videoram[realAddress+ii] = 0x00000000;
+ // const int realAddress = floorAddress/4;
+ // m_videoram[realAddress+ii] = 0x00000000;
// }
@@ -647,8 +647,8 @@ void hng64_state::hng64_drawtilemap(screen_device &screen, bitmap_rgb32 &bitmap,
rectangle clip = visarea;
// this was wrong, see below
-// if (global_alt_scroll_register_format) // globally selects alt scroll register layout???
-// {
+// if (global_alt_scroll_register_format) // globally selects alt scroll register layout???
+// {
// Logic would dictate that this should be the 'complex' scroll register layout,
// but per-line. That doesn't work however.
//
@@ -664,10 +664,10 @@ void hng64_state::hng64_drawtilemap(screen_device &screen, bitmap_rgb32 &bitmap,
// buriki line data is at 20146000 (physical)
//#if HNG64_VIDEO_DEBUG
-// popmessage("Unhandled rowscroll %02x", tileregs>>12);
+// popmessage("Unhandled rowscroll %02x", tileregs>>12);
//#endif
-// }
-// else // 'simple' mode with linescroll, used in some ss64_2 levels (assumed to be correct, but doesn't do much with it.. so could be wrong)
+// }
+// else // 'simple' mode with linescroll, used in some ss64_2 levels (assumed to be correct, but doesn't do much with it.. so could be wrong)
{
int32_t xtopleft, xmiddle;
int32_t ytopleft, ymiddle;
@@ -698,8 +698,8 @@ void hng64_state::hng64_drawtilemap(screen_device &screen, bitmap_rgb32 &bitmap,
const int xinc = (xmiddle - xtopleft) / 512;
const int yinc = (ymiddle - ytopleft) / 512;
- // TODO: if global_alt_scroll_register_format is enabled uses incxy / incyx into calculation somehow ...
-
+ // TODO: if global_alt_scroll_register_format is enabled uses incxy / incyx into calculation somehow ...
+
hng64_tilemap_draw_roz(screen, bitmap,clip,tilemap,xtopleft,ytopleft,
xinc<<1,0,0,yinc<<1,
1,
diff --git a/src/mame/video/k001604.cpp b/src/mame/video/k001604.cpp
index 8338828ed67..40c444f893f 100644
--- a/src/mame/video/k001604.cpp
+++ b/src/mame/video/k001604.cpp
@@ -283,7 +283,7 @@ void k001604_device::draw_front_layer( screen_device &screen, bitmap_rgb32 &bitm
int pivotx = (int16_t)(0xfec0);
int pivoty = (int16_t)(0xff28);
-
+
int startx = ((x - pivotx) * 256) * 32;
int starty = ((y - pivoty) * 256) * 32;
int incxx = (xx) * 32;
@@ -302,7 +302,7 @@ void k001604_device::draw_front_layer( screen_device &screen, bitmap_rgb32 &bitm
const rgb_t *clut = palette().palette()->entry_list_raw();
int window_x, window_y, window_xmask, window_ymask;
-
+
window_x = 0;
window_y = 0;
window_xmask = pixmap.width() - 1;
diff --git a/src/mame/video/ms32.cpp b/src/mame/video/ms32.cpp
index 64d6b5b39a1..214f2998e16 100644
--- a/src/mame/video/ms32.cpp
+++ b/src/mame/video/ms32.cpp
@@ -420,8 +420,8 @@ uint32_t ms32_state::screen_update_ms32(screen_device &screen, bitmap_rgb32 &bit
else
rot_pri++;
-// popmessage("%02x %02x %02x",m_priram[0x2b00 / 2],m_priram[0x2e00 / 2],m_priram[0x3a00 / 2]);
-
+// popmessage("%02x %02x %02x",m_priram[0x2b00 / 2],m_priram[0x2e00 / 2],m_priram[0x3a00 / 2]);
+
// tile-tile mixing
for(int prin=0;prin<3;prin++)
{
@@ -442,7 +442,7 @@ uint32_t ms32_state::screen_update_ms32(screen_device &screen, bitmap_rgb32 &bit
m_tx_tilemap->draw(screen, m_temp_bitmap_tilemaps, cliprect, 0, 1 << 2);
}
- // tile-sprite mixing
+ // tile-sprite mixing
/* this mixing isn't 100% accurate, it should be using ALL the data in
the priority ram, probably for per-pixel / pen mixing, or more levels
than are supported here.. I don't know, it will need hw tests I think */
diff --git a/src/mame/video/pgm2.cpp b/src/mame/video/pgm2.cpp
index 87462e4a004..a7f71e3f7fb 100644
--- a/src/mame/video/pgm2.cpp
+++ b/src/mame/video/pgm2.cpp
@@ -57,7 +57,7 @@ inline void pgm2_state::draw_sprite_chunk(const rectangle &cliprect, int &palett
palette_offset += palette_inc;
palette_offset &= m_sprites_colour_mask;
-
+
if (xzoombit) realxdraw += realdraw_inc;
}
@@ -179,10 +179,10 @@ void pgm2_state::draw_sprites(screen_device &screen, const rectangle &cliprect,
int unk0 = (spriteram[i + 0] & 0x30000000) >> 0;
// kov3 uses this in places (eg. horsemen special move heads) and shops when it can only possibly mean 'disable'
- // it is also used in places on kov2nl and orleg2, often the 'power up' effects surrounding your character to create an on/off flicker each frame
+ // it is also used in places on kov2nl and orleg2, often the 'power up' effects surrounding your character to create an on/off flicker each frame
int disable = (spriteram[i + 0] & 0x40000000) >> 30;
if (disable) continue;
-
+
int sizex = (spriteram[i + 1] & 0x0000003f) >> 0;
int sizey = (spriteram[i + 1] & 0x00007fc0) >> 6;
int flipx = (spriteram[i + 1] & 0x00800000) >> 23;
@@ -198,7 +198,7 @@ void pgm2_state::draw_sprites(screen_device &screen, const rectangle &cliprect,
int mask_offset = (spriteram[i + 2] << 1);
int palette_offset = (spriteram[i + 3]);
-
+
// use all the bits of zoom to lookup, probably why the table is copied 4x in RAM
uint32_t zoomy_bits = m_sp_zoom[zoomy];
uint32_t zoomx_bits = m_sp_zoom[zoomx];
@@ -228,7 +228,7 @@ void pgm2_state::draw_sprites(screen_device &screen, const rectangle &cliprect,
// store these for when we need to draw a line twice
uint32_t pre_palette_offset = palette_offset;
uint32_t pre_mask_offset = mask_offset;
-
+
if (yrepeats != 0) // grow
{
for (int i = 0; i < yrepeats; i++)
diff --git a/src/mame/video/popeye.cpp b/src/mame/video/popeye.cpp
index 1df286bc195..14c8519766a 100644
--- a/src/mame/video/popeye.cpp
+++ b/src/mame/video/popeye.cpp
@@ -181,9 +181,9 @@ void popeye_state::update_palette()
bit2 = (~color_prom[i] >> 7) & 0x01;
//if (m_bitmap_type == TYPE_TNX1)
//{
- // /* Sky Skipper has different weights */
- // bit0 = bit1;
- // bit1 = 0;
+ // /* Sky Skipper has different weights */
+ // bit0 = bit1;
+ // bit1 = 0;
//}
int b = 0x1c * bit0 + 0x31 * bit1 + 0x47 * bit2;
diff --git a/src/mame/video/rohga.cpp b/src/mame/video/rohga.cpp
index 4ced2a33e06..d255acc779c 100644
--- a/src/mame/video/rohga.cpp
+++ b/src/mame/video/rohga.cpp
@@ -193,9 +193,9 @@ void rohga_state::mixnitroballlayer(screen_device &screen, bitmap_rgb32 &bitmap,
pix1 - raw pixel / colour / priority data from first 1st chip
pix2 - raw pixel / colour / priority data from first 2nd chip
*/
-
+
int pri1, pri2;
-
+
// pix1 sprite vs playfield
switch (priority) // TODO : Verify this from real pcb
{
@@ -345,7 +345,7 @@ uint32_t rohga_state::screen_update_nitrobal(screen_device &screen, bitmap_rgb32
/* pf3 and pf4 are combined into a single 8bpp bitmap */
m_deco_tilegen2->tilemap_12_combine_draw(screen, bitmap, cliprect, TILEMAP_DRAW_OPAQUE, 0);
-
+
switch (priority)
{
case 0:
diff --git a/src/mame/video/taito_f3.cpp b/src/mame/video/taito_f3.cpp
index 92e6d1b6284..842b02863d5 100644
--- a/src/mame/video/taito_f3.cpp
+++ b/src/mame/video/taito_f3.cpp
@@ -82,8 +82,8 @@ Line ram memory map:
0x5000: Clip plane 0 (low bits)
0x5200: Clip plane 1 (low bits)
0x5400: Unused?
- 0x5600: Used by quizhuhu (taito logo and ingame text), and landmakr (winning text),
- special clip used in tandem with b*00 bit 11? [unemulated]
+ 0x5600: Used by quizhuhu (taito logo and ingame text), and landmakr (winning text),
+ special clip used in tandem with b*00 bit 11? [unemulated]
0x6000: Sync register
0x6004: Sprite alpha control
@@ -839,7 +839,7 @@ WRITE16_MEMBER(taito_f3_state::f3_lineram_w)
/* Update: this doesn't seem to occur anymore, I'll leave this snippet in but commented out.
* fwiw PC=0x1768a0/0x1768a4 is where the game clears lineram in round D, which is a
* move.w Dn, (An,D7.w*2) , a kind of opcode that could've been bugged back then.
- */
+ */
if (m_f3_game==DARIUSG) {
if (m_f3_skip_this_frame)
return;
@@ -849,7 +849,7 @@ WRITE16_MEMBER(taito_f3_state::f3_lineram_w)
}
}
#endif
-
+
COMBINE_DATA(&m_f3_line_ram[offset]);
}
diff --git a/src/mame/video/x1.cpp b/src/mame/video/x1.cpp
index dae20f9d6d6..ae235acb532 100644
--- a/src/mame/video/x1.cpp
+++ b/src/mame/video/x1.cpp
@@ -9,7 +9,7 @@
* - take mc6845 device functions into account;
*
***************************************************************************/
-
+
#include "emu.h"
#include "includes/x1.h"
diff --git a/src/mame/video/ygv608.cpp b/src/mame/video/ygv608.cpp
index 9f2bb2fd694..e3e6f523213 100644
--- a/src/mame/video/ygv608.cpp
+++ b/src/mame/video/ygv608.cpp
@@ -1964,8 +1964,8 @@ WRITE8_MEMBER( ygv608_device::screen_ctrl_10_w )
// check mosaic
m_mosaic_bplane = (data & 0xc) >> 2;
m_mosaic_aplane = data & 3;
-// if(m_mosaic_aplane || m_mosaic_bplane)
-// popmessage("Mosaic effect %02x %02x",m_mosaic_aplane,m_mosaic_bplane);
+// if(m_mosaic_aplane || m_mosaic_bplane)
+// popmessage("Mosaic effect %02x %02x",m_mosaic_aplane,m_mosaic_bplane);
}
// R#11R - screen control 11
diff --git a/src/osd/modules/opengl/gl_shader_mgr.cpp b/src/osd/modules/opengl/gl_shader_mgr.cpp
index 26eb0d35ee0..de36240ab3e 100644
--- a/src/osd/modules/opengl/gl_shader_mgr.cpp
+++ b/src/osd/modules/opengl/gl_shader_mgr.cpp
@@ -24,7 +24,7 @@ static const char * glsl_mamebm_fsh_files [GLSL_SHADER_FEAT_INT_NUMBER] =
{
"/tmp/glsl_plain_rgb32_dir.fsh", // rgb32 dir plain
"/tmp/glsl_bilinear_rgb32_dir.fsh", // rgb32 dir bilinear
- "/tmp/glsl_bicubic_rgb32_dir.fsh", // rgb32 dir bicubic
+ "/tmp/glsl_bicubic_rgb32_dir.fsh", // rgb32 dir bicubic
};
#else // GLSL_SOURCE_ON_DISK
diff --git a/src/osd/modules/opengl/shader/glsl_bilinear_rgb32_dir.fsh.c b/src/osd/modules/opengl/shader/glsl_bilinear_rgb32_dir.fsh.c
index 21d254e3128..dc610764098 100644
--- a/src/osd/modules/opengl/shader/glsl_bilinear_rgb32_dir.fsh.c
+++ b/src/osd/modules/opengl/shader/glsl_bilinear_rgb32_dir.fsh.c
@@ -14,43 +14,43 @@ const char glsl_bilinear_rgb32_dir_fsh_src[] =
"\n"
"void main()\n"
"{\n"
-" // mix(x,y,a): x*(1-a) + y*a\n"
-" //\n"
-" // bilinear filtering includes 2 mix:\n"
-" //\n"
-" // pix1 = tex[x0][y0] * ( 1 - u_ratio ) + tex[x1][y0] * u_ratio\n"
-" // pix2 = tex[x0][y1] * ( 1 - u_ratio ) + tex[x1][y1] * u_ratio\n"
-" // fin = pix1 * ( 1 - v_ratio ) + pix2 * v_ratio\n"
-" //\n"
-" // so we can use the build in mix function for these 2 computations ;-)\n"
-" //\n"
-" vec2 pixel = gl_TexCoord[0].st * color_texture_pow2_sz - 0.5;\n"
+" // mix(x,y,a): x*(1-a) + y*a\n"
+" //\n"
+" // bilinear filtering includes 2 mix:\n"
+" //\n"
+" // pix1 = tex[x0][y0] * ( 1 - u_ratio ) + tex[x1][y0] * u_ratio\n"
+" // pix2 = tex[x0][y1] * ( 1 - u_ratio ) + tex[x1][y1] * u_ratio\n"
+" // fin = pix1 * ( 1 - v_ratio ) + pix2 * v_ratio\n"
+" //\n"
+" // so we can use the build in mix function for these 2 computations ;-)\n"
+" //\n"
+" vec2 pixel = gl_TexCoord[0].st * color_texture_pow2_sz - 0.5;\n"
" vec2 uv_ratio = fract(pixel);\n"
" vec2 one = 1.0 / color_texture_pow2_sz;\n"
" vec2 xy = (floor(pixel) + 0.5) * one;\n"
" \n"
"#if 1\n"
-" vec4 col, col2;\n"
+" vec4 col, col2;\n"
"\n"
-" col = mix( TEX2D(xy ), TEX2D(xy + vec2(one.x, 0.0)), uv_ratio.x);\n"
-" col2 = mix( TEX2D(xy + vec2(0.0, one.y)), TEX2D(xy + one ), uv_ratio.x);\n"
-" col = mix ( col, col2, uv_ratio.y );\n"
+" col = mix( TEX2D(xy ), TEX2D(xy + vec2(one.x, 0.0)), uv_ratio.x);\n"
+" col2 = mix( TEX2D(xy + vec2(0.0, one.y)), TEX2D(xy + one ), uv_ratio.x);\n"
+" col = mix ( col, col2, uv_ratio.y );\n"
"#else\n"
-" // doesn't work on MacOSX GLSL engine ..\n"
-" //\n"
-" vec4 col = mix ( mix( TEX2D(xy ), TEX2D(xy + vec2(one.x, 0.0)), uv_ratio.x),\n"
-" mix( TEX2D(xy + vec2(0.0, one.y)), TEX2D(xy + one ), uv_ratio.x), uv_ratio.y );\n"
+" // doesn't work on MacOSX GLSL engine ..\n"
+" //\n"
+" vec4 col = mix ( mix( TEX2D(xy ), TEX2D(xy + vec2(one.x, 0.0)), uv_ratio.x),\n"
+" mix( TEX2D(xy + vec2(0.0, one.y)), TEX2D(xy + one ), uv_ratio.x), uv_ratio.y );\n"
"#endif\n"
"\n"
-" // gamma, contrast, brightness equation from: rendutil.h / apply_brightness_contrast_gamma_fp\n"
+" // gamma, contrast, brightness equation from: rendutil.h / apply_brightness_contrast_gamma_fp\n"
"\n"
"#ifdef DO_GAMMA\n"
-" // gamma/contrast/brightness\n"
-" vec4 gamma = vec4(1.0 / vid_attributes.r, 1.0 / vid_attributes.r, 1.0 / vid_attributes.r, 0.0);\n"
-" gl_FragColor = ( pow ( col, gamma ) * vid_attributes.g) + vid_attributes.b - 1.0;\n"
+" // gamma/contrast/brightness\n"
+" vec4 gamma = vec4(1.0 / vid_attributes.r, 1.0 / vid_attributes.r, 1.0 / vid_attributes.r, 0.0);\n"
+" gl_FragColor = ( pow ( col, gamma ) * vid_attributes.g) + vid_attributes.b - 1.0;\n"
"#else\n"
-" // contrast/brightness\n"
-" gl_FragColor = ( col * vid_attributes.g) + vid_attributes.b - 1.0;\n"
+" // contrast/brightness\n"
+" gl_FragColor = ( col * vid_attributes.g) + vid_attributes.b - 1.0;\n"
"#endif\n"
"}\n"
"\n"