summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame')
-rw-r--r--src/mame/audio/beezer.c2
-rw-r--r--src/mame/audio/dcs.c4
-rw-r--r--src/mame/audio/taito_en.c12
-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
-rw-r--r--src/mame/includes/rltennis.h14
-rw-r--r--src/mame/machine/archimds.c10
-rw-r--r--src/mame/machine/cdicdic.c22
-rw-r--r--src/mame/machine/megadriv.c16
-rw-r--r--src/mame/machine/model1.c4
-rw-r--r--src/mame/machine/n64.c4
-rw-r--r--src/mame/machine/naomibd.c2
-rw-r--r--src/mame/machine/psx.c2
-rw-r--r--src/mame/machine/seicop.c4
-rw-r--r--src/mame/machine/stvcd.c4
-rw-r--r--src/mame/video/amiga.c2
-rw-r--r--src/mame/video/amigaaga.c2
-rw-r--r--src/mame/video/dc.c10
-rw-r--r--src/mame/video/gtia.c8
-rw-r--r--src/mame/video/konamigx.c4
-rw-r--r--src/mame/video/konicdev.c2
-rw-r--r--src/mame/video/model1.c6
-rw-r--r--src/mame/video/model2.c10
-rw-r--r--src/mame/video/n64.c24
-rw-r--r--src/mame/video/namcos22.c6
-rw-r--r--src/mame/video/rltennis.c84
-rw-r--r--src/mame/video/stvvdp2.c8
-rw-r--r--src/mame/video/tx1.c8
-rw-r--r--src/mame/video/wgp.c10
49 files changed, 245 insertions, 245 deletions
diff --git a/src/mame/audio/beezer.c b/src/mame/audio/beezer.c
index 6855c4882b4..208cd606c9b 100644
--- a/src/mame/audio/beezer.c
+++ b/src/mame/audio/beezer.c
@@ -310,7 +310,7 @@ static STREAM_UPDATE( beezer_stream_update )
/* skip if nothing enabled */
if ((sh6840_timer[0].cr & 0x01) == 0) // if we're not in reset...
{
-// int noise_clocks_this_sample = 0;
+// int noise_clocks_this_sample = 0;
UINT32 chan1_clocks;
/* generate noise if configured to do so */
diff --git a/src/mame/audio/dcs.c b/src/mame/audio/dcs.c
index f13693f961e..21ef8c489e1 100644
--- a/src/mame/audio/dcs.c
+++ b/src/mame/audio/dcs.c
@@ -753,7 +753,7 @@ MACHINE_CONFIG_END
static void dcs_boot(running_machine &machine)
{
UINT8 buffer[0x1000];
-// UINT32 max_banks;
+// UINT32 max_banks;
UINT16 *base;
int i;
@@ -763,7 +763,7 @@ static void dcs_boot(running_machine &machine)
case 1:
/* determine the base */
-// max_banks = dcs.bootrom_words / 0x1000;
+// max_banks = dcs.bootrom_words / 0x1000;
base = dcs.bootrom + ((dcs.sounddata_bank * 0x1000) % dcs.bootrom_words);
/* convert from 16-bit data to 8-bit data and boot */
diff --git a/src/mame/audio/taito_en.c b/src/mame/audio/taito_en.c
index bad95b6d35b..f940d03d54c 100644
--- a/src/mame/audio/taito_en.c
+++ b/src/mame/audio/taito_en.c
@@ -61,16 +61,16 @@ static WRITE16_HANDLER( f3_es5505_bank_w )
static WRITE16_HANDLER( f3_volume_w )
{
-// static UINT16 channel[8],last_l,last_r;
-// static int latch;
+// static UINT16 channel[8],last_l,last_r;
+// static int latch;
-// if (offset==0) latch=(data>>8)&0x7;
-// if (offset==1) channel[latch]=data>>8;
+// if (offset==0) latch=(data>>8)&0x7;
+// if (offset==1) channel[latch]=data>>8;
// if (channel[7]!=last_l) mixer_set_volume(0, (int)((float)channel[7]*1.58)); /* Left master volume */
// if (channel[6]!=last_r) mixer_set_volume(1, (int)((float)channel[6]*1.58)); /* Right master volume */
-// last_l=channel[7];
-// last_r=channel[6];
+// last_l=channel[7];
+// last_r=channel[6];
/* Channel 5 - Left Aux? Always set to volume, but never used for panning */
/* Channel 4 - Right Aux? Always set to volume, but never used for panning */
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)
{
diff --git a/src/mame/includes/rltennis.h b/src/mame/includes/rltennis.h
index 6ca770ccf0e..293b0c281ef 100644
--- a/src/mame/includes/rltennis.h
+++ b/src/mame/includes/rltennis.h
@@ -17,29 +17,29 @@ public:
UINT8 *m_palette;
INT32 m_palpos_r;
INT32 m_palpos_w;
-
+
INT32 m_data760000;
INT32 m_data740000;
- INT32 m_dac_counter;
+ INT32 m_dac_counter;
INT32 m_sample_rom_offset_1;
INT32 m_sample_rom_offset_2;
INT32 m_offset_shift;
-
+
INT32 m_unk_counter;
bitmap_t *m_tmp_bitmap[RLT_NUM_BITMAPS];
-
+
device_t *m_dac_1;
device_t *m_dac_2;
-
+
UINT8 *m_samples_1;
UINT8 *m_samples_2;
UINT8 *m_gfx;
-
+
emu_timer *m_timer;
-
+
};
diff --git a/src/mame/machine/archimds.c b/src/mame/machine/archimds.c
index 1c96a71e4be..2ae1fb5a542 100644
--- a/src/mame/machine/archimds.c
+++ b/src/mame/machine/archimds.c
@@ -167,15 +167,15 @@ static TIMER_CALLBACK( vidc_audio_tick )
5884, 5628, 5372, 5116, 4860, 4604, 4348, 4092,
3900, 3772, 3644, 3516, 3388, 3260, 3132, 3004,
2876, 2748, 2620, 2492, 2364, 2236, 2108, 1980,
- 1884, 1820, 1756, 1692, 1628, 1564, 1500, 1436,
+ 1884, 1820, 1756, 1692, 1628, 1564, 1500, 1436,
1372, 1308, 1244, 1180, 1116, 1052, 988, 924,
- 876, 844, 812, 780, 748, 716, 684, 652,
+ 876, 844, 812, 780, 748, 716, 684, 652,
620, 588, 556, 524, 492, 460, 428, 396,
- 372, 356, 340, 324, 308, 292, 276, 260,
+ 372, 356, 340, 324, 308, 292, 276, 260,
244, 228, 212, 196, 180, 164, 148, 132,
120, 112, 104, 96, 88, 80, 72, 64,
56, 48, 40, 32, 24, 16, 8, 0
- };
+ };
for(ch=0;ch<8;ch++)
{
@@ -1004,7 +1004,7 @@ WRITE32_HANDLER(archimedes_memc_page_w)
{
UINT32 log, phys, memc;
-// perms = (data & 0x300)>>8;
+// perms = (data & 0x300)>>8;
log = phys = memc = 0;
switch (memc_pagesize)
diff --git a/src/mame/machine/cdicdic.c b/src/mame/machine/cdicdic.c
index aedba9845c9..fc2ffa15323 100644
--- a/src/mame/machine/cdicdic.c
+++ b/src/mame/machine/cdicdic.c
@@ -779,7 +779,7 @@ void cdicdic_device::process_delayed_command()
UINT32 next_msf = increment_cdda_frame_bcd((m_time & 0xffff7f00) >> 8);
UINT32 rounded_next_msf = increment_cdda_sector_bcd((m_time & 0xffff0000) >> 8);
UINT32 lba = 0;
-// UINT32 next_lba = 0;
+// UINT32 next_lba = 0;
UINT8 nybbles[6] =
{
msf & 0x0000000f,
@@ -789,15 +789,15 @@ void cdicdic_device::process_delayed_command()
(msf & 0x000f0000) >> 16,
(msf & 0x00f00000) >> 20
};
-/* UINT8 next_nybbles[6] =
- {
- rounded_next_msf & 0x0000000f,
- (rounded_next_msf & 0x000000f0) >> 4,
- (rounded_next_msf & 0x00000f00) >> 8,
- (rounded_next_msf & 0x0000f000) >> 12,
- (rounded_next_msf & 0x000f0000) >> 16,
- (rounded_next_msf & 0x00f00000) >> 20
- };*/
+/* UINT8 next_nybbles[6] =
+ {
+ rounded_next_msf & 0x0000000f,
+ (rounded_next_msf & 0x000000f0) >> 4,
+ (rounded_next_msf & 0x00000f00) >> 8,
+ (rounded_next_msf & 0x0000f000) >> 12,
+ (rounded_next_msf & 0x000f0000) >> 16,
+ (rounded_next_msf & 0x00f00000) >> 20
+ };*/
lba = nybbles[0] + nybbles[1]*10 + ((nybbles[2] + nybbles[3]*10)*75) + ((nybbles[4] + nybbles[5]*10)*75*60);
@@ -808,7 +808,7 @@ void cdicdic_device::process_delayed_command()
if(!(msf & 0x0000ff))
{
-// next_lba = next_nybbles[0] + next_nybbles[1]*10 + ((next_nybbles[2] + next_nybbles[3]*10)*75) + ((next_nybbles[4] + next_nybbles[5]*10)*75*60);
+// next_lba = next_nybbles[0] + next_nybbles[1]*10 + ((next_nybbles[2] + next_nybbles[3]*10)*75) + ((next_nybbles[4] + next_nybbles[5]*10)*75*60);
verboselog(machine(), 0, "Playing CDDA sector from MSF location %06x\n", m_time | 2 );
cdda_start_audio(machine().device("cdda"), lba, rounded_next_msf);
diff --git a/src/mame/machine/megadriv.c b/src/mame/machine/megadriv.c
index 68365831a1f..1f93870d143 100644
--- a/src/mame/machine/megadriv.c
+++ b/src/mame/machine/megadriv.c
@@ -7536,12 +7536,12 @@ static void genesis_render_videoline_to_videobuffer(int scanline)
UINT16 hsize = 64;
UINT16 vsize = 64;
UINT16 window_right;
-// UINT16 window_hpos;
+// UINT16 window_hpos;
UINT16 window_down;
-// UINT16 window_vpos;
+// UINT16 window_vpos;
UINT16 hscroll_base;
-// UINT8 vscroll_mode;
-// UINT8 hscroll_mode;
+// UINT8 vscroll_mode;
+// UINT8 hscroll_mode;
int window_firstline;
int window_lastline;
int window_firstcol;
@@ -7586,9 +7586,9 @@ static void genesis_render_videoline_to_videobuffer(int scanline)
base_b = MEGADRIVE_REG04_PATTERN_ADDR_B << 13;
size = MEGADRIVE_REG10_HSCROLL_SIZE | (MEGADRIVE_REG10_VSCROLL_SIZE<<4);
window_right = MEGADRIVE_REG11_WINDOW_RIGHT;
-// window_hpos = MEGADRIVE_REG11_WINDOW_HPOS;
+// window_hpos = MEGADRIVE_REG11_WINDOW_HPOS;
window_down = MEGADRIVE_REG12_WINDOW_DOWN;
-// window_vpos = MEGADRIVE_REG12_WINDOW_VPOS;
+// window_vpos = MEGADRIVE_REG12_WINDOW_VPOS;
screenwidth = MEGADRIVE_REG0C_RS0 | (MEGADRIVE_REG0C_RS1 << 1);
@@ -9487,10 +9487,10 @@ int megadrive_z80irq_hpos = 320;
if (0)
{
//int xxx;
-// UINT64 frametime;
+// UINT64 frametime;
// /* reference */
-// frametime = ATTOSECONDS_PER_SECOND/megadriv_framerate;
+// frametime = ATTOSECONDS_PER_SECOND/megadriv_framerate;
//time_elapsed_since_crap = frame_timer->time_elapsed();
//xxx = machine.device<cpudevice>("maincpu")->attotime_to_cycles(time_elapsed_since_crap);
diff --git a/src/mame/machine/model1.c b/src/mame/machine/model1.c
index 26681e92dfd..d8174444094 100644
--- a/src/mame/machine/model1.c
+++ b/src/mame/machine/model1.c
@@ -1059,7 +1059,7 @@ static TGP_FUNCTION( track_lookup )
dist = -1;
-// behaviour = 0;
+// behaviour = 0;
height = 0.0;
entry = 0;
@@ -1080,7 +1080,7 @@ static TGP_FUNCTION( track_lookup )
float d = (a-z)*(a-z);
if(dist == -1 || d<dist) {
dist = d;
-// behaviour = tgp_data[posd+15];
+// behaviour = tgp_data[posd+15];
height = z;
entry = bpos+i;
}
diff --git a/src/mame/machine/n64.c b/src/mame/machine/n64.c
index 9791add3b8d..f9d1ef8c447 100644
--- a/src/mame/machine/n64.c
+++ b/src/mame/machine/n64.c
@@ -1654,7 +1654,7 @@ static int pif_channel_handle_command(running_machine &machine, int channel, int
mame_printf_debug("\n");*/
address = (sdata[1] << 8) | (sdata[2]);
-// checksum = address & 0x1f;
+// checksum = address & 0x1f;
address &= ~0x1f;
if (address == 0x400)
@@ -1691,7 +1691,7 @@ static int pif_channel_handle_command(running_machine &machine, int channel, int
mame_printf_debug("\n");*/
address = (sdata[1] << 8) | (sdata[2]);
-// checksum = address & 0x1f;
+// checksum = address & 0x1f;
address &= ~0x1f;
if (address == 0x8000)
diff --git a/src/mame/machine/naomibd.c b/src/mame/machine/naomibd.c
index 4f808103c85..992d7ed3bbe 100644
--- a/src/mame/machine/naomibd.c
+++ b/src/mame/machine/naomibd.c
@@ -1223,7 +1223,7 @@ WRITE64_DEVICE_HANDLER( naomibd_w )
static void load_rom_gdrom(running_machine& machine, naomibd_state *v)
{
-// UINT32 result;
+// UINT32 result;
cdrom_file *gdromfile;
UINT8 buffer[2048];
UINT8 *ptr;
diff --git a/src/mame/machine/psx.c b/src/mame/machine/psx.c
index aa861fe22ba..8458da495c5 100644
--- a/src/mame/machine/psx.c
+++ b/src/mame/machine/psx.c
@@ -109,7 +109,7 @@ INTERRUPT_GEN( psx_vblank )
{
psxgpu_device *gpu = downcast<psxgpu_device *>( device->machine().device("gpu") );
psx_state *p_psx = device->machine().driver_data<psx_state>();
-
+
if(p_psx->b_need_sianniv_vblank_hack)
{
UINT32 pc = cpu_get_pc(device);
diff --git a/src/mame/machine/seicop.c b/src/mame/machine/seicop.c
index 3b9796e8d36..a435c2b15c9 100644
--- a/src/mame/machine/seicop.c
+++ b/src/mame/machine/seicop.c
@@ -2416,14 +2416,14 @@ static WRITE16_HANDLER( generic_cop_w )
{
UINT8 offs;
int div;
-// INT16 offs_val;
+// INT16 offs_val;
//printf("%08x %08x %08x %08x %08x %08x %08x\n",cop_register[0],cop_register[1],cop_register[2],cop_register[3],cop_register[4],cop_register[5],cop_register[6]);
offs = (offset & 3) * 4;
div = space->read_word(cop_register[4] + offs) + 1;
-// offs_val = space->read_word(cop_register[3] + offs);
+// offs_val = space->read_word(cop_register[3] + offs);
//420 / 180 = 500 : 400 = 30 / 50 = 98 / 18
if(div == 0) { div = 1; }
diff --git a/src/mame/machine/stvcd.c b/src/mame/machine/stvcd.c
index 6e14591adb3..8f9fe033357 100644
--- a/src/mame/machine/stvcd.c
+++ b/src/mame/machine/stvcd.c
@@ -577,7 +577,7 @@ static void cd_writeWord(running_machine &machine, UINT32 addr, UINT16 data)
// CDROM_LOG(("WW CR4: %04x\n", data))
cr4 = data;
if(cr1 != 0 && 0)
- printf("CD: command exec %02x %02x %02x %02x %02x (stat %04x)\n", hirqreg, cr1, cr2, cr3, cr4, cd_stat);
+ printf("CD: command exec %02x %02x %02x %02x %02x (stat %04x)\n", hirqreg, cr1, cr2, cr3, cr4, cd_stat);
if (!cdrom)
{
@@ -1891,7 +1891,7 @@ static void cd_playdata(void)
{
if (fadstoplay)
{
- logerror("STVCD: Reading FAD %d\n", cd_curfad);
+ logerror("STVCD: Reading FAD %d\n", cd_curfad);
if (cdrom)
{
diff --git a/src/mame/video/amiga.c b/src/mame/video/amiga.c
index 4fd339c7580..edf021eaa49 100644
--- a/src/mame/video/amiga.c
+++ b/src/mame/video/amiga.c
@@ -683,7 +683,7 @@ void amiga_render_scanline(running_machine &machine, bitmap_t *bitmap, int scanl
hires = CUSTOM_REG(REG_BPLCON0) & BPLCON0_HIRES;
ham = CUSTOM_REG(REG_BPLCON0) & BPLCON0_HOMOD;
dualpf = CUSTOM_REG(REG_BPLCON0) & BPLCON0_DBLPF;
-// lace = CUSTOM_REG(REG_BPLCON0) & BPLCON0_LACE;
+// lace = CUSTOM_REG(REG_BPLCON0) & BPLCON0_LACE;
/* compute the pixel fetch parameters */
ddf_start_pixel = ( CUSTOM_REG(REG_DDFSTRT) & 0xfc ) * 2 + (hires ? 9 : 17);
diff --git a/src/mame/video/amigaaga.c b/src/mame/video/amigaaga.c
index fe57c7baf35..62d7cd90055 100644
--- a/src/mame/video/amigaaga.c
+++ b/src/mame/video/amigaaga.c
@@ -512,7 +512,7 @@ void amiga_aga_render_scanline(running_machine &machine, bitmap_t *bitmap, int s
hires = CUSTOM_REG(REG_BPLCON0) & BPLCON0_HIRES;
ham = CUSTOM_REG(REG_BPLCON0) & BPLCON0_HOMOD;
dualpf = CUSTOM_REG(REG_BPLCON0) & BPLCON0_DBLPF;
-// lace = CUSTOM_REG(REG_BPLCON0) & BPLCON0_LACE;
+// lace = CUSTOM_REG(REG_BPLCON0) & BPLCON0_LACE;
/* get default bitoffset */
switch(CUSTOM_REG(REG_FMODE) & 0x3)
diff --git a/src/mame/video/dc.c b/src/mame/video/dc.c
index 7a78ae111d0..1e3c5a1b6ee 100644
--- a/src/mame/video/dc.c
+++ b/src/mame/video/dc.c
@@ -1632,12 +1632,12 @@ WRITE64_HANDLER( ta_fifo_poly_w )
WRITE64_HANDLER( ta_fifo_yuv_w )
{
-// int reg;
-// UINT64 shift;
-// UINT32 dat;
+// int reg;
+// UINT64 shift;
+// UINT32 dat;
-// reg = decode_reg_64(offset, mem_mask, &shift);
-// dat = (UINT32)(data >> shift);
+// reg = decode_reg_64(offset, mem_mask, &shift);
+// dat = (UINT32)(data >> shift);
// printf("YUV FIFO: [%08x=%x] write %" I64FMT "x to %x, mask %" I64FMT "x %08x\n", 0x10800000+reg*4, dat, data, offset, mem_mask,test);
}
diff --git a/src/mame/video/gtia.c b/src/mame/video/gtia.c
index f45ddcdb037..ed98995dc19 100644
--- a/src/mame/video/gtia.c
+++ b/src/mame/video/gtia.c
@@ -387,12 +387,12 @@ static void recalc_m3(void)
WRITE8_HANDLER( atari_gtia_w )
{
/* used for mixing hue/lum of different colors */
-// static UINT8 lumpm0=0,lumpm1=0,lumpm2=0,lumpm3=0,lumpm4=0;
+// static UINT8 lumpm0=0,lumpm1=0,lumpm2=0,lumpm3=0,lumpm4=0;
static UINT8 lumpf1=0;
-// static UINT8 lumpf2=0;
-// static UINT8 lumbk= 0;
+// static UINT8 lumpf2=0;
+// static UINT8 lumbk= 0;
static UINT8 huepm0=0,huepm1=0,huepm2=0,huepm3=0,huepm4=0;
-// static UINT8 huepf1=0;
+// static UINT8 huepf1=0;
static UINT8 huepf2=0,huebk= 0;
switch (offset & 31)
diff --git a/src/mame/video/konamigx.c b/src/mame/video/konamigx.c
index 91d5c9b092a..0bd0ab9b67b 100644
--- a/src/mame/video/konamigx.c
+++ b/src/mame/video/konamigx.c
@@ -510,8 +510,8 @@ INLINE void zdrawgfxzoom32GP(
// adjust insertion points and pre-entry constants
eax = (dst_y - dst_miny) * GX_ZBUFW + (dst_x - dst_minx) + dst_w;
-// db0 = z8 = (UINT8)zcode;
-// db1 = p8 = (UINT8)pri;
+// db0 = z8 = (UINT8)zcode;
+// db1 = p8 = (UINT8)pri;
ozbuf_ptr += eax;
szbuf_ptr += eax << 1;
dst_ptr += dst_y * dst_pitch + dst_x + dst_w;
diff --git a/src/mame/video/konicdev.c b/src/mame/video/konicdev.c
index b70168dd0ee..aa3ced5c8f4 100644
--- a/src/mame/video/konicdev.c
+++ b/src/mame/video/konicdev.c
@@ -9013,7 +9013,7 @@ static void k001005_render_polygons( device_t *device )
if (k001005->_3d_fifo[i] == 0x80000003)
{
poly_extra_data *extra = (poly_extra_data *)poly_get_extra_data(k001005->poly);
-// poly_vertex v[4];
+// poly_vertex v[4];
int r, g, b, a;
UINT32 color;
int index = i;
diff --git a/src/mame/video/model1.c b/src/mame/video/model1.c
index c3e18cb131c..f71815842c6 100644
--- a/src/mame/video/model1.c
+++ b/src/mame/video/model1.c
@@ -950,8 +950,8 @@ static UINT16 *push_direct(model1_state *state, UINT16 *list)
struct quad_m1 cquad;
tex_adr = readi(list);
-// v1 = readi(list+2);
-// v2 = readi(list+10);
+// v1 = readi(list+2);
+// v2 = readi(list+10);
old_p0 = state->m_pointpt++;
old_p1 = state->m_pointpt++;
@@ -999,7 +999,7 @@ static UINT16 *push_direct(model1_state *state, UINT16 *list)
p1 = state->m_pointpt++;
lum = readi(list+2);
-// v1 = readi(list+4);
+// v1 = readi(list+4);
if(type == 2) {
p0->x = readf(list+6);
diff --git a/src/mame/video/model2.c b/src/mame/video/model2.c
index 7b71c0524a5..21733e276de 100644
--- a/src/mame/video/model2.c
+++ b/src/mame/video/model2.c
@@ -2501,11 +2501,11 @@ static UINT32 * geo_end( geo_state *geo, UINT32 opcode, UINT32 *input )
/* Command 10: Dummy */
static UINT32 * geo_dummy( geo_state *geo, UINT32 opcode, UINT32 *input )
{
-// UINT32 data;
+// UINT32 data;
(void)opcode;
/* do the dummy read cycle */
-// data = *input++;
+// data = *input++;
input++;
return input;
@@ -2571,7 +2571,7 @@ static UINT32 * geo_code_upload( geo_state *geo, UINT32 opcode, UINT32 *input )
(void)opcode;
/* read in the flags */
-// flags = *input++;
+// flags = *input++;
input++;
/* read in the count */
@@ -2606,7 +2606,7 @@ static UINT32 * geo_code_upload( geo_state *geo, UINT32 opcode, UINT32 *input )
/* Command 1E: Code Jump (undocumented, unsupported) */
static UINT32 * geo_code_jump( geo_state *geo, UINT32 opcode, UINT32 *input )
{
-// UINT32 address;
+// UINT32 address;
/*
This command jumps to a specified address in program
@@ -2620,7 +2620,7 @@ static UINT32 * geo_code_jump( geo_state *geo, UINT32 opcode, UINT32 *input )
(void)opcode;
-// address = *input++ & 0x3FF;
+// address = *input++ & 0x3FF;
input++;
/*
diff --git a/src/mame/video/n64.c b/src/mame/video/n64.c
index 0eb692be77c..d97b3f475a6 100644
--- a/src/mame/video/n64.c
+++ b/src/mame/video/n64.c
@@ -349,7 +349,7 @@ void Processor::TCDiv(INT32 ss, INT32 st, INT32 sw, INT32* sss, INT32* sst)
}
//compute clamp flags
int under_s = 0;
-// int under_t = 0;
+// int under_t = 0;
int over_s = 0;
int over_t = 0;
@@ -369,7 +369,7 @@ void Processor::TCDiv(INT32 ss, INT32 st, INT32 sw, INT32* sss, INT32* sst)
{
if (tprod & (1 << 29))
{
-// under_t = 1;
+// under_t = 1;
}
else
{
@@ -2784,16 +2784,16 @@ void N64::RDP::Processor::CmdLoadTile(UINT32 w1, UINT32 w2)
INT32 width = (sh - sl) + 1;
INT32 height = (th - tl) + 1;
/*
- int topad;
- if (m_misc_state.m_ti_size < 3)
- {
- topad = (width * m_misc_state.m_ti_size) & 0x7;
- }
- else
- {
- topad = (width << 2) & 0x7;
- }
- topad = 0; // ????
+ int topad;
+ if (m_misc_state.m_ti_size < 3)
+ {
+ topad = (width * m_misc_state.m_ti_size) & 0x7;
+ }
+ else
+ {
+ topad = (width << 2) & 0x7;
+ }
+ topad = 0; // ????
*/
switch (m_misc_state.m_ti_size)
{
diff --git a/src/mame/video/namcos22.c b/src/mame/video/namcos22.c
index 48530c35ddc..74b68dd8f75 100644
--- a/src/mame/video/namcos22.c
+++ b/src/mame/video/namcos22.c
@@ -1780,7 +1780,7 @@ static void
BlitQuads( running_machine &machine, bitmap_t *bitmap, INT32 addr, float m[4][4], INT32 base )
{
namcos22_state *state = machine.driver_data<namcos22_state>();
-// int numAdditionalNormals = 0;
+// int numAdditionalNormals = 0;
int chunkLength = GetPolyData(state, addr++);
int finish = addr + chunkLength;
@@ -1857,7 +1857,7 @@ BlitQuads( running_machine &machine, bitmap_t *bitmap, INT32 addr, float m[4][4]
000000 000000 007fff // normal vector
000000 000000 007fff // normal vector
*/
-// numAdditionalNormals = GetPolyData(state, addr+2);
+// numAdditionalNormals = GetPolyData(state, addr+2);
state->m_mSurfaceNormalFormat = GetPolyData(state, addr+3);
state->m_mLitSurfaceCount = 0;
state->m_mLitSurfaceIndex = 0;
@@ -2127,7 +2127,7 @@ SimulateSlaveDSP( running_machine &machine, bitmap_t *bitmap )
/* hackery! commands should be streamed, not parsed here */
pSource += len;
-// marker = (INT16)*pSource++; /* always 0xffff */
+// marker = (INT16)*pSource++; /* always 0xffff */
pSource++;
next = (INT16)*pSource++; /* link to next command */
if( (next&0x7fff) != (pSource - (INT32 *)state->m_polygonram) )
diff --git a/src/mame/video/rltennis.c b/src/mame/video/rltennis.c
index 8f8412d3b05..ce1ec7f45cf 100644
--- a/src/mame/video/rltennis.c
+++ b/src/mame/video/rltennis.c
@@ -1,73 +1,73 @@
/****************************************************************************************
Reality Tennis - (c) 1993 TCH
-
-
+
+
Blitter registers description (reg/bit names selected arbitrary ) :
700000 - BLT_X_START
- JOANA JOAQUIN
- fedcba98 76543210
+ JOANA JOAQUIN
+ fedcba98 76543210
-------- xxxxxxxx dst x start
xxxxxxxx -------- src x start
-
+
700002 - BLT_X_END
- JOANA JOAQUIN
+ JOANA JOAQUIN
fedcba98 76543210
-------- xxxxxxxx dst x end
xxxxxxxx -------- src x end
-
+
700004 - BLT_Y_START
- JOANA JOAQUIN
- fedcba98 76543210 x start
+ JOANA JOAQUIN
+ fedcba98 76543210 x start
-------- xxxxxxxx
xxxxxxxx --------
-
+
700006 - BLT_Y_END
- JOANA JOAQUIN
- fedcba98 76543210 x start
+ JOANA JOAQUIN
+ fedcba98 76543210 x start
-------- xxxxxxxx
xxxxxxxx --------
-
+
700008 - BLT_FLAGS
JOANA JOAQUIN
fedcba98 76543210
-------- -------x BLTFLAG_DST_X_DIR x dst direction (step inc or dec)
-------- ------x- BLTFLAG_DST_Y_DIR y dst direction
- -------- -----x-- BLTFLAG_DST_LR LR and UD controlls the quarter of framebuffer to use
+ -------- -----x-- BLTFLAG_DST_LR LR and UD controlls the quarter of framebuffer to use
-------- ----x--- BLTFLAG_DST_UD /
-------- ---?---- unknown
- -------- --x----- BLTFLAG_DISPLAY_UD display buffer select
+ -------- --x----- BLTFLAG_DISPLAY_UD display buffer select
-------- ??------ unknown
-------x -------- BLTFLAG_SRC_X_DIR x src direction
------x- -------- BLTFLAG_SRC_Y_DIR y src direction
- -----x-- -------- BLTFLAG_SRC_LR LR and UD controlls the quarter of src buffer to use
+ -----x-- -------- BLTFLAG_SRC_LR LR and UD controlls the quarter of src buffer to use
----x--- -------- BLTFLAG_SRC_UD /
- xxxx---- -------- src ROM num
-
-
+ xxxx---- -------- src ROM num
+
+
70000a - BLT_UNK
JOANA JOAQUIN
fedcba98 76543210
???????? ???????? unknown (used during gameplay ... zoom factors ?)
-
+
70000c - BLT_START
fedcba98 76543210
--?????- ???????? unknown
-------x -------- BLTSTRT_ROM_MSB src ROM MSB
- -x------ -------- BLTSTRT_TRIGGER blit start
+ -x------ -------- BLTSTRT_TRIGGER blit start
x------- -------- BLTSTRT_LAYER FG or BG layer of framebuffer
-
+
70000e - BLT_UNK2
JOANA JOAQUIN
fedcba98 76543210
- ???????? ???????? unknown (set to 0 @ boot)
-
+ ???????? ???????? unknown (set to 0 @ boot)
+
****************************************************************************************/
#include "emu.h"
#include "includes/rltennis.h"
@@ -117,7 +117,7 @@ WRITE16_HANDLER(rlt_blitter_w)
int old_data=state->m_blitter[offset];
COMBINE_DATA(&state->m_blitter[offset]);
int new_data=state->m_blitter[offset];
-
+
if(offset==BLT_FLAGS && ((new_data^old_data) & BLTFLAG_DISPLAY_UD) ) /* visible page flip and clear */
{
if(new_data & BLTFLAG_DISPLAY_UD)
@@ -144,7 +144,7 @@ WRITE16_HANDLER(rlt_blitter_w)
int dst_x1=(state->m_blitter[BLT_X_END]&0xff);
int dst_y1=(state->m_blitter[BLT_Y_END]&0xff);
-
+
int src_x1=((state->m_blitter[BLT_X_END]>>SRC_SHIFT)&0xff)+((state->m_blitter[BLT_FLAGS] & BLTFLAG_SRC_LR)?256:0);
int src_y1=((state->m_blitter[BLT_Y_END]>>SRC_SHIFT)&0xff)+((state->m_blitter[BLT_FLAGS]>>3)&0xff00)+(((state->m_blitter[BLT_START]) & BLTSTRT_ROM_MSB)?(1<<0xd):0);
@@ -155,39 +155,39 @@ WRITE16_HANDLER(rlt_blitter_w)
int y_src_step=(state->m_blitter[BLT_FLAGS] & BLTFLAG_SRC_Y_DIR)?1:-1;
int x,y;
-
+
int idx_x,idx_y;
-
+
int blit_w=src_x1-src_x0;
int blit_h=src_y1-src_y0;
-
+
int blit_w1=dst_x1-dst_x0;
int blit_h1=dst_y1-dst_y0;
-
+
if(blit_w1<0) blit_w1=(-blit_w1)^0xff; /* is it correct ? game does that when flips images */
if(blit_h1<0) blit_h1=-blit_h1;
-
+
if(blit_w<0) blit_w=-blit_w;
if(blit_h<0) blit_h=-blit_h;
-
+
{
- /* wrong, causes gfx glitches (wrong size , but gives (so far) the best results */
- if(blit_w1<blit_w) blit_w1=blit_w;
+ /* wrong, causes gfx glitches (wrong size , but gives (so far) the best results */
+ if(blit_w1<blit_w) blit_w1=blit_w;
if(blit_h1<blit_h) blit_h1=blit_h;
}
-
+
int layer=(state->m_blitter[BLT_START] & BLTSTRT_LAYER )?BITMAP_BG:BITMAP_FG_1;
-
+
if(layer==BITMAP_FG_1)
{
- if(state->m_blitter[BLT_FLAGS] & BLTFLAG_DST_UD )
+ if(state->m_blitter[BLT_FLAGS] & BLTFLAG_DST_UD )
{
layer=BITMAP_FG_2;
}
}
-
+
bool force_blit=false;
-
+
if(blit_w==1 && blit_h==1) /* seems to be bg layer color fill */
{
force_blit=true;
@@ -200,7 +200,7 @@ WRITE16_HANDLER(rlt_blitter_w)
int xx=src_x0+(x_src_step*idx_x);
int yy=src_y0+(y_src_step*idx_y);
-
+
if(force_blit)
{
xx=src_x0;
@@ -255,7 +255,7 @@ READ16_HANDLER( rlt_ramdac_data_r )
rltennis_state *state = space->machine().driver_data<rltennis_state>();
int data=state->m_palette[state->m_palpos_r];
++state->m_palpos_r;
- state->m_palpos_r %=256*3;
+ state->m_palpos_r %=256*3;
return data;
}
@@ -274,4 +274,4 @@ SCREEN_UPDATE( rltennis )
copybitmap(bitmap, state->m_tmp_bitmap[BITMAP_BG], 0, 0, 0, 0, cliprect);
copybitmap_trans(bitmap, state->m_tmp_bitmap[BITMAP_FG_DISPLAY], 0, 0, 0, 0, cliprect, 0);
return 0;
-} \ No newline at end of file
+}
diff --git a/src/mame/video/stvvdp2.c b/src/mame/video/stvvdp2.c
index 4969c4e2a20..ae6f8197f8d 100644
--- a/src/mame/video/stvvdp2.c
+++ b/src/mame/video/stvvdp2.c
@@ -3859,14 +3859,14 @@ static void stv_vdp2_check_tilemap_with_linescroll(running_machine &machine, bit
int scroll_values_equal;
int lines;
INT16 scrollx, scrolly;
-// INT32 incx;
+// INT32 incx;
int linescroll_enable, vertical_linescroll_enable, linezoom_enable;
int vertical_linescroll_index = -1;
// read original scroll values
scrollx = stv2_current_tilemap.scrollx;
scrolly = stv2_current_tilemap.scrolly;
-// incx = stv2_current_tilemap.incx;
+// incx = stv2_current_tilemap.incx;
// prepare linescroll flags
linescroll_enable = stv2_current_tilemap.linescroll_enable;
@@ -3965,11 +3965,11 @@ static void stv_vdp2_check_tilemap_with_linescroll(running_machine &machine, bit
{
prev_scroll_values[i] &= 0x0007ff00;
if ( prev_scroll_values[i] & 0x00040000 ) prev_scroll_values[i] |= 0xfff80000;
-// incx = prev_scroll_values[i];
+// incx = prev_scroll_values[i];
i++;
}
-// if ( LOG_VDP2 ) logerror( "Linescroll: y < %d, %d >, scrollx = %d, scrolly = %d, incx = %f\n", mycliprect.min_y, mycliprect.max_y, stv2_current_tilemap.scrollx, stv2_current_tilemap.scrolly, (float)stv2_current_tilemap.incx/65536.0 );
+// if ( LOG_VDP2 ) logerror( "Linescroll: y < %d, %d >, scrollx = %d, scrolly = %d, incx = %f\n", mycliprect.min_y, mycliprect.max_y, stv2_current_tilemap.scrollx, stv2_current_tilemap.scrolly, (float)stv2_current_tilemap.incx/65536.0 );
// render current tilemap portion
stv_vdp2_check_tilemap(machine, bitmap, &mycliprect );
diff --git a/src/mame/video/tx1.c b/src/mame/video/tx1.c
index a4f7e79a1ef..4991221e77a 100644
--- a/src/mame/video/tx1.c
+++ b/src/mame/video/tx1.c
@@ -1570,7 +1570,7 @@ static void buggyboy_draw_road(running_machine &machine, UINT8 *bitmap)
UINT32 bnkcs = 1;
UINT32 bnkrs = 1;
-// UINT32 x_offs;
+// UINT32 x_offs;
UINT8 sf;
/* Vertical positions shift register */
@@ -1634,7 +1634,7 @@ static void buggyboy_draw_road(running_machine &machine, UINT8 *bitmap)
sld = (vprom[rva0_6] + vregs.slin_val) & 0x38;
/* Determine the x-offset */
-// x_offs = ls161 & 7;
+// x_offs = ls161 & 7;
/* Fill vertical position shift register with bits for this line */
/* TODO; cheated slightly to shift stuff up one pixel*/
@@ -2200,7 +2200,7 @@ static void buggybjr_draw_road(running_machine &machine, UINT8 *bitmap, int wide
UINT32 rcmd;
UINT32 bnkcs = 1;
-// UINT32 x_offs;
+// UINT32 x_offs;
UINT8 sf;
/* Vertical positions shift register */
@@ -2259,7 +2259,7 @@ static void buggybjr_draw_road(running_machine &machine, UINT8 *bitmap, int wide
sld = (vprom[rva0_6] + vregs.slin_val) & 0x38;
/* Determine the x-offset */
-// x_offs = ls161 & 7;
+// x_offs = ls161 & 7;
/* Fill vertical position shift register with bits for this line */
/* TODO; cheated slightly to shift stuff up one pixel*/
diff --git a/src/mame/video/wgp.c b/src/mame/video/wgp.c
index e0c11a55711..a403446c89d 100644
--- a/src/mame/video/wgp.c
+++ b/src/mame/video/wgp.c
@@ -355,7 +355,7 @@ static void draw_sprites( running_machine &machine, bitmap_t *bitmap, const rect
int zx, zy, zoomx, zoomy, priority = 0;
UINT8 small_sprite, col, flipx, flipy;
UINT16 code, bigsprite, map_index;
-// UINT16 rotate = 0;
+// UINT16 rotate = 0;
UINT16 tile_mask = (machine.gfx[0]->total_elements) - 1;
static const int primasks[2] = {0x0, 0xfffc}; /* fff0 => under rhs of road only */
@@ -378,10 +378,10 @@ static void draw_sprites( running_machine &machine, bitmap_t *bitmap, const rect
if ((spriteram[i + 4] == 0xfff6) && (spriteram[i + 5] == 0))
continue;
-// if (((spriteram[i + 4] != 0xf800) && (spriteram[i + 4] != 0xfff6))
-// || ((spriteram[i + 5] != 0xf800) && (spriteram[i + 5] != 0))
-// || spriteram[i + 7] != 0)
-// rotate = i << 1;
+// if (((spriteram[i + 4] != 0xf800) && (spriteram[i + 4] != 0xfff6))
+// || ((spriteram[i + 5] != 0xf800) && (spriteram[i + 5] != 0))
+// || spriteram[i + 7] != 0)
+// rotate = i << 1;
/***** Begin zoom kludge ******/