summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2012-07-30 07:55:43 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2012-07-30 07:55:43 +0000
commit19179ec9b6dbbfdde0c562b80d5ce22a5ffed451 (patch)
tree19ade560241d494789c2f3c1601f756f5fa1954f
parent82345fa14ebedf1055a1b0d2ba921dde84cb6858 (diff)
Clean-ups and version bump
-rw-r--r--src/emu/cpu/f8/f8.c12
-rw-r--r--src/emu/cpu/m6800/m6800.c6
-rw-r--r--src/emu/cpu/powerpc/ppccom.c8
-rw-r--r--src/emu/cpu/tlcs900/tlcs900.c6
-rw-r--r--src/emu/cpu/tms32025/tms32025.c18
-rw-r--r--src/emu/cpu/tms32051/32051ops.c2
-rw-r--r--src/emu/cpu/v30mz/v30mz.c2
-rw-r--r--src/emu/machine/am9517a.c2
-rw-r--r--src/emu/machine/net_lib.c74
-rw-r--r--src/emu/machine/net_lib.h76
-rw-r--r--src/emu/machine/netlist.c76
-rw-r--r--src/emu/machine/netlist.h98
-rw-r--r--src/emu/machine/roc10937.c10
-rw-r--r--src/emu/machine/roc10937.h8
-rw-r--r--src/emu/machine/tc009xlvc.c12
-rw-r--r--src/emu/machine/tc009xlvc.h4
-rw-r--r--src/mame/drivers/aces1.c28
-rw-r--r--src/mame/drivers/acesp.c8
-rw-r--r--src/mame/drivers/bfm_sc1.c4
-rw-r--r--src/mame/drivers/bfm_sc2.c2
-rw-r--r--src/mame/drivers/bfmsys85.c4
-rw-r--r--src/mame/drivers/cobra.c234
-rw-r--r--src/mame/drivers/cybertnk.c58
-rw-r--r--src/mame/drivers/cyclemb.c34
-rw-r--r--src/mame/drivers/dfruit.c12
-rw-r--r--src/mame/drivers/esd16.c2
-rw-r--r--src/mame/drivers/globalfr.c10
-rw-r--r--src/mame/drivers/globalvr.c2
-rw-r--r--src/mame/drivers/jpmmps.c32
-rw-r--r--src/mame/drivers/jpms80.c14
-rw-r--r--src/mame/drivers/jpmsru.c20
-rw-r--r--src/mame/drivers/lastbank.c10
-rw-r--r--src/mame/drivers/mpu3.c2
-rw-r--r--src/mame/drivers/mpu4.c4
-rw-r--r--src/mame/drivers/mpu5.c20
-rw-r--r--src/mame/drivers/namcos21.c4
-rw-r--r--src/mame/drivers/pokechmp.c10
-rw-r--r--src/mame/drivers/pong.c8
-rw-r--r--src/mame/drivers/proconn.c6
-rw-r--r--src/mame/drivers/segaxbd.c18
-rw-r--r--src/mame/drivers/sfbonus.c2
-rw-r--r--src/mame/drivers/taito_l.c16
-rw-r--r--src/mame/drivers/taitotz.c714
-rw-r--r--src/mame/drivers/tasman.c10
-rw-r--r--src/mame/drivers/wardner.c4
-rw-r--r--src/mame/includes/esd16.h4
-rw-r--r--src/mame/machine/bfm_bd1.c2
-rw-r--r--src/mame/machine/bfm_bd1.h2
-rw-r--r--src/mame/machine/bfm_bda.c2
-rw-r--r--src/mame/machine/bfm_bda.h2
-rw-r--r--src/mame/mame.lst38
-rw-r--r--src/mame/mame.mak2
-rw-r--r--src/mame/video/taitojc.c2
-rw-r--r--src/osd/sdl/input.c6
-rw-r--r--src/osd/sdl/sdl.mak2
55 files changed, 885 insertions, 883 deletions
diff --git a/src/emu/cpu/f8/f8.c b/src/emu/cpu/f8/f8.c
index a2e39106b96..44505008e68 100644
--- a/src/emu/cpu/f8/f8.c
+++ b/src/emu/cpu/f8/f8.c
@@ -1160,7 +1160,7 @@ static void f8_am(f8_Regs *cpustate)
static void f8_amd(f8_Regs *cpustate)
{
-/*SKR from F8 Guide To programming description of AMD
+/*SKR from F8 Guide To programming description of AMD
binary add the addend to the binary sum of the augend and $66
*NOTE* the binary addition of the augend to $66 is done before AMD is called
@@ -1196,7 +1196,7 @@ static void f8_amd(f8_Regs *cpustate)
tmp=((tmp+0xa0)&0xf0)+(tmp&0x0f);
if(c==1&&ic==0)
tmp=(tmp&0xf0)+((tmp+0x0a)&0x0f);
-
+
cpustate->a = tmp;
}
@@ -1412,7 +1412,7 @@ static void f8_asd(f8_Regs *cpustate, int r)
tmp=((tmp+0xa0)&0xf0)+(tmp&0x0f);
if(c==1&&ic==0)
tmp=(tmp&0xf0)+((tmp+0x0a)&0x0f);
-
+
cpustate->a = tmp;
}
@@ -1445,7 +1445,7 @@ static void f8_asd_isar(f8_Regs *cpustate)
tmp=((tmp+0xa0)&0xf0)+(tmp&0x0f);
if(c==1&&ic==0)
tmp=(tmp&0xf0)+((tmp+0x0a)&0x0f);
-
+
cpustate->a = tmp;
}
@@ -1478,7 +1478,7 @@ static void f8_asd_isar_i(f8_Regs *cpustate)
tmp=((tmp+0xa0)&0xf0)+(tmp&0x0f);
if(c==1&&ic==0)
tmp=(tmp&0xf0)+((tmp+0x0a)&0x0f);
-
+
cpustate->a = tmp;
cpustate->is = (cpustate->is & 0x38) | ((cpustate->is + 1) & 0x07);
}
@@ -1512,7 +1512,7 @@ static void f8_asd_isar_d(f8_Regs *cpustate)
tmp=((tmp+0xa0)&0xf0)+(tmp&0x0f);
if(c==1&&ic==0)
tmp=(tmp&0xf0)+((tmp+0x0a)&0x0f);
-
+
cpustate->a = tmp;
cpustate->is = (cpustate->is & 0x38) | ((cpustate->is - 1) & 0x07);
}
diff --git a/src/emu/cpu/m6800/m6800.c b/src/emu/cpu/m6800/m6800.c
index 38ebe05bbaa..2c89b134b7f 100644
--- a/src/emu/cpu/m6800/m6800.c
+++ b/src/emu/cpu/m6800/m6800.c
@@ -2183,9 +2183,9 @@ DEFINE_LEGACY_CPU_DEVICE(HD6301, hd6301);
DEFINE_LEGACY_CPU_DEVICE(HD63701, hd63701);
DEFINE_LEGACY_CPU_DEVICE(NSC8105, nsc8105);
-// DP-40 package: HD6303RP, HD63A03RP, HD63B03RP,
-// FP-54 package: HD6303RF, HD63A03RF, HD63B03RF,
-// CG-40 package: HD6303RCG, HD63A03RCG, HD63B03RCG,
+// DP-40 package: HD6303RP, HD63A03RP, HD63B03RP,
+// FP-54 package: HD6303RF, HD63A03RF, HD63B03RF,
+// CG-40 package: HD6303RCG, HD63A03RCG, HD63B03RCG,
DEFINE_LEGACY_CPU_DEVICE(HD6303R, hd6303r);
// DP-64S package: HD6303YP, HD63A03YP, HD63B03YP, HD63C03YP
diff --git a/src/emu/cpu/powerpc/ppccom.c b/src/emu/cpu/powerpc/ppccom.c
index e39993d9b22..4fcf36bca33 100644
--- a/src/emu/cpu/powerpc/ppccom.c
+++ b/src/emu/cpu/powerpc/ppccom.c
@@ -455,8 +455,8 @@ offs_t ppccom_dasm(powerpc_state *ppc, char *buffer, offs_t pc, const UINT8 *opr
/*-------------------------------------------------
- ppccom_dcstore_callback - call the dcstore
- callback if installed
+ ppccom_dcstore_callback - call the dcstore
+ callback if installed
-------------------------------------------------*/
void ppccom_dcstore_callback(powerpc_state *ppc)
@@ -1672,8 +1672,8 @@ static TIMER_CALLBACK( decrementer_int_callback )
}
/*-------------------------------------------------
- ppc_set_dcstore_callback - installs a callback
- for detecting datacache stores with dcbst
+ ppc_set_dcstore_callback - installs a callback
+ for detecting datacache stores with dcbst
-------------------------------------------------*/
void ppc_set_dcstore_callback(device_t *device, ppc_dcstore_handler handler)
diff --git a/src/emu/cpu/tlcs900/tlcs900.c b/src/emu/cpu/tlcs900/tlcs900.c
index d4d3206bc8d..8988ef7c271 100644
--- a/src/emu/cpu/tlcs900/tlcs900.c
+++ b/src/emu/cpu/tlcs900/tlcs900.c
@@ -1946,11 +1946,11 @@ static CPU_EXECUTE( tmp95c063 )
cpustate->cycles += inst->cycles;
}
- // tmp95c063_handle_ad( cpustate ); // TODO
+ // tmp95c063_handle_ad( cpustate ); // TODO
tmp95c063_handle_timers( cpustate );
- // tmp95c063_check_hdma( cpustate ); // TODO
+ // tmp95c063_check_hdma( cpustate ); // TODO
cpustate->icount -= cpustate->cycles;
} while ( cpustate->icount > 0 );
@@ -2123,4 +2123,4 @@ CPU_GET_INFO( tmp95c063 )
DEFINE_LEGACY_CPU_DEVICE(TLCS900H, tlcs900h);
-DEFINE_LEGACY_CPU_DEVICE(TMP95C063, tmp95c063); \ No newline at end of file
+DEFINE_LEGACY_CPU_DEVICE(TMP95C063, tmp95c063);
diff --git a/src/emu/cpu/tms32025/tms32025.c b/src/emu/cpu/tms32025/tms32025.c
index d7bac50b445..ba5ad6a6638 100644
--- a/src/emu/cpu/tms32025/tms32025.c
+++ b/src/emu/cpu/tms32025/tms32025.c
@@ -554,7 +554,7 @@ INLINE void PUTDATA_SST(tms32025_state *cpustate, UINT16 data)
/****************************************************************************
- * Emulate the Instructions
+ * Emulate the Instructions
****************************************************************************/
/* The following functions are here to fill the void for the */
@@ -1997,14 +1997,14 @@ static CPU_EXECUTE( tms32025 )
if (cpustate->init_load_addr == 2) { /* Repeat next instruction */
/****************************************************\
- ******* These instructions are not repeatable ********
- ** ADLK, ANDK, LALK, LRLK, ORK, SBLK, XORK **
- ** ADDK, ADRK, LACK, LARK, LDPK, MPYK, RPTK **
- ** SBRK, SPM, SUBK, ZAC, IDLE, RPT, TRAP **
- ** BACC, CALA, RET **
- ** B, BANZ, BBNZ, BBZ, BC, BGEZ, BGZ, BIOZ **
- ** BNC, BNV, BNZ, BV, BZ, CALL, BLEZ, BLZ **
- \****************************************************/
+ ******* These instructions are not repeatable ********
+ ** ADLK, ANDK, LALK, LRLK, ORK, SBLK, XORK **
+ ** ADDK, ADRK, LACK, LARK, LDPK, MPYK, RPTK **
+ ** SBRK, SPM, SUBK, ZAC, IDLE, RPT, TRAP **
+ ** BACC, CALA, RET **
+ ** B, BANZ, BBNZ, BBZ, BC, BGEZ, BGZ, BIOZ **
+ ** BNC, BNV, BNZ, BV, BZ, CALL, BLEZ, BLZ **
+ \****************************************************/
cpustate->PREVPC = cpustate->PC;
debugger_instruction_hook(device, cpustate->PC);
diff --git a/src/emu/cpu/tms32051/32051ops.c b/src/emu/cpu/tms32051/32051ops.c
index 902eeb8d67d..6e2f582ac92 100644
--- a/src/emu/cpu/tms32051/32051ops.c
+++ b/src/emu/cpu/tms32051/32051ops.c
@@ -38,7 +38,7 @@ INLINE INT32 SUB(tms32051_state *cpustate, UINT32 a, UINT32 b)
INLINE INT32 ADD(tms32051_state *cpustate, UINT32 a, UINT32 b)
{
UINT32 res = a + b;
-
+
// C is set if carry was generated
cpustate->st1.c = (a > res) ? 1 : 0;
diff --git a/src/emu/cpu/v30mz/v30mz.c b/src/emu/cpu/v30mz/v30mz.c
index d14fe9e2fa2..9230f9c8e6c 100644
--- a/src/emu/cpu/v30mz/v30mz.c
+++ b/src/emu/cpu/v30mz/v30mz.c
@@ -449,7 +449,7 @@ OP( 0x65, i_repc ) { UINT32 next = FETCHOP; UINT16 c = cpustate->regs.w[CW];
OP( 0x68, i_push_d16 ) { UINT32 tmp; FETCHWORD(tmp); PUSH(tmp); CLK(1); }
OP( 0x69, i_imul_d16 ) { UINT32 tmp; DEF_r16w; FETCHWORD(tmp); dst = (INT32)((INT16)src)*(INT32)((INT16)tmp); cpustate->CarryVal = cpustate->OverVal = (((INT32)dst) >> 15 != 0) && (((INT32)dst) >> 15 != -1); RegWord(ModRM)=(UINT16)dst; if (ModRM >= 0xc0) CLK(3) else CLK(4) }
-OP( 0x6a, i_push_d8 ) { UINT32 tmp = (UINT16)((INT16)((INT8)FETCH)); PUSH(tmp); CLK(1); }
+OP( 0x6a, i_push_d8 ) { UINT32 tmp = (UINT16)((INT16)((INT8)FETCH)); PUSH(tmp); CLK(1); }
OP( 0x6b, i_imul_d8 ) { UINT32 src2; DEF_r16w; src2= (UINT16)((INT16)((INT8)FETCH)); dst = (INT32)((INT16)src)*(INT32)((INT16)src2); cpustate->CarryVal = cpustate->OverVal = (((INT32)dst) >> 15 != 0) && (((INT32)dst) >> 15 != -1); RegWord(ModRM)=(UINT16)dst; if (ModRM >= 0xc0) CLK(3) else CLK(4) }
OP( 0x6c, i_insb ) { PutMemB(ES,cpustate->regs.w[IY],read_port(cpustate->regs.w[DW])); cpustate->regs.w[IY]+= -2 * cpustate->DF + 1; CLK(6); }
OP( 0x6d, i_insw ) { PutMemB(ES,cpustate->regs.w[IY],read_port(cpustate->regs.w[DW])); PutMemB(ES,(cpustate->regs.w[IY]+1)&0xffff,read_port((cpustate->regs.w[DW]+1)&0xffff)); cpustate->regs.w[IY]+= -4 * cpustate->DF + 2; CLK(6); }
diff --git a/src/emu/machine/am9517a.c b/src/emu/machine/am9517a.c
index 1ae896362e5..c3550226abc 100644
--- a/src/emu/machine/am9517a.c
+++ b/src/emu/machine/am9517a.c
@@ -143,7 +143,7 @@ inline bool am9517a_device::is_software_request_active(int channel)
//-------------------------------------------------
-// set_hreq
+// set_hreq
//-------------------------------------------------
inline void am9517a_device::set_hreq(int state)
diff --git a/src/emu/machine/net_lib.c b/src/emu/machine/net_lib.c
index 1852407adf9..e1b452d69f0 100644
--- a/src/emu/machine/net_lib.c
+++ b/src/emu/machine/net_lib.c
@@ -6,41 +6,41 @@
****************************************************************************
- Couriersud reserves the right to license the code under a less restrictive
- license going forward.
-
- Copyright Nicola Salmoria and the MAME team
- All rights reserved.
-
- Redistribution and use of this code or any derivative works are permitted
- provided that the following conditions are met:
-
- * Redistributions may not be sold, nor may they be used in a commercial
- product or activity.
-
- * Redistributions that are modified from the original source must include the
- complete source code, including the source code for all components used by a
- binary built from the modified sources. However, as a special exception, the
- source code distributed need not include anything that is normally distributed
- (in either source or binary form) with the major components (compiler, kernel,
- and so on) of the operating system on which the executable runs, unless that
- component itself accompanies the executable.
-
- * Redistributions must reproduce the above copyright notice, this list of
- conditions and the following disclaimer in the documentation and/or other
- materials provided with the distribution.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE.
+ Couriersud reserves the right to license the code under a less restrictive
+ license going forward.
+
+ Copyright Nicola Salmoria and the MAME team
+ All rights reserved.
+
+ Redistribution and use of this code or any derivative works are permitted
+ provided that the following conditions are met:
+
+ * Redistributions may not be sold, nor may they be used in a commercial
+ product or activity.
+
+ * Redistributions that are modified from the original source must include the
+ complete source code, including the source code for all components used by a
+ binary built from the modified sources. However, as a special exception, the
+ source code distributed need not include anything that is normally distributed
+ (in either source or binary form) with the major components (compiler, kernel,
+ and so on) of the operating system on which the executable runs, unless that
+ component itself accompanies the executable.
+
+ * Redistributions must reproduce the above copyright notice, this list of
+ conditions and the following disclaimer in the documentation and/or other
+ materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
****************************************************************************/
@@ -705,8 +705,8 @@ static net_dev_t_base_factory *netregistry[] =
{
ENTRY(netdev_const, NETDEV_CONST)
ENTRY(netdev_input, NETDEV_INPUT)
- ENTRY(netdev_callback, NETDEV_CALLBACK)
- ENTRY(nicMultiSwitch, NETDEV_SWITCH2)
+ ENTRY(netdev_callback, NETDEV_CALLBACK)
+ ENTRY(nicMultiSwitch, NETDEV_SWITCH2)
ENTRY(netdev_delay_lh, NETDEV_DELAY_RAISE)
ENTRY(nicRSFF, NETDEV_RSFF)
ENTRY(nic7400, TTL_7400_NAND)
diff --git a/src/emu/machine/net_lib.h b/src/emu/machine/net_lib.h
index 01b889f52e8..6c8e957ccbb 100644
--- a/src/emu/machine/net_lib.h
+++ b/src/emu/machine/net_lib.h
@@ -6,41 +6,41 @@
****************************************************************************
- Couriersud reserves the right to license the code under a less restrictive
- license going forward.
-
- Copyright Nicola Salmoria and the MAME team
- All rights reserved.
-
- Redistribution and use of this code or any derivative works are permitted
- provided that the following conditions are met:
-
- * Redistributions may not be sold, nor may they be used in a commercial
- product or activity.
-
- * Redistributions that are modified from the original source must include the
- complete source code, including the source code for all components used by a
- binary built from the modified sources. However, as a special exception, the
- source code distributed need not include anything that is normally distributed
- (in either source or binary form) with the major components (compiler, kernel,
- and so on) of the operating system on which the executable runs, unless that
- component itself accompanies the executable.
-
- * Redistributions must reproduce the above copyright notice, this list of
- conditions and the following disclaimer in the documentation and/or other
- materials provided with the distribution.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE.
+ Couriersud reserves the right to license the code under a less restrictive
+ license going forward.
+
+ Copyright Nicola Salmoria and the MAME team
+ All rights reserved.
+
+ Redistribution and use of this code or any derivative works are permitted
+ provided that the following conditions are met:
+
+ * Redistributions may not be sold, nor may they be used in a commercial
+ product or activity.
+
+ * Redistributions that are modified from the original source must include the
+ complete source code, including the source code for all components used by a
+ binary built from the modified sources. However, as a special exception, the
+ source code distributed need not include anything that is normally distributed
+ (in either source or binary form) with the major components (compiler, kernel,
+ and so on) of the operating system on which the executable runs, unless that
+ component itself accompanies the executable.
+
+ * Redistributions must reproduce the above copyright notice, this list of
+ conditions and the following disclaimer in the documentation and/or other
+ materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
****************************************************************************/
@@ -92,7 +92,7 @@
#define TTL_7402_NOR(_name, _I1, _I2) \
NET_REGISTER_DEV(nic7402, _name) \
- NET_CONNECT(_name, I1, _I1) \
+ NET_CONNECT(_name, I1, _I1) \
NET_CONNECT(_name, I2, _I2) \
#define TTL_7404_INVERT(_name, _I1) \
@@ -145,7 +145,7 @@
#define TTL_7486_XOR(_name, _I1, _I2) \
NET_REGISTER_DEV(nic7486, _name) \
- NET_CONNECT(_name, I1, _I1) \
+ NET_CONNECT(_name, I1, _I1) \
NET_CONNECT(_name, I2, _I2) \
#define TTL_7448(_name, _A0, _A1, _A2, _A3, _LTQ, _BIQ, _RBIQ) \
@@ -347,7 +347,7 @@ class nic74107 : public nic74107A
{
public:
nic74107(netlist_setup_t *parent, const char *name)
- : nic74107A(parent, name) {}
+ : nic74107A(parent, name) {}
};
diff --git a/src/emu/machine/netlist.c b/src/emu/machine/netlist.c
index 98f9ffa2d73..ba634fbdb04 100644
--- a/src/emu/machine/netlist.c
+++ b/src/emu/machine/netlist.c
@@ -6,41 +6,41 @@
****************************************************************************
- Couriersud reserves the right to license the code under a less restrictive
- license going forward.
-
- Copyright Nicola Salmoria and the MAME team
- All rights reserved.
-
- Redistribution and use of this code or any derivative works are permitted
- provided that the following conditions are met:
-
- * Redistributions may not be sold, nor may they be used in a commercial
- product or activity.
-
- * Redistributions that are modified from the original source must include the
- complete source code, including the source code for all components used by a
- binary built from the modified sources. However, as a special exception, the
- source code distributed need not include anything that is normally distributed
- (in either source or binary form) with the major components (compiler, kernel,
- and so on) of the operating system on which the executable runs, unless that
- component itself accompanies the executable.
-
- * Redistributions must reproduce the above copyright notice, this list of
- conditions and the following disclaimer in the documentation and/or other
- materials provided with the distribution.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE.
+ Couriersud reserves the right to license the code under a less restrictive
+ license going forward.
+
+ Copyright Nicola Salmoria and the MAME team
+ All rights reserved.
+
+ Redistribution and use of this code or any derivative works are permitted
+ provided that the following conditions are met:
+
+ * Redistributions may not be sold, nor may they be used in a commercial
+ product or activity.
+
+ * Redistributions that are modified from the original source must include the
+ complete source code, including the source code for all components used by a
+ binary built from the modified sources. However, as a special exception, the
+ source code distributed need not include anything that is normally distributed
+ (in either source or binary form) with the major components (compiler, kernel,
+ and so on) of the operating system on which the executable runs, unless that
+ component itself accompanies the executable.
+
+ * Redistributions must reproduce the above copyright notice, this list of
+ conditions and the following disclaimer in the documentation and/or other
+ materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
****************************************************************************/
@@ -73,7 +73,7 @@
#if KEEP_STATISTICS
#define add_to_stat(v,x) do { atomic_add32((v), (x)); } while (0)
#define inc_stat(v) add_to_stat(v, 1)
-#define begin_timing(v) do { (v) -= get_profile_ticks(); } while (0)
+#define begin_timing(v) do { (v) -= get_profile_ticks(); } while (0)
#define end_timing(v) do { (v) += get_profile_ticks(); } while (0)
#else
#define add_to_stat(v,x) do { } while (0)
@@ -778,9 +778,9 @@ ATTR_HOT void netlist_mame_device::execute_run()
do
{
// debugging
- //m_ppc = m_pc; // copy PC to previous PC
+ //m_ppc = m_pc; // copy PC to previous PC
//if (check_debugger)
- // debugger_instruction_hook(this, 0); //m_pc);
+ // debugger_instruction_hook(this, 0); //m_pc);
if (--m_ss == 0)
{
m_ss = ssdiv2;
diff --git a/src/emu/machine/netlist.h b/src/emu/machine/netlist.h
index 561179fafc9..524e6b83f72 100644
--- a/src/emu/machine/netlist.h
+++ b/src/emu/machine/netlist.h
@@ -6,41 +6,41 @@
****************************************************************************
- Couriersud reserves the right to license the code under a less restrictive
- license going forward.
-
- Copyright Nicola Salmoria and the MAME team
- All rights reserved.
-
- Redistribution and use of this code or any derivative works are permitted
- provided that the following conditions are met:
-
- * Redistributions may not be sold, nor may they be used in a commercial
- product or activity.
-
- * Redistributions that are modified from the original source must include the
- complete source code, including the source code for all components used by a
- binary built from the modified sources. However, as a special exception, the
- source code distributed need not include anything that is normally distributed
- (in either source or binary form) with the major components (compiler, kernel,
- and so on) of the operating system on which the executable runs, unless that
- component itself accompanies the executable.
-
- * Redistributions must reproduce the above copyright notice, this list of
- conditions and the following disclaimer in the documentation and/or other
- materials provided with the distribution.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE.
+ Couriersud reserves the right to license the code under a less restrictive
+ license going forward.
+
+ Copyright Nicola Salmoria and the MAME team
+ All rights reserved.
+
+ Redistribution and use of this code or any derivative works are permitted
+ provided that the following conditions are met:
+
+ * Redistributions may not be sold, nor may they be used in a commercial
+ product or activity.
+
+ * Redistributions that are modified from the original source must include the
+ complete source code, including the source code for all components used by a
+ binary built from the modified sources. However, as a special exception, the
+ source code distributed need not include anything that is normally distributed
+ (in either source or binary form) with the major components (compiler, kernel,
+ and so on) of the operating system on which the executable runs, unless that
+ component itself accompanies the executable.
+
+ * Redistributions must reproduce the above copyright notice, this list of
+ conditions and the following disclaimer in the documentation and/or other
+ materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
****************************************************************************/
@@ -93,11 +93,11 @@ ATTR_COLD void NETLIST_NAME(_name)(netlist_setup_t &netlist) \
#define NETLIST_END }
-#define NETLIST_INCLUDE(_name) \
+#define NETLIST_INCLUDE(_name) \
NETLIST_NAME(_name)(netlist); \
-#define NETLIST_MEMREGION(_name) \
+#define NETLIST_MEMREGION(_name) \
netlist.parse((char *)downcast<netlist_t &>(netlist.netlist()).machine().root_device().memregion(_name)->base()); \
#if defined(__GNUC__) && (__GNUC__ >= 3)
@@ -154,19 +154,19 @@ ATTR_COLD void NETLIST_NAME(_name)(netlist_setup_t &netlist) \
// MAME specific
#define MCFG_NETLIST_ADD(_tag, _clock, _setup, _subcycles) \
- MCFG_DEVICE_ADD(_tag, NETLIST, _clock) \
+ MCFG_DEVICE_ADD(_tag, NETLIST, _clock) \
MCFG_NETLIST_SUBCYCLES(_subcycles) \
- MCFG_NETLIST_SETUP(_setup) \
+ MCFG_NETLIST_SETUP(_setup) \
#define MCFG_NETLIST_REPLACE(_tag, _clock, _setup, _subcycles) \
- MCFG_DEVICE_REPLACE(_tag, NETLIST, _clock) \
+ MCFG_DEVICE_REPLACE(_tag, NETLIST, _clock) \
MCFG_NETLIST_SUBCYCLES(_subcycles) \
- MCFG_NETLIST_SETUP(_setup) \
+ MCFG_NETLIST_SETUP(_setup) \
-#define MCFG_NETLIST_SUBCYCLES(_subcycles) \
+#define MCFG_NETLIST_SUBCYCLES(_subcycles) \
netlist_mame_device::static_set_subcycles(*device, _subcycles); \
-#define MCFG_NETLIST_SETUP(_setup) \
+#define MCFG_NETLIST_SETUP(_setup) \
netlist_mame_device::static_set_constructor(*device, NETLIST_NAME(_setup)); \
@@ -267,8 +267,8 @@ class net_output_t
public:
net_output_t();
- ATTR_HOT inline void clear() { set_Q(nst_LOW); }
- ATTR_HOT inline void set() { set_Q(nst_HIGH); }
+ ATTR_HOT inline void clear() { set_Q(nst_LOW); }
+ ATTR_HOT inline void set() { set_Q(nst_HIGH); }
ATTR_HOT inline void setTo(const net_sig_t val) { set_Q(val); }
ATTR_HOT inline void setTo(const net_sig_t val, const UINT8 delay_ns) { set_Q(val,delay_ns); }
ATTR_HOT inline void setToNoCheck(const net_sig_t val)
@@ -285,10 +285,10 @@ public:
ATTR_COLD void initial(const net_sig_t val) { m_Q = val; m_new_Q = val; }
- ATTR_HOT inline const net_sig_t Q() const { return m_Q; }
+ ATTR_HOT inline const net_sig_t Q() const { return m_Q; }
inline net_sig_t *Q_ptr() { return &m_Q; }
- inline net_sig_t *new_Q_ptr() { return &m_new_Q; }
+ inline net_sig_t *new_Q_ptr() { return &m_new_Q; }
ATTR_COLD void register_con(net_dev_t *dev);
@@ -407,8 +407,8 @@ public:
inline void initial(const double val) { m_param = val; }
inline void initial(const int val) { m_param = val; }
- inline double Value() { return m_param; }
- inline int ValueInt() { return m_param; }
+ inline double Value() { return m_param; }
+ inline int ValueInt() { return m_param; }
ATTR_HOT inline const net_dev_t *ttl_dev() { return m_ttldev; }
void set_ttl_dev(net_dev_t *dev) { m_ttldev = dev; }
diff --git a/src/emu/machine/roc10937.c b/src/emu/machine/roc10937.c
index 2ee3bbb8d5b..1b6c4e991f9 100644
--- a/src/emu/machine/roc10937.c
+++ b/src/emu/machine/roc10937.c
@@ -159,7 +159,7 @@ void rocvfd_t::device_start()
save_item(NAME(m_count));
save_item(NAME(m_duty));
save_item(NAME(m_disp));
-
+
device_reset();
}
@@ -183,8 +183,8 @@ void rocvfd_t::device_reset()
///////////////////////////////////////////////////////////////////////////
UINT32 rocvfd_t::set_display(UINT32 segin)
{
-
-
+
+
return BITSWAP32(segin, 31,30,29,28,27,26,25,24,23,22,21,20,19,18,17,16,11,9,15,13,12,8,10,14,7,6,5,4,3,2,1,0);
}
@@ -208,7 +208,7 @@ void rocvfd_t::update_display()
}
else
{
- m_outputs[i] = set_display(m_chars[i]);
+ m_outputs[i] = set_display(m_chars[i]);
}
output_set_indexed_value("vfd", (m_port_val*16) + i, m_outputs[i]);
}
@@ -272,7 +272,7 @@ void rocvfd_t::write_char(int data)
}
else
{ // Display data
-// data &= 0x3F;
+// data &= 0x3F;
switch ( data )
{
diff --git a/src/emu/machine/roc10937.h b/src/emu/machine/roc10937.h
index a260d78332e..ec29ed5a7ec 100644
--- a/src/emu/machine/roc10937.h
+++ b/src/emu/machine/roc10937.h
@@ -22,7 +22,7 @@
#define MCFG_ROC10937_REVERSE(_reversed) \
roc10937_t::static_set_zero(*device, _reversed); \
-
+
#define MCFG_ROC10937_REMOVE(_tag) \
MCFG_DEVICE_REMOVE(_tag)
@@ -50,11 +50,11 @@
#define MCFG_MSC1937_REVERSE(_reversed) \
roc10937_t::static_set_zero(*device, _reversed); \
-
+
#define MCFG_MSC1937_REMOVE(_tag) \
MCFG_DEVICE_REMOVE(_tag)
-
-
+
+
class rocvfd_t : public device_t {
public:
typedef delegate<void (bool state)> line_cb;
diff --git a/src/emu/machine/tc009xlvc.c b/src/emu/machine/tc009xlvc.c
index 3e824cd3199..b4243d24f60 100644
--- a/src/emu/machine/tc009xlvc.c
+++ b/src/emu/machine/tc009xlvc.c
@@ -1,11 +1,11 @@
/***************************************************************************
- TC009xLVC device emulation
+ TC009xLVC device emulation
- Written by Angelo Salese, based off Taito L implementation
+ Written by Angelo Salese, based off Taito L implementation
- TODO:
- - non-video stuff needs to be ported there as well
+ TODO:
+ - non-video stuff needs to be ported there as well
***************************************************************************/
@@ -188,7 +188,7 @@ static TILE_GET_INFO_DEVICE( get_bg0_tile_info )
int code = vdp->m_vram0[2 * tile_index]
| ((attr & 0x03) << 8)
| ((vdp->m_vregs[(attr & 0xc) >> 2]) << 10);
-// | (state->m_horshoes_gfxbank << 12);
+// | (state->m_horshoes_gfxbank << 12);
SET_TILE_INFO_DEVICE(
0,
@@ -204,7 +204,7 @@ static TILE_GET_INFO_DEVICE( get_bg1_tile_info )
int code = vdp->m_vram1[2 * tile_index]
| ((attr & 0x03) << 8)
| ((vdp->m_vregs[(attr & 0xc) >> 2]) << 10);
-// | (state->m_horshoes_gfxbank << 12);
+// | (state->m_horshoes_gfxbank << 12);
SET_TILE_INFO_DEVICE(
0,
diff --git a/src/emu/machine/tc009xlvc.h b/src/emu/machine/tc009xlvc.h
index b37286efb58..b3ab6a45aa8 100644
--- a/src/emu/machine/tc009xlvc.h
+++ b/src/emu/machine/tc009xlvc.h
@@ -1,6 +1,6 @@
/***************************************************************************
- TC0091LVC device
+ TC0091LVC device
***************************************************************************/
@@ -43,7 +43,7 @@ public:
UINT8 *m_palette_ram;
UINT8 *m_vregs;
UINT8 *m_bitmap_ram;
-
+
UINT8 *m_pcg_ram;
UINT8 *m_pcg1_ram;
UINT8 *m_pcg2_ram;
diff --git a/src/mame/drivers/aces1.c b/src/mame/drivers/aces1.c
index 5cd51dba512..6c6ffc52d99 100644
--- a/src/mame/drivers/aces1.c
+++ b/src/mame/drivers/aces1.c
@@ -45,7 +45,7 @@ public:
{
return 0x00;
}
-
+
DECLARE_READ8_MEMBER( aces1_unk_port00_r )
{
return 0x00;
@@ -111,19 +111,19 @@ public:
DECLARE_WRITE8_MEMBER(ppi8255_ic25_intf_write_a)
{
- // printf("extender lamps %02x\n", data);
+ // printf("extender lamps %02x\n", data);
}
DECLARE_WRITE8_MEMBER(ppi8255_ic25_intf_write_b)
{
- // printf("meters, extender select %02x\n", data);
+ // printf("meters, extender select %02x\n", data);
}
DECLARE_WRITE8_MEMBER(ppi8255_ic25_intf_write_c)
{
- // printf("reels, extender strobe %02x\n", data);
+ // printf("reels, extender strobe %02x\n", data);
}
-
+
DECLARE_READ8_MEMBER( ppi8255_ic37_intf_read_a )
{
return 0xff;
@@ -154,7 +154,7 @@ protected:
static TIMER_CALLBACK( m_aces1_irq_timer_callback )
{
aces1_state *state = machine.driver_data<aces1_state>();
-// printf("irq\n");
+// printf("irq\n");
device_set_input_line(state->m_maincpu, INPUT_LINE_IRQ0, HOLD_LINE);
state->aces1_reset_irq_timer();
}
@@ -162,7 +162,7 @@ static TIMER_CALLBACK( m_aces1_irq_timer_callback )
static TIMER_CALLBACK( m_aces1_nmi_timer_callback )
{
aces1_state *state = machine.driver_data<aces1_state>();
-// printf("nmi\n");
+// printf("nmi\n");
device_set_input_line(state->m_maincpu, INPUT_LINE_NMI, PULSE_LINE);
state->aces1_reset_nmi_timer();
}
@@ -315,7 +315,7 @@ static MACHINE_CONFIG_START( aces1, aces1_state )
MCFG_I8255A_ADD( "ppi8255_ic24", ppi8255_ic24_intf )
MCFG_I8255A_ADD( "ppi8255_ic25", ppi8255_ic25_intf )
MCFG_I8255A_ADD( "ppi8255_ic37", ppi8255_ic37_intf )
-
+
MCFG_MACHINE_START( aces1 )
MCFG_MACHINE_RESET( aces1 )
MCFG_DEFAULT_LAYOUT(layout_aces1)
@@ -403,13 +403,13 @@ ROM_END
/*
ROM_START( ac1taklva ) // set 2, just a merged rom of the above, probably for another emulator
- ROM_REGION( 0x8000, "maincpu", 0 )
- ROM_LOAD( "430tl.bin", 0x0000, 0x8000, CRC(2fabb08f) SHA1(b737930e428f9258ab22394229c2b5039edf8f97) )
+ ROM_REGION( 0x8000, "maincpu", 0 )
+ ROM_LOAD( "430tl.bin", 0x0000, 0x8000, CRC(2fabb08f) SHA1(b737930e428f9258ab22394229c2b5039edf8f97) )
ROM_END
ROM_START( ac1cshtw ) // Cash Towers, same ROM as above, original machine apparently plays the same, reskinned machine?
- ROM_REGION( 0x8000, "maincpu", 0 )
- ROM_LOAD( "ctp1.bin", 0x0000, 0x8000, CRC(2fabb08f) SHA1(b737930e428f9258ab22394229c2b5039edf8f97) )
+ ROM_REGION( 0x8000, "maincpu", 0 )
+ ROM_LOAD( "ctp1.bin", 0x0000, 0x8000, CRC(2fabb08f) SHA1(b737930e428f9258ab22394229c2b5039edf8f97) )
ROM_END
*/
@@ -731,8 +731,8 @@ GAME( 199?, ac1pstrt ,0 ,aces1 ,aces1 ,aces1 ,ROT0 ,"Pcp", "Pound Stretcher (
GAME( 199?, ac1primt ,0 ,aces1 ,aces1 ,aces1 ,ROT0 ,"Ace", "Primetime (Ace) (ACESYS1) (set 1)",GAME_IS_SKELETON_MECHANICAL )
GAME( 199?, ac1primta ,ac1primt ,aces1 ,aces1 ,aces1 ,ROT0 ,"Ace", "Primetime (Ace) (ACESYS1) (set 2)",GAME_IS_SKELETON_MECHANICAL ) // same but different rom size?
GAME( 199?, ac1taklv ,0 ,aces1 ,aces1 ,aces1 ,ROT0 ,"Ace", "Take It Or Leave It (Ace) (ACESYS1) (set 1)",GAME_IS_SKELETON_MECHANICAL )
-//GAME( 199?, ac1taklva ,ac1taklv ,aces1 ,aces1 ,aces1 ,ROT0 ,"Ace", "Take It Or Leave It (Ace) (ACESYS1) (set 2)",GAME_IS_SKELETON_MECHANICAL ) // just a merged rom of the above, probably for another emulator
-//GAME( 199?, ac1cshtw ,0 ,aces1 ,aces1 ,aces1 ,ROT0 ,"Ace", "Cash Towers (Ace) (ACESYS1)",GAME_IS_SKELETON_MECHANICAL ) // same ROM as above, original machine apparently plays the same, reskinned machine?
+//GAME( 199?, ac1taklva ,ac1taklv ,aces1 ,aces1 ,aces1 ,ROT0 ,"Ace", "Take It Or Leave It (Ace) (ACESYS1) (set 2)",GAME_IS_SKELETON_MECHANICAL ) // just a merged rom of the above, probably for another emulator
+//GAME( 199?, ac1cshtw ,0 ,aces1 ,aces1 ,aces1 ,ROT0 ,"Ace", "Cash Towers (Ace) (ACESYS1)",GAME_IS_SKELETON_MECHANICAL ) // same ROM as above, original machine apparently plays the same, reskinned machine?
GAME( 199?, ac1bbclb ,0 ,aces1 ,aces1 ,aces1 ,ROT0 ,"Ace", "Big Break Club (Ace) (ACESYS1) (set 1)",GAME_IS_SKELETON_MECHANICAL )
GAME( 199?, ac1bbclba ,ac1bbclb ,aces1 ,aces1 ,aces1 ,ROT0 ,"Ace", "Big Break Club (Ace) (ACESYS1) (set 2)",GAME_IS_SKELETON_MECHANICAL )
GAME( 199?, ac1clbsv ,0 ,aces1 ,aces1 ,aces1 ,ROT0 ,"Ace", "Club Sovereign (Ace) (ACESYS1)",GAME_IS_SKELETON_MECHANICAL )
diff --git a/src/mame/drivers/acesp.c b/src/mame/drivers/acesp.c
index dd89d73f680..e8855b13c33 100644
--- a/src/mame/drivers/acesp.c
+++ b/src/mame/drivers/acesp.c
@@ -56,7 +56,7 @@ static ADDRESS_MAP_START( ace_sp_map, AS_PROGRAM, 8, ace_sp_state )
/* 0x3f */
//----- 0x0040 - 0x013f is internal RAM (256 bytes) -----
AM_RANGE(0x0040, 0x013f) AM_RAM
-
+
/**** regular map ****/
AM_RANGE(0x0140, 0x1fff) AM_RAM
@@ -2310,7 +2310,7 @@ ROM_START( sp_codera )
SP_CODER_SOUND
ROM_END
-
+
ROM_START( sp_coderb )
ROM_REGION( 0x80000, "maincpu", 0 )
ROM_LOAD( "cr655d3d", 0x0000, 0x8000, CRC(a20fc66b) SHA1(df67d0fe655e218afc92342609411e76be4dd47b) )
@@ -3342,13 +3342,13 @@ ROM_START( sp_onboxm )
ROM_LOAD( "0016rp40.bin", 0x0000, 0x010000, CRC(591e3e24) SHA1(b147bfc19aa46eb3237b270d771031caaf978850) ) // merged rom
SP_ONBOX_SOUND
ROM_END
-
+
ROM_START( sp_onboxn )
ROM_REGION( 0x80000, "maincpu", 0 )
ROM_LOAD( "0016rp50.bin", 0x0000, 0x010000, CRC(73c5c449) SHA1(453969ec5c4fe1ce8f118110106e31126a358cda) ) // merged rom
SP_ONBOX_SOUND
ROM_END
-
+
#define SP_PISTE_SOUND \
diff --git a/src/mame/drivers/bfm_sc1.c b/src/mame/drivers/bfm_sc1.c
index 07b61b2f508..1f6aa962a9b 100644
--- a/src/mame/drivers/bfm_sc1.c
+++ b/src/mame/drivers/bfm_sc1.c
@@ -1785,7 +1785,7 @@ ROM_START( sc1cops )
ROM_REGION( 0x10000, "maincpu", 0 )
ROM_LOAD( "cop56cp2", 0x0000, 0x008000, CRC(c862ee34) SHA1(e807d1072953e67581ce0181bfd82a7efcee7bf0) )
ROM_LOAD( "cop56cp1", 0x8000, 0x008000, CRC(214edd7d) SHA1(007c17cc522c8f0d30bc1fd08bb18850344f62ad) )
-
+
ROM_REGION( 0x80000, "upd", 0 )
ROM_LOAD( "copssnd.bin", 0x0000, 0x040000, CRC(4bebbc37) SHA1(10eb8542a9de35efc0f75b532c94e1b3e0d21e47) )
@@ -1795,7 +1795,7 @@ ROM_START( sc1copsa )
ROM_REGION( 0x10000, "maincpu", 0 )
ROM_LOAD( "cops & robbers 5p v1-3 b (27256)", 0x0000, 0x008000, CRC(6f5425d6) SHA1(7673841ccfe16eaa0a5cfca1596383f7711f2dbe) )
ROM_LOAD( "cops & robbers 5p v1-3 a (27256)", 0x8000, 0x008000, CRC(29513083) SHA1(f2ce0b573d6756e7d835488b8d8eed3266787255) )
-
+
ROM_REGION( 0x80000, "upd", 0 )
ROM_LOAD( "copssnd.bin", 0x0000, 0x040000, CRC(4bebbc37) SHA1(10eb8542a9de35efc0f75b532c94e1b3e0d21e47) )
diff --git a/src/mame/drivers/bfm_sc2.c b/src/mame/drivers/bfm_sc2.c
index 41829c4d5b6..fdb46cc77e2 100644
--- a/src/mame/drivers/bfm_sc2.c
+++ b/src/mame/drivers/bfm_sc2.c
@@ -1461,7 +1461,7 @@ static ADDRESS_MAP_START( sc2_basemap, AS_PROGRAM, 8, bfm_sc2_state )
AM_RANGE(0x2C00, 0x2C00) AM_WRITE(unlock_w) /* custom chip unlock */
AM_RANGE(0x2D00, 0x2D01) AM_DEVWRITE_LEGACY("ymsnd", ym2413_w)
AM_RANGE(0x2E00, 0x2E00) AM_WRITE(bankswitch_w) /* write bank (rom page select for 0x6000 - 0x7fff ) */
- //AM_RANGE(0x2F00, 0x2F00) AM_WRITE(vfd2_data_w) /* vfd2 data (not usually connected!)*/
+ //AM_RANGE(0x2F00, 0x2F00) AM_WRITE(vfd2_data_w) /* vfd2 data (not usually connected!)*/
AM_RANGE(0x3FFE, 0x3FFE) AM_READ(direct_input_r )
AM_RANGE(0x3FFF, 0x3FFF) AM_READ(coin_input_r)
diff --git a/src/mame/drivers/bfmsys85.c b/src/mame/drivers/bfmsys85.c
index 1fccd975a3f..7e2412d8636 100644
--- a/src/mame/drivers/bfmsys85.c
+++ b/src/mame/drivers/bfmsys85.c
@@ -75,7 +75,7 @@ public:
: driver_device(mconfig, type, tag),
m_vfd(*this, "vfd")
{ }
-
+
optional_device<roc10937_t> m_vfd;
int m_mmtr_latch;
int m_triac_latch;
@@ -260,7 +260,7 @@ READ8_MEMBER(bfmsys85_state::mmtr_r)
WRITE8_MEMBER(bfmsys85_state::vfd_w)
{
-
+
if (data & VFD_RESET)//inverted?
{
if (m_alpha_clock != (data & VFD_CLOCK1))
diff --git a/src/mame/drivers/cobra.c b/src/mame/drivers/cobra.c
index a599d390ae5..ae75243ae9a 100644
--- a/src/mame/drivers/cobra.c
+++ b/src/mame/drivers/cobra.c
@@ -2,56 +2,56 @@
*/
/*
- check_color_buffer(): 0, 0
- gfxfifo_exec: ram write 00100: 00000800
- gfxfifo_exec: ram write 00104: 00000000
- gfxfifo_exec: ram write 00108: 00000080
- gfxfifo_exec: ram write 0010C: 00000080
- gfxfifo_exec: ram write 00110: 20200000
- gfxfifo_exec: ram write 00120: 08800800
- gfxfifo_exec: ram write 00124: 00081018
- gfxfifo_exec: ram write 00128: 08080808
- gfxfifo_exec: ram write 80100: 00800000
- gfxfifo_exec: ram write 80104: 00800000
- gfxfifo_exec: ram write 80110: 00800000
- gfxfifo_exec: ram write 800A8: 00000000
- gfxfifo_exec: ram write 80108: 00000000
-
- check_color_buffer(): 0, 1
- gfxfifo_exec: ram write 00120: 08800800
- gfxfifo_exec: ram write 00124: 00081018
- gfxfifo_exec: ram write 00128: 08080808
- gfxfifo_exec: ram write 80100: 00200000
- gfxfifo_exec: ram write 80104: 00200000
- gfxfifo_exec: ram write 80110: 00200000
- gfxfifo_exec: ram write 800A8: 00000000
-
- check_overlay_buffer():
- gfxfifo_exec: ram write 00120: 08800800
- gfxfifo_exec: ram write 00124: 00081018
- gfxfifo_exec: ram write 00128: 08080808
- gfxfifo_exec: ram write 80100: 000E0000
- gfxfifo_exec: ram write 80104: 000E0000
- gfxfifo_exec: ram write 80110: 000E0000
- gfxfifo_exec: ram write 800A8: 00000000
-
- check_z_buffer():
- gfxfifo_exec: ram write 00120: 08000800
- gfxfifo_exec: ram write 00124: 00000010
- gfxfifo_exec: ram write 00128: 00001010
- gfxfifo_exec: ram write 80100: 00000000
- gfxfifo_exec: ram write 80104: 00000800
- gfxfifo_exec: ram write 80110: 00000800
- gfxfifo_exec: ram write 800A8: 80000000
-
- check_stencil_buffer():
- gfxfifo_exec: ram write 00120: 08000800
- gfxfifo_exec: ram write 00124: 00000010
- gfxfifo_exec: ram write 00128: 00001010
- gfxfifo_exec: ram write 80100: 00000000
- gfxfifo_exec: ram write 80104: 00000200
- gfxfifo_exec: ram write 80110: 00000200
- gfxfifo_exec: ram write 800A8: 80000000
+ check_color_buffer(): 0, 0
+ gfxfifo_exec: ram write 00100: 00000800
+ gfxfifo_exec: ram write 00104: 00000000
+ gfxfifo_exec: ram write 00108: 00000080
+ gfxfifo_exec: ram write 0010C: 00000080
+ gfxfifo_exec: ram write 00110: 20200000
+ gfxfifo_exec: ram write 00120: 08800800
+ gfxfifo_exec: ram write 00124: 00081018
+ gfxfifo_exec: ram write 00128: 08080808
+ gfxfifo_exec: ram write 80100: 00800000
+ gfxfifo_exec: ram write 80104: 00800000
+ gfxfifo_exec: ram write 80110: 00800000
+ gfxfifo_exec: ram write 800A8: 00000000
+ gfxfifo_exec: ram write 80108: 00000000
+
+ check_color_buffer(): 0, 1
+ gfxfifo_exec: ram write 00120: 08800800
+ gfxfifo_exec: ram write 00124: 00081018
+ gfxfifo_exec: ram write 00128: 08080808
+ gfxfifo_exec: ram write 80100: 00200000
+ gfxfifo_exec: ram write 80104: 00200000
+ gfxfifo_exec: ram write 80110: 00200000
+ gfxfifo_exec: ram write 800A8: 00000000
+
+ check_overlay_buffer():
+ gfxfifo_exec: ram write 00120: 08800800
+ gfxfifo_exec: ram write 00124: 00081018
+ gfxfifo_exec: ram write 00128: 08080808
+ gfxfifo_exec: ram write 80100: 000E0000
+ gfxfifo_exec: ram write 80104: 000E0000
+ gfxfifo_exec: ram write 80110: 000E0000
+ gfxfifo_exec: ram write 800A8: 00000000
+
+ check_z_buffer():
+ gfxfifo_exec: ram write 00120: 08000800
+ gfxfifo_exec: ram write 00124: 00000010
+ gfxfifo_exec: ram write 00128: 00001010
+ gfxfifo_exec: ram write 80100: 00000000
+ gfxfifo_exec: ram write 80104: 00000800
+ gfxfifo_exec: ram write 80110: 00000800
+ gfxfifo_exec: ram write 800A8: 80000000
+
+ check_stencil_buffer():
+ gfxfifo_exec: ram write 00120: 08000800
+ gfxfifo_exec: ram write 00124: 00000010
+ gfxfifo_exec: ram write 00128: 00001010
+ gfxfifo_exec: ram write 80100: 00000000
+ gfxfifo_exec: ram write 80104: 00000200
+ gfxfifo_exec: ram write 80110: 00000200
+ gfxfifo_exec: ram write 800A8: 80000000
*/
@@ -203,7 +203,7 @@ public:
int m_comram_page;
bitmap_rgb32 *m_framebuffer;
-
+
int m_main_debug_state;
int m_main_debug_state_wc;
int m_sub_debug_state;
@@ -290,7 +290,7 @@ void cobra_renderer::draw_line(const rectangle &visarea, vertex_t &v1, vertex_t
{
int x = x1;
for (int i=0; i < abs(dx); i++)
- {
+ {
int y = y1 + (dy * (float)(x - x1) / (float)(dx));
UINT32 *fb = &m_fb->pix32(y);
@@ -656,11 +656,11 @@ READ64_MEMBER(cobra_state::main_fifo_r)
/*
- if (fifo_is_empty(S2MFIFO))
- {
- device_spin_until_time(machine().device("subcpu"), attotime::from_usec(80));
- }
- */
+ if (fifo_is_empty(S2MFIFO))
+ {
+ device_spin_until_time(machine().device("subcpu"), attotime::from_usec(80));
+ }
+ */
}
if (ACCESSING_BITS_32_39)
{
@@ -900,7 +900,7 @@ READ32_MEMBER(cobra_state::sub_mainbd_r)
if (m_m2sfifo->is_empty())
{
- // cputag_set_input_line(space.machine(), "subcpu", INPUT_LINE_IRQ0, CLEAR_LINE);
+ // cputag_set_input_line(space.machine(), "subcpu", INPUT_LINE_IRQ0, CLEAR_LINE);
// this is a hack...
// MAME has a small interrupt latency, which prevents the IRQ bit from being cleared in
@@ -911,11 +911,11 @@ READ32_MEMBER(cobra_state::sub_mainbd_r)
r |= (value & 0xff) << 24;
/*
- if (fifo_is_empty(M2SFIFO))
- {
- device_spin_until_time(machine().device("maincpu"), attotime::from_usec(80));
- }
- */
+ if (fifo_is_empty(M2SFIFO))
+ {
+ device_spin_until_time(machine().device("maincpu"), attotime::from_usec(80));
+ }
+ */
}
if (ACCESSING_BITS_16_23)
{
@@ -986,7 +986,7 @@ WRITE32_MEMBER(cobra_state::sub_mainbd_w)
if (!s2mfifo_unk_flag)
{
-// cputag_set_input_line(space.machine(), "subcpu", INPUT_LINE_IRQ1, ASSERT_LINE);
+// cputag_set_input_line(space.machine(), "subcpu", INPUT_LINE_IRQ1, ASSERT_LINE);
// this is a hack...
// MAME has a small interrupt latency, which prevents the IRQ bit from being set in
@@ -995,7 +995,7 @@ WRITE32_MEMBER(cobra_state::sub_mainbd_w)
}
else
{
-// cputag_set_input_line(space.machine(), "subcpu", INPUT_LINE_IRQ1, CLEAR_LINE);
+// cputag_set_input_line(space.machine(), "subcpu", INPUT_LINE_IRQ1, CLEAR_LINE);
// this is a hack...
// MAME has a small interrupt latency, which prevents the IRQ bit from being cleared in
@@ -1195,9 +1195,9 @@ static ADDRESS_MAP_START( cobra_sub_map, AS_PROGRAM, 32, cobra_state )
AM_RANGE(0x7e000000, 0x7e000003) AM_MIRROR(0x80000000) AM_WRITE(sub_debug_w)
AM_RANGE(0x7e180000, 0x7e180003) AM_MIRROR(0x80000000) AM_READWRITE(sub_unk1_r, sub_unk1_w)
AM_RANGE(0x7e200000, 0x7e200003) AM_MIRROR(0x80000000) AM_READWRITE(sub_config_r, sub_config_w)
-// AM_RANGE(0x7e240000, 0x7e27ffff) AM_MIRROR(0x80000000) AM_RAM // PSAC (ROZ) in Racing Jam.
-// AM_RANGE(0x7e280000, 0x7e28ffff) AM_MIRROR(0x80000000) AM_RAM // LANC
-// AM_RANGE(0x7e300000, 0x7e30ffff) AM_MIRROR(0x80000000) AM_RAM // LANC
+// AM_RANGE(0x7e240000, 0x7e27ffff) AM_MIRROR(0x80000000) AM_RAM // PSAC (ROZ) in Racing Jam.
+// AM_RANGE(0x7e280000, 0x7e28ffff) AM_MIRROR(0x80000000) AM_RAM // LANC
+// AM_RANGE(0x7e300000, 0x7e30ffff) AM_MIRROR(0x80000000) AM_RAM // LANC
AM_RANGE(0x7e380000, 0x7e380003) AM_MIRROR(0x80000000) AM_READWRITE(sub_mainbd_r, sub_mainbd_w)
AM_RANGE(0x7ff80000, 0x7fffffff) AM_MIRROR(0x80000000) AM_ROM AM_REGION("user2", 0) /* Boot ROM */
ADDRESS_MAP_END
@@ -1391,38 +1391,38 @@ void cobra_renderer::gfx_fifo_exec(running_machine &machine)
case 0xa8:
case 0xac:
{
- // 0xA80114CC prm_flashcolor()
+ // 0xA80114CC prm_flashcolor()
// 0xA80118CC
// 0xA80108FF
- // 0xA80108FF prm_flashmisc()
+ // 0xA80108FF prm_flashmisc()
// 0xA80110FF
// 0xA8011CE0
- // 0xA401BCC0 texenvmode()
+ // 0xA401BCC0 texenvmode()
- // 0xA4019CC0 mode_fog()
+ // 0xA4019CC0 mode_fog()
- // 0xA40018C0 mode_stipple()
+ // 0xA40018C0 mode_stipple()
// 0xA400D080
- // 0xA40138E0 mode_viewclip()
+ // 0xA40138E0 mode_viewclip()
- // 0xA4011410 mode_scissor()
+ // 0xA4011410 mode_scissor()
- // 0xA40198A0 mode_alphatest()
+ // 0xA40198A0 mode_alphatest()
- // 0xA8002010 mode_depthtest()
+ // 0xA8002010 mode_depthtest()
- // 0xA800507C mode_blend()
+ // 0xA800507C mode_blend()
- // 0xA8001CFE mode_stenciltest()
+ // 0xA8001CFE mode_stenciltest()
- // 0xA8002010 mode_stencilmod()
+ // 0xA8002010 mode_stencilmod()
// 0xA80054E0
// 0xA8001CFE
- // 0xA80118CC mode_colormask()
+ // 0xA80118CC mode_colormask()
// 0xA80114CC
// 0xAxxxxxxx is different form in mbuslib_regwrite()
@@ -1461,20 +1461,20 @@ void cobra_renderer::gfx_fifo_exec(running_machine &machine)
{
// E0C00004 18C003C0 - 32 params
// E0C00004 18F803C1 - 48 params
- // E0C00003 18C003C0 - 24 params prm_triangle()
- // E0C00008 18C003C0 - 64 params prm_trianglestrip()
- // E0C00001 58C003C1 - 10 params prm_trianglefan() (start vertex?)
- // E0800004 18C003C0 - 32 params prm_trianglefan()
- // E3000002 58C003C1 - 20 params prm_line()
- // E3000008 58C003C1 - 80 params prm_lines()
- // E3000005 58C003C1 - 50 params prm_linestrip()
- // E2000001 18C003C0 - 8 params prm_point()
- // E2000008 18C003C0 - 64 params prm_points()
+ // E0C00003 18C003C0 - 24 params prm_triangle()
+ // E0C00008 18C003C0 - 64 params prm_trianglestrip()
+ // E0C00001 58C003C1 - 10 params prm_trianglefan() (start vertex?)
+ // E0800004 18C003C0 - 32 params prm_trianglefan()
+ // E3000002 58C003C1 - 20 params prm_line()
+ // E3000008 58C003C1 - 80 params prm_lines()
+ // E3000005 58C003C1 - 50 params prm_linestrip()
+ // E2000001 18C003C0 - 8 params prm_point()
+ // E2000008 18C003C0 - 64 params prm_points()
// E0C00003 38C003C1 - 30 params
// E0C00008 38C003C1 - 80 params
// E0C00001 78C003C0 - 10 params
// E0800004 38C003C1 - 40 params
- // E3000002 78C003C0 - 20 params prm_line()
+ // E3000002 78C003C0 - 20 params prm_line()
// E3400002 58C003C1 - 20 params
// E0C00003 18F803C1 - 36 params
// E0C00001 58F803C0 - 12 params
@@ -1536,7 +1536,7 @@ void cobra_renderer::gfx_fifo_exec(running_machine &machine)
return;
}
-
+
// make sure the FIFO has fresh data at top...
fifo_out->flush();
@@ -1598,36 +1598,36 @@ void cobra_renderer::gfx_fifo_exec(running_machine &machine)
}
}
/*
- else if (w1 == 0xe0c00003 && w2 == 0x18c003c0)
- {
- // Triangle poly packet?
- vertex_t vert[3];
+ else if (w1 == 0xe0c00003 && w2 == 0x18c003c0)
+ {
+ // Triangle poly packet?
+ vertex_t vert[3];
- for (i=0; i < 3; i++)
- {
- UINT64 in = 0;
- fifo_in->pop(NULL, &in);
+ for (i=0; i < 3; i++)
+ {
+ UINT64 in = 0;
+ fifo_in->pop(NULL, &in);
- fifo_in->pop(NULL, &in);
+ fifo_in->pop(NULL, &in);
- vert[i].x = (u2f((UINT32)(in)) / 8.0f) + 256.0f;
+ vert[i].x = (u2f((UINT32)(in)) / 8.0f) + 256.0f;
- fifo_in->pop(NULL, &in);
+ fifo_in->pop(NULL, &in);
- vert[i].y = (u2f((UINT32)(in)) / 8.0f) + 192.0f;
+ vert[i].y = (u2f((UINT32)(in)) / 8.0f) + 192.0f;
- fifo_in->pop(NULL, &in);
+ fifo_in->pop(NULL, &in);
- fifo_in->pop(NULL, &in);
- fifo_in->pop(NULL, &in);
- fifo_in->pop(NULL, &in);
- fifo_in->pop(NULL, &in);
- }
+ fifo_in->pop(NULL, &in);
+ fifo_in->pop(NULL, &in);
+ fifo_in->pop(NULL, &in);
+ fifo_in->pop(NULL, &in);
+ }
- render_delegate rd = render_delegate(FUNC(cobra_renderer::render_texture_scan), this);
- render_triangle(visarea, rd, 6, vert[0], vert[1], vert[2]);
- }
- */
+ render_delegate rd = render_delegate(FUNC(cobra_renderer::render_texture_scan), this);
+ render_triangle(visarea, rd, 6, vert[0], vert[1], vert[2]);
+ }
+ */
else
{
printf("gfxfifo_exec: unhandled %08X %08X\n", w1, w2);
@@ -1673,7 +1673,7 @@ void cobra_renderer::gfx_fifo_exec(running_machine &machine)
fifo_in->pop(NULL, &param);
/*
- if (c == 0)
+ if (c == 0)
printf(" ");
printf("%08X ", (UINT32)(param));
@@ -2058,7 +2058,7 @@ WRITE64_MEMBER(cobra_state::gfx_unk1_w)
if (value == 0xc0)
{
m_gfxfifo_in->pop(&space.device(), &in1);
- m_gfxfifo_in->pop(&space.device(), &in2);
+ m_gfxfifo_in->pop(&space.device(), &in2);
m_gfx_unknown_v1 = (UINT32)(in1 >> 32); // FIFO number is read back from this same register
m_gfxfifo_out->push(&space.device(), in1 & 0xffffffff);
@@ -2379,7 +2379,7 @@ static DRIVER_INIT(racjamdx)
rom[0x62094 / 4] = 0x60000000; // skip hardcheck()...
rom[0x62ddc / 4] = 0x60000000; // skip lanc_hardcheck()
-
+
// calculate the checksum of the patched rom...
UINT32 sum = 0;
for (int i=0; i < 0x20000/4; i++)
diff --git a/src/mame/drivers/cybertnk.c b/src/mame/drivers/cybertnk.c
index 41bf39971fa..4971b2910a8 100644
--- a/src/mame/drivers/cybertnk.c
+++ b/src/mame/drivers/cybertnk.c
@@ -11,7 +11,7 @@ TODO:
How are unused sprites marked? None of the bits alone seem to be used for this purpose
and while in many cases the first value gets cleared to 0x0000 (palette 0, upper tile offset 0)
that doesn't really seem like a valid marker, and leaves us with some lingering sprites anyway.
-
+
Attempting to clear the spriteram every frame doesn't help either, the list is copied, complete
with 'unwanted' sprites every frame, ruling out some kind of auto clear after drawing operation.
@@ -307,7 +307,7 @@ static void draw_road(screen_device &screen, bitmap_ind16 &bitmap, const rectang
UINT16 param1 = state->m_roadram[i+2];
UINT16 param2 = state->m_roadram[i+1];
UINT16 param3 = state->m_roadram[i+0];
-
+
int col = (param2 & 0x3f);
// seems to be priority related, cases seen are 0xc0 and 0x00 (once the palette bits are masked out)
@@ -335,23 +335,23 @@ static void draw_sprites(screen_device &screen, bitmap_ind16 &bitmap, const rect
/*
- o = offset
- y = ypos Y = ysize ^ = always 0xF? ? = set for no obvious reason..
- x = xpos X = xsize f = flipx
+ o = offset
+ y = ypos Y = ysize ^ = always 0xF? ? = set for no obvious reason..
+ x = xpos X = xsize f = flipx
- Z = zoom * = alt zoom? (ok for roadside, but 00 for player tank etc?)
- C = colour
+ Z = zoom * = alt zoom? (ok for roadside, but 00 for player tank etc?)
+ C = colour
+word offset
- CCCC CCCC #### @ooo 0x0 # bits are often set too? @ is set at the very end of spriteram
- oooo oooo oooo oooo 0x1
- ---- ---- ---y yyyy 0x2
- ---- ---- ---- ---- 0x3 (always has a value here, gets set to FFFF on some cleared sprites?)
- ???? ^^^^ YYYY YYYY 0x4
- f--- --xx xxxx xxxx 0x5
- ZZZZ ZZZZ ---- XXXX 0x6
- ---- ---- **** **** 0x7
+ CCCC CCCC #### @ooo 0x0 # bits are often set too? @ is set at the very end of spriteram
+ oooo oooo oooo oooo 0x1
+ ---- ---- ---y yyyy 0x2
+ ---- ---- ---- ---- 0x3 (always has a value here, gets set to FFFF on some cleared sprites?)
+ ???? ^^^^ YYYY YYYY 0x4
+ f--- --xx xxxx xxxx 0x5
+ ZZZZ ZZZZ ---- XXXX 0x6
+ ---- ---- **** **** 0x7
- */
+ */
for(int offs=0;offs<0x1000/2;offs+=8)
@@ -386,13 +386,13 @@ static void draw_sprites(screen_device &screen, bitmap_ind16 &bitmap, const rect
for(int yi = 0;yi < ysize;yi++)
{
xf = xz = 0;
-
+
int yy = y+yz;
if ((yy>=miny) && (yy<=maxy))
{
- dest = &bitmap.pix16(yy, 0);
+ dest = &bitmap.pix16(yy, 0);
int start,end,inc;
@@ -412,9 +412,9 @@ static void draw_sprites(screen_device &screen, bitmap_ind16 &bitmap, const rect
for(int xi=start;xi != end;xi+=inc)
{ // start x loop
UINT32 color;
-
+
color = sprrom[spr_offs+xi/8];
-
+
UINT16 dot;
int x_dec; //helpers
@@ -471,10 +471,10 @@ static void draw_sprites(screen_device &screen, bitmap_ind16 &bitmap, const rect
if(yf >= 0x80) { yz++; yf-=0x80; }
}
}
- }
+ }
-// if (state->m_spr_ram[0xff0/2] == 0x0008)
-// memset(state->m_spr_ram, 0x00, 0xff0);
+// if (state->m_spr_ram[0xff0/2] == 0x0008)
+// memset(state->m_spr_ram, 0x00, 0xff0);
}
@@ -493,7 +493,7 @@ static UINT32 update_screen(screen_device &screen, bitmap_ind16 &bitmap, const r
state->m_tilemap1_tilemap->set_scrollx(state->m_tilemap1scroll[0]);
state->m_tilemap2_tilemap->set_scrollx(state->m_tilemap2scroll[0]);
-
+
bitmap.fill(get_black_pen(screen.machine()), cliprect);
@@ -541,7 +541,7 @@ WRITE8_MEMBER( cybertnk_state::cybertnk_sound_cmd_w )
{
if (offset == 0)
{
- printf("cybertnk_sound_cmd_w offset 0 %02x\n", data);
+ printf("cybertnk_sound_cmd_w offset 0 %02x\n", data);
}
else if (offset == 1)
{
@@ -555,11 +555,11 @@ WRITE8_MEMBER( cybertnk_state::cybertnk_mux_w )
{
if (offset == 0)
{
-// printf("cybertnk_mux_w offset 0 %02x\n", data);
+// printf("cybertnk_mux_w offset 0 %02x\n", data);
}
else if (offset == 1)
{
-// printf("cybertnk_mux_w offset 1 %02x\n", data);
+// printf("cybertnk_mux_w offset 1 %02x\n", data);
m_mux_data = data & 0x60;
/* Other bits are unknown */
}
@@ -583,7 +583,7 @@ WRITE8_MEMBER( cybertnk_state::cybertnk_irq_ack_w )
if (offset == 0)
{
// unused?
- logerror("cybertnk_irq_ack_w offset 0 %02x\n", data);
+ logerror("cybertnk_irq_ack_w offset 0 %02x\n", data);
}
else if (offset == 1)
{
@@ -602,7 +602,7 @@ WRITE8_MEMBER( cybertnk_state::cybertnk_cnt_w )
else if (offset == 1)
{
// unused?
- logerror("cybertnk_cnt_w offset 1 %02x\n", data);
+ logerror("cybertnk_cnt_w offset 1 %02x\n", data);
}
}
diff --git a/src/mame/drivers/cyclemb.c b/src/mame/drivers/cyclemb.c
index dc7e578e6c9..c8bb3548333 100644
--- a/src/mame/drivers/cyclemb.c
+++ b/src/mame/drivers/cyclemb.c
@@ -1,7 +1,7 @@
/***************************************************************************************************
Cycle Mahbou (c) 1984 Taito Corporation / Seta
- Sky Destroyer (c9 1985 Taito Corporation
+ Sky Destroyer (c9 1985 Taito Corporation
appears to be in the exact middle between the gsword / josvolly HW and the ppking / gladiator HW
@@ -237,17 +237,17 @@ static void skydest_draw_tilemap(screen_device &screen, bitmap_ind16 &bitmap, co
int x,y;
//UINT8 flip_screen = state->flip_screen();
/*
- char tempstring[1024];
+ char tempstring[1024];
- for (x=0;x<64;x++)
- {
- if (x<32)
- sprintf(tempstring, "%s %02x", tempstring, state->m_vram[x*64+0]);
- else
- sprintf(tempstring, "%s %02x", tempstring, state->m_vram[(x-32)*64+1]);
- }
+ for (x=0;x<64;x++)
+ {
+ if (x<32)
+ sprintf(tempstring, "%s %02x", tempstring, state->m_vram[x*64+0]);
+ else
+ sprintf(tempstring, "%s %02x", tempstring, state->m_vram[(x-32)*64+1]);
+ }
- printf("%s", tempstring);
+ printf("%s", tempstring);
*/
for (y=0;y<32;y++)
@@ -300,7 +300,7 @@ static void skydest_draw_sprites(screen_device &screen, bitmap_ind16 &bitmap, co
UINT16 spr_offs,i;
INT16 x,y;
-// popmessage("%d %d",state->m_obj2_ram[0x0d], 0xf1 - state->m_obj2_ram[0x0c+1] + 68);
+// popmessage("%d %d",state->m_obj2_ram[0x0d], 0xf1 - state->m_obj2_ram[0x0c+1] + 68);
for(i=0;i<0x80;i+=2)
{
@@ -314,7 +314,7 @@ static void skydest_draw_sprites(screen_device &screen, bitmap_ind16 &bitmap, co
if(region == 2)
{
spr_offs >>= 2;
- // spr_offs += ((state->m_obj3_ram[i+0] & 3) << 5);
+ // spr_offs += ((state->m_obj3_ram[i+0] & 3) << 5);
x-=16;
}
@@ -459,8 +459,8 @@ static READ8_HANDLER( skydest_8741_0_r )
printf("%02x\n",skydest_mcu.txd);
skydest_mcu.rxd = 0x00;
}
- // skydest_mcu.rxd = space->machine().rand();
- // break;
+ // skydest_mcu.rxd = space->machine().rand();
+ // break;
}
}
@@ -1005,7 +1005,7 @@ static MACHINE_CONFIG_DERIVED( skydest, cyclemb )
MCFG_SCREEN_VISIBLE_AREA(2*8, 34*8-1, 2*8, 30*8-1)
MCFG_SCREEN_UPDATE_STATIC(skydest)
-// MCFG_PALETTE_INIT(skydest)
+// MCFG_PALETTE_INIT(skydest)
MACHINE_CONFIG_END
/***************************************************************************
@@ -1066,11 +1066,11 @@ ROM_START( skydest )
ROM_REGION( 0x10000, "sprite_data_1", ROMREGION_ERASEFF )
ROM_LOAD( "pd0-7.1k", 0x000000, 0x002000, CRC(83137d42) SHA1(7e35f28577d6bfeee184a0ac3095b478999d6477) ) //ok
- ROM_LOAD( "pd1-8.1l", 0x002000, 0x002000, CRC(b810858b) SHA1(385e625fc989a1dfa18559a62c99363b62c66a67) ) //ok
+ ROM_LOAD( "pd1-8.1l", 0x002000, 0x002000, CRC(b810858b) SHA1(385e625fc989a1dfa18559a62c99363b62c66a67) ) //ok
ROM_LOAD( "pd0-9.1m", 0x004000, 0x002000, CRC(6f558bee) SHA1(0539feaa848d6cfb9f90a46a851f73fb74e82676) ) //ok
ROM_LOAD( "pd1-10.1n", 0x006000, 0x002000, CRC(5840b5b5) SHA1(1b5b188023c4d3198402c946b8c5a51d7f512a07) )
ROM_LOAD( "pd0-11.1r", 0x008000, 0x002000, CRC(29e5fce4) SHA1(59748e3a192a45dce7920e8d5a7a11d5145915b0) ) //ok
- ROM_LOAD( "pd0-12.1s", 0x00a000, 0x002000, CRC(06234942) SHA1(1cc40a8c8e24ab6db1dc7dc88979be23b7a9cab6) )
+ ROM_LOAD( "pd0-12.1s", 0x00a000, 0x002000, CRC(06234942) SHA1(1cc40a8c8e24ab6db1dc7dc88979be23b7a9cab6) )
ROM_LOAD( "pd1-13.1t", 0x00c000, 0x002000, CRC(3cca5b95) SHA1(74baec7c128254c394dd3162df7abacf5ed5a99b) ) //ok
ROM_LOAD( "pd0-14.1u", 0x00e000, 0x002000, CRC(7ef05b01) SHA1(f36ad1c0dac201729def78dc18feacda8fcf1a3f) )
diff --git a/src/mame/drivers/dfruit.c b/src/mame/drivers/dfruit.c
index 6825990dffa..29b896fab07 100644
--- a/src/mame/drivers/dfruit.c
+++ b/src/mame/drivers/dfruit.c
@@ -2,16 +2,16 @@
Fruit Dream (c) 1993 Nippon Data Kiki / Star Fish
- driver by Angelo Salese
+ driver by Angelo Salese
Uses a TC0091LVC, a variant of the one used on Taito L HW
TODO:
- - title screen (PCG uploads at 0x1b400?)
- - inputs are grossly mapped;
- - lamps?
- - service mode?
- - nvram?
+ - title screen (PCG uploads at 0x1b400?)
+ - inputs are grossly mapped;
+ - lamps?
+ - service mode?
+ - nvram?
***************************************************************************/
diff --git a/src/mame/drivers/esd16.c b/src/mame/drivers/esd16.c
index 3cf0122391f..8ec34511a78 100644
--- a/src/mame/drivers/esd16.c
+++ b/src/mame/drivers/esd16.c
@@ -180,7 +180,7 @@ static ADDRESS_MAP_START( jumppop_map, AS_PROGRAM, 16, esd16_state )
AM_RANGE(0x180008, 0x180009) AM_WRITE(esd16_tilemap0_color_jumppop_w) // todo
- ESD16_PALETTE_AREA( 0x140000 )
+ ESD16_PALETTE_AREA( 0x140000 )
ESD16_SPRITE_AREA( 0x160000 )
ESD16_IO_AREA_DSW( 0x180000 )
ESD16_VRAM_AREA( 0x300000 )
diff --git a/src/mame/drivers/globalfr.c b/src/mame/drivers/globalfr.c
index a30c7281df7..6a2e7d6d1b6 100644
--- a/src/mame/drivers/globalfr.c
+++ b/src/mame/drivers/globalfr.c
@@ -42,7 +42,7 @@ public:
WRITE16_MEMBER(globalfr_state::vfd_w)
{
-// if(!(data & 0x20)) need to find reset
+// if(!(data & 0x20)) need to find reset
{
int clock = (data & 0x40) != 0;
int datline = (data & 0x80);
@@ -55,10 +55,10 @@ WRITE16_MEMBER(globalfr_state::vfd_w)
}
m_alpha_clock = clock;
}
-// else
-// {
-// m_vfd->reset();
-// }
+// else
+// {
+// m_vfd->reset();
+// }
}
static ADDRESS_MAP_START( globalfr_map, AS_PROGRAM, 16, globalfr_state )
diff --git a/src/mame/drivers/globalvr.c b/src/mame/drivers/globalvr.c
index abe36d9a53d..d442ccc841a 100644
--- a/src/mame/drivers/globalvr.c
+++ b/src/mame/drivers/globalvr.c
@@ -155,4 +155,4 @@ GAME( 2003, bhead2k3, 0, globalvr, globalvr, 0, ROT0, "Gloval VR", "Beach Head
GAME( 2005, nfsug, 0, globalvr, globalvr, 0, ROT0, "Gloval VR", "Need For Speed: Underground Install (2 Discs) (v1.1)", GAME_IS_SKELETON )
-
+
diff --git a/src/mame/drivers/jpmmps.c b/src/mame/drivers/jpmmps.c
index 11c9372ceae..70a1eecbbd9 100644
--- a/src/mame/drivers/jpmmps.c
+++ b/src/mame/drivers/jpmmps.c
@@ -56,25 +56,25 @@ ADDRESS_MAP_END
static ADDRESS_MAP_START( jpmmps_io_map, AS_IO, 8, jpmmps_state )
ADDRESS_MAP_GLOBAL_MASK(0xff)
AM_RANGE(0x0000, 0x001f) AM_DEVREADWRITE("tms9902_ic5", tms9902_device, cruread, cruwrite)
-
-// AM_RANGE(0x0020, 0x0020) // power fail
-// AM_RANGE(0x0021, 0x0021) // wd timeout
-// AM_RANGE(0x0022, 0x0022) // invalid access
-// AM_RANGE(0x0023, 0x0023) // clear down
-
-// AM_RANGE(0x0026, 0x0026) // uart4 int
-// AM_RANGE(0x0027, 0x0027) // uart2 int
+
+// AM_RANGE(0x0020, 0x0020) // power fail
+// AM_RANGE(0x0021, 0x0021) // wd timeout
+// AM_RANGE(0x0022, 0x0022) // invalid access
+// AM_RANGE(0x0023, 0x0023) // clear down
+
+// AM_RANGE(0x0026, 0x0026) // uart4 int
+// AM_RANGE(0x0027, 0x0027) // uart2 int
AM_RANGE(0x0040, 0x005f) AM_DEVREADWRITE("tms9902_ic10", tms9902_device, cruread, cruwrite)
-// AM_RANGE(0x0060, 0x0060) // watchdog
-// AM_RANGE(0x0061, 0x0061) // ram en
-// AM_RANGE(0x0062, 0x0062) // alarm
-// AM_RANGE(0x0063, 0x0063) // nmi en
-// AM_RANGE(0x0064, 0x0064) // reel en
-// AM_RANGE(0x0065, 0x0065) // io en
-// AM_RANGE(0x0066, 0x0066) // bb
-// AM_RANGE(0x0067, 0x0067) // diagnostic led
+// AM_RANGE(0x0060, 0x0060) // watchdog
+// AM_RANGE(0x0061, 0x0061) // ram en
+// AM_RANGE(0x0062, 0x0062) // alarm
+// AM_RANGE(0x0063, 0x0063) // nmi en
+// AM_RANGE(0x0064, 0x0064) // reel en
+// AM_RANGE(0x0065, 0x0065) // io en
+// AM_RANGE(0x0066, 0x0066) // bb
+// AM_RANGE(0x0067, 0x0067) // diagnostic led
ADDRESS_MAP_END
diff --git a/src/mame/drivers/jpms80.c b/src/mame/drivers/jpms80.c
index 7bf1a2a1d92..978ab07ed30 100644
--- a/src/mame/drivers/jpms80.c
+++ b/src/mame/drivers/jpms80.c
@@ -45,14 +45,14 @@ ADDRESS_MAP_END
static ADDRESS_MAP_START( jpms80_io_map, AS_IO, 8, jpms80_state )
ADDRESS_MAP_GLOBAL_MASK(0x1ff)
-// AM_RANGE(0x0000, 0x000f) // I/O & Optic (in) / Reels (out)
-// AM_RANGE(0x0050, 0x0050) // INT1 enable (lv3)
-// AM_RANGE(0x0051, 0x0051) // INT2 enable (lv4)
-// AM_RANGE(0x0052, 0x0052) // Watchdog
-// AM_RANGE(0x0053, 0x0053) // I/O Enable
-// AM_RANGE(0x0140, 0x015f) // AY
+// AM_RANGE(0x0000, 0x000f) // I/O & Optic (in) / Reels (out)
+// AM_RANGE(0x0050, 0x0050) // INT1 enable (lv3)
+// AM_RANGE(0x0051, 0x0051) // INT2 enable (lv4)
+// AM_RANGE(0x0052, 0x0052) // Watchdog
+// AM_RANGE(0x0053, 0x0053) // I/O Enable
+// AM_RANGE(0x0140, 0x015f) // AY
AM_RANGE(0x01e0, 0x01ff) AM_DEVREADWRITE("tms9902duart", tms9902_device, cruread, cruwrite)
-// Lamps, Meters etc. can move around
+// Lamps, Meters etc. can move around
ADDRESS_MAP_END
diff --git a/src/mame/drivers/jpmsru.c b/src/mame/drivers/jpmsru.c
index 0cafd036d6d..6d2bc5503a8 100644
--- a/src/mame/drivers/jpmsru.c
+++ b/src/mame/drivers/jpmsru.c
@@ -2,16 +2,16 @@
JPM S.R.U Hardware
- The Stepper Reel Unit (SRU) was the first JPM hardware platform
- to use CPU based technology as opposed to a purely mechanical
- setup.
-
- It really shows that this is the antecedent of System 80,
- the sound hardware seems to be a basic discrete circuit (complete
- with tone pot), and the hardware uses the older TMS9980A as a CPU.
-
- TODO: Everything!
-
+ The Stepper Reel Unit (SRU) was the first JPM hardware platform
+ to use CPU based technology as opposed to a purely mechanical
+ setup.
+
+ It really shows that this is the antecedent of System 80,
+ the sound hardware seems to be a basic discrete circuit (complete
+ with tone pot), and the hardware uses the older TMS9980A as a CPU.
+
+ TODO: Everything!
+
**********************************************************************/
#include "emu.h"
diff --git a/src/mame/drivers/lastbank.c b/src/mame/drivers/lastbank.c
index db98f43075c..0413e2f6d82 100644
--- a/src/mame/drivers/lastbank.c
+++ b/src/mame/drivers/lastbank.c
@@ -2,7 +2,7 @@
Last Bank (c) 1994 Excellent Systems
- driver by Angelo Salese
+ driver by Angelo Salese
Uses a TC0091LVC, a variant of the one used on Taito L HW
@@ -429,8 +429,8 @@ static const gfx_layout sp2_layout =
static GFXDECODE_START( lastbank )
- GFXDECODE_ENTRY( "gfx1", 0, bg2_layout, 0, 16 )
- GFXDECODE_ENTRY( "gfx1", 0, sp2_layout, 0, 16 )
+ GFXDECODE_ENTRY( "gfx1", 0, bg2_layout, 0, 16 )
+ GFXDECODE_ENTRY( "gfx1", 0, sp2_layout, 0, 16 )
GFXDECODE_END
static TIMER_DEVICE_CALLBACK( lastbank_irq_scanline )
@@ -459,7 +459,7 @@ static MACHINE_CONFIG_START( lastbank, lastbank_state )
MCFG_CPU_ADD("audiocpu",Z80,MASTER_CLOCK/4)
MCFG_CPU_PROGRAM_MAP(lastbank_audio_map)
MCFG_CPU_IO_MAP(lastbank_audio_io)
-// MCFG_CPU_PERIODIC_INT(nmi_line_pulse,60)
+// MCFG_CPU_PERIODIC_INT(nmi_line_pulse,60)
MCFG_QUANTUM_PERFECT_CPU("maincpu")
@@ -480,7 +480,7 @@ static MACHINE_CONFIG_START( lastbank, lastbank_state )
MCFG_GFXDECODE( lastbank )
MCFG_PALETTE_LENGTH(0x100)
-// MCFG_VIDEO_START(lastbank)
+// MCFG_VIDEO_START(lastbank)
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
diff --git a/src/mame/drivers/mpu3.c b/src/mame/drivers/mpu3.c
index 44268659bcc..ed2d5e07f3a 100644
--- a/src/mame/drivers/mpu3.c
+++ b/src/mame/drivers/mpu3.c
@@ -628,7 +628,7 @@ WRITE8_MEMBER(mpu3_state::pia_ic6_porta_w)
if ( data & 0x08 ) m_vfd->reset();
m_alpha_data_line = ((data & 0x20) >> 5);
-
+
if (m_alpha_clock != ((data & 0x10) >>4))
{
if (!m_alpha_clock)//falling edge
diff --git a/src/mame/drivers/mpu4.c b/src/mame/drivers/mpu4.c
index c7ef278d9fc..0da54ae598b 100644
--- a/src/mame/drivers/mpu4.c
+++ b/src/mame/drivers/mpu4.c
@@ -13740,10 +13740,10 @@ ROM_START( m4twstr )
ROM_LOAD( "fds103p.bin", 0x0000, 0x010000, CRC(764bd0a8) SHA1(cea826c94ce28ab3e47071846756a7e1effa5d1b) )
ROM_LOAD( "twisterprog.bin", 0x0000, 0x010000, CRC(96209a3e) SHA1(434aa824a517929d9ace959b06f2d38464a54541) )
-
+
ROM_REGION( 0x100000, "msm6376", ROMREGION_ERASE00 )
ROM_LOAD( "twistersound.bin", 0x000000, 0x100000, CRC(5aa2729b) SHA1(cf490ec6c75c038addcff24655cd6e498cad60c1) )
-
+
ROM_END
diff --git a/src/mame/drivers/mpu5.c b/src/mame/drivers/mpu5.c
index 2856a79d634..f3c3af40f6c 100644
--- a/src/mame/drivers/mpu5.c
+++ b/src/mame/drivers/mpu5.c
@@ -1057,7 +1057,7 @@ ROM_START( m5bbro02 )
ROM_LOAD16_BYTE( "bbtr02.p2", 0x000001, 0x080000, CRC(1fc52d87) SHA1(12147409de0420323c998c58eec3c3c3d326063e) )
ROM_LOAD16_BYTE( "bbtr02.p3", 0x100000, 0x080000, CRC(6c2e9086) SHA1(856ed523b09356dd25249ad93d2433c7565fac7c) ) // == bbro10.p3
ROM_LOAD16_BYTE( "bbtr02.p4", 0x100001, 0x080000, CRC(a0f9ff38) SHA1(e9f38c546e6a194e9c72ab5089bdf9b9c6e0c5e8) ) // == bbro10.p4
-
+
ROM_REGION( 0x100000, "altrevs", 0 ) /* Alternate revision Prg ROMs, to be sorted into clones */
ROM_LOAD16_BYTE( "bbtr02ad.p1", 0x000000, 0x080000, CRC(27a37ec6) SHA1(5122603bc3c9ce4cd2627bc5229dd8becefcaadf) )
ROM_LOAD16_BYTE( "bbtr02b.p1", 0x000000, 0x080000, CRC(6d173df4) SHA1(8fe471472b2fb01ec4d2ce7ea2984328a43d59fb) )
@@ -1442,7 +1442,7 @@ ROM_START( m5cashar04 )
ROM_LOAD16_BYTE( "carn04.p2", 0x000001, 0x080000, CRC(99aa52e2) SHA1(3b41d928b519001497e1dae17bde5fdc71f971a7) )
ROM_LOAD16_BYTE( "carn04.p3", 0x100000, 0x080000, CRC(b4e632d4) SHA1(4bc3d04aa1884d50c5052b9e8b0069a243d3875b) ) // == 03
ROM_LOAD16_BYTE( "carn04.p4", 0x100001, 0x080000, CRC(691b53e5) SHA1(580f9ea8cc2ca5cb80da8aecd7d7a6b3ce5e158c) ) // == 03
-
+
ROM_REGION( 0x100000, "altrevs", 0 ) /* Alternate revision Prg ROMs, to be sorted into clones */
ROM_LOAD16_BYTE( "carn04ad.p1", 0x000000, 0x080000, CRC(aa4a14e5) SHA1(250941c658dce7077a0b5a65be464ff6307aabdf) )
ROM_LOAD16_BYTE( "carn04b.p1", 0x000000, 0x080000, CRC(c9ced662) SHA1(2a0da3e37ad6d6d9c2401182c368256102c23800) )
@@ -1665,7 +1665,7 @@ ROM_START( m5codft02 )
ROM_LOAD16_BYTE( "cotr02.p2", 0x000001, 0x080000, CRC(69cdb5b3) SHA1(399f8c6049de30aded5766514a40cedea043df3a) )
ROM_LOAD16_BYTE( "cotr02.p3", 0x100000, 0x080000, CRC(2fc0ed76) SHA1(6548767bc1c0d6135de3a60a0f6ce48098f7d137) ) // == 06
ROM_LOAD16_BYTE( "cotr02.p4", 0x100001, 0x080000, CRC(fb5c5c16) SHA1(7c6346bb93933bd4b5a0cf73ba4eeb74d2b47812) ) // == 06
-
+
ROM_REGION( 0x100000, "altrevs", 0 ) /* Alternate revision Prg ROMs, to be sorted into clones */
ROM_LOAD16_BYTE( "cotr02d.p1", 0x000000, 0x080000, CRC(0a08db68) SHA1(dc31265d659acb53e1ce2b823501387c7d629ffe) )
ROM_LOAD16_BYTE( "cotr02dy.p1", 0x000000, 0x080000, CRC(abcf7e6f) SHA1(cab844c757dd4ed4bed44fe371a3ffa9b54a42b3) )
@@ -1896,7 +1896,7 @@ ROM_START( m5draclb07 )
ROM_LOAD16_BYTE( "drct07.p2", 0x000001, 0x080000, CRC(4ce428df) SHA1(1144bc21269af10e7094b1bd2271fc6ee63a8d25) )
ROM_LOAD16_BYTE( "drct07.p3", 0x100000, 0x080000, CRC(5054ec32) SHA1(2f4134456f502583ce93af4ccc55eb89dbfe48ca) ) // == 06
ROM_LOAD16_BYTE( "drct07.p4", 0x100001, 0x080000, CRC(0483d31f) SHA1(81a299f05cfd6d1446d44509da86c3a70fb00ba0) ) // == 06
-
+
ROM_REGION( 0x100000, "altrevs", 0 ) /* Alternate revision Prg ROMs, to be sorted into clones */
ROM_LOAD16_BYTE( "drct07d.p1", 0x000000, 0x080000, CRC(c467ca89) SHA1(06f13448860ca7360dd48e29fc780554bc42ab8b) )
ROM_LOAD16_BYTE( "drct07dz.p1", 0x000000, 0x080000, CRC(907d9e63) SHA1(a1a8f74e79043cecb42cfd28c14cef98d54b4785) )
@@ -2434,7 +2434,7 @@ ROM_START( m5gstrik02 )
ROM_LOAD16_BYTE( "g1tr02.p2", 0x000001, 0x080000, CRC(7d3118e9) SHA1(a4ccf46d15125c67e6e17b117bc3a880b46b47e7) )
ROM_LOAD16_BYTE( "g1tr02.p3", 0x100000, 0x080000, CRC(befbf489) SHA1(d198c27bafaddfd9c2c522be84b2a7aae52f712a) ) // == 03
ROM_LOAD16_BYTE( "g1tr02.p4", 0x100001, 0x080000, CRC(50e63933) SHA1(501caf831c11d603079807f3fd0570f0991a5f9c) ) // == 03
-
+
ROM_REGION( 0x100000, "altrevs", 0 ) /* Alternate revision Prg ROMs, to be sorted into clones */
ROM_LOAD16_BYTE( "g1tr02dy.p1", 0x000000, 0x080000, CRC(e9c967ea) SHA1(1a2806e5b95e11aa5a80d7e434ebb40eba057aac) )
ROM_LOAD16_BYTE( "g1tr02k.p1", 0x000000, 0x080000, CRC(d892e461) SHA1(72185d4c8e6670a0ec87f3807d4c465b1ea2ea89) )
@@ -2447,8 +2447,8 @@ ROM_START( m5gstrik01 )
ROM_LOAD16_BYTE( "gotr01.p2", 0x000001, 0x080000, CRC(000f6663) SHA1(f79f52c5d4af6cf576db9c529b868b34cd203026) )
ROM_LOAD16_BYTE( "gotr01.p3", 0x100000, 0x080000, CRC(befbf489) SHA1(d198c27bafaddfd9c2c522be84b2a7aae52f712a) ) // == 03
ROM_LOAD16_BYTE( "gotr01.p4", 0x100001, 0x080000, CRC(50e63933) SHA1(501caf831c11d603079807f3fd0570f0991a5f9c) ) // == 03
-
- ROM_REGION( 0x100000, "altrevs", 0 ) /* Alternate revision Prg ROMs, to be sorted into clones */
+
+ ROM_REGION( 0x100000, "altrevs", 0 ) /* Alternate revision Prg ROMs, to be sorted into clones */
ROM_LOAD16_BYTE( "gotr01d.p1", 0x000000, 0x080000, CRC(171a5db8) SHA1(4b10705efafcc456c2a26f9a80bbb9f7c67cea9b) )
ROM_LOAD16_BYTE( "gotr01dy.p1", 0x000000, 0x080000, CRC(715102e2) SHA1(af067bb2a80793391cb350e15f7f364f9ed3ee22) )
ROM_LOAD16_BYTE( "gotr01k.p1", 0x000000, 0x080000, CRC(c57930cb) SHA1(3d24482169dc207b5d8ff9819fff8661df19bc79) )
@@ -5971,9 +5971,9 @@ ROM_START( m5minesw )
ROM_REGION( 0x100000, "altrevs", 0 ) /* Alternate revision Prg ROMs, to be sorted into clones */
ROM_LOAD16_BYTE( "ms__sjs2.2_1", 0x000000, 0x080000, CRC(312c2501) SHA1(95e16c5013ea8e246c04b828af6f6b3ca82d18e0) )
-// ROM_LOAD16_BYTE( "ms__sjs2.2_2", 0x000000, 0x080000, CRC(31187bc2) SHA1(d352d67feddbf670dbbaff224b19701ce1231fd9) )
-// ROM_LOAD16_BYTE( "ms__sjs2.2_3", 0x000000, 0x080000, CRC(8c44ed26) SHA1(35b29f7e4d9c1c73dd9d4891decc131443fc21c5) )
-// ROM_LOAD16_BYTE( "ms__sjs2.2_4", 0x000000, 0x080000, CRC(eb3b0f16) SHA1(4664110800c2f5005ffe8d8c1cf5b588dd994347) )
+// ROM_LOAD16_BYTE( "ms__sjs2.2_2", 0x000000, 0x080000, CRC(31187bc2) SHA1(d352d67feddbf670dbbaff224b19701ce1231fd9) )
+// ROM_LOAD16_BYTE( "ms__sjs2.2_3", 0x000000, 0x080000, CRC(8c44ed26) SHA1(35b29f7e4d9c1c73dd9d4891decc131443fc21c5) )
+// ROM_LOAD16_BYTE( "ms__sjs2.2_4", 0x000000, 0x080000, CRC(eb3b0f16) SHA1(4664110800c2f5005ffe8d8c1cf5b588dd994347) )
ROM_END
diff --git a/src/mame/drivers/namcos21.c b/src/mame/drivers/namcos21.c
index 289ba22c52a..cdddd3c0241 100644
--- a/src/mame/drivers/namcos21.c
+++ b/src/mame/drivers/namcos21.c
@@ -1533,7 +1533,7 @@ static MACHINE_CONFIG_START( namcos21, namcos21_state )
MCFG_PALETTE_LENGTH(NAMCOS21_NUM_COLORS)
MCFG_VIDEO_START(namcos21)
-
+
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
MCFG_SOUND_ADD("c140", C140, 8000000/374)
@@ -2410,7 +2410,7 @@ INPUT_PORTS_END
static INPUT_PORTS_START( winrungp )
PORT_INCLUDE(winrun)
-
+
PORT_MODIFY("DSW")
PORT_DIPNAME( 0x20, 0x00, "PCM ROM")
PORT_DIPSETTING( 0x20, "2M" )
diff --git a/src/mame/drivers/pokechmp.c b/src/mame/drivers/pokechmp.c
index 4cc500fd6ac..e45fde4d500 100644
--- a/src/mame/drivers/pokechmp.c
+++ b/src/mame/drivers/pokechmp.c
@@ -11,7 +11,7 @@
Todo:
- Verify frequencies etc.
+ Verify frequencies etc.
*/
@@ -54,7 +54,7 @@ WRITE8_MEMBER(pokechmp_state::pokechmp_bank_w)
UINT8 *ROM = memregion("maincpu")->base();
int bank;
-
+
bank = (data & 0x1) ? 0x04000 : 0x00000;
bank |= (data & 0x2) ? 0x10000 : 0x00000;
@@ -175,7 +175,7 @@ static const gfx_layout pokechmp_charlayout =
RGN_FRAC(1,8),
8,
/* bizzare order, but it seems to be correct? */
- { RGN_FRAC(1,8), RGN_FRAC(3,8),RGN_FRAC(0,8),RGN_FRAC(5,8),RGN_FRAC(2,8),RGN_FRAC(7,8),RGN_FRAC(4,8),RGN_FRAC(6,8) },
+ { RGN_FRAC(1,8), RGN_FRAC(3,8),RGN_FRAC(0,8),RGN_FRAC(5,8),RGN_FRAC(2,8),RGN_FRAC(7,8),RGN_FRAC(4,8),RGN_FRAC(6,8) },
{ 0, 1, 2, 3, 4, 5, 6, 7 },
{ 0*8, 1*8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8 },
8*8 /* every char takes 8 consecutive bytes */
@@ -244,10 +244,10 @@ static DRIVER_INIT( pokechmp )
{
// default sound rom bank
machine.root_device().membank("bank3")->configure_entries(0, 2, machine.root_device().memregion("audiocpu")->base() + 0x10000, 0x4000);
-
+
// default fixed area for main CPU
machine.root_device().membank("fixed")->set_base( machine.root_device().memregion("maincpu")->base() + 0x18000 );
-
+
// default OKI sample bank
machine.root_device().membank("okibank")->set_base( machine.root_device().memregion("oki")->base() + 0x40000 );
}
diff --git a/src/mame/drivers/pong.c b/src/mame/drivers/pong.c
index 00596ad3df3..96deac3e0f4 100644
--- a/src/mame/drivers/pong.c
+++ b/src/mame/drivers/pong.c
@@ -397,7 +397,7 @@ static NETLIST_START(pong_schematics)
/* net */
TTL_74107(ic_f3b, clk, 256H, 256HQ, high)
- TTL_7400_NAND(ic_g3b, ic_f3b.QQ, 256H)
+ TTL_7400_NAND(ic_g3b, ic_f3b.QQ, 256H)
TTL_7427_NOR(ic_g2b, ic_g3b.Q, vblank, 4V)
NET_ALIAS(net, ic_g2b.Q)
@@ -423,8 +423,8 @@ static NETLIST_START(pong_fast)
NETLIST_INCLUDE(pong_schematics)
/* the signal above is delayed on pong due to counter at gate delays.
- * This is approximated by the following circuit ...
- */
+ * This is approximated by the following circuit ...
+ */
NET_REMOVE_DEV(ic_h5b)
NETDEV_DELAY_RISE(ic_g5b_D, clk, ic_g5b.Q)
TTL_7400_NAND(ic_h5b, ic_h5c.Q, ic_g5b_D.Q)
@@ -441,7 +441,7 @@ public:
pong_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
- m_dac(*this, "dac"), /* just to have a sound device */
+ m_dac(*this, "dac"), /* just to have a sound device */
m_srst(*this, "maincpu", "SRST"),
m_sw1a(*this, "maincpu", "sw1a.POS"),
m_sw1b(*this, "maincpu", "sw1b.POS"),
diff --git a/src/mame/drivers/proconn.c b/src/mame/drivers/proconn.c
index 5c3f5163e53..5231d7439ce 100644
--- a/src/mame/drivers/proconn.c
+++ b/src/mame/drivers/proconn.c
@@ -263,8 +263,8 @@ static WRITE8_DEVICE_HANDLER( serial_transmit )
proconn_state *state = device->machine().driver_data<proconn_state>();
//Don't like the look of this, should be a clock somewhere
-// if (offset == 0)
-// state->m_vfd->write_char( data );
+// if (offset == 0)
+// state->m_vfd->write_char( data );
for (int i=0; i<8;i++)
{
@@ -317,7 +317,7 @@ static MACHINE_CONFIG_START( proconn, proconn_state )
MCFG_CPU_PROGRAM_MAP(proconn_map)
MCFG_CPU_IO_MAP(proconn_portmap)
MCFG_ROC10937_ADD("vfd",0,LEFT_TO_RIGHT)
-
+
MCFG_Z80PIO_ADD( "z80pio_1", 4000000, pio_interface_1 ) /* ?? Mhz */
MCFG_Z80PIO_ADD( "z80pio_2", 4000000, pio_interface_2 ) /* ?? Mhz */
MCFG_Z80PIO_ADD( "z80pio_3", 4000000, pio_interface_3 ) /* ?? Mhz */
diff --git a/src/mame/drivers/segaxbd.c b/src/mame/drivers/segaxbd.c
index 879d4cb6f12..4904ad081fc 100644
--- a/src/mame/drivers/segaxbd.c
+++ b/src/mame/drivers/segaxbd.c
@@ -546,7 +546,7 @@ static WRITE16_HANDLER( iochip_0_w )
*/
space->machine().sound().system_enable(data & 0x80);
break;
-
+
default: break;
}
@@ -635,14 +635,14 @@ static void generic_iochip0_lamps_w(running_machine &machine, UINT8 data)
coin_counter_w(machine, 0, (data >> 4) & 0x01);
/*
- aburner2:
- d1: altitude warning lamp
- d2: start lamp
- d5: lock on lamp
- d6: danger lamp
- in clone aburner, lamps work only in testmode?
-
- */
+ aburner2:
+ d1: altitude warning lamp
+ d2: start lamp
+ d5: lock on lamp
+ d6: danger lamp
+ in clone aburner, lamps work only in testmode?
+
+ */
output_set_lamp_value(0, (data >> 5) & 0x01);
output_set_lamp_value(1, (data >> 6) & 0x01);
output_set_lamp_value(2, (data >> 1) & 0x01);
diff --git a/src/mame/drivers/sfbonus.c b/src/mame/drivers/sfbonus.c
index f6c59de108b..b4668aec3be 100644
--- a/src/mame/drivers/sfbonus.c
+++ b/src/mame/drivers/sfbonus.c
@@ -6173,7 +6173,7 @@ GAME( 200?, fb3g, 0, sfbonus, newer1_reels3, fb3g,
GAME( 200?, getrich, 0, sfbonus, newer1_reels3, getrich, ROT0, "Amcoe", "Get Rich (Version 1.0.1)", 0) /* After Around The World */
// no graphic / sound roms dumped for these sets, but functional program roms & descramble are in place
-/* Version 4 is a multi-game that has New Fruit Bonus ‘96 Special Edition Ver. 4, New Cherry ‘96 Special Edition Ver. 4 or Skill Cherry ‘97 Ver. 4 */
+/* Version 4 is a multi-game that has New Fruit Bonus ?96 Special Edition Ver. 4, New Cherry ?96 Special Edition Ver. 4 or Skill Cherry ?97 Ver. 4 */
GAME( 2006, version4, 0, sfbonus, amcoe1_reels3, version4, ROT0, "Amcoe", "Version 4 (Version 4.3R CGA)", GAME_NOT_WORKING)
GAME( 2006, version4v, version4, sfbonus, amcoe1_reels3, version4v, ROT0, "Amcoe", "Version 4 (Version 4.3R Dual)", GAME_NOT_WORKING)
GAME( 2006, version4d2, version4, sfbonus, amcoe1_reels3, version4d2, ROT0, "Amcoe", "Version 4 (Version 4.3E CGA)", GAME_NOT_WORKING)
diff --git a/src/mame/drivers/taito_l.c b/src/mame/drivers/taito_l.c
index 9f52a3084ad..ce4f998e576 100644
--- a/src/mame/drivers/taito_l.c
+++ b/src/mame/drivers/taito_l.c
@@ -2147,7 +2147,7 @@ ROM_START( raimais )
ROM_LOAD( "b36-11-1.bin", 0x00000, 0x20000, CRC(f19fb0d5) SHA1(ba7187dfa5b4a08cebf236913a80066dafbbc59f) )
ROM_LOAD( "b36-09.bin", 0x20000, 0x20000, CRC(9c466e43) SHA1(2466a3f1f8124323008c9925f90e9a1d2edf1564) )
- ROM_REGION( 0x10000, "audiocpu", 0 )
+ ROM_REGION( 0x10000, "audiocpu", 0 )
ROM_LOAD( "b36-06.bin", 0x00000, 0x10000, CRC(29bbc4f8) SHA1(39a68729c6180c5f6cdf604e692018e7d6bf5591) )
ROM_REGION( 0x10000, "slave", 0 )
@@ -2166,7 +2166,7 @@ ROM_START( raimaisj )
ROM_LOAD( "b36-08-1.bin", 0x00000, 0x20000, CRC(6cc8f79f) SHA1(17b4903f87e6d5447c8557c2baca1728f86245dc) )
ROM_LOAD( "b36-09.bin", 0x20000, 0x20000, CRC(9c466e43) SHA1(2466a3f1f8124323008c9925f90e9a1d2edf1564) )
- ROM_REGION( 0x10000, "audiocpu", 0 )
+ ROM_REGION( 0x10000, "audiocpu", 0 )
ROM_LOAD( "b36-06.bin", 0x00000, 0x10000, CRC(29bbc4f8) SHA1(39a68729c6180c5f6cdf604e692018e7d6bf5591) )
ROM_REGION( 0x10000, "slave", 0 )
@@ -2185,7 +2185,7 @@ ROM_START( raimaisjo )
ROM_LOAD( "b36-08.bin", 0x00000, 0x20000, CRC(f40b9178) SHA1(ccf5afcf08cac0d5b2d6ba74abd62d35412f0265) )
ROM_LOAD( "b36-09.bin", 0x20000, 0x20000, CRC(9c466e43) SHA1(2466a3f1f8124323008c9925f90e9a1d2edf1564) )
- ROM_REGION( 0x10000, "audiocpu", 0 )
+ ROM_REGION( 0x10000, "audiocpu", 0 )
ROM_LOAD( "b36-06.bin", 0x00000, 0x10000, CRC(29bbc4f8) SHA1(39a68729c6180c5f6cdf604e692018e7d6bf5591) )
ROM_REGION( 0x10000, "slave", 0 )
@@ -2204,7 +2204,7 @@ ROM_START( fhawk )
ROM_LOAD( "b70-11.bin", 0x00000, 0x20000, CRC(7d9f7583) SHA1(d8fa7c66a81fb356fa9c72f377bfc31b1837eafb) )
ROM_LOAD( "b70-03.bin", 0x20000, 0x80000, CRC(42d5a9b8) SHA1(10714fe95c372cec12376e615a9abe213aff12bc) )
- ROM_REGION( 0x10000, "audiocpu", 0 )
+ ROM_REGION( 0x10000, "audiocpu", 0 )
ROM_LOAD( "b70-09.bin", 0x00000, 0x10000, CRC(85cccaa2) SHA1(5459cd8df9d94e1938008cfc17d4ebac98004bfc) )
ROM_REGION( 0x20000, "slave", 0 )
@@ -2220,7 +2220,7 @@ ROM_START( fhawkj )
ROM_LOAD( "b70-07.bin", 0x00000, 0x20000, CRC(939114af) SHA1(66218536dcb3b34ffa01d3c9c2fee365d91cfe00) )
ROM_LOAD( "b70-03.bin", 0x20000, 0x80000, CRC(42d5a9b8) SHA1(10714fe95c372cec12376e615a9abe213aff12bc) )
- ROM_REGION( 0x10000, "audiocpu", 0 )
+ ROM_REGION( 0x10000, "audiocpu", 0 )
ROM_LOAD( "b70-09.bin", 0x00000, 0x10000, CRC(85cccaa2) SHA1(5459cd8df9d94e1938008cfc17d4ebac98004bfc) )
ROM_REGION( 0x20000, "slave", 0 )
@@ -2236,7 +2236,7 @@ ROM_START( champwr )
ROM_LOAD( "c01-13.rom", 0x00000, 0x20000, CRC(7ef47525) SHA1(79789fa3bcaeb6666c108d2e4b69a1f9341b2f4a) )
ROM_LOAD( "c01-04.rom", 0x20000, 0x20000, CRC(358bd076) SHA1(beb20a09370d05de719dde596eadca8fecb14ce5) )
- ROM_REGION( 0x10000, "audiocpu", 0 )
+ ROM_REGION( 0x10000, "audiocpu", 0 )
ROM_LOAD( "c01-08.rom", 0x00000, 0x10000, CRC(810efff8) SHA1(dd4fc046095e0e815e8e1fd96d258da0d6bba298) )
ROM_REGION( 0x20000, "slave", 0 )
@@ -2256,7 +2256,7 @@ ROM_START( champwru )
ROM_LOAD( "c01-12.rom", 0x00000, 0x20000, CRC(09f345b3) SHA1(f3f9a7dab0b3f87b6919a7b37cb52245e112cb08) )
ROM_LOAD( "c01-04.rom", 0x20000, 0x20000, CRC(358bd076) SHA1(beb20a09370d05de719dde596eadca8fecb14ce5) )
- ROM_REGION( 0x10000, "audiocpu", 0 )
+ ROM_REGION( 0x10000, "audiocpu", 0 )
ROM_LOAD( "c01-08.rom", 0x00000, 0x10000, CRC(810efff8) SHA1(dd4fc046095e0e815e8e1fd96d258da0d6bba298) )
ROM_REGION( 0x20000, "slave", 0 )
@@ -2276,7 +2276,7 @@ ROM_START( champwrj )
ROM_LOAD( "c01-06.bin", 0x00000, 0x20000, CRC(90fa1409) SHA1(7904488d567ce5d8705b2d2c8a4b4aae310cc28b) )
ROM_LOAD( "c01-04.rom", 0x20000, 0x20000, CRC(358bd076) SHA1(beb20a09370d05de719dde596eadca8fecb14ce5) )
- ROM_REGION( 0x10000, "audiocpu", 0 )
+ ROM_REGION( 0x10000, "audiocpu", 0 )
ROM_LOAD( "c01-08.rom", 0x00000, 0x10000, CRC(810efff8) SHA1(dd4fc046095e0e815e8e1fd96d258da0d6bba298) )
ROM_REGION( 0x20000, "slave", 0 )
diff --git a/src/mame/drivers/taitotz.c b/src/mame/drivers/taitotz.c
index a3ce331f192..27a4993a2fb 100644
--- a/src/mame/drivers/taitotz.c
+++ b/src/mame/drivers/taitotz.c
@@ -79,281 +79,281 @@ IC7 Panasonic MN1020819DA E68-01
#include "video/polynew.h"
/*
- Interesting mem areas
+ Interesting mem areas
- 0x40080400...0x400807fc: PPC Interrupt handler table for TLCS900 interrupts (called from 0x4002ea80)
+ 0x40080400...0x400807fc: PPC Interrupt handler table for TLCS900 interrupts (called from 0x4002ea80)
0x40080440 (0x10): 0x4003b274 (0xfc06f7 on TLCS sets 0x1000)
0x400804c0 (0x30): 0x4003f1e4 (INT1 handler on TLCS sets 0x3010) (comms, could be IEEE1394)
0x40080500 (0x40): 0x4002ed94 (debug/trace)
0x40080504 (0x41): 0x4002ede4 (debug/break)
- 0x40080540 (0x50): 0x4003c21c 0x5001: sets 0x00000001 in 0x40049c58
- 0x40080740 (0xd0): 0x4002ecc0 (INT3 handler on TLCS sets 0xd000) (VBlank?)
+ 0x40080540 (0x50): 0x4003c21c 0x5001: sets 0x00000001 in 0x40049c58
+ 0x40080740 (0xd0): 0x4002ecc0 (INT3 handler on TLCS sets 0xd000) (VBlank?)
0x400807c0 (0xf0): 0x4002eae4 (0xfc0a44 on TLCS sets 0xf001)
-
+
PPC -> TLCS Commands:
- 0x1000: 0x4003a9e0() HDD Reset
- 0x1001: 0x4003aa14() HDD Init. Writes HDD status and error to io_shared[0x1a00].
- 0x1010: 0x4003aaf4(), 0x4003ab8c() HDD Read Sector
- 0x1020: 0x4003ac1c() HDD Write Sector
- 0x4000: ? Related to sound loading?
- 0x4001: 0x400429b0() MBox related
- 0x4002: ? Loads a byte from MBox ram. Address in io_shared[0x1c04]
- 0x4003: ? Writes a byte into MBox ram. Address in io_shared[0x1c04], data in io_shared[0x1c06].
- 0x4004: 0x40042bc4(), 0x40042c50() Play music/sound? Params in io_shared[0x1c08...0x1c12]
- 0x5000: 0x4003bc68() Reset RTC?
- 0x5010: 0x4003bb68() Read RTC
- 0x5020: 0x4003bbec() Write RTC
- 0x6000: ? Backup RAM Read. Address in io_shared[0x1d00].
- 0x6010: ? Backup RAM Write. Address in io_shared[0x1d00].
- 0x7000: 0x4003d1c4()
- 0x7001: 0x4003d28c()
- 0x7002: 0x4003d4ac()
- 0x7003: 0x4003d508()
- 0x7004: 0x4003d554()
- 0x7005: 0x4003d168()
- 0x8000: ? Used by vibration (force feedback?) on pwrshovl
- 0xa000: ? Used by vibration (force feedback?) on pwrshovl
- 0xf000: 0x4002f328() TLCS_Init
- 0xf010: 0x4002f074() Enables TLCS watchdog timer
- 0xf011: 0x4002f0a8() Disables TLCS watchdog
- 0xf020: ?
- 0xf055: 0x4002f0dc() Enables TLCS watchdog and infloops the TLCS
- 0xf0ff: ? TLCS soft reset?
-
- TLCS -> PPC Commands:
- 0x10xx: 0xfc06f7() HDD Command ack?
- 0x40094ec8:
- 0x00: IDLE
- 0x10: READ
- 0x11: READ SECTOR
- 0x12: READ ALL
- 0x20: WRITE
- 0x21: WRITE SECTOR
- 0x22: WRITE ALL
- 0x30: VENDER
- 0xff: ERROR
- 0x??: UNKNOWN
- 0x3010: 0xfc071c() int1 handler Comm IRQ, IEEE1394
- 0x40xx: ? Debug
- 0x41xx: ? Debug
- 0x5001: ? RTC?
- 0xd000: 0xfc06b4() int3 handler VBlank? Runs a counter on the PPC side
- 0xf001: 0xfc0a44() PPC sync?
-
-
- BG2 intro packet writes:
-
- construction?
- 0x4012f390()
- -> 0x401304f0() scene graph parser?
- -> 0x40130d60()
- -> 0x401aff48() R3 = dest, R4 = source, R5 = length
-
- 0x40174674()
- 0x401ba294()
- R3 = 0x000007d0, R4 = 0x40707bac, R5 = 0x00000398
-
- f1 00 00 63 0c 00 00 7f 0c 00 00 00 08 00 00 00
- 00 40 01 3e 00 00 81 00 00 00 7f 00 00 7f 00 00
- 00 40 3e 3e 00 00 7f 00 00 00 7f 00 00 7f 00 00
- 00 40 3e 00 00 00 7f 00 00 00 81 00 00 7f 00 00
- 00 40 01 00 00 00 81 00 00 00 81 00 00 7f 00 00
- f1 00 00 69 00 00 7f 00 0c 7f 00 00 0d 00 00 7f
- 00 40 00 3f 00 00 e0 40 00 00 00 00 00 7f 7f 00
- 00 40 00 00 00 00 e0 40 00 00 00 00 00 7f 81 00
- 00 40 1f 00 00 00 1f c0 00 00 00 00 00 7f 81 00
- 00 40 1f 3f 00 00 1f c0 00 00 00 00 00 7f 7f 00
- ...
-
- R3 = 0x00000b68, R4 = 0x40707e58, R5 = 0x00001000
-
- e1 00 00 73 00 81 00 00 04 00 00 00 0c 00 00 00
- 00 40 06 00 00 94 fd d1 00 d2 82 ce 00 2e 03 ef
- 00 40 06 00 00 99 fd d1 00 c0 82 ce 00 df 00 40
- 00 40 06 02 00 91 fd d1 00 ef 88 9e 00 c7 fc 40
- 00 40 06 1f 00 88 fd d1 00 00 b8 60 00 26 03 ef
- e0 00 00 73 00 81 00 00 04 00 00 00 0c 00 00 00
- 00 40 06 1f 00 8b fd d1 00 00 b8 60 00 d0 fc 40
- 00 40 06 1f 00 88 fd d1 00 00 b8 60 00 26 03 ef
- 00 40 06 02 00 91 fd d1 00 ef 88 9e 00 c7 fc 40
- ...
-
- R3 = 0x00001b68, R4 = 0x40707e58, R5 = 0x00000d19
- R3 = 0x00075770, R4 = 0x40443e2c, R5 = 0x00000014
- R3 = 0x00075784, R4 = 0x40443e7c, R5 = 0x00000014
- R3 = 0x00075798, R4 = 0x40443ecc, R5 = 0x00000014
- R3 = 0x000757ac, R4 = 0x40443f1c, R5 = 0x00000014
- R3 = 0x000757c0, R4 = 0x40443e6c, R5 = 0x00000014
-
- R3 = 0x00062ca0, R4 = 0x409cfa70, R5 = 0x000001e0
- R3 = 0x00008ca0, R4 = 0x409f8f70, R5 = 0x000002c5
- R3 = 0x00002ba4, R4 = 0x40fffaf0, R5 = 0x00000028
- R3 = 0x0001f4a0, R4 = 0x40a06350, R5 = 0x00000340
- R3 = 0x00002bcc, R4 = 0x40fffaf0, R5 = 0x00000028
-
- R3 = 0x00000190, R4 = 0x40fff8f8, R5 = 0x00000014
-
- 0x40188514()
- R3 = 0x0000d818, R4 = 0x40ffcce0, R5 = 0x00000bc0
-
- 00 00 00 dd 00 00 00 00 00 00 00 00 00 00 00 00
- 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
- 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
- 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
- ...
-
- R3 = 0x0001494c, R4 = 0x40ffcce0, R5 = 0x00000bc0
-
- 0x40116c28(): Draws 2D images
- R3 = 0x009e0c7a, R4 = 0x40a7c3bc, R5 = 0x0000007c
-
- 0x40116a80(): Clears 2D images?
- R3 = 0x009f6308, R4 = 0x40a9a784, R5 = 0x000000f0
-
-
-
- -> 0x40116430(): R3 = dest (|= 0x30800000), R4 = source, R5 = num words
- -> 0x401162ac() WriteVideoMem: R3 = source, R4 = dest, R5 = num words
- -> 0x401064b0() Write video data using FIFO: R3 = source, R4 = dest, R5 = num words (must be divisible by 8)
- -> 0x40106668() Write video data using write port: R3 = source, R4 = dest, R5 = num words
-
-
-
- 0x40106788(): FIFO Packet write: R3 = source, R4 = select between cmd 0 and 1, R5 = num words (must be divisible by 8)
-
-
-
- BG2: 4x4 Matrices at 0x40223218
- word 0: ?? (0x62e6c, 0xf20a0, ...) anded by 0x1fffff on read, or'd by 0xff800000, or'd by 0x400000 if no matrix, store -> [0x00]
- word 1: ?? (usually zero)
- word 2: float (often 1.0) multiplied by 31.0f, converted to (int), anded by 0x1f, or by 0x80 if word 1 == 1, store -> [0x08]
- word 3: float if (exponent < 1, mult by 0.5), store -> [0x04]
- word 4: usually 0x00000001 if 0, matrix not stored
- 16x float: 4x4 matrix
- matrix[0][0] -> store [0x10]
- matrix[1][0] -> store [0x14]
- matrix[2][0] -> store [0x18]
- matrix[3][0] -> store [0x1c]
- ...
- word 0: Pointer to another matrix
- word 1: Pointer to another matrix
-
- 0x401afffc(): Write
-
- 0x40118af0():
- -> 0x401195e0(): Read (Transposes matrix, only columns 0-2 stored + 4 extra command words)
-
- -> 0x40118080: Read, store to [0x40362314+], never read
-
-
- Display list top?: 0x403408c0 (pointer to at 0x4020b80c)
- bottom?: 0x403608e4 (pointer to at 0x4020b81c)
-
- 0x40123fcc():
- -> 0x401186c8(): Display list parser?
-
- 0x40117fb4(): Insert command to disp list. R3 = command word
-
- Display list format
- -------------------
- 0xffff0010: ?
-
- 0xffff0011: Draw Polygon Object
- 0 = Polygon data address (21 bits) in screen RAM (in dwords). If 0x400000 set, no matrix.
- 1 = Object scale (float), if <1.0f multiply scale by 2.0f
- 2 = 0x80 = object alpha enable, 0x1f = object alpha (0x1f = opaque)
- 3 = ?
- 4...15 = 4x3 matrix
+ 0x1000: 0x4003a9e0() HDD Reset
+ 0x1001: 0x4003aa14() HDD Init. Writes HDD status and error to io_shared[0x1a00].
+ 0x1010: 0x4003aaf4(), 0x4003ab8c() HDD Read Sector
+ 0x1020: 0x4003ac1c() HDD Write Sector
+ 0x4000: ? Related to sound loading?
+ 0x4001: 0x400429b0() MBox related
+ 0x4002: ? Loads a byte from MBox ram. Address in io_shared[0x1c04]
+ 0x4003: ? Writes a byte into MBox ram. Address in io_shared[0x1c04], data in io_shared[0x1c06].
+ 0x4004: 0x40042bc4(), 0x40042c50() Play music/sound? Params in io_shared[0x1c08...0x1c12]
+ 0x5000: 0x4003bc68() Reset RTC?
+ 0x5010: 0x4003bb68() Read RTC
+ 0x5020: 0x4003bbec() Write RTC
+ 0x6000: ? Backup RAM Read. Address in io_shared[0x1d00].
+ 0x6010: ? Backup RAM Write. Address in io_shared[0x1d00].
+ 0x7000: 0x4003d1c4()
+ 0x7001: 0x4003d28c()
+ 0x7002: 0x4003d4ac()
+ 0x7003: 0x4003d508()
+ 0x7004: 0x4003d554()
+ 0x7005: 0x4003d168()
+ 0x8000: ? Used by vibration (force feedback?) on pwrshovl
+ 0xa000: ? Used by vibration (force feedback?) on pwrshovl
+ 0xf000: 0x4002f328() TLCS_Init
+ 0xf010: 0x4002f074() Enables TLCS watchdog timer
+ 0xf011: 0x4002f0a8() Disables TLCS watchdog
+ 0xf020: ?
+ 0xf055: 0x4002f0dc() Enables TLCS watchdog and infloops the TLCS
+ 0xf0ff: ? TLCS soft reset?
+
+ TLCS -> PPC Commands:
+ 0x10xx: 0xfc06f7() HDD Command ack?
+ 0x40094ec8:
+ 0x00: IDLE
+ 0x10: READ
+ 0x11: READ SECTOR
+ 0x12: READ ALL
+ 0x20: WRITE
+ 0x21: WRITE SECTOR
+ 0x22: WRITE ALL
+ 0x30: VENDER
+ 0xff: ERROR
+ 0x??: UNKNOWN
+ 0x3010: 0xfc071c() int1 handler Comm IRQ, IEEE1394
+ 0x40xx: ? Debug
+ 0x41xx: ? Debug
+ 0x5001: ? RTC?
+ 0xd000: 0xfc06b4() int3 handler VBlank? Runs a counter on the PPC side
+ 0xf001: 0xfc0a44() PPC sync?
+
+
+ BG2 intro packet writes:
+
+ construction?
+ 0x4012f390()
+ -> 0x401304f0() scene graph parser?
+ -> 0x40130d60()
+ -> 0x401aff48() R3 = dest, R4 = source, R5 = length
+
+ 0x40174674()
+ 0x401ba294()
+ R3 = 0x000007d0, R4 = 0x40707bac, R5 = 0x00000398
+
+ f1 00 00 63 0c 00 00 7f 0c 00 00 00 08 00 00 00
+ 00 40 01 3e 00 00 81 00 00 00 7f 00 00 7f 00 00
+ 00 40 3e 3e 00 00 7f 00 00 00 7f 00 00 7f 00 00
+ 00 40 3e 00 00 00 7f 00 00 00 81 00 00 7f 00 00
+ 00 40 01 00 00 00 81 00 00 00 81 00 00 7f 00 00
+ f1 00 00 69 00 00 7f 00 0c 7f 00 00 0d 00 00 7f
+ 00 40 00 3f 00 00 e0 40 00 00 00 00 00 7f 7f 00
+ 00 40 00 00 00 00 e0 40 00 00 00 00 00 7f 81 00
+ 00 40 1f 00 00 00 1f c0 00 00 00 00 00 7f 81 00
+ 00 40 1f 3f 00 00 1f c0 00 00 00 00 00 7f 7f 00
+ ...
+
+ R3 = 0x00000b68, R4 = 0x40707e58, R5 = 0x00001000
+
+ e1 00 00 73 00 81 00 00 04 00 00 00 0c 00 00 00
+ 00 40 06 00 00 94 fd d1 00 d2 82 ce 00 2e 03 ef
+ 00 40 06 00 00 99 fd d1 00 c0 82 ce 00 df 00 40
+ 00 40 06 02 00 91 fd d1 00 ef 88 9e 00 c7 fc 40
+ 00 40 06 1f 00 88 fd d1 00 00 b8 60 00 26 03 ef
+ e0 00 00 73 00 81 00 00 04 00 00 00 0c 00 00 00
+ 00 40 06 1f 00 8b fd d1 00 00 b8 60 00 d0 fc 40
+ 00 40 06 1f 00 88 fd d1 00 00 b8 60 00 26 03 ef
+ 00 40 06 02 00 91 fd d1 00 ef 88 9e 00 c7 fc 40
+ ...
+
+ R3 = 0x00001b68, R4 = 0x40707e58, R5 = 0x00000d19
+ R3 = 0x00075770, R4 = 0x40443e2c, R5 = 0x00000014
+ R3 = 0x00075784, R4 = 0x40443e7c, R5 = 0x00000014
+ R3 = 0x00075798, R4 = 0x40443ecc, R5 = 0x00000014
+ R3 = 0x000757ac, R4 = 0x40443f1c, R5 = 0x00000014
+ R3 = 0x000757c0, R4 = 0x40443e6c, R5 = 0x00000014
+
+ R3 = 0x00062ca0, R4 = 0x409cfa70, R5 = 0x000001e0
+ R3 = 0x00008ca0, R4 = 0x409f8f70, R5 = 0x000002c5
+ R3 = 0x00002ba4, R4 = 0x40fffaf0, R5 = 0x00000028
+ R3 = 0x0001f4a0, R4 = 0x40a06350, R5 = 0x00000340
+ R3 = 0x00002bcc, R4 = 0x40fffaf0, R5 = 0x00000028
+
+ R3 = 0x00000190, R4 = 0x40fff8f8, R5 = 0x00000014
+
+ 0x40188514()
+ R3 = 0x0000d818, R4 = 0x40ffcce0, R5 = 0x00000bc0
+
+ 00 00 00 dd 00 00 00 00 00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+ ...
+
+ R3 = 0x0001494c, R4 = 0x40ffcce0, R5 = 0x00000bc0
+
+ 0x40116c28(): Draws 2D images
+ R3 = 0x009e0c7a, R4 = 0x40a7c3bc, R5 = 0x0000007c
+
+ 0x40116a80(): Clears 2D images?
+ R3 = 0x009f6308, R4 = 0x40a9a784, R5 = 0x000000f0
+
+
+
+ -> 0x40116430(): R3 = dest (|= 0x30800000), R4 = source, R5 = num words
+ -> 0x401162ac() WriteVideoMem: R3 = source, R4 = dest, R5 = num words
+ -> 0x401064b0() Write video data using FIFO: R3 = source, R4 = dest, R5 = num words (must be divisible by 8)
+ -> 0x40106668() Write video data using write port: R3 = source, R4 = dest, R5 = num words
+
+
+
+ 0x40106788(): FIFO Packet write: R3 = source, R4 = select between cmd 0 and 1, R5 = num words (must be divisible by 8)
+
+
+
+ BG2: 4x4 Matrices at 0x40223218
+ word 0: ?? (0x62e6c, 0xf20a0, ...) anded by 0x1fffff on read, or'd by 0xff800000, or'd by 0x400000 if no matrix, store -> [0x00]
+ word 1: ?? (usually zero)
+ word 2: float (often 1.0) multiplied by 31.0f, converted to (int), anded by 0x1f, or by 0x80 if word 1 == 1, store -> [0x08]
+ word 3: float if (exponent < 1, mult by 0.5), store -> [0x04]
+ word 4: usually 0x00000001 if 0, matrix not stored
+ 16x float: 4x4 matrix
+ matrix[0][0] -> store [0x10]
+ matrix[1][0] -> store [0x14]
+ matrix[2][0] -> store [0x18]
+ matrix[3][0] -> store [0x1c]
+ ...
+ word 0: Pointer to another matrix
+ word 1: Pointer to another matrix
+
+ 0x401afffc(): Write
+
+ 0x40118af0():
+ -> 0x401195e0(): Read (Transposes matrix, only columns 0-2 stored + 4 extra command words)
+
+ -> 0x40118080: Read, store to [0x40362314+], never read
+
+
+ Display list top?: 0x403408c0 (pointer to at 0x4020b80c)
+ bottom?: 0x403608e4 (pointer to at 0x4020b81c)
+
+ 0x40123fcc():
+ -> 0x401186c8(): Display list parser?
+
+ 0x40117fb4(): Insert command to disp list. R3 = command word
+
+ Display list format
+ -------------------
+ 0xffff0010: ?
+
+ 0xffff0011: Draw Polygon Object
+ 0 = Polygon data address (21 bits) in screen RAM (in dwords). If 0x400000 set, no matrix.
+ 1 = Object scale (float), if <1.0f multiply scale by 2.0f
+ 2 = 0x80 = object alpha enable, 0x1f = object alpha (0x1f = opaque)
+ 3 = ?
+ 4...15 = 4x3 matrix
+
+ 0xffff0020: ? (no parameters)
+
+ 0xffff0021: Draw Pretransformed Polygon (used for drawing the background images)
+ 0 = address? (if 0x400 set, 24 words)
+ 1 = Texture number (* 0x4000 to address the texture)
+ 2 = ?
+ 3 = ? (usually 0)
+
+ Vertex data: 4x or 5x 4 words
+ 0 = XY coordinates. X = high 16 bits, Y = low 16 bits
+ 1 = Z value?
+ 2 = UV coordinates. U = high 16 bits, V = low 16 bits (possibly shifted left by 4?)
+ 3 = ? (usually 0)
+
+ 0xffff0022: ? (1 word)
+ 0 = ? (Set to 0x00000001 before drawing the background. Z-buffer read disable?)
+
+ 0xffff0030: ? (2 + n words) FIFO write?
+ 0 = ?
+ 1 = num of words
+ n words = ?
+
+ 0xffff0080: Display List Call?
- 0xffff0020: ? (no parameters)
-
- 0xffff0021: Draw Pretransformed Polygon (used for drawing the background images)
- 0 = address? (if 0x400 set, 24 words)
- 1 = Texture number (* 0x4000 to address the texture)
- 2 = ?
- 3 = ? (usually 0)
-
- Vertex data: 4x or 5x 4 words
- 0 = XY coordinates. X = high 16 bits, Y = low 16 bits
- 1 = Z value?
- 2 = UV coordinates. U = high 16 bits, V = low 16 bits (possibly shifted left by 4?)
- 3 = ? (usually 0)
-
- 0xffff0022: ? (1 word)
- 0 = ? (Set to 0x00000001 before drawing the background. Z-buffer read disable?)
-
- 0xffff0030: ? (2 + n words) FIFO write?
- 0 = ?
- 1 = num of words
- n words = ?
-
- 0xffff0080: Display List Call?
-
- 0xffff00ff: End of List?
+ 0xffff00ff: End of List?
- Polygon data format
- -------------------
+ Polygon data format
+ -------------------
- Word 0:
- ---x---- -------- -------- -------- 1: this is the last polygon of the model
- -------x -------- -------- -------- 0: triangle, 1: quad
- -------- -------- -----xxx xxxxxxxx Texture number (* 0x4000 to address the texture)
+ Word 0:
+ ---x---- -------- -------- -------- 1: this is the last polygon of the model
+ -------x -------- -------- -------- 0: triangle, 1: quad
+ -------- -------- -----xxx xxxxxxxx Texture number (* 0x4000 to address the texture)
- Word 1:
- ?
+ Word 1:
+ ?
- Word 2:
- ?
+ Word 2:
+ ?
- Word 3:
- ?
+ Word 3:
+ ?
- Vertex data: 3x (triangle) or 4x (quad) 4 words
- Word 0:
- -------- -------- -------- xxxxxxxx Texture V coordinate (0..63 with max 4x repeat)
- -------- -------- xxxxxxxx -------- Texture U coordinate (0..63 with max 4x repeat)
- -------- xxxxxxxx -------- -------- Usually 0x40. HUD elements set 0xff. Self-illumination?
+ Vertex data: 3x (triangle) or 4x (quad) 4 words
+ Word 0:
+ -------- -------- -------- xxxxxxxx Texture V coordinate (0..63 with max 4x repeat)
+ -------- -------- xxxxxxxx -------- Texture U coordinate (0..63 with max 4x repeat)
+ -------- xxxxxxxx -------- -------- Usually 0x40. HUD elements set 0xff. Self-illumination?
- Word 1:
- -------- -------- xxxxxxxx xxxxxxxx Vertex X coordinate (signed 8.8 fixed point)
- -------- xxxxxxxx -------- -------- Normal X (signed 1.7 fixed point)
+ Word 1:
+ -------- -------- xxxxxxxx xxxxxxxx Vertex X coordinate (signed 8.8 fixed point)
+ -------- xxxxxxxx -------- -------- Normal X (signed 1.7 fixed point)
- Word 2:
- -------- -------- xxxxxxxx xxxxxxxx Vertex Y coordinate (signed 8.8 fixed point)
- -------- xxxxxxxx -------- -------- Normal Y (signed 1.7 fixed point)
-
- Word 3:
- -------- -------- xxxxxxxx xxxxxxxx Vertex Z coordinate (signed 8.8 fixed point)
- -------- xxxxxxxx -------- -------- Normal Z (signed 1.7 fixed point)
-
- 3D registers
- ------------
-
- 0x00000100: xxxxxxxx xxxxxxxx -------- -------- Viewport Y?
- -------- -------- xxxxxxxx xxxxxxxx Viewport X?
-
- 0x00000101: xxxxxxxx xxxxxxxx -------- -------- Viewport center X? (usually 255 or 240)
- -------- -------- xxxxxxxx xxxxxxxx Viewport center Y? (usually 200 or 191)
-
- 0x00000102: xxxxxxxx xxxxxxxx -------- -------- ? (usually 0x100)
- -------- -------- xxxxxxxx xxxxxxxx ? (usually 0x100 or 0xc0)
+ Word 2:
+ -------- -------- xxxxxxxx xxxxxxxx Vertex Y coordinate (signed 8.8 fixed point)
+ -------- xxxxxxxx -------- -------- Normal Y (signed 1.7 fixed point)
- 0x00000103:
+ Word 3:
+ -------- -------- xxxxxxxx xxxxxxxx Vertex Z coordinate (signed 8.8 fixed point)
+ -------- xxxxxxxx -------- -------- Normal Z (signed 1.7 fixed point)
- 0x00000104:
-
- 0x10000100:
-
- 0x10000101:
-
- 0x10000102: xxxxxxxx xxxxxxxx -------- -------- Diffuse light color (ARGB1555)
- -------- -------- xxxxxxxx xxxxxxxx Ambient light color (ARGB1555)
-
- 0x10000103:
-
- 0x10000104:
-
- 0x10000105:
+ 3D registers
+ ------------
+
+ 0x00000100: xxxxxxxx xxxxxxxx -------- -------- Viewport Y?
+ -------- -------- xxxxxxxx xxxxxxxx Viewport X?
+
+ 0x00000101: xxxxxxxx xxxxxxxx -------- -------- Viewport center X? (usually 255 or 240)
+ -------- -------- xxxxxxxx xxxxxxxx Viewport center Y? (usually 200 or 191)
+
+ 0x00000102: xxxxxxxx xxxxxxxx -------- -------- ? (usually 0x100)
+ -------- -------- xxxxxxxx xxxxxxxx ? (usually 0x100 or 0xc0)
+
+ 0x00000103:
+
+ 0x00000104:
+
+ 0x10000100:
+
+ 0x10000101:
+
+ 0x10000102: xxxxxxxx xxxxxxxx -------- -------- Diffuse light color (ARGB1555)
+ -------- -------- xxxxxxxx xxxxxxxx Ambient light color (ARGB1555)
+
+ 0x10000103:
+
+ 0x10000104:
+
+ 0x10000105:
*/
#define LOG_PPC_TO_TLCS_COMMANDS 1
@@ -418,7 +418,7 @@ private:
POLY_NY = 4,
POLY_NZ = 5,
};
-
+
//static const float ZBUFFER_MAX = 10000000000.0f;
bitmap_rgb32 *m_fb;
@@ -443,7 +443,7 @@ private:
int m_specular_r;
int m_specular_g;
int m_specular_b;
-
+
float m_vp_center_x;
float m_vp_center_y;
float m_vp_focus;
@@ -509,7 +509,7 @@ public:
UINT8 m_rtcdata[8];
-
+
UINT32 m_reg105;
UINT32 m_displist_addr;
@@ -522,41 +522,41 @@ public:
static void taitotz_exit(running_machine &machine)
{
/*
- taitotz_state *state = machine.driver_data<taitotz_state>();
-
- FILE *file;
- int i;
-
- file = fopen("screen_ram.bin","wb");
- for (i=0; i < 0x200000; i++)
- {
- fputc((UINT8)(state->m_screen_ram[i] >> 24), file);
- fputc((UINT8)(state->m_screen_ram[i] >> 16), file);
- fputc((UINT8)(state->m_screen_ram[i] >> 8), file);
- fputc((UINT8)(state->m_screen_ram[i] >> 0), file);
- }
- fclose(file);
-
- file = fopen("frame_ram.bin","wb");
- for (i=0; i < 0x80000; i++)
- {
- fputc((UINT8)(state->m_frame_ram[i] >> 24), file);
- fputc((UINT8)(state->m_frame_ram[i] >> 16), file);
- fputc((UINT8)(state->m_frame_ram[i] >> 8), file);
- fputc((UINT8)(state->m_frame_ram[i] >> 0), file);
- }
- fclose(file);
-
- file = fopen("texture_ram.bin","wb");
- for (i=0; i < 0x800000; i++)
- {
- fputc((UINT8)(state->m_texture_ram[i] >> 24), file);
- fputc((UINT8)(state->m_texture_ram[i] >> 16), file);
- fputc((UINT8)(state->m_texture_ram[i] >> 8), file);
- fputc((UINT8)(state->m_texture_ram[i] >> 0), file);
- }
- fclose(file);
- */
+ taitotz_state *state = machine.driver_data<taitotz_state>();
+
+ FILE *file;
+ int i;
+
+ file = fopen("screen_ram.bin","wb");
+ for (i=0; i < 0x200000; i++)
+ {
+ fputc((UINT8)(state->m_screen_ram[i] >> 24), file);
+ fputc((UINT8)(state->m_screen_ram[i] >> 16), file);
+ fputc((UINT8)(state->m_screen_ram[i] >> 8), file);
+ fputc((UINT8)(state->m_screen_ram[i] >> 0), file);
+ }
+ fclose(file);
+
+ file = fopen("frame_ram.bin","wb");
+ for (i=0; i < 0x80000; i++)
+ {
+ fputc((UINT8)(state->m_frame_ram[i] >> 24), file);
+ fputc((UINT8)(state->m_frame_ram[i] >> 16), file);
+ fputc((UINT8)(state->m_frame_ram[i] >> 8), file);
+ fputc((UINT8)(state->m_frame_ram[i] >> 0), file);
+ }
+ fclose(file);
+
+ file = fopen("texture_ram.bin","wb");
+ for (i=0; i < 0x800000; i++)
+ {
+ fputc((UINT8)(state->m_texture_ram[i] >> 24), file);
+ fputc((UINT8)(state->m_texture_ram[i] >> 16), file);
+ fputc((UINT8)(state->m_texture_ram[i] >> 8), file);
+ fputc((UINT8)(state->m_texture_ram[i] >> 0), file);
+ }
+ fclose(file);
+ */
}
static VIDEO_START( taitotz )
@@ -596,13 +596,13 @@ INLINE float finvsqrt(float number)
UINT32 i;
float x2, y;
const float threehalfs = 1.5f;
-
+
x2 = number * 0.5f;
y = number;
i = *(UINT32*)&y;
i = 0x5f3759df - ( i >> 1 );
y = *(float*)&i;
- y = y * ( threehalfs - ( x2 * y * y ) );
+ y = y * ( threehalfs - ( x2 * y * y ) );
return y;
}
@@ -789,7 +789,7 @@ void taitotz_renderer::draw_scanline(INT32 scanline, const extent_t &extent, con
g = ((g * a) >> 5) + ((sg * (31 - a)) >> 5);
b = ((b * a) >> 5) + ((sb * (31 - a)) >> 5);
}
-
+
// write to framebuffer
fb[x] = 0xff000000 | (r << 16) | (g << 8) | b;
@@ -920,7 +920,7 @@ void taitotz_renderer::draw_object(running_machine &machine, UINT32 address, flo
{
// texture coordinates
UINT8 tu = (src[index] >> 8) & 0xff;
- UINT8 tv = (src[index] >> 0) & 0xff;
+ UINT8 tv = (src[index] >> 0) & 0xff;
v[i].p[POLY_U] = (float)(tu);
v[i].p[POLY_V] = (float)(tv);
@@ -931,7 +931,7 @@ void taitotz_renderer::draw_object(running_machine &machine, UINT32 address, flo
float px = ((float)(x) / 256.0f) * scale;
float py = ((float)(y) / 256.0f) * scale;
float pz = ((float)(z) / 256.0f) * scale;
-
+
// normals
INT8 inx = (src[index + 1] >> 16) & 0xff;
INT8 iny = (src[index + 2] >> 16) & 0xff;
@@ -1100,7 +1100,7 @@ void taitotz_renderer::render_displaylist(running_machine &machine, const rectan
m_matrix[1][1]= *(float*)&w[9];
m_matrix[2][1]= *(float*)&w[10];
m_matrix[3][1]= *(float*)&w[11];
-
+
m_matrix[0][2]= *(float*)&w[12];
m_matrix[1][2]= *(float*)&w[13];
m_matrix[2][2]= *(float*)&w[14];
@@ -1161,7 +1161,7 @@ void taitotz_renderer::render_displaylist(running_machine &machine, const rectan
UINT16 y = (w[4] >> 0) & 0xffff;
UINT16 tu = (w[6] >> 20) & 0xfff;
UINT16 tv = (w[6] >> 4) & 0xfff;
-// UINT16 z = (w[5] & 0xffff);
+// UINT16 z = (w[5] & 0xffff);
v[j].x = x;
v[j].y = y; // batlgear needs -50 modifier here (why?)
@@ -1279,7 +1279,7 @@ static SCREEN_UPDATE_RGB32( taitotz )
bitmap.fill(0x000000, cliprect);
state->m_renderer->set_fb(&bitmap);
state->m_renderer->render_displaylist(screen.machine(), cliprect);
-
+
UINT16 *screen_src = (UINT16*)&state->m_screen_ram[state->m_scr_base];
@@ -1329,19 +1329,19 @@ static void draw_tile(taitotz_state *state, UINT32 pos, UINT32 tile)
}
/*
- Video chip memory map
+ Video chip memory map
- 0x800000...0x9fffff Screen RAM
- 0x980000...7fff Char RAM
- 0x9c0000...fffff Tile RAM?
+ 0x800000...0x9fffff Screen RAM
+ 0x980000...7fff Char RAM
+ 0x9c0000...fffff Tile RAM?
- 0x1000000...0x17fffff Texture RAM
+ 0x1000000...0x17fffff Texture RAM
- 0x1800000...0x187ffff Frame RAM
+ 0x1800000...0x187ffff Frame RAM
- landhigh puts fullscreen images into 0x9c0000
- batlgr2 into 0x9e0000
+ landhigh puts fullscreen images into 0x9c0000
+ batlgr2 into 0x9e0000
*/
static UINT32 video_mem_r(taitotz_state *state, UINT32 address)
@@ -1407,7 +1407,7 @@ static UINT32 video_reg_r(taitotz_state *state, UINT32 reg)
if (reg != 0x20000008)
logerror("video_reg_r: reg: %08X\n", reg);
-
+
if (subreg < 0x10)
{
return state->m_video_unk_reg[subreg];
@@ -1500,7 +1500,7 @@ READ64_MEMBER(taitotz_state::video_chip_r)
{
UINT64 r = 0;
UINT32 reg = offset * 8;
-
+
if (ACCESSING_BITS_0_31)
{
reg += 4;
@@ -1600,7 +1600,7 @@ WRITE64_MEMBER(taitotz_state::video_chip_w)
}
case 0x3:
{
- // video_chip_w: port 0x08: 30000001 gets spammed a lot
+ // video_chip_w: port 0x08: 30000001 gets spammed a lot
break;
}
default:
@@ -1666,7 +1666,7 @@ WRITE64_MEMBER(taitotz_state::video_fifo_w)
else if (command == 0x1)
{
// FIFO command/packet write
-
+
if (ACCESSING_BITS_32_63)
{
if (m_video_fifo_ptr >= 8)
@@ -1734,7 +1734,7 @@ WRITE64_MEMBER(taitotz_state::ieee1394_w)
READ64_MEMBER(taitotz_state::ppc_common_r)
{
UINT64 res = 0;
-
+
if (ACCESSING_BITS_0_15)
{
res |= m_io_share_ram[(offset * 2) + 1];
@@ -1801,14 +1801,14 @@ WRITE64_MEMBER(taitotz_state::ppc_common_w)
m_io_share_ram[0x1c1a/2]
);
}
-
+
/*
- if (m_io_share_ram[0xfff] == 0x1010)
- {
- printf(" %04X %04X %04X %04X\n", m_io_share_ram[0x1a02/2], m_io_share_ram[0x1a04/2], m_io_share_ram[0x1a06/2], m_io_share_ram[0x1a08/2]);
- }
- */
-
+ if (m_io_share_ram[0xfff] == 0x1010)
+ {
+ printf(" %04X %04X %04X %04X\n", m_io_share_ram[0x1a02/2], m_io_share_ram[0x1a04/2], m_io_share_ram[0x1a06/2], m_io_share_ram[0x1a08/2]);
+ }
+ */
+
#endif
@@ -1935,7 +1935,7 @@ WRITE8_MEMBER(taitotz_state::tlcs_common_w)
if (m_io_share_ram[0xfff] == 0 && m_io_share_ram[0xffe] == 0x1012)
{
//device_spin_until_trigger(machine().device("iocpu"), TLCS_PPC_COMM_TRIGGER);
- device_yield(machine().device("iocpu"));
+ device_yield(machine().device("iocpu"));
machine().scheduler().trigger(PPC_TLCS_COMM_TRIGGER);
}
}
@@ -2048,7 +2048,7 @@ static READ8_DEVICE_HANDLER(tlcs_ide1_r)
{
//static UINT16 ide_reg_latch;
int reg = offset >> 1;
-
+
if (reg != 6)
fatalerror("tlcs_ide1_r: %02X\n", offset);
@@ -2116,7 +2116,7 @@ WRITE8_MEMBER(taitotz_state::tlcs900_port_write)
{
case 0x7:
//if (data != 0xff && data != 0xfa && data != 0xfe)
- // printf("tlcs900_port_write %02X, %02X\n", offset, data);
+ // printf("tlcs900_port_write %02X, %02X\n", offset, data);
break;
case 0x8:
@@ -2128,7 +2128,7 @@ WRITE8_MEMBER(taitotz_state::tlcs900_port_write)
case 0x9:
//if (data != 0x00)
- // printf("tlcs900_port_write %02X, %02X\n", offset, data);
+ // printf("tlcs900_port_write %02X, %02X\n", offset, data);
break;
case 0xb:
@@ -2142,28 +2142,28 @@ WRITE8_MEMBER(taitotz_state::tlcs900_port_write)
// TLCS900 interrupt vectors
// 0xfc0150: Reset
-// 0xfc0120: SWI1-7 -
-// 0xfc0120: NMI -
-// 0xfc0120: INTWD -
-// 0xfc0122: INT0 PPC communication
-// 0xfc0137: INT1 IEEE1394?
-// 0xfc013c: INT2 IDE
-// 0xfc0141: INT3 VBlank? Drives a counter on PPC side
-// 0xfc0146: INT4 -
-// 0xfc0147: INT5 -
-// 0xfc0148: INT6 -
-// 0xfc0149: INT7 -
-// 0xfc014a: INT8 Sound chip interrupt?
-// 0xfc0120: INTAD -
-// 0xfc0120: INTTR8-A -
-// 0xfc0120: INTT0 -
-// 0xfc0467: INTT1 A/D Conversion
-// 0xfc0120: INTT2-7 -
-// 0xfc0120: INTTC0-3 -
-// 0xfc0d1d: INTRX0 Serial 0 receive
-// 0xfc0ca5: INTTX0 Serial 0 transmit
-// 0xfc0d55: INTRX1 Serial 1 receive
-// 0xfc0ce1: INTTX1 Serial 1 transmit
+// 0xfc0120: SWI1-7 -
+// 0xfc0120: NMI -
+// 0xfc0120: INTWD -
+// 0xfc0122: INT0 PPC communication
+// 0xfc0137: INT1 IEEE1394?
+// 0xfc013c: INT2 IDE
+// 0xfc0141: INT3 VBlank? Drives a counter on PPC side
+// 0xfc0146: INT4 -
+// 0xfc0147: INT5 -
+// 0xfc0148: INT6 -
+// 0xfc0149: INT7 -
+// 0xfc014a: INT8 Sound chip interrupt?
+// 0xfc0120: INTAD -
+// 0xfc0120: INTTR8-A -
+// 0xfc0120: INTT0 -
+// 0xfc0467: INTT1 A/D Conversion
+// 0xfc0120: INTT2-7 -
+// 0xfc0120: INTTC0-3 -
+// 0xfc0d1d: INTRX0 Serial 0 receive
+// 0xfc0ca5: INTTX0 Serial 0 transmit
+// 0xfc0d55: INTRX1 Serial 1 receive
+// 0xfc0ce1: INTTX1 Serial 1 transmit
static ADDRESS_MAP_START( tlcs900h_mem, AS_PROGRAM, 8, taitotz_state)
AM_RANGE(0x010000, 0x02ffff) AM_RAM // Work RAM
@@ -2233,7 +2233,7 @@ static INPUT_PORTS_START( taitotz )
PORT_BIT( 0x00000004, IP_ACTIVE_LOW, IPT_BUTTON7 ) // View 5
PORT_BIT( 0x00000008, IP_ACTIVE_LOW, IPT_BUTTON8 ) // View 6
PORT_BIT( 0x00000010, IP_ACTIVE_LOW, IPT_BUTTON3 ) // View 1
- PORT_BIT( 0x00000020, IP_ACTIVE_LOW, IPT_BUTTON4 ) // View 2
+ PORT_BIT( 0x00000020, IP_ACTIVE_LOW, IPT_BUTTON4 ) // View 2
PORT_BIT( 0x00000040, IP_ACTIVE_LOW, IPT_BUTTON1 ) // Select 1
PORT_BIT( 0x00000080, IP_ACTIVE_LOW, IPT_BUTTON2 ) // Select 2
INPUT_PORTS_END
@@ -2510,7 +2510,7 @@ static void init_taitotz_152(running_machine &machine)
{
UINT32 *rom = (UINT32*)machine.root_device().memregion("user1")->base();
rom[(0x2c87c^4)/4] = 0x38600000; // skip sound load timeout...
-// rom[(0x2c620^4)/4] = 0x48000014; // ID check skip (not needed with correct serial number)
+// rom[(0x2c620^4)/4] = 0x48000014; // ID check skip (not needed with correct serial number)
}
// Init for BIOS 1.11a
@@ -2561,9 +2561,9 @@ static DRIVER_INIT(batlgr2)
taitotz_state *state = machine.driver_data<taitotz_state>();
init_taitotz_152(machine);
-
+
state->m_hdd_serial_number = BATLGR2_HDD_SERIAL;
-
+
state->m_scr_base = 0x1e0000;
state->m_displist_addr = 0x3608e4;
@@ -2574,9 +2574,9 @@ static DRIVER_INIT(batlgr2a)
taitotz_state *state = machine.driver_data<taitotz_state>();
init_taitotz_152(machine);
-
+
state->m_hdd_serial_number = BATLGR2A_HDD_SERIAL;
-
+
state->m_scr_base = 0x1e0000;
state->m_displist_addr = 0x3608e4;
@@ -2587,10 +2587,10 @@ static DRIVER_INIT(pwrshovl)
taitotz_state *state = machine.driver_data<taitotz_state>();
init_taitotz_111a(machine);
-
+
// unknown, not used by BIOS 1.11a
state->m_hdd_serial_number = NULL;
-
+
state->m_scr_base = 0x1c0000;
state->m_displist_addr = 0x4a989c;
diff --git a/src/mame/drivers/tasman.c b/src/mame/drivers/tasman.c
index ed7c770d3b5..b2b361a415f 100644
--- a/src/mame/drivers/tasman.c
+++ b/src/mame/drivers/tasman.c
@@ -11,7 +11,7 @@
Thanks to palindrome for PCB scans.
- 0x38606
+ 0x38606
*/
#include "emu.h"
@@ -141,7 +141,7 @@ static READ32_HANDLER( test_r )
/*
static READ32_HANDLER( rng_r )
{
- return space->machine().rand();
+ return space->machine().rand();
}
*/
@@ -196,9 +196,9 @@ static ADDRESS_MAP_START( kongambl_map, AS_PROGRAM, 32, kongambl_state )
AM_RANGE(0x500380, 0x500383) AM_READ_LEGACY(test_r)
AM_RANGE(0x500000, 0x5007ff) AM_RAM
-// AM_RANGE(0x500400, 0x500403) AM_NOP //dual port?
-// AM_RANGE(0x500420, 0x500423) AM_NOP //dual port?
-// AM_RANGE(0x500500, 0x500503) AM_NOP // reads sound ROM in here, polled from m68k?
+// AM_RANGE(0x500400, 0x500403) AM_NOP //dual port?
+// AM_RANGE(0x500420, 0x500423) AM_NOP //dual port?
+// AM_RANGE(0x500500, 0x500503) AM_NOP // reads sound ROM in here, polled from m68k?
AM_RANGE(0x580000, 0x580007) AM_READ_LEGACY(test_r)
AM_RANGE(0x600000, 0x60000f) AM_READ_LEGACY(test_r)
diff --git a/src/mame/drivers/wardner.c b/src/mame/drivers/wardner.c
index 2f1166e1d77..5e55d7bf764 100644
--- a/src/mame/drivers/wardner.c
+++ b/src/mame/drivers/wardner.c
@@ -138,7 +138,7 @@ public:
wardner_state(const machine_config &mconfig, device_type type, const char *tag)
: twincobr_state(mconfig, type,tag),
m_rambase_c000(*this, "rambase_c000")
- {
+ {
}
required_shared_ptr<UINT8> m_rambase_c000;
@@ -168,7 +168,7 @@ READ8_MEMBER( wardner_state::wardner_bank_r )
else if ((addr >= 0xc000) && (addr < 0xc800))
return m_rambase_c000[addr - 0xc000];
}
-
+
// ROM bank mapped
return m_ROM[m_wardner_membank * 0x8000 + offset];
}
diff --git a/src/mame/includes/esd16.h b/src/mame/includes/esd16.h
index 3cc9d283a71..3d128e20890 100644
--- a/src/mame/includes/esd16.h
+++ b/src/mame/includes/esd16.h
@@ -19,7 +19,7 @@ public:
m_head_layersize(*this, "head_layersize"),
m_headpanic_platform_x(*this, "platform_x"),
m_headpanic_platform_y(*this, "platform_y")
- {
+ {
m_tilemap0_color = 0;
m_tilemap1_color = 0;
}
@@ -55,7 +55,7 @@ public:
DECLARE_WRITE16_MEMBER(esd16_vram_0_w);
DECLARE_WRITE16_MEMBER(esd16_vram_1_w);
DECLARE_WRITE16_MEMBER(esd16_tilemap0_color_w);
- DECLARE_WRITE16_MEMBER(esd16_tilemap0_color_jumppop_w);
+ DECLARE_WRITE16_MEMBER(esd16_tilemap0_color_jumppop_w);
};
diff --git a/src/mame/machine/bfm_bd1.c b/src/mame/machine/bfm_bd1.c
index 9d8182fdb30..a611ee9585a 100644
--- a/src/mame/machine/bfm_bd1.c
+++ b/src/mame/machine/bfm_bd1.c
@@ -293,7 +293,7 @@ int bfm_bd1_t::write_char(int data)
break;
case 0xB0: // 0xB0 - 0xBF Clear display area
-
+
switch ( data & 0x03 )
{
case 0x00: // clr nothing
diff --git a/src/mame/machine/bfm_bd1.h b/src/mame/machine/bfm_bd1.h
index 541238d6691..40579f22e62 100644
--- a/src/mame/machine/bfm_bd1.h
+++ b/src/mame/machine/bfm_bd1.h
@@ -34,7 +34,7 @@ public:
protected:
static const UINT8 AT_NORMAL = 0x00;
static const UINT8 AT_FLASH = 0x01;
- static const UINT8 AT_BLANK = 0x02;
+ static const UINT8 AT_BLANK = 0x02;
static const UINT8 AT_FLASHED = 0x80; // set when character should be blinked off
int m_cursor_pos;
diff --git a/src/mame/machine/bfm_bda.c b/src/mame/machine/bfm_bda.c
index 44a6d638d4a..5c1e2e5ecbd 100644
--- a/src/mame/machine/bfm_bda.c
+++ b/src/mame/machine/bfm_bda.c
@@ -302,7 +302,7 @@ int bfm_bda_t::write_char(int data)
break;
case 0xB0: // 0xB0 - 0xBF Clear display area
-
+
switch ( data & 0x03 )
{
case 0x00: // clr nothing
diff --git a/src/mame/machine/bfm_bda.h b/src/mame/machine/bfm_bda.h
index 74529a34ed8..ae9f2bcd61d 100644
--- a/src/mame/machine/bfm_bda.h
+++ b/src/mame/machine/bfm_bda.h
@@ -34,7 +34,7 @@ public:
protected:
static const UINT8 AT_NORMAL = 0x00;
static const UINT8 AT_FLASH = 0x01;
- static const UINT8 AT_BLANK = 0x02;
+ static const UINT8 AT_BLANK = 0x02;
static const UINT8 AT_FLASHED = 0x80; // set when character should be blinked off
int m_cursor_pos;
diff --git a/src/mame/mame.lst b/src/mame/mame.lst
index 09cfb65d55e..6b47da1569c 100644
--- a/src/mame/mame.lst
+++ b/src/mame/mame.lst
@@ -19369,6 +19369,7 @@ m5clubsn11 //
m5clubsn14 //
m5clubsn16 //
m5dick // Dick Turnip (Bwb)
+m5dick10
m5donna // Donna Kebab (Bwb)
m5donnad //
m5donnaa //
@@ -19413,6 +19414,7 @@ m5sec7a //
m5sil7 // Silver 7s (Bwb)
m5sil7a //
m5smobik // Smokey Bikin (Bwb)
+m5smobik12
m5tictac // Tic Tac Tut (Vivid)
m5tictacbwb // Tic Tac Tut (Bwb)
m5tictacbwb16 //
@@ -19761,14 +19763,14 @@ sp_tzfes //
sp_tzfet //
sp_tzfeu //
sp_beau // Beau Peep (Ace)
-sp_beaua //
-sp_beaub //
-sp_beauc //
-sp_beaud //
-sp_beaue //
-sp_beauf //
-sp_beaug //
-sp_beauh //
+sp_beaua //
+sp_beaub //
+sp_beauc //
+sp_beaud //
+sp_beaue //
+sp_beauf //
+sp_beaug //
+sp_beauh //
sp_bigbd // Big Break Deluxe Club (Ace)
sp_bigbda //
sp_brkbk // Break The Bank (Ace)
@@ -19863,14 +19865,14 @@ sp_gol // Gol (Ace)
sp_golda // Golden Arrow Club (Ace)
sp_goldaa //
sp_golds // Golden Streak (Ace)
-sp_goldsa //
-sp_goldsb //
-sp_goldsc //
-sp_goldsd //
-sp_goldse //
-sp_goldsf //
-sp_goldsg //
-sp_goldsh //
+sp_goldsa //
+sp_goldsb //
+sp_goldsc //
+sp_goldsd //
+sp_goldse //
+sp_goldsf //
+sp_goldsg //
+sp_goldsh //
sp_goldt // Golden Touch (Golden Streak) (Ace)
sp_here // Here We Go (Ace)
sp_herea //
@@ -19969,7 +19971,7 @@ sp_poundbwbe //
sp_poundbwbf //
sp_road // Road To Hell (Ace)
sp_skylm // Sky's The Limit Club, The (Ace)
-sp_skylma //
+sp_skylma //
sp_tkpik // Take Your Pick (Ace)
sp_tkpika //
sp_tkpikb //
@@ -19982,7 +19984,7 @@ sp_carrya //
sp_front // Final Frontier (Bwb)
sp_atw // Around the World (Crystal)
sp_five // Fiver Fever (Crystal)
-sp_fivea //
+sp_fivea //
sp_crun // Cash Run (Crystal)
sp_cruna //
sp_crunb //
diff --git a/src/mame/mame.mak b/src/mame/mame.mak
index 5f89b6ec1da..84884a742dd 100644
--- a/src/mame/mame.mak
+++ b/src/mame/mame.mak
@@ -1879,7 +1879,7 @@ $(MAMEOBJ)/misc.a: \
$(DRIVERS)/umipoker.o \
$(DRIVERS)/unkfr.o \
$(DRIVERS)/unkhorse.o \
- $(DRIVERS)/usgames.o $(VIDEO)/usgames.o \
+ $(DRIVERS)/usgames.o $(VIDEO)/usgames.o \
$(DRIVERS)/vamphalf.o \
$(DRIVERS)/vcombat.o \
$(DRIVERS)/vectrex.o $(VIDEO)/vectrex.o $(MACHINE)/vectrex.o \
diff --git a/src/mame/video/taitojc.c b/src/mame/video/taitojc.c
index 1f3742c14ab..f7e234e7a24 100644
--- a/src/mame/video/taitojc.c
+++ b/src/mame/video/taitojc.c
@@ -488,7 +488,7 @@ void taitojc_renderer::render_texture_scan(INT32 scanline, const extent_t &exten
void taitojc_renderer::render_polygons(running_machine &machine, UINT16 *polygon_fifo, int length)
{
-// taitojc_state *state = machine.driver_data<taitojc_state>();
+// taitojc_state *state = machine.driver_data<taitojc_state>();
const rectangle visarea = machine.primary_screen->visible_area();
vertex_t vert[4];
int i;
diff --git a/src/osd/sdl/input.c b/src/osd/sdl/input.c
index 55deeefe33c..77f7f4a19cb 100644
--- a/src/osd/sdl/input.c
+++ b/src/osd/sdl/input.c
@@ -1045,10 +1045,10 @@ static void sdlinput_register_lightguns(running_machine &machine)
{
int index;
XExtensionVersion *version;
-
+
lightgun_enabled = machine.options().lightgun();
- devmap_init(machine, &lightgun_map, SDLOPTION_LIGHTGUNINDEX, 8, "Lightgun mapping");
-
+ devmap_init(machine, &lightgun_map, SDLOPTION_LIGHTGUNINDEX, 8, "Lightgun mapping");
+
XDisplay = XOpenDisplay(NULL);
if (XDisplay == NULL) {
diff --git a/src/osd/sdl/sdl.mak b/src/osd/sdl/sdl.mak
index 05f7d9857aa..c272e8545dd 100644
--- a/src/osd/sdl/sdl.mak
+++ b/src/osd/sdl/sdl.mak
@@ -37,7 +37,7 @@
# NO_X11 = 1
-# uncomment next line to disable XInput support for e.g. multiple lightguns
+# uncomment next line to disable XInput support for e.g. multiple lightguns
# using Wiimote driver (see http://spritesmods.com/?art=wiimote-mamegun for more info)
# enabling NO_X11 also implies no XInput support, of course.