summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers
diff options
context:
space:
mode:
author Angelo Salese <angelosa@users.noreply.github.com>2011-06-05 22:35:20 +0000
committer Angelo Salese <angelosa@users.noreply.github.com>2011-06-05 22:35:20 +0000
commita449c766a220e5edcfc5aeb03730813a929a7c8a (patch)
tree5b6a67fa3ffcc07fb2276420fffe6111679e29e8 /src/mame/drivers
parent910fff0955cf27aa904843c130ede859231642b8 (diff)
Cleanups and version bumpmame0142u5
Diffstat (limited to 'src/mame/drivers')
-rw-r--r--src/mame/drivers/4roses.c2
-rw-r--r--src/mame/drivers/champbwl.c8
-rw-r--r--src/mame/drivers/chihiro.c6
-rw-r--r--src/mame/drivers/cps2.c8
-rw-r--r--src/mame/drivers/cps3.c6
-rw-r--r--src/mame/drivers/dreamwld.c38
-rw-r--r--src/mame/drivers/highvdeo.c6
-rw-r--r--src/mame/drivers/hornet.c4
-rw-r--r--src/mame/drivers/jpmimpct.c2
-rw-r--r--src/mame/drivers/maygayv1.c2
-rw-r--r--src/mame/drivers/mazerbla.c8
-rw-r--r--src/mame/drivers/model2.c6
-rw-r--r--src/mame/drivers/mpu4.c4
-rw-r--r--src/mame/drivers/neodrvr.c2
-rw-r--r--src/mame/drivers/norautp.c2
-rw-r--r--src/mame/drivers/pinkiri8.c2
-rw-r--r--src/mame/drivers/rltennis.c30
-rw-r--r--src/mame/drivers/saturn.c42
-rw-r--r--src/mame/drivers/segac2.c4
-rw-r--r--src/mame/drivers/segas32.c4
-rw-r--r--src/mame/drivers/viper.c16
-rw-r--r--src/mame/drivers/wecleman.c4
22 files changed, 103 insertions, 103 deletions
diff --git a/src/mame/drivers/4roses.c b/src/mame/drivers/4roses.c
index 649c13310e0..1798ff4a9e9 100644
--- a/src/mame/drivers/4roses.c
+++ b/src/mame/drivers/4roses.c
@@ -404,7 +404,7 @@ static MACHINE_CONFIG_START( 4roses, _4roses_state )
MCFG_PALETTE_INIT(funworld)
MCFG_VIDEO_START(funworld)
-// MCFG_MC6845_ADD("crtc", MC6845, MASTER_CLOCK/8, mc6845_intf) /* 2MHz, guess */
+// MCFG_MC6845_ADD("crtc", MC6845, MASTER_CLOCK/8, mc6845_intf) /* 2MHz, guess */
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
diff --git a/src/mame/drivers/champbwl.c b/src/mame/drivers/champbwl.c
index 2bb8f9fb2df..acf23d71568 100644
--- a/src/mame/drivers/champbwl.c
+++ b/src/mame/drivers/champbwl.c
@@ -231,7 +231,7 @@ static WRITE8_HANDLER( doraemon_outputs_w )
memory_set_bank(space->machine(), "bank1", (data & 0x30) >> 4);
-// popmessage("%02x", data);
+// popmessage("%02x", data);
}
static ADDRESS_MAP_START( doraemon, AS_PROGRAM, 8 )
@@ -363,9 +363,9 @@ static INPUT_PORTS_START( doraemon )
PORT_DIPSETTING( 0x06, "40 %" )
PORT_DIPSETTING( 0x05, "60 %" )
PORT_DIPSETTING( 0x04, "80 %" )
-// PORT_DIPSETTING( 0x03, "100 %" )
-// PORT_DIPSETTING( 0x02, "100 %" )
-// PORT_DIPSETTING( 0x01, "100 %" )
+// PORT_DIPSETTING( 0x03, "100 %" )
+// PORT_DIPSETTING( 0x02, "100 %" )
+// PORT_DIPSETTING( 0x01, "100 %" )
PORT_DIPSETTING( 0x00, "100 %" )
PORT_DIPNAME( 0x10, 0x10, "Games For 100 Yen" )
PORT_DIPSETTING( 0x10, "1" )
diff --git a/src/mame/drivers/chihiro.c b/src/mame/drivers/chihiro.c
index c0d0bccbdec..93da2173a98 100644
--- a/src/mame/drivers/chihiro.c
+++ b/src/mame/drivers/chihiro.c
@@ -365,7 +365,7 @@ static void jamtable_disasm(running_machine &machine, address_space *space,UINT3
char sop1[16];
char sop2[16];
char pcrel[16];
-// int prefix;
+// int prefix;
addr=address;
while (1)
@@ -385,14 +385,14 @@ static void jamtable_disasm(running_machine &machine, address_space *space,UINT3
sprintf(sop2,"%08X",op2);
sprintf(sop1,"ACC");
sprintf(pcrel,"PC+ACC");
-// prefix=1;
+// prefix=1;
}
else
{
sprintf(sop2,"%08X",op2);
sprintf(sop1,"%08X",op1);
sprintf(pcrel,"%08X",base+9+op1);
-// prefix=0;
+// prefix=0;
}
debug_console_printf(machine,"%08X ",base);
// dl=instr ebx=par1 eax=par2
diff --git a/src/mame/drivers/cps2.c b/src/mame/drivers/cps2.c
index 358b40fb0be..25a749feaf6 100644
--- a/src/mame/drivers/cps2.c
+++ b/src/mame/drivers/cps2.c
@@ -4240,15 +4240,15 @@ Marvel Vs. Capcom: Clash of Super Heroes (Euro 980123):
The originally dumped ROM4 contains garbage instructions that cause the game to crash during the ending staff roll.
The ROM has been repaired so that the code matches the other sets after decryption:
- offset dumped repaired decrypted
- 0x40/2 001a 189a EB11 -> 4EF9
- 0x60/2 800b c00b 0843 -> 227C
+ offset dumped repaired decrypted
+ 0x40/2 001a 189a EB11 -> 4EF9
+ 0x60/2 800b c00b 0843 -> 227C
*/
ROM_START( mvsc )
ROM_REGION( CODE_SIZE, "maincpu", 0 ) /* 68000 code */
ROM_LOAD16_WORD_SWAP( "mvce.03a", 0x000000, 0x80000, CRC(824e4a90) SHA1(5c79c166d988d8a75d9941f4ee6fa4d6476e55e1) )
-// ROM_LOAD16_WORD_SWAP( "mvce.04a", 0x080000, 0x80000, BAD_DUMP CRC(cac02153) SHA1(ee9f9da6fda53f21ba7b74367612c90281269690) )
+// ROM_LOAD16_WORD_SWAP( "mvce.04a", 0x080000, 0x80000, BAD_DUMP CRC(cac02153) SHA1(ee9f9da6fda53f21ba7b74367612c90281269690) )
ROM_LOAD16_WORD_SWAP( "mvce.04a", 0x080000, 0x80000, CRC(436c5a4e) SHA1(82f4586e888f2550c53bfdc93a53791a595e05bd) )
ROM_LOAD16_WORD_SWAP( "mvc.05a", 0x100000, 0x80000, CRC(2d8c8e86) SHA1(b07d640a734c5d336054ed05195786224c9a6cd4) )
ROM_LOAD16_WORD_SWAP( "mvc.06a", 0x180000, 0x80000, CRC(8528e1f5) SHA1(cd065c05268ab581b05676da544baf6af642acac) )
diff --git a/src/mame/drivers/cps3.c b/src/mame/drivers/cps3.c
index e172700ae2a..8d48f0b13be 100644
--- a/src/mame/drivers/cps3.c
+++ b/src/mame/drivers/cps3.c
@@ -1076,9 +1076,9 @@ static SCREEN_UPDATE(cps3)
//int endline;
//int height = (value3 & 0x7f000000)>>24;
int uu;
-// UINT32* tmapregs[4] = { state->m_tilemap20_regs_base, state->m_tilemap30_regs_base, state->m_tilemap40_regs_base, state->m_tilemap50_regs_base };
-// UINT32* regs;
-// regs = tmapregs[tilemapnum];
+// UINT32* tmapregs[4] = { state->m_tilemap20_regs_base, state->m_tilemap30_regs_base, state->m_tilemap40_regs_base, state->m_tilemap50_regs_base };
+// UINT32* regs;
+// regs = tmapregs[tilemapnum];
//endline = value2;
//startline = endline - height;
diff --git a/src/mame/drivers/dreamwld.c b/src/mame/drivers/dreamwld.c
index fe8011d8b3a..0386c8a0be0 100644
--- a/src/mame/drivers/dreamwld.c
+++ b/src/mame/drivers/dreamwld.c
@@ -3,11 +3,11 @@
Note: this hardware is a copy of Psikyo's 68020 based hardware,
the Strikers 1945 bootleg has the same unknown rom!
- It isn't quite as flexible as the original Psikyo hardware
- by the looks of it, there are various subtle changes to how
- things work, for example the tilemap sizes and missing
- transparent pen modification. This makes it rather hard to
- merge with psikyo.c and it should probably be left separate.
+ It isn't quite as flexible as the original Psikyo hardware
+ by the looks of it, there are various subtle changes to how
+ things work, for example the tilemap sizes and missing
+ transparent pen modification. This makes it rather hard to
+ merge with psikyo.c and it should probably be left separate.
Dream World
SemiCom, 2000
@@ -93,25 +93,25 @@ Stephh's notes (based on the game M68EC020 code and some tests) :
Baryon has some annoying sound looping clicks / cutouts, these need to
be verified against the HW (it's a very cheap sound system, so it might
- be accurate)
+ be accurate)
Baryon has playfield background which fade in with very rough / visible
edges. In this case the tilemap size registers from the original
- psikyo hardware are set to be the alternate tilemap size, however that
- doesn't make sense in the context of the data in RAM, which doesn't
- appear to wrap properly anyway, again, it's likely this is just how the
- game is. Furthermore the BG test in the test menu indicates that it
- tests alternate tilemap sizes, but doesn't even write to the register,
- probably a leftover from hardware development as the test menu is mostly
- incomplete.
+ psikyo hardware are set to be the alternate tilemap size, however that
+ doesn't make sense in the context of the data in RAM, which doesn't
+ appear to wrap properly anyway, again, it's likely this is just how the
+ game is. Furthermore the BG test in the test menu indicates that it
+ tests alternate tilemap sizes, but doesn't even write to the register,
+ probably a leftover from hardware development as the test menu is mostly
+ incomplete.
All: sprite priority, the original psikyo.c HW has sprite<->tilemap
priority but we don't support it here, does the clone HW support it?
All: sprite zooming, again the original psikyo.c HW supports this, but we
don't support it here. The Strikers 1945 bootleg in psikyo.c doesn't
- appear to support it properly either, so it might be missing on these
- clone boards.
+ appear to support it properly either, so it might be missing on these
+ clone boards.
*/
@@ -140,7 +140,7 @@ public:
tilemap_t *m_bg2_tilemap;
int m_tilebank[2];
int m_tilebankold[2];
-
+
UINT32* m_spritebuf1;
UINT32* m_spritebuf2;
@@ -283,7 +283,7 @@ SCREEN_EOF( dreamwld )
static SCREEN_UPDATE( dreamwld )
{
dreamwld_state *state = screen->machine().driver_data<dreamwld_state>();
-// int tm0size, tm1size;
+// int tm0size, tm1size;
tilemap_t *tmptilemap0, *tmptilemap1;
@@ -424,7 +424,7 @@ static WRITE32_HANDLER( dreamwld_6295_1_bank_w )
logerror("OKI1: unk bank write %x mem_mask %8x\n", data, mem_mask);
}
-// why doesn't using paletteram16_xRRRRRGGGGGBBBBB_word_w with a 16-bit handler work? colours are
+// why doesn't using paletteram16_xRRRRRGGGGGBBBBB_word_w with a 16-bit handler work? colours are
// severely corrupt on dream world's semicom screen + many sprites, seems palette values get duplicated.
static WRITE32_HANDLER( dreamwld_palette_w )
{
@@ -448,7 +448,7 @@ static ADDRESS_MAP_START( baryon_map, AS_PROGRAM, 32 )
AM_RANGE(0x000000, 0x0fffff) AM_ROM AM_WRITENOP
AM_RANGE(0x400000, 0x401fff) AM_RAM AM_BASE_MEMBER(dreamwld_state, m_spriteram)
- AM_RANGE(0x600000, 0x601fff) AM_RAM AM_WRITE(dreamwld_palette_w) AM_BASE_MEMBER(dreamwld_state, m_paletteram)
+ AM_RANGE(0x600000, 0x601fff) AM_RAM AM_WRITE(dreamwld_palette_w) AM_BASE_MEMBER(dreamwld_state, m_paletteram)
AM_RANGE(0x800000, 0x801fff) AM_RAM_WRITE(dreamwld_bg_videoram_w ) AM_BASE_MEMBER(dreamwld_state, m_bg_videoram)
AM_RANGE(0x802000, 0x803fff) AM_RAM_WRITE(dreamwld_bg2_videoram_w ) AM_BASE_MEMBER(dreamwld_state, m_bg2_videoram)
AM_RANGE(0x804000, 0x805fff) AM_RAM AM_BASE_MEMBER(dreamwld_state, m_vregs) // scroll regs etc.
diff --git a/src/mame/drivers/highvdeo.c b/src/mame/drivers/highvdeo.c
index 7d28da446b9..8727ab8e4ee 100644
--- a/src/mame/drivers/highvdeo.c
+++ b/src/mame/drivers/highvdeo.c
@@ -238,7 +238,7 @@ static WRITE16_HANDLER( tv_vcf_bankselect_w )
static WRITE16_DEVICE_HANDLER( tv_oki6376_w )
{
static int okidata;
- if (ACCESSING_BITS_0_7 && okidata != data)
+ if (ACCESSING_BITS_0_7 && okidata != data)
{
okidata = data;
okim6376_w(device, 0, data & ~0x80);
@@ -248,7 +248,7 @@ static WRITE16_DEVICE_HANDLER( tv_oki6376_w )
static READ16_DEVICE_HANDLER( tv_oki6376_r )
{
- if (ACCESSING_BITS_0_7)
+ if (ACCESSING_BITS_0_7)
{
return okim6376_busy_r(device);
}
@@ -319,7 +319,7 @@ static WRITE16_DEVICE_HANDLER( tv_ncf_oki6376_w )
static WRITE16_DEVICE_HANDLER( tv_ncf_oki6376_st_w )
{
- if (ACCESSING_BITS_0_7)
+ if (ACCESSING_BITS_0_7)
{
okim6376_st_w(device, (data & 0x80) );
}
diff --git a/src/mame/drivers/hornet.c b/src/mame/drivers/hornet.c
index eff2d44abaf..d5851258417 100644
--- a/src/mame/drivers/hornet.c
+++ b/src/mame/drivers/hornet.c
@@ -1161,8 +1161,8 @@ static void jamma_jvs_cmd_exec(running_machine &machine)
int rdata_ptr;
int sum;
-// sync = state->m_jvs_sdata[0];
-// node = state->m_jvs_sdata[1];
+// sync = state->m_jvs_sdata[0];
+// node = state->m_jvs_sdata[1];
byte_num = state->m_jvs_sdata[2];
#if 0
diff --git a/src/mame/drivers/jpmimpct.c b/src/mame/drivers/jpmimpct.c
index c0ce66ea8c5..a3dbfb1beab 100644
--- a/src/mame/drivers/jpmimpct.c
+++ b/src/mame/drivers/jpmimpct.c
@@ -614,7 +614,7 @@ static ADDRESS_MAP_START( tms_program_map, AS_PROGRAM, 16 )
AM_RANGE(0x00000000, 0x003fffff) AM_MIRROR(0xf8000000) AM_RAM AM_BASE_MEMBER(jpmimpct_state, m_vram)
AM_RANGE(0x00800000, 0x00ffffff) AM_MIRROR(0xf8000000) AM_ROM AM_REGION("user1", 0x100000)
AM_RANGE(0x02000000, 0x027fffff) AM_MIRROR(0xf8000000) AM_ROM AM_REGION("user1", 0)
-// AM_RANGE(0x01000000, 0x0100003f) AM_MIRROR(0xf87fffc0) AM_READWRITE(jpmimpct_bt477_r, jpmimpct_bt477_w)
+// AM_RANGE(0x01000000, 0x0100003f) AM_MIRROR(0xf87fffc0) AM_READWRITE(jpmimpct_bt477_r, jpmimpct_bt477_w)
AM_RANGE(0x01000000, 0x017fffff) AM_MIRROR(0xf8000000) AM_MASK(0x1f) AM_READWRITE(jpmimpct_bt477_r, jpmimpct_bt477_w)
AM_RANGE(0x07800000, 0x07bfffff) AM_MIRROR(0xf8400000) AM_RAM
ADDRESS_MAP_END
diff --git a/src/mame/drivers/maygayv1.c b/src/mame/drivers/maygayv1.c
index 1b43d21ccdf..1dddf86184d 100644
--- a/src/mame/drivers/maygayv1.c
+++ b/src/mame/drivers/maygayv1.c
@@ -343,7 +343,7 @@ static SCREEN_UPDATE( maygayv1 )
// printf("Blinking\n");
/* Resolution: either 4bpp or 2bpp */
-// res = (w0 >> 9) & 3;
+// res = (w0 >> 9) & 3;
/* Expand 2bpp to 3bpp */
diff --git a/src/mame/drivers/mazerbla.c b/src/mame/drivers/mazerbla.c
index ab5b255aa0c..59008ba6ced 100644
--- a/src/mame/drivers/mazerbla.c
+++ b/src/mame/drivers/mazerbla.c
@@ -273,13 +273,13 @@ SCREEN_UPDATE( test_vcu )
static SCREEN_UPDATE( mazerbla )
{
mazerbla_state *state = screen->machine().driver_data<mazerbla_state>();
-// UINT32 color_base = 0;
+// UINT32 color_base = 0;
if (state->m_game_id == MAZERBLA)
-// color_base = 0x80; /* 0x80 constant: matches Mazer Blazer movie */
+// color_base = 0x80; /* 0x80 constant: matches Mazer Blazer movie */
-// if (state->m_game_id == GREATGUN)
-// color_base = 0x00;
+// if (state->m_game_id == GREATGUN)
+// color_base = 0x00;
// bitmap_fill(bitmap, NULL, 0);
diff --git a/src/mame/drivers/model2.c b/src/mame/drivers/model2.c
index d81c03a9659..18efb091e61 100644
--- a/src/mame/drivers/model2.c
+++ b/src/mame/drivers/model2.c
@@ -3320,7 +3320,7 @@ ROM_START( stcc ) /* Sega Touring Car Championship, Model 2C - Defaults to Japan
ROM_LOAD("mpr-19265.60s", 0x600000, 0x200000, CRC(7d98700a) SHA1(bedd37314ecab424b5b27030e1e7dc1b596303f3))
ROM_REGION( 0x10000, "drive", 0 ) // drive board CPU (code is Z80 compatible)
- ROM_LOAD( "epr-18261.ic9", 0x000000, 0x010000, CRC(0c7fac58) SHA1(68c1724c41401e28a5123022981c8919fd22656e) )
+ ROM_LOAD( "epr-18261.ic9", 0x000000, 0x010000, CRC(0c7fac58) SHA1(68c1724c41401e28a5123022981c8919fd22656e) )
ROM_END
ROM_START( stcca ) /* Sega Touring Car Championship Revision A, Model 2C - Defaults to Japan, Twin & no "Default View" option */
@@ -3379,7 +3379,7 @@ ROM_START( stcca ) /* Sega Touring Car Championship Revision A, Model 2C - Defau
ROM_LOAD("mpr-19265.60s", 0x600000, 0x200000, CRC(7d98700a) SHA1(bedd37314ecab424b5b27030e1e7dc1b596303f3))
ROM_REGION( 0x10000, "drive", 0 ) // drive board CPU (code is Z80 compatible)
- ROM_LOAD( "epr-18261.ic9", 0x000000, 0x010000, CRC(0c7fac58) SHA1(68c1724c41401e28a5123022981c8919fd22656e) )
+ ROM_LOAD( "epr-18261.ic9", 0x000000, 0x010000, CRC(0c7fac58) SHA1(68c1724c41401e28a5123022981c8919fd22656e) )
ROM_END
ROM_START( stccb ) /* Sega Touring Car Championship Revision unknown, Model 2C - Defaults to Japan, Twin & Default View set to Driver's */
@@ -3438,7 +3438,7 @@ ROM_START( stccb ) /* Sega Touring Car Championship Revision unknown, Model 2C -
ROM_LOAD("mpr-19265.60s", 0x600000, 0x200000, CRC(7d98700a) SHA1(bedd37314ecab424b5b27030e1e7dc1b596303f3))
ROM_REGION( 0x10000, "drive", 0 ) // drive board CPU (code is Z80 compatible)
- ROM_LOAD( "epr-18261.ic9", 0x000000, 0x010000, CRC(0c7fac58) SHA1(68c1724c41401e28a5123022981c8919fd22656e) )
+ ROM_LOAD( "epr-18261.ic9", 0x000000, 0x010000, CRC(0c7fac58) SHA1(68c1724c41401e28a5123022981c8919fd22656e) )
ROM_END
ROM_START( skisuprg ) /* Sega Ski Super G, Model 2C */
diff --git a/src/mame/drivers/mpu4.c b/src/mame/drivers/mpu4.c
index ed2956d5f19..ccde3f47324 100644
--- a/src/mame/drivers/mpu4.c
+++ b/src/mame/drivers/mpu4.c
@@ -219,8 +219,8 @@ TODO: - Distinguish door switches using manual
- Flo's move in Great Escape gives spin alarms - need a different opto setting for reverse spin reels?
- Fix BwB characteriser, need to be able to calculate stabiliser bytes. Anyone fancy reading 6809 source?
- Fix MSM6376 - We need all features of the chip, including dynamic sample rate adjustment and BEEP.
- - OKI sound chip rate - need to confirm independently (3MHz sounds good, but that could be because
- of the old driver - BwB manual claims 64KHz to 128KHz).
+ - OKI sound chip rate - need to confirm independently (3MHz sounds good, but that could be because
+ of the old driver - BwB manual claims 64KHz to 128KHz).
***********************************************************************************************************/
#include "emu.h"
#include "machine/6821pia.h"
diff --git a/src/mame/drivers/neodrvr.c b/src/mame/drivers/neodrvr.c
index aa7b2b6d338..184eec0315d 100644
--- a/src/mame/drivers/neodrvr.c
+++ b/src/mame/drivers/neodrvr.c
@@ -822,7 +822,7 @@ ROM_START( nam1975 ) /* MVS AND AES VERSION */
ROM_REGION( 0x080000, "ymsnd", 0 )
ROM_LOAD( "001-v11.v11", 0x000000, 0x080000, CRC(a7c3d5e5) SHA1(e3efc86940f91c53b7724c4566cfc21ea1a7a465) ) /* MB834200 */
// AES has different label, data is the same: 001-v1.v1
-
+
ROM_REGION( 0x180000, "ymsnd.deltat", 0 )
ROM_LOAD( "001-v21.v21", 0x000000, 0x080000, CRC(55e670b3) SHA1(a047049646a90b6db2d1882264df9256aa5a85e5) ) /* MB834200 */
// AES has different label, data is the same: 001-v2.v21
diff --git a/src/mame/drivers/norautp.c b/src/mame/drivers/norautp.c
index 8bb19fc68d4..53002e0d221 100644
--- a/src/mame/drivers/norautp.c
+++ b/src/mame/drivers/norautp.c
@@ -1361,7 +1361,7 @@ static MACHINE_CONFIG_DERIVED( newhilop, noraut_base )
/* basic machine hardware */
MCFG_CPU_MODIFY("maincpu")
MCFG_CPU_PROGRAM_MAP(newhilop_map)
-// MCFG_CPU_IO_MAP(newhilop_portmap)
+// MCFG_CPU_IO_MAP(newhilop_portmap)
MCFG_CPU_VBLANK_INT("screen", irq0_line_hold)
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/pinkiri8.c b/src/mame/drivers/pinkiri8.c
index 4868cc475d8..ba5ab987fd1 100644
--- a/src/mame/drivers/pinkiri8.c
+++ b/src/mame/drivers/pinkiri8.c
@@ -269,7 +269,7 @@ static SCREEN_UPDATE( pinkiri8 )
x &= 0xff;
x *= 2;
-// unk2 = state->m_janshi_vram2[(i*2)+1];
+// unk2 = state->m_janshi_vram2[(i*2)+1];
y = (state->m_janshi_vram2[(i*2)+0]);
y = 0x100-y;
diff --git a/src/mame/drivers/rltennis.c b/src/mame/drivers/rltennis.c
index f24fd8881ca..da2849494b3 100644
--- a/src/mame/drivers/rltennis.c
+++ b/src/mame/drivers/rltennis.c
@@ -2,9 +2,9 @@
Reality Tennis - (c) 1993 TCH
driver by Tomasz Slanina
-
- based on informations provided by Antonio 'Peluko' Carrillo
-
+
+ based on informations provided by Antonio 'Peluko' Carrillo
+
Game Credits:
Antonio 'Peluko' Carrillo: programmer and game designer
David Sandoval: hardware designer
@@ -39,7 +39,7 @@ Two Actel FPGA chips (marked as JOAQUIN and JUANA).
Juana can read data from ROMs. JOAQUIN - write to VRAM.
Both can access 256x256 pixel pages.
Size and direction of data read/write, as well as active page is
-selectable for each of the chips.
+selectable for each of the chips.
Sound hardware (verify):
------------------------
@@ -48,8 +48,8 @@ Two custom DACs are conencted directly to data lines of sound ROMs.
A0-A10 address lines are controlled by a counter, clocked by scaline
clock ( not verified, just guessed ). Top lines are controlled by cpu,
and select 2k sample to play. There's probably no way to stop the sample
-player - when there's nothing to play - first, empty 2k of ROMs are selected.
-
+player - when there's nothing to play - first, empty 2k of ROMs are selected.
+
TODO:
- proper timing and interrupts (remove extra hacky blitter int generation @ vblank)
- fix various gfx glitches here and there, mostly related to wrong size of data
@@ -71,7 +71,7 @@ player - when there's nothing to play - first, empty 2k of ROMs are selected.
static READ16_HANDLER( rlt_io_r )
{
rltennis_state *state = space->machine().driver_data<rltennis_state>();
-
+
return (input_port_read(space->machine(), "P1" )&0x1fff) | (state->m_unk_counter<<13); /* top 3 bits controls smaple address update */
}
@@ -97,7 +97,7 @@ static ADDRESS_MAP_START( rltennis_main, AS_PROGRAM, 16 )
AM_RANGE(0x720006, 0x720007) AM_WRITE(rlt_ramdac_address_rm_w)
AM_RANGE(0x740000, 0x740001) AM_WRITE(rlt_snd1_w)
AM_RANGE(0x760000, 0x760001) AM_WRITE(rlt_snd2_w)
- AM_RANGE(0x780000, 0x780001) AM_WRITENOP /* sound control, unknown, usually = 0x0044 */
+ AM_RANGE(0x780000, 0x780001) AM_WRITENOP /* sound control, unknown, usually = 0x0044 */
AM_RANGE(0x7a0000, 0x7a0003) AM_READNOP /* unknown, read only at boot time*/
AM_RANGE(0x7e0000, 0x7e0001) AM_READ(rlt_io_r)
AM_RANGE(0x7e0002, 0x7e0003) AM_READ_PORT("P2")
@@ -120,7 +120,7 @@ static INPUT_PORTS_START( rltennis )
PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_SERVICE )
PORT_BIT( 0xe000, IP_ACTIVE_LOW, IPT_UNUSED )
-
+
PORT_START("P2")
PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2)
PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2)
@@ -135,7 +135,7 @@ INPUT_PORTS_END
static TIMER_CALLBACK( sample_player )
{
rltennis_state *state = machine.driver_data<rltennis_state>();
-
+
if((state->m_dac_counter&0x7ff) == 0x7ff) /* reload top address bits */
{
state->m_sample_rom_offset_1=(( state->m_data740000 >> state->m_offset_shift ) & 0xff )<<11;
@@ -143,7 +143,7 @@ static TIMER_CALLBACK( sample_player )
state->m_offset_shift^=8; /* switch between MSB and LSB */
}
++state->m_dac_counter; /* update low address bits */
-
+
dac_signed_data_w(state->m_dac_1, state->m_samples_1[state->m_sample_rom_offset_1 + ( state->m_dac_counter&0x7ff )]);
dac_data_w(state->m_dac_2, state->m_samples_2[state->m_sample_rom_offset_2 + ( state->m_dac_counter&0x7ff )]);
state->m_timer->adjust(attotime::from_hz( RLT_TIMER_FREQ ));
@@ -182,13 +182,13 @@ static MACHINE_CONFIG_START( rltennis, rltennis_state )
MCFG_CPU_ADD("maincpu", M68000, RLT_XTAL/2) /* 68000P8 ??? */
MCFG_CPU_PROGRAM_MAP(rltennis_main)
MCFG_CPU_VBLANK_INT("screen", rltennis_interrupt)
-
+
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_REFRESH_RATE( RLT_REFRESH_RATE )
MCFG_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
MCFG_SCREEN_SIZE(320, 240)
MCFG_SCREEN_VISIBLE_AREA(0,319, 0, 239)
-
+
MCFG_SCREEN_UPDATE(rltennis)
MCFG_PALETTE_LENGTH(256)
@@ -223,10 +223,10 @@ ROM_START( rltennis )
ROM_LOAD( "tennis_12.u40",0x380000, 0x80000, CRC(b9677887) SHA1(84b79864555d3d6e9c443913910a055e27d30d08) )
ROM_LOAD( "tennis_13.u41",0x400000, 0x80000, CRC(3d4fbcac) SHA1(e01f479d7d516ff83cbbd82d83617146d7a242d3) )
ROM_LOAD( "tennis_14.u42",0x480000, 0x80000, CRC(37fe0f5d) SHA1(7593f1ea07bc0a741c952e6850bed1bf0a824510) )
-
+
ROM_REGION( 0x080000, "samples1", 0 )
ROM_LOAD( "tennis_4.u59", 0x00000, 0x80000, CRC(f56462ea) SHA1(638777e12f2649a5b4366f034f0ba721fc4580a8) )
-
+
ROM_REGION( 0x080000, "samples2", 0 )
ROM_LOAD( "tennis_3.u52", 0x00000, 0x80000, CRC(517dcd0e) SHA1(b2703e185ee8cf7e115ea07151e7bee8be34948b) )
ROM_END
diff --git a/src/mame/drivers/saturn.c b/src/mame/drivers/saturn.c
index 3872c2e965d..c140eaa002b 100644
--- a/src/mame/drivers/saturn.c
+++ b/src/mame/drivers/saturn.c
@@ -731,20 +731,20 @@ static READ8_HANDLER( saturn_SMPC_r8 )
if (offset == 0x75)//PDR1 read
{
/*
- PORT_START("JOY1")
- PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(1)
- PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_PLAYER(1)
- PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_PLAYER(1)
- PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_PLAYER(1)
- PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_START ) PORT_PLAYER(1) // START
- PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("P1 A") PORT_PLAYER(1) // A
- PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("P1 B") PORT_PLAYER(1) // B
- PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("P1 C") PORT_PLAYER(1) // C
- PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_NAME("P1 R") PORT_PLAYER(1) // R
- PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("P1 X") PORT_PLAYER(1) // X
- PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("P1 Y") PORT_PLAYER(1) // Y
- PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("P1 Z") PORT_PLAYER(1) // Z
- PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("P1 L") PORT_PLAYER(1) // L
+ PORT_START("JOY1")
+ PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(1)
+ PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_PLAYER(1)
+ PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_PLAYER(1)
+ PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_PLAYER(1)
+ PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_START ) PORT_PLAYER(1) // START
+ PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("P1 A") PORT_PLAYER(1) // A
+ PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("P1 B") PORT_PLAYER(1) // B
+ PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("P1 C") PORT_PLAYER(1) // C
+ PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_NAME("P1 R") PORT_PLAYER(1) // R
+ PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("P1 X") PORT_PLAYER(1) // X
+ PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("P1 Y") PORT_PLAYER(1) // Y
+ PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("P1 Z") PORT_PLAYER(1) // Z
+ PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("P1 L") PORT_PLAYER(1) // L
*/
if (state->m_smpc.IOSEL1)
{
@@ -1741,12 +1741,12 @@ static ADDRESS_MAP_START( saturn_mem, AS_PROGRAM, 32 )
AM_RANGE(0x00100000, 0x0010007f) AM_READWRITE8(saturn_SMPC_r8, saturn_SMPC_w8,0xffffffff)
AM_RANGE(0x00180000, 0x0018ffff) AM_READWRITE(saturn_backupram_r, saturn_backupram_w) AM_SHARE("share1") AM_BASE_MEMBER(saturn_state,m_backupram)
AM_RANGE(0x00200000, 0x002fffff) AM_RAM AM_MIRROR(0x100000) AM_SHARE("share2") AM_BASE_MEMBER(saturn_state,m_workram_l)
-// AM_RANGE(0x01000000, 0x01000003) AM_MIRROR(0x7ffffc) AM_WRITE(minit_w)
+// AM_RANGE(0x01000000, 0x01000003) AM_MIRROR(0x7ffffc) AM_WRITE(minit_w)
AM_RANGE(0x01000000, 0x017fffff) AM_WRITE(minit_w)
-// AM_RANGE(0x01800000, 0x01800003) AM_MIRROR(0x7ffffc) AM_WRITE(sinit_w)
+// AM_RANGE(0x01800000, 0x01800003) AM_MIRROR(0x7ffffc) AM_WRITE(sinit_w)
AM_RANGE(0x01800000, 0x01ffffff) AM_WRITE(sinit_w)
AM_RANGE(0x02000000, 0x023fffff) AM_ROM AM_SHARE("share7") AM_REGION("maincpu", 0x80000) // cartridge space
-// AM_RANGE(0x02400000, 0x027fffff) AM_RAM //cart RAM area, dynamically allocated
+// AM_RANGE(0x02400000, 0x027fffff) AM_RAM //cart RAM area, dynamically allocated
AM_RANGE(0x04fffffc, 0x04ffffff) AM_READ8(saturn_cart_type_r,0x000000ff)
AM_RANGE(0x05800000, 0x0589ffff) AM_READWRITE(stvcd_r, stvcd_w)
/* Sound */
@@ -1771,9 +1771,9 @@ static ADDRESS_MAP_START( stv_mem, AS_PROGRAM, 32 )
AM_RANGE(0x00180000, 0x0018ffff) AM_READWRITE(saturn_backupram_r,saturn_backupram_w) AM_SHARE("share1") AM_BASE_MEMBER(saturn_state,m_backupram)
AM_RANGE(0x00200000, 0x002fffff) AM_RAM AM_MIRROR(0x100000) AM_SHARE("share2") AM_BASE_MEMBER(saturn_state,m_workram_l)
AM_RANGE(0x00400000, 0x0040001f) AM_READWRITE(stv_io_r32, stv_io_w32) AM_BASE_MEMBER(saturn_state,m_ioga) AM_SHARE("share4") AM_MIRROR(0x20)
-// AM_RANGE(0x01000000, 0x01000003) AM_MIRROR(0x7ffffc) AM_WRITE(minit_w)
+// AM_RANGE(0x01000000, 0x01000003) AM_MIRROR(0x7ffffc) AM_WRITE(minit_w)
AM_RANGE(0x01000000, 0x017fffff) AM_WRITE(minit_w)
-// AM_RANGE(0x01800000, 0x01800003) AM_MIRROR(0x7ffffc) AM_WRITE(sinit_w)
+// AM_RANGE(0x01800000, 0x01800003) AM_MIRROR(0x7ffffc) AM_WRITE(sinit_w)
AM_RANGE(0x01800000, 0x01ffffff) AM_WRITE(sinit_w)
AM_RANGE(0x02000000, 0x04ffffff) AM_ROM AM_SHARE("share7") AM_REGION("abus", 0) // cartridge
AM_RANGE(0x05800000, 0x0589ffff) AM_READWRITE(stvcd_r, stvcd_w)
@@ -2676,7 +2676,7 @@ static MACHINE_RESET( saturn )
if(state->m_cart_type == 1)
{
- // AM_RANGE(0x02400000, 0x027fffff) AM_RAM //cart RAM area, dynamically allocated
+ // AM_RANGE(0x02400000, 0x027fffff) AM_RAM //cart RAM area, dynamically allocated
machine.device("maincpu")->memory().space(AS_PROGRAM)->install_legacy_readwrite_handler(0x02400000, 0x0247ffff, FUNC(saturn_cart_dram0_r), FUNC(saturn_cart_dram0_w));
machine.device("slave")->memory().space(AS_PROGRAM)->install_legacy_readwrite_handler(0x02400000, 0x0247ffff, FUNC(saturn_cart_dram0_r), FUNC(saturn_cart_dram0_w));
machine.device("maincpu")->memory().space(AS_PROGRAM)->install_legacy_readwrite_handler(0x02600000, 0x0267ffff, FUNC(saturn_cart_dram1_r), FUNC(saturn_cart_dram1_w));
@@ -2685,7 +2685,7 @@ static MACHINE_RESET( saturn )
if(state->m_cart_type == 2)
{
- // AM_RANGE(0x02400000, 0x027fffff) AM_RAM //cart RAM area, dynamically allocated
+ // AM_RANGE(0x02400000, 0x027fffff) AM_RAM //cart RAM area, dynamically allocated
machine.device("maincpu")->memory().space(AS_PROGRAM)->install_legacy_readwrite_handler(0x02400000, 0x025fffff, FUNC(saturn_cart_dram0_r), FUNC(saturn_cart_dram0_w));
machine.device("slave")->memory().space(AS_PROGRAM)->install_legacy_readwrite_handler(0x02400000, 0x025fffff, FUNC(saturn_cart_dram0_r), FUNC(saturn_cart_dram0_w));
machine.device("maincpu")->memory().space(AS_PROGRAM)->install_legacy_readwrite_handler(0x02600000, 0x027fffff, FUNC(saturn_cart_dram1_r), FUNC(saturn_cart_dram1_w));
diff --git a/src/mame/drivers/segac2.c b/src/mame/drivers/segac2.c
index af92cf090b3..36c2a9f7a31 100644
--- a/src/mame/drivers/segac2.c
+++ b/src/mame/drivers/segac2.c
@@ -356,11 +356,11 @@ static WRITE16_HANDLER( io_chip_w )
{
segac2_state *state = space->machine().driver_data<segac2_state>();
UINT8 newbank;
-// UINT8 old;
+// UINT8 old;
/* generic implementation */
offset &= 0x1f/2;
-// old = state->m_misc_io_data[offset];
+// old = state->m_misc_io_data[offset];
state->m_misc_io_data[offset] = data;
switch (offset)
diff --git a/src/mame/drivers/segas32.c b/src/mame/drivers/segas32.c
index a7e007744a8..ea4738d9b9f 100644
--- a/src/mame/drivers/segas32.c
+++ b/src/mame/drivers/segas32.c
@@ -642,7 +642,7 @@ static UINT16 common_io_chip_r(address_space *space, int which, offs_t offset, U
static void common_io_chip_w(address_space *space, int which, offs_t offset, UINT16 data, UINT16 mem_mask)
{
segas32_state *state = space->machine().driver_data<segas32_state>();
-// UINT8 old;
+// UINT8 old;
/* only LSB matters */
if (!ACCESSING_BITS_0_7)
@@ -650,7 +650,7 @@ static void common_io_chip_w(address_space *space, int which, offs_t offset, UIN
/* generic implementation */
offset &= 0x1f/2;
-// old = state->m_misc_io_data[which][offset];
+// old = state->m_misc_io_data[which][offset];
state->m_misc_io_data[which][offset] = data;
switch (offset)
diff --git a/src/mame/drivers/viper.c b/src/mame/drivers/viper.c
index ad4c2812fe5..77aa5bc784d 100644
--- a/src/mame/drivers/viper.c
+++ b/src/mame/drivers/viper.c
@@ -191,14 +191,14 @@ An additional control PCB is used for Mocap Golf for the golf club sensor. It co
Driver by Ville Linde
- DASM code snippets:
-
- 00FE0B8C: addi r31,r3,0x0000
- 00FE0B90: lwz r3,0x0040(r1)
- 00FE0B94: cmpi r31,0x0000 ;offending check, understand where r3 comes from!
- 00FE0B98: lwz r4,0x0044(r1)
- 00FE0B9C: addic r5,r1,0x0058
- 00FE0BA0: bne 0x00FE0C00
+ DASM code snippets:
+
+ 00FE0B8C: addi r31,r3,0x0000
+ 00FE0B90: lwz r3,0x0040(r1)
+ 00FE0B94: cmpi r31,0x0000 ;offending check, understand where r3 comes from!
+ 00FE0B98: lwz r4,0x0044(r1)
+ 00FE0B9C: addic r5,r1,0x0058
+ 00FE0BA0: bne 0x00FE0C00
*/
diff --git a/src/mame/drivers/wecleman.c b/src/mame/drivers/wecleman.c
index 1cb238e7609..19aefac4833 100644
--- a/src/mame/drivers/wecleman.c
+++ b/src/mame/drivers/wecleman.c
@@ -675,13 +675,13 @@ static WRITE8_HANDLER( hotchase_sound_control_w )
{
device_t *sound[3];
-// int reg[8];
+// int reg[8];
sound[0] = space->machine().device("konami1");
sound[1] = space->machine().device("konami2");
sound[2] = space->machine().device("konami3");
-// reg[offset] = data;
+// reg[offset] = data;
switch (offset)
{