summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2009-07-10 03:10:17 +0000
committer Aaron Giles <aaron@aarongiles.com>2009-07-10 03:10:17 +0000
commit62c9a9d8cb303b9ce63926072eaab55eec405f4c (patch)
treec19c72b6c8af5206d957d06400c920854d85d367
parent1f747224c00e292f9ac0bbe7bf84a4fa4f44fd57 (diff)
Cleanups and version bump.mame0132u4
-rw-r--r--src/emu/cpu/powerpc/ppccom.c2
-rw-r--r--src/emu/devintrf.c2
-rw-r--r--src/emu/devintrf.h2
-rw-r--r--src/emu/memory.c10
-rw-r--r--src/emu/sound/okim6295.c8
-rw-r--r--src/mame/audio/atarijsa.c2
-rw-r--r--src/mame/drivers/arcadia.c4
-rw-r--r--src/mame/drivers/chihiro.c2
-rw-r--r--src/mame/drivers/cps1.c10
-rw-r--r--src/mame/drivers/darkhors.c56
-rw-r--r--src/mame/drivers/galaga.c2
-rw-r--r--src/mame/drivers/hornet.c2
-rw-r--r--src/mame/drivers/konamigx.c10
-rw-r--r--src/mame/drivers/lastduel.c6
-rw-r--r--src/mame/drivers/legionna.c2
-rw-r--r--src/mame/drivers/m92.c6
-rw-r--r--src/mame/drivers/mil4000.c2
-rw-r--r--src/mame/drivers/model3.c44
-rw-r--r--src/mame/drivers/quakeat.c26
-rw-r--r--src/mame/drivers/sengokmj.c2
-rw-r--r--src/mame/drivers/seta.c4
-rw-r--r--src/mame/drivers/ssgbl.c14
-rw-r--r--src/mame/drivers/tmmjprd.c60
-rw-r--r--src/mame/drivers/turrett.c60
-rw-r--r--src/mame/drivers/viper.c2
-rw-r--r--src/mame/drivers/vp101.c8
-rw-r--r--src/mame/machine/seicop.c10
-rw-r--r--src/mame/video/konamigx.c70
-rw-r--r--src/mame/video/konamiic.c12
-rw-r--r--src/version.c2
30 files changed, 221 insertions, 221 deletions
diff --git a/src/emu/cpu/powerpc/ppccom.c b/src/emu/cpu/powerpc/ppccom.c
index ad0cf9e5f84..11abfb5ca10 100644
--- a/src/emu/cpu/powerpc/ppccom.c
+++ b/src/emu/cpu/powerpc/ppccom.c
@@ -198,7 +198,7 @@ INLINE int is_nan_double(double x)
/*-------------------------------------------------
- is_qnan_double - is a double value a
+ is_qnan_double - is a double value a
quiet NaN
-------------------------------------------------*/
diff --git a/src/emu/devintrf.c b/src/emu/devintrf.c
index 8d4b9366b58..62530aaffc7 100644
--- a/src/emu/devintrf.c
+++ b/src/emu/devintrf.c
@@ -571,7 +571,7 @@ void device_list_start(running_machine *machine)
for (device = (device_config *)machine->config->devicelist; device != NULL; device = device->next)
{
int spacenum;
-
+
assert(!device->started);
assert(device->machine == machine);
assert(device->token == NULL);
diff --git a/src/emu/devintrf.h b/src/emu/devintrf.h
index b6cc6313628..78d60ffc67f 100644
--- a/src/emu/devintrf.h
+++ b/src/emu/devintrf.h
@@ -185,7 +185,7 @@ enum
#define devtag_get_device(mach,tag) device_list_find_by_tag((mach)->config->devicelist, tag)
#define devtag_reset(mach,tag) device_reset(devtag_get_device(mach, tag))
-#define devtag_get_address_space(mach,tag,space)
+#define devtag_get_address_space(mach,tag,space)
#define devtag_get_info_int(mach,tag,state) device_get_info_int(devtag_get_device(mach, tag), state)
#define devtag_get_info_ptr(mach,tag,state) device_get_info_ptr(devtag_get_device(mach, tag), state)
diff --git a/src/emu/memory.c b/src/emu/memory.c
index f2b224cdde4..03f0053476b 100644
--- a/src/emu/memory.c
+++ b/src/emu/memory.c
@@ -879,8 +879,8 @@ direct_update_func memory_set_direct_update_handler(const address_space *space,
/*-------------------------------------------------
- memory_set_direct_region - called by deivce
- cores to update the opcode base for the given
+ memory_set_direct_region - called by deivce
+ cores to update the opcode base for the given
address
-------------------------------------------------*/
@@ -1145,7 +1145,7 @@ void memory_set_bankptr(running_machine *machine, int banknum, void *base)
/*-------------------------------------------------
- memory_find_unused_bank - return the index of
+ memory_find_unused_bank - return the index of
an unused bank
-------------------------------------------------*/
@@ -1157,7 +1157,7 @@ int memory_find_unused_bank(running_machine *machine)
for (banknum = STATIC_BANK1; banknum <= MAX_EXPLICIT_BANKS; banknum++)
if (!memdata->bankdata[banknum].used)
return banknum;
-
+
return -1;
}
@@ -2286,7 +2286,7 @@ static void space_map_range(address_space *space, read_or_write readorwrite, int
/*-------------------------------------------------
space_find_backing_memory - return a pointer to
- the base of RAM associated with the given
+ the base of RAM associated with the given
device and offset
-------------------------------------------------*/
diff --git a/src/emu/sound/okim6295.c b/src/emu/sound/okim6295.c
index c93bcbf297a..5e3ff8c23e1 100644
--- a/src/emu/sound/okim6295.c
+++ b/src/emu/sound/okim6295.c
@@ -330,7 +330,7 @@ static void okim6295_state_save_register(okim6295_state *info, const device_conf
state_save_register_device_item(device, 0, info->bank_offs);
for (j = 0; j < OKIM6295_VOICES; j++)
adpcm_state_save_register(&info->voice[j], device, j);
-
+
state_save_register_postload(device->machine, okim6295_postload, (void *)device);
}
@@ -403,7 +403,7 @@ void okim6295_set_bank_base(const device_config *device, int base)
okim6295_state *info = get_safe_token(device);
stream_update(info->stream);
- /* if we are setting a non-zero base, and we have no bank, allocate one */
+ /* if we are setting a non-zero base, and we have no bank, allocate one */
if (info->bank_num == -1 && base != 0)
{
info->bank_num = memory_find_unused_bank(device->machine);
@@ -413,7 +413,7 @@ void okim6295_set_bank_base(const device_config *device, int base)
/* override our memory map with a bank */
memory_install_read8_handler(device->space[0], 0x00000, 0x3ffff, 0, 0, SMH_BANK(info->bank_num));
}
-
+
/* if we have a bank number, set the base pointer */
if (info->bank_num != -1)
{
@@ -585,7 +585,7 @@ DEVICE_GET_INFO( okim6295 )
case DEVINFO_INT_DATABUS_WIDTH_0: info->i = 8; break;
case DEVINFO_INT_ADDRBUS_WIDTH_0: info->i = 18; break;
case DEVINFO_INT_ADDRBUS_SHIFT_0: info->i = 0; break;
-
+
/* --- the following bits of info are returned as pointers to data --- */
case DEVINFO_PTR_DEFAULT_MEMORY_MAP_0: info->default_map8 = ADDRESS_MAP_NAME(okim6295);break;
diff --git a/src/mame/audio/atarijsa.c b/src/mame/audio/atarijsa.c
index a0a236e5adf..4921623fd46 100644
--- a/src/mame/audio/atarijsa.c
+++ b/src/mame/audio/atarijsa.c
@@ -869,7 +869,7 @@ MACHINE_DRIVER_START( jsa_iii_mono )
MDRV_IMPORT_FROM(jsa_ii_mono)
MDRV_CPU_MODIFY("jsa")
MDRV_CPU_PROGRAM_MAP(atarijsa3_map)
-
+
MDRV_DEVICE_MODIFY("adpcm")
MDRV_DEVICE_ADDRESS_MAP(0, jsa3_oki_map)
MACHINE_DRIVER_END
diff --git a/src/mame/drivers/arcadia.c b/src/mame/drivers/arcadia.c
index 59c25722296..77a688e25a5 100644
--- a/src/mame/drivers/arcadia.c
+++ b/src/mame/drivers/arcadia.c
@@ -621,7 +621,7 @@ ROM_START( ar_sdwr2 )
ROM_LOAD16_BYTE( "arcadia1.u16", 0xa0001, 0x10000, CRC(e63e1679) SHA1(0762bff0018e006905a2e58141fdf05910f06e29) )
ROM_REGION( 0x104, "misc", ROMREGION_ERASEFF )
- ROM_LOAD( "arcadia.u14.bin", 0x000, 0x104, CRC(1af35582) SHA1(a78aa61a56dea9b5c9df8b734f99adb0383d135b) ) // bad/protected?
+ ROM_LOAD( "arcadia.u14.bin", 0x000, 0x104, CRC(1af35582) SHA1(a78aa61a56dea9b5c9df8b734f99adb0383d135b) ) // bad/protected?
ROM_END
@@ -716,7 +716,7 @@ INLINE void generic_decode(running_machine *machine, const char *tag, int bit7,
/* only the low byte of ROMs are encrypted in these games */
for (i = 0; i < 0x20000/2; i++)
rom[i] = BITSWAP16(rom[i], 15,14,13,12,11,10,9,8, bit7,bit6,bit5,bit4,bit3,bit2,bit1,bit0);
-
+
#if 0
{
UINT8 *ROM = memory_region(machine, tag);
diff --git a/src/mame/drivers/chihiro.c b/src/mame/drivers/chihiro.c
index 0f40d11ff8d..ff2bcb98608 100644
--- a/src/mame/drivers/chihiro.c
+++ b/src/mame/drivers/chihiro.c
@@ -71,7 +71,7 @@ ROM_START( chihiro )
ROM_REGION( 0x8400000, "user1", ROMREGION_ERASE)
ROM_END
-
+
ROM_START( hotd3 )
CHIHIRO_BIOS
diff --git a/src/mame/drivers/cps1.c b/src/mame/drivers/cps1.c
index 3af4b1f4bce..f8e1425165c 100644
--- a/src/mame/drivers/cps1.c
+++ b/src/mame/drivers/cps1.c
@@ -2969,7 +2969,7 @@ CPU:
2x M5205 ic184,ic185 sound
1x TDA2003 ic14 sound
1x oscillator 24.000000MHz (close to main)
-1x oscillator 29.821000MHz (close to sound)
+1x oscillator 29.821000MHz (close to sound)
ROMs
@@ -2986,21 +2986,21 @@ PLDs:
1x TPC1020AFN ic116 read protected
3x GAL20V8A ic120,ic121,ic169 read protected
-3x GAL16V8A ic7,ic72,ic80 read protected
+3x GAL16V8A ic7,ic72,ic80 read protected
Note:
1x JAMMA edge connector
2x 10 legs connector
1x trimmer (volume)
-3x 8x2 switches DIP
+3x 8x2 switches DIP
*/
static MACHINE_DRIVER_START( knightsb )
/* basic machine hardware */
- MDRV_CPU_ADD("maincpu", M68000, 24000000 / 2)
+ MDRV_CPU_ADD("maincpu", M68000, 24000000 / 2)
MDRV_CPU_PROGRAM_MAP(main_map)
MDRV_CPU_VBLANK_INT("screen", cps1_interrupt)
@@ -6282,7 +6282,7 @@ ROM_START( knightsb )
ROM_LOAD16_BYTE( "5.ic172", 0x00000, 0x40000, CRC(7fd91118) SHA1(d2832b21309a467938891946d7af35d8095787a4) )
ROM_LOAD16_BYTE( "2.ic175", 0x80001, 0x40000, CRC(1eb91343) SHA1(e02cfbbd7689346f14f2e3455ed17e7f0b51bad0) )
ROM_LOAD16_BYTE( "4.ic176", 0x80000, 0x40000, CRC(af352703) SHA1(7855ac65752203f45af4ef41af8c291540a1c8a8) )
-
+
ROM_REGION( 0x400000, "gfx", 0 ) /* bootleg had 4x 1meg MASKroms, these need dumping so that the format is known */
ROMX_LOAD( "kr_gfx1.rom", 0x000000, 0x80000, BAD_DUMP CRC(9e36c1a4) SHA1(772daae74e119371dfb76fde9775bda78a8ba125) , ROM_GROUPWORD | ROM_SKIP(6) )
ROMX_LOAD( "kr_gfx3.rom", 0x000002, 0x80000, BAD_DUMP CRC(c5832cae) SHA1(a188cf401cd3a2909b377d3059f14d22ec3b0643) , ROM_GROUPWORD | ROM_SKIP(6) )
diff --git a/src/mame/drivers/darkhors.c b/src/mame/drivers/darkhors.c
index 15b0177ec1c..a5ef447a920 100644
--- a/src/mame/drivers/darkhors.c
+++ b/src/mame/drivers/darkhors.c
@@ -357,7 +357,7 @@ ADDRESS_MAP_END
static ADDRESS_MAP_START( jclub2o_map, ADDRESS_SPACE_PROGRAM, 32 )
AM_RANGE(0x000000, 0x1fffff) AM_ROM
AM_RANGE(0x400000, 0x41ffff) AM_RAM
-
+
ADDRESS_MAP_END
@@ -704,7 +704,7 @@ static MACHINE_DRIVER_START( jclub2o )
MDRV_CPU_PROGRAM_MAP(st0016_mem)
MDRV_CPU_IO_MAP(st0016_io)
MDRV_CPU_VBLANK_INT("screen", irq0_line_hold)
-
+
MDRV_CPU_ADD("maincpu", M68EC020, 12000000)
MDRV_CPU_PROGRAM_MAP(jclub2o_map)
//MDRV_CPU_VBLANK_INT_HACK(darkhors,3)
@@ -724,7 +724,7 @@ static MACHINE_DRIVER_START( jclub2o )
MDRV_VIDEO_START(jclub2)
MDRV_VIDEO_UPDATE(jclub2)
-
+
MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
MDRV_SOUND_ADD("st", ST0016, 0)
@@ -775,26 +775,26 @@ PCB E79-001 rev 01a (Newer)
Main CPU : SETA ST-0032 70C600JF505
Others : MC68EC020FG16
- SETA ST-0013
- SETA ST-0017
+ SETA ST-0013
+ SETA ST-0017
-Xtal : 42.9545 MHz, 60.0000 MHz, 33.3333 MHz
+Xtal : 42.9545 MHz, 60.0000 MHz, 33.3333 MHz
-Rams : Toshiba : TC5118160CJ-60 (x3)
- NKK N341256SJ-15 (x2)
- NEC D43001GU-70LL (x4)
+Rams : Toshiba : TC5118160CJ-60 (x3)
+ NKK N341256SJ-15 (x2)
+ NEC D43001GU-70LL (x4)
Gals : gal16V8B(x2) ref : M88-03 M88-04
Eeprom : 93c46
Eproms : M88-01.u38,M88-023.u6 (read as 578200) (1st set)
- M88-01A.u38,M88-02.u6 (2nd set)
- M88-01B.u38,M88-02.u6 (3rd set)
- M88-01.u38,M88-02.u6,Z201x.u39 (4th set)
- M88-01A.u38,M88-02.u6 M88-03D.u39 (5th set)
- M88-01B.u38,M88-02.u6,M88-03D.u39 (6th set)
+ M88-01A.u38,M88-02.u6 (2nd set)
+ M88-01B.u38,M88-02.u6 (3rd set)
+ M88-01.u38,M88-02.u6,Z201x.u39 (4th set)
+ M88-01A.u38,M88-02.u6 M88-03D.u39 (5th set)
+ M88-01B.u38,M88-02.u6,M88-03D.u39 (6th set)
Provided to you by Belgium Dump Team Gerald (COY) on 18/01/2007.
*/
@@ -803,7 +803,7 @@ Provided to you by Belgium Dump Team Gerald (COY) on 18/01/2007.
ROM_START( jclub2 )
ROM_REGION( 0x200000, "maincpu", 0 ) // 68EC020 code
// main program (similar to main program of bootleg
- ROM_LOAD16_WORD_SWAP( "m88-01b.u38",0x00000, 0x200000, CRC(f1054c69) SHA1(be6d92653f0d3cc0a36a2ff0798043f4a95439bc) )
+ ROM_LOAD16_WORD_SWAP( "m88-01b.u38",0x00000, 0x200000, CRC(f1054c69) SHA1(be6d92653f0d3cc0a36a2ff0798043f4a95439bc) )
ROM_LOAD16_WORD_SWAP( "m88-01a.u38",0x00000, 0x200000, CRC(c1243e1c) SHA1(2a5857738b8950daf77ddaa8304b765f809f8241) ) // alt revision?
ROM_LOAD16_WORD_SWAP( "m88-01.u38", 0x00000, 0x200000, CRC(84476b68) SHA1(1014d23d3cebbfa9aa3bfb90505529989a8eedfa) ) // alt revision?
@@ -818,7 +818,7 @@ ROM_START( jclub2 )
ROM_REGION( 0x100000, "oki", 0 ) // Samples? (not oki probably one of the ST-xx customs, no idea if the dump is good)
// data distribution would indicate this is a sound rom
ROM_LOAD( "m88-02.u6", 0x00000, 0x100000, CRC(0dd3436a) SHA1(809d3b7a26d36f71da04036fd8ab5d0c5089392a) )
-
+
ROM_REGION( 0x80000, "user1", ROMREGION_ERASEFF | ROMREGION_BE ) // EEPROM
ROM_REGION( 0x80000, "misc", ROMREGION_ERASEFF )
@@ -832,25 +832,25 @@ Jockey Club II by SETA 1994-1995
Other hardware version (older):
Main PCB: E06-00409
-Sub PCb : E06-00407 (I/O nothing else)
+Sub PCb : E06-00407 (I/O nothing else)
Main CPU : SETA ST-0020
Many XTAL : 48.0000 MHz,33.3333 MHz,4.91520 MHz,42.9545 MHz(x2),105.0000 MHz (this 105.0000 Xtal is sometimes replaced by a tiny pcb silscreened 108.0000 MHz(!), with ICS ICS1494N, MB3771 and 14.3181 MHz Xtal)
Others : MC68EC020FG16
- SETA ST-0013
- SETA ST-0016 <-- z80 core + simple gfx + sound, see st0016.c
- SETA ST-0017
+ SETA ST-0013
+ SETA ST-0016 <-- z80 core + simple gfx + sound, see st0016.c
+ SETA ST-0017
Rams : Toshiba TC514800AJ-70
- Toshiba TC514000ASJ-70 (x8)
- Sharp LH5168D
+ Toshiba TC514000ASJ-70 (x8)
+ Sharp LH5168D
-Eproms : SX006A-01.u26 read as 5716200,JC2-110x.u27,SX006-04.u87 (sound)
- SX006B-01.u26,JC2-110x.u27,SX006-04.u87 (sound)
- SX006A-01.u26,JC2-112x.u27,SX006-04.u87 (sound)
- SX006B-01.u26,JC2-112x.u27,SX006-04.u87 (sound)
+Eproms : SX006A-01.u26 read as 5716200,JC2-110x.u27,SX006-04.u87 (sound)
+ SX006B-01.u26,JC2-110x.u27,SX006-04.u87 (sound)
+ SX006A-01.u26,JC2-112x.u27,SX006-04.u87 (sound)
+ SX006B-01.u26,JC2-112x.u27,SX006-04.u87 (sound)
Provided to you by Belgium Dump Team Gerald (COY) on 18/01/2007.
@@ -860,7 +860,7 @@ Provided to you by Belgium Dump Team Gerald (COY) on 18/01/2007.
ROM_START( jclub2o )
ROM_REGION( 0x200000, "maincpu", 0 ) // 68EC020 code
// main program (similar to main program of bootleg
- ROM_LOAD16_WORD_SWAP( "sx006a-01.106",0x00000, 0x200000, CRC(55e249bc) SHA1(ed0f066ed17f047760b712cbbfba1a62d4b452ba) )
+ ROM_LOAD16_WORD_SWAP( "sx006a-01.106",0x00000, 0x200000, CRC(55e249bc) SHA1(ed0f066ed17f047760b712cbbfba1a62d4b452ba) )
ROM_LOAD16_WORD_SWAP( "sx006b-01.u26",0x00000, 0x200000, CRC(f730dded) SHA1(efb966dcb98440a072d4825ef2788c85acdfd103) ) // alt revision?
ROM_REGION( 0x200000, "subcpu", 0 ) // 68EC020 code
@@ -874,7 +874,7 @@ ROM_START( jclub2o )
ROM_REGION( 0x90000, "st0016", 0 ) // z80 core (used for sound?)
ROM_LOAD( "sx006-04.u87", 0x10000, 0x80000, CRC(a87adedd) SHA1(1cd5af2d03738fff2230b46241659179467c828c) )
ROM_COPY( "st0016", 0x10000, 0x00000, 0x08000 )
-
+
ROM_REGION( 0x80000, "user1", ROMREGION_ERASEFF | ROMREGION_BE ) // EEPROM
ROM_END
diff --git a/src/mame/drivers/galaga.c b/src/mame/drivers/galaga.c
index fa543e7c731..c141390ab5d 100644
--- a/src/mame/drivers/galaga.c
+++ b/src/mame/drivers/galaga.c
@@ -1769,7 +1769,7 @@ static MACHINE_DRIVER_START( galagab )
MDRV_DEVICE_REMOVE("54xx")
MDRV_DEVICE_REMOVE("06xx")
-
+
/* FIXME: bootlegs should not have any Namco custom chip. However, this workaround is needed atm */
MDRV_NAMCO_06XX_ADD("06xx", MASTER_CLOCK/6/64, "maincpu", "51xx", NULL, NULL, NULL)
diff --git a/src/mame/drivers/hornet.c b/src/mame/drivers/hornet.c
index 2193dd581b9..9397c4295cd 100644
--- a/src/mame/drivers/hornet.c
+++ b/src/mame/drivers/hornet.c
@@ -1590,7 +1590,7 @@ ROM_START(terabrsta)
ROM_LOAD( "m48t58y-70pc1", 0x000000, 0x002000, CRC(62fecb78) SHA1(09509be8a947cf2d38e12a6ea755ec0de4aa9bd4) )
ROM_END
-/*************************************************************************/
+/*************************************************************************/
GAME( 1998, gradius4, 0, hornet, hornet, hornet, ROT0, "Konami", "Gradius 4: Fukkatsu", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
GAME( 1998, nbapbp, 0, hornet, hornet, hornet, ROT0, "Konami", "NBA Play By Play", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
diff --git a/src/mame/drivers/konamigx.c b/src/mame/drivers/konamigx.c
index 61aa9d78ea9..7bd58a4ab5a 100644
--- a/src/mame/drivers/konamigx.c
+++ b/src/mame/drivers/konamigx.c
@@ -807,20 +807,20 @@ static READ32_HANDLER( sound020_r )
if (cpu_get_pc(space->cpu) == 0x24c5f0) rv = 0xc0c0c0c0;
break;
case 11: // Racin' Force
- if (reg == 0)
+ if (reg == 0)
{
if (cpu_get_pc(space->cpu) == 0x0202190)
rv |= 0x4000;
}
break;
-
+
case 12: // Open Golf / Golfing Greats 2
- if (reg == 0)
+ if (reg == 0)
{
if ((cpu_get_pc(space->cpu) == 0x0245e80) || (cpu_get_pc(space->cpu) == 0x02459d6) || (cpu_get_pc(space->cpu) == 0x0245e40) )
- rv |= 0x4000;
+ rv |= 0x4000;
}
- break;
+ break;
}
return(rv);
diff --git a/src/mame/drivers/lastduel.c b/src/mame/drivers/lastduel.c
index 8cffc6550c9..5a883a39733 100644
--- a/src/mame/drivers/lastduel.c
+++ b/src/mame/drivers/lastduel.c
@@ -65,7 +65,7 @@ Notes:
43256 - 32kx8 SRAM (DIP28)
6116 - 2kx8 SRAM (DIP24)
DL-0100-103 - NEC custom (SDIP64)
- ROMs -
+ ROMs -
LS-07 - 27C512 EPROM (DIP28)
LS-08 - 27C256 EPROM (DIP28)
LS-05/06 - 128kx8 mask ROM (DIP28)
@@ -73,7 +73,7 @@ Notes:
Measurements -
VSync 57.4444Hz
HSync 15.1432kHz
- OSC1 23.99985MHz
+ OSC1 23.99985MHz
OSC2 9.99993MHz
OSC3 3.57943MHz
@@ -109,7 +109,7 @@ Notes:
6116 - 2kx8 SRAM (DIP24)
81301 - ? (SDIP28)
29 - 63S141 bipolar PROM (DIP16)
-
+
**************************************************************************/
diff --git a/src/mame/drivers/legionna.c b/src/mame/drivers/legionna.c
index dfe6b5bfbe0..caff539610f 100644
--- a/src/mame/drivers/legionna.c
+++ b/src/mame/drivers/legionna.c
@@ -209,7 +209,7 @@ ADDRESS_MAP_END
static WRITE8_HANDLER( okim_rombank_w )
{
-// popmessage("%08x",0x40000 * (data & 0x07));
+// popmessage("%08x",0x40000 * (data & 0x07));
okim6295_set_bank_base(devtag_get_device(space->machine, "oki"), 0x40000 * (data & 0x7));
}
diff --git a/src/mame/drivers/m92.c b/src/mame/drivers/m92.c
index 666d4bc4efa..16b87ef1ff8 100644
--- a/src/mame/drivers/m92.c
+++ b/src/mame/drivers/m92.c
@@ -1018,7 +1018,7 @@ static MACHINE_DRIVER_START( ppan )
MDRV_CPU_IO_MAP(m92_portmap)
/* no Sound CPU */
-
+
MDRV_MACHINE_START(m92)
MDRV_MACHINE_RESET(m92)
@@ -2043,14 +2043,14 @@ static void init_m92(running_machine *machine, int hasbanks)
}
RAM = memory_region(machine, "soundcpu");
-
+
if (RAM)
memcpy(RAM + 0xffff0, RAM + 0x1fff0, 0x10); /* Sound cpu Start vector */
m92_game_kludge = 0;
m92_irq_vectorbase = 0x80;
m92_sprite_buffer_busy = 1;
-
+
setvector_callback(machine, NULL, VECTOR_INIT);
}
diff --git a/src/mame/drivers/mil4000.c b/src/mame/drivers/mil4000.c
index 815ed1dee75..eb1514fb7ee 100644
--- a/src/mame/drivers/mil4000.c
+++ b/src/mame/drivers/mil4000.c
@@ -421,7 +421,7 @@ ROM_START( mil4000b )
ROM_REGION( 0xa0000, "gfx1", 0 ) // 5bpp?
ROM_LOAD( "2.u36", 0x000000, 0x20000, CRC(bb4fcfde) SHA1(7e19722ce42b9ec86faac32a526429b0e56639b5) )
- ROM_LOAD( "3.u35", 0x020000, 0x20000, CRC(21c43d81) SHA1(a266b85378723ad8e219dd63a639add64624de13) )
+ ROM_LOAD( "3.u35", 0x020000, 0x20000, CRC(21c43d81) SHA1(a266b85378723ad8e219dd63a639add64624de13) )
ROM_LOAD( "4.u34", 0x040000, 0x20000, CRC(372a67a4) SHA1(c1c1352dd3152603827224d8970e6cb04aa1e858) )
ROM_LOAD( "5.u33", 0x060000, 0x20000, CRC(8058882e) SHA1(2de7b1e6e39d89913b2d6c1290d3cf326d2527d4) )
ROM_LOAD( "6.u32", 0x080000, 0x20000, CRC(7217a8c2) SHA1(275c2d5a128960dd6cd56d5e3647354b17129a12) )
diff --git a/src/mame/drivers/model3.c b/src/mame/drivers/model3.c
index 2e50d7a0844..d07f7db768e 100644
--- a/src/mame/drivers/model3.c
+++ b/src/mame/drivers/model3.c
@@ -35,9 +35,9 @@
dayto2pe - bug in DRC MMU page-fault handling, causes infinite loop at PC:0x2270 (or debug assert)
daytona2 - See above. Also CROMs (program/data) are marked "bad dump"
- spikeout/spikeofe - As above. CROMs (program/data) are marked "bad dump"
+ spikeout/spikeofe - As above. CROMs (program/data) are marked "bad dump"
dirtdvls/dirtdvla - SCSI IRQ stuck on (boots partially if hacked)
- swtrilgy - doesn't boot (no SCSI IRQs occur, other IRQs look fine)
+ swtrilgy - doesn't boot (no SCSI IRQs occur, other IRQs look fine)
swtrilga - SCSI IRQ stuck on
magtruck - SCSI IRQ stuck on (boots and fails country code check (!) if hacked)
eca/ecax - doesn't boot (a few SCSI IRQs occur but then cease, other IRQs look fine)
@@ -582,19 +582,19 @@ ALL VROM ROMs are 16M MASK
*/
/*
- magtruck locations of interest
+ magtruck locations of interest
- 000006ee (word) - incremented each vblank, used by mainline to busywait.
- 000006f5 (byte) - shadow of current IRQ enable
- 000003f0 (dword) - shadow (from irq handler) of IRQ state on entry
+ 000006ee (word) - incremented each vblank, used by mainline to busywait.
+ 000006f5 (byte) - shadow of current IRQ enable
+ 000003f0 (dword) - shadow (from irq handler) of IRQ state on entry
- 00000500 - IRQ handler prologue/epilogue
- 00152250 - IRQ dispatcher
+ 00000500 - IRQ handler prologue/epilogue
+ 00152250 - IRQ dispatcher
- 00151f48 - service routine for IRQ 0x02 (VBL)
- 00151ef8 - service routine for IRQ 0x04
- 00151ed8 - service routine for IRQ 0x08
- 0014b110 - service routine for IRQ 0x40 (SCSP)
+ 00151f48 - service routine for IRQ 0x02 (VBL)
+ 00151ef8 - service routine for IRQ 0x04
+ 00151ed8 - service routine for IRQ 0x08
+ 0014b110 - service routine for IRQ 0x40 (SCSP)
*/
#include "driver.h"
@@ -628,13 +628,13 @@ static void update_irq_state(running_machine *machine)
{
if ((irq_enable & irq_state) || scsi_irq_state)
{
-// printf("IRQ set: state %x enable %x scsi %x\n", irq_state, irq_enable, scsi_irq_state);
+// printf("IRQ set: state %x enable %x scsi %x\n", irq_state, irq_enable, scsi_irq_state);
cputag_set_input_line(machine, "maincpu", PPC_IRQ, ASSERT_LINE);
scsi_irq_state = 0;
}
else
{
-// printf("IRQ clear: state %x enable %x scsi %x\n", irq_state, irq_enable, scsi_irq_state);
+// printf("IRQ clear: state %x enable %x scsi %x\n", irq_state, irq_enable, scsi_irq_state);
cputag_set_input_line(machine, "maincpu", PPC_IRQ, CLEAR_LINE);
}
}
@@ -1276,8 +1276,8 @@ static void model3_init(running_machine *machine, int step)
mame_stricmp(machine->gamedrv->name, "bass") == 0 )
{
mpc106_init();
- }
- else
+ }
+ else
{
mpc105_init();
}
@@ -1486,7 +1486,7 @@ static WRITE64_HANDLER( model3_ctrl_w )
static READ64_HANDLER( model3_sys_r )
{
-// printf("model3_sys_r: mask %llx @ %x (PC %x)\n", mem_mask, offset, cpu_get_pc(space->cpu));
+// printf("model3_sys_r: mask %llx @ %x (PC %x)\n", mem_mask, offset, cpu_get_pc(space->cpu));
switch (offset)
{
@@ -1511,7 +1511,7 @@ static READ64_HANDLER( model3_sys_r )
else logerror("m3_sys: Unk sys_r @ 0x10: mask = %x\n", (UINT32)mem_mask);
break;
case 0x18/8:
-// printf("read irq_state %x (PC %x)\n", irq_state, cpu_get_pc(space->cpu));
+// printf("read irq_state %x (PC %x)\n", irq_state, cpu_get_pc(space->cpu));
return (UINT64)irq_state<<56 | 0xff000000;
break;
}
@@ -1522,7 +1522,7 @@ static READ64_HANDLER( model3_sys_r )
static WRITE64_HANDLER( model3_sys_w )
{
-// printf("model3_sys_w: %llx to %x mask %llx\n", data, offset, mem_mask);
+// printf("model3_sys_w: %llx to %x mask %llx\n", data, offset, mem_mask);
switch (offset)
{
@@ -1536,7 +1536,7 @@ static WRITE64_HANDLER( model3_sys_w )
case 0x18/8:
if ((mem_mask & 0xff000000) == 0xff000000) // int ACK with bits in REVERSE ORDER from the other registers (Seeeee-gaaaa!)
{ // may also be a secondary enable based on behavior of e.g. magtruck VBL handler
-// UINT32 old_irq = irq_state;
+// UINT32 old_irq = irq_state;
UINT8 ack = (data>>24)&0xff, realack;
int i;
@@ -1556,7 +1556,7 @@ static WRITE64_HANDLER( model3_sys_w )
}
}
-// printf("%x to ack (realack %x)\n", ack, realack);
+// printf("%x to ack (realack %x)\n", ack, realack);
irq_state &= realack;
break;
@@ -1732,7 +1732,7 @@ static const UINT16 eca_prot_data[] =
0x7470, 0x202e, 0x3123, 0x660a, 0x726f, 0x7420, 0x7365, 0x0a74,
};
-/*
+/*
dirtdvls: first 2 words read are discarded, then every other word
is written to char RAM starting at f1013400 (in between words are
discarded).
diff --git a/src/mame/drivers/quakeat.c b/src/mame/drivers/quakeat.c
index 1c61a2b3565..8156b7ef8bd 100644
--- a/src/mame/drivers/quakeat.c
+++ b/src/mame/drivers/quakeat.c
@@ -1,15 +1,15 @@
/*
Quake Arcade Tournament
-
+
This is unknown PC hardware, only the HDD is dumped. The HDD is stickered 'Release Beta 2'
-
+
I've also seen CDs of this for sale, so maybe there should be a CD too, for the music?
-
-
+
+
-- set info
-
+
Quake Arcade Tournament by Lazer-Tron
PC running Windows 95 with a Dongle on the parallel port
@@ -18,18 +18,18 @@ Created .chd with version 0.125
It found the following disk paramaters...
-Input offset 511
-Cyclinders 263
-Heads 255
-Sectors 63
-Byte/Sector 512
-Sectors/Hunk 8
-Logical size 2,1163,248,864
+Input offset 511
+Cyclinders 263
+Heads 255
+Sectors 63
+Byte/Sector 512
+Sectors/Hunk 8
+Logical size 2,1163,248,864
The "backup" directory on hard disk was created by me.
-
+
*/
#include "driver.h"
diff --git a/src/mame/drivers/sengokmj.c b/src/mame/drivers/sengokmj.c
index e1ec59e27c6..2e7f94c8e76 100644
--- a/src/mame/drivers/sengokmj.c
+++ b/src/mame/drivers/sengokmj.c
@@ -119,7 +119,7 @@ static ADDRESS_MAP_START( sengokmj_io_map, ADDRESS_SPACE_IO, 16 )
/*Areas from 8000-804f are for the custom Seibu CRTC.*/
AM_RANGE(0x8000, 0x804f) AM_RAM_WRITE(seibucrtc_vregs_w) AM_BASE(&seibucrtc_vregs)
-// AM_RANGE(0x8080, 0x8081) CRTC extra register?
+// AM_RANGE(0x8080, 0x8081) CRTC extra register?
// AM_RANGE(0x80c0, 0x80c1) CRTC extra register?
// AM_RANGE(0x8100, 0x8101) AM_WRITENOP // always 0
AM_RANGE(0x8180, 0x8181) AM_WRITE(sengokmj_out_w)
diff --git a/src/mame/drivers/seta.c b/src/mame/drivers/seta.c
index c2404a9f829..7b77895eb72 100644
--- a/src/mame/drivers/seta.c
+++ b/src/mame/drivers/seta.c
@@ -9504,10 +9504,10 @@ static DRIVER_INIT( inttootea )
seta_vregs = seta_vregs_unused;
// code patches (to be removed...)
- //ROM[0x4de0/2] = 0x4e71; // hardware test errors
+ //ROM[0x4de0/2] = 0x4e71; // hardware test errors
//ROM[0x4de2/2] = 0x4e71;
- //ROM[0x368a/2] = 0x50f9; // betting count down
+ //ROM[0x368a/2] = 0x50f9; // betting count down
}
diff --git a/src/mame/drivers/ssgbl.c b/src/mame/drivers/ssgbl.c
index 1a30a842f49..ffbd8ba8595 100644
--- a/src/mame/drivers/ssgbl.c
+++ b/src/mame/drivers/ssgbl.c
@@ -4,9 +4,9 @@
/* Sunset Riders bootleg - based on Genesis / Megadrive version
- coinage system is protected? (by what?)
-
+
- title raster effect is broken (bug in megadrive code, happens with normal set too)
-
+
*/
ROM_START( ssgbl )
@@ -32,10 +32,10 @@ static DRIVER_INIT( sunsetbl )
{
int i;
UINT8* rom = memory_region(machine, "maincpu");
-
+
/* todo, reduce bitswaps to single swap */
for (i=0x00001;i<0x40000;i+=2)
- {
+ {
rom[i] = rom[i] ^ 0xff;
rom[i] = BITSWAP8(rom[i], 7,6,5,4,3,2,1,0 );
rom[i] = BITSWAP8(rom[i], 1,6,5,4,3,2,7,0 );
@@ -44,9 +44,9 @@ static DRIVER_INIT( sunsetbl )
rom[i] = BITSWAP8(rom[i], 5,6,7,4,3,2,1,0 );
rom[i] = BITSWAP8(rom[i], 7,5,6,4,3,2,1,0 );
}
-
+
for (i=0x40001;i<0x80000;i+=2)
- {
+ {
rom[i] = BITSWAP8(rom[i], 7,6,5,4,3,2,1,0 );
rom[i] = BITSWAP8(rom[i], 7,6,1,4, 3,2,5,0);
rom[i] = BITSWAP8(rom[i], 7,6,5,4,0,2,1,3 );
@@ -58,7 +58,7 @@ static DRIVER_INIT( sunsetbl )
memory_install_read16_handler(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), 0x770070, 0x77007f, 0, 0, sunsetbl_r);
memory_install_read16_handler(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), 0xa10006, 0xa10007, 0, 0, sunsetbl2_r); // coins??
-
+
/* patch the startup and boot vector?! */
rom[0x01] = 0x00;
rom[0x00] = 0xff;
diff --git a/src/mame/drivers/tmmjprd.c b/src/mame/drivers/tmmjprd.c
index 64f8e79a7c4..6c170635fd9 100644
--- a/src/mame/drivers/tmmjprd.c
+++ b/src/mame/drivers/tmmjprd.c
@@ -70,11 +70,11 @@ static void draw_sprites(running_machine *machine, bitmap_t *bitmap, const recta
{
int xpos,ypos,tileno,xflip,yflip, colr;
const gfx_element *gfx = machine->gfx[0];
-// int todraw = (tmmjprd_spriteregs[5]&0x0fff0000)>>16; // how many sprites to draw (start/end reg..) what is the other half?
+// int todraw = (tmmjprd_spriteregs[5]&0x0fff0000)>>16; // how many sprites to draw (start/end reg..) what is the other half?
-// UINT32 *source = (tmmjprd_spriteram+ (todraw*2))-2;
-// UINT32 *finish = tmmjprd_spriteram;
+// UINT32 *source = (tmmjprd_spriteram+ (todraw*2))-2;
+// UINT32 *finish = tmmjprd_spriteram;
UINT32 *source = tmmjprd_spriteram+(0xc000/4)-2;
UINT32 *finish = tmmjprd_spriteram;
@@ -114,7 +114,7 @@ static void ttmjprd_draw_tile(running_machine *machine, bitmap_t *bitmap, const
int colour = (tiledata&0x0ff00000)>>20;
int depth = (tiledata&0x10000000)>>28;
//int flipxy = (tiledata&0x60000000)>>29;
- // 0x80000000 (blank tile like metro.c?)
+ // 0x80000000 (blank tile like metro.c?)
int drawx,drawy;
int count;
@@ -249,24 +249,24 @@ static VIDEO_UPDATE( tmmjprd )
}
/*
- popmessage("%08x %08x %08x %08x %08x %08x",
- tmmjprd_tilemap_regs[2][0],
- tmmjprd_tilemap_regs[2][1],
- tmmjprd_tilemap_regs[2][2],
- tmmjprd_tilemap_regs[2][3],
- tmmjprd_tilemap_regs[2][4],
- tmmjprd_tilemap_regs[2][5]);
- */
+ popmessage("%08x %08x %08x %08x %08x %08x",
+ tmmjprd_tilemap_regs[2][0],
+ tmmjprd_tilemap_regs[2][1],
+ tmmjprd_tilemap_regs[2][2],
+ tmmjprd_tilemap_regs[2][3],
+ tmmjprd_tilemap_regs[2][4],
+ tmmjprd_tilemap_regs[2][5]);
+ */
/*
- popmessage("%08x %08x %08x %08x %08x %08x %08x",
- tmmjprd_spriteregs[0],
- tmmjprd_spriteregs[1],
- tmmjprd_spriteregs[2],
- tmmjprd_spriteregs[3],
- tmmjprd_spriteregs[4],
- tmmjprd_spriteregs[5],
- tmmjprd_spriteregs[6]);
+ popmessage("%08x %08x %08x %08x %08x %08x %08x",
+ tmmjprd_spriteregs[0],
+ tmmjprd_spriteregs[1],
+ tmmjprd_spriteregs[2],
+ tmmjprd_spriteregs[3],
+ tmmjprd_spriteregs[4],
+ tmmjprd_spriteregs[5],
+ tmmjprd_spriteregs[6]);
*/
return 0;
@@ -660,9 +660,9 @@ static const gfx_layout rabbit_sprite_16x16x8_layout =
// gfx decoding is ugly.. 16*16 tiles can start at varying different offsets..
static GFXDECODE_START( tmmjprd )
/* this seems to be sprites */
-// GFXDECODE_ENTRY( "gfx1", 0, tmmjprd_sprite_8x8x4_layout, 0x0, 0x1000 )
-// GFXDECODE_ENTRY( "gfx1", 0, rabbit_sprite_16x16x4_layout, 0x0, 0x1000 )
-// GFXDECODE_ENTRY( "gfx1", 0, tmmjprd_sprite_8x8x8_layout, 0x0, 0x1000 )
+// GFXDECODE_ENTRY( "gfx1", 0, tmmjprd_sprite_8x8x4_layout, 0x0, 0x1000 )
+// GFXDECODE_ENTRY( "gfx1", 0, rabbit_sprite_16x16x4_layout, 0x0, 0x1000 )
+// GFXDECODE_ENTRY( "gfx1", 0, tmmjprd_sprite_8x8x8_layout, 0x0, 0x1000 )
GFXDECODE_ENTRY( "gfx1", 0, rabbit_sprite_16x16x8_layout, 0x0, 0x1000 )
GFXDECODE_END
@@ -687,12 +687,12 @@ static MACHINE_DRIVER_START( tmmjprd )
MDRV_GFXDECODE(tmmjprd)
-// MDRV_SCREEN_ADD("screen", RASTER)
-// MDRV_SCREEN_REFRESH_RATE(60)
-// MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
-// MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
-// MDRV_SCREEN_SIZE(64*16, 64*16)
-// MDRV_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 0*8, 28*8-1)
+// MDRV_SCREEN_ADD("screen", RASTER)
+// MDRV_SCREEN_REFRESH_RATE(60)
+// MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+// MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
+// MDRV_SCREEN_SIZE(64*16, 64*16)
+// MDRV_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 0*8, 28*8-1)
MDRV_PALETTE_LENGTH(0x1000)
@@ -783,7 +783,7 @@ ROM_START( tmpdoki )
ROM_LOAD32_WORD( "51.bin", 0x0800002, 0x400000, CRC(6ba1d2ec) SHA1(bbe7309b33f213c8cb9ab7adb3221ea79f89e8b0) )
/* I think these should be different, the game attempts to draw tiles from here for the title logo, but
- the tiles are empty. Once the ROM check is hooked up this will be easier to confirm */
+ the tiles are empty. Once the ROM check is hooked up this will be easier to confirm */
ROM_LOAD32_WORD( "60.bin", 0x1000000, 0x400000, BAD_DUMP CRC(7cb132e0) SHA1(f9c366befec46c7f6e307111a62eede029202b16) )
ROM_LOAD32_WORD( "61.bin", 0x1000002, 0x400000, BAD_DUMP CRC(caa7e854) SHA1(592867e001abd0781f83a5124bf9aa62ad1aa7f3) )
ROM_LOAD32_WORD( "70.bin", 0x1800000, 0x400000, BAD_DUMP CRC(9b737ae4) SHA1(0b62a90d42ace81ee32db073a57731a55a32f989) )
diff --git a/src/mame/drivers/turrett.c b/src/mame/drivers/turrett.c
index 7c861f88a89..9a3351c2276 100644
--- a/src/mame/drivers/turrett.c
+++ b/src/mame/drivers/turrett.c
@@ -5,52 +5,52 @@ Turret Tower by Dell Electronics
PCB Info
========
-Silkscreened Copyright (c) 2001 Dell Electroinics Labs, Ltd
+Silkscreened Copyright (c) 2001 Dell Electroinics Labs, Ltd
-Samsung SV2001H Hard drive stickered (c)DELL V1.XX
- TOCAB0181
- TURRET TOWER
+Samsung SV2001H Hard drive stickered (c)DELL V1.XX
+ TOCAB0181
+ TURRET TOWER
-IDT 79R3041-25J
- XG0110P
+IDT 79R3041-25J
+ XG0110P
-Xilinx Spartan XCS30XL x2
- PQ208AKP0105
- D1164035A
- 4c
+Xilinx Spartan XCS30XL x2
+ PQ208AKP0105
+ D1164035A
+ 4c
-Xilinx XC9572
- PC84AEM0109
- A1172748A
- 10C
+Xilinx XC9572
+ PC84AEM0109
+ A1172748A
+ 10C
-IDT 71124 x8
- S12Y
- N0048M
+IDT 71124 x8
+ S12Y
+ N0048M
-COMPAQ MT16LSDT1664AG-10CY5 SDRAM stick x2
+COMPAQ MT16LSDT1664AG-10CY5 SDRAM stick x2
-.u7 AM29F040B stickered U7 (c)DELL
+.u7 AM29F040B stickered U7 (c)DELL
-.u8 AM29F040B stickered U8 (c)DELL
+.u8 AM29F040B stickered U8 (c)DELL
-.u12 AM29F040B stickered U12 (c)DELL
+.u12 AM29F040B stickered U12 (c)DELL
-.u13 AM29F040B stickered U13 (c)DELL
+.u13 AM29F040B stickered U13 (c)DELL
-.u29 stickered TTML(1) (c) DELL Unmarked chip looks like 28 PIN DIP PLD
+.u29 stickered TTML(1) (c) DELL Unmarked chip looks like 28 PIN DIP PLD
CHDMAN info
Version 0.128
-Input offset 511
-Cycliders 2438
-Heads 255
-Sectors 63
-Bytes/Sector 512
-Sectors/Hunk 8
-Logical size 20,053,232,640
+Input offset 511
+Cycliders 2438
+Heads 255
+Sectors 63
+Bytes/Sector 512
+Sectors/Hunk 8
+Logical size 20,053,232,640
Windows showed a 5.94 gig partion empty and a 12.74 unallocated partition
diff --git a/src/mame/drivers/viper.c b/src/mame/drivers/viper.c
index 2b4fbc03348..44b9a08ecad 100644
--- a/src/mame/drivers/viper.c
+++ b/src/mame/drivers/viper.c
@@ -643,7 +643,7 @@ MACHINE_DRIVER_END
static DRIVER_INIT(viper)
{
-// memory_install_readwrite64_device_handler( cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), ide, 0xff200000, 0xff207fff, 0, 0, hdd_r, hdd_w ); //TODO
+// memory_install_readwrite64_device_handler( cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), ide, 0xff200000, 0xff207fff, 0, 0, hdd_r, hdd_w ); //TODO
}
static DRIVER_INIT(vipercf)
diff --git a/src/mame/drivers/vp101.c b/src/mame/drivers/vp101.c
index 61f950c0269..b158199b36f 100644
--- a/src/mame/drivers/vp101.c
+++ b/src/mame/drivers/vp101.c
@@ -4,12 +4,12 @@
(PCB also marked "Raw Thrills" but all RT games appear to be on PC hardware)
Skeleton driver by R. Belmont
-
+
MIPS VR5500 at 300 to 400 MHz
Xilinx Virtex-II FPGA with custom 3D hardware and 1 or 2 PowerPC 405 CPU cores
- AC97 audio with custom DMA frontend which streams 8 stereo channels
+ AC97 audio with custom DMA frontend which streams 8 stereo channels
PIC18c442 protection chip (not readable)
-
+
****************************************************************************/
#include "driver.h"
@@ -33,7 +33,7 @@ static READ32_HANDLER(tty_ready_r)
static WRITE32_HANDLER(tty_w) // set breakpoint at bfc01430 to catch when it's printing things
{
// uncomment to see startup messages - it says "RAM OK" and "EPI RSS Ver 4.5.1" followed by "<RSS active>" and then lots of dots
-// printf("%c", data);
+// printf("%c", data);
}
static ADDRESS_MAP_START( main_map, ADDRESS_SPACE_PROGRAM, 32 )
diff --git a/src/mame/machine/seicop.c b/src/mame/machine/seicop.c
index 57174d6b88b..c45da1519fe 100644
--- a/src/mame/machine/seicop.c
+++ b/src/mame/machine/seicop.c
@@ -1115,11 +1115,11 @@ static WRITE16_HANDLER( generic_cop_w )
break;
case (0x024/2):
/*
- This looks like a register for the BCD...
- Godzilla and Heated Barrel sets 3
- Denjin Makai sets 3 at start-up and toggles between 2 and 3 during gameplay on the BCD subroutine
- SD Gundam sets 0 (maybe there's a mirror somewhere else? 0x01e for example is setted with an 8)
- */
+ This looks like a register for the BCD...
+ Godzilla and Heated Barrel sets 3
+ Denjin Makai sets 3 at start-up and toggles between 2 and 3 during gameplay on the BCD subroutine
+ SD Gundam sets 0 (maybe there's a mirror somewhere else? 0x01e for example is setted with an 8)
+ */
break;
/* Command tables for 0x500 / 0x502 commands */
diff --git a/src/mame/video/konamigx.c b/src/mame/video/konamigx.c
index 827283b332d..f4f17088d02 100644
--- a/src/mame/video/konamigx.c
+++ b/src/mame/video/konamigx.c
@@ -21,22 +21,22 @@ extern UINT32 *gx_psacram, *gx_subpaletteram32;
output of the K053936 (this can clearly be seen in videos as large chunks of
scenary flicker when in the distance due to single pixels in the K053936 output
becoming visible / invisible due to drawing precision.
-
+
-- however, progress on this has stalled as our K053936 doesn't seem to give
the right output for post processing, I suspect the game is using some
- unsupported flipping modes (probably due to the way it's hooked up to the
- rest of the chips) which is causing entirely the wrong output.
-
+ unsupported flipping modes (probably due to the way it's hooked up to the
+ rest of the chips) which is causing entirely the wrong output.
+
-- furthermore machine/konamigx.c (!) contains it's own implementation of
the K053936_zoom_draw named K053936GP_zoom_draw ... It really shouldn't do,
- epsecially not in 'machine', which isn't meant to be video related.
-
-
+ epsecially not in 'machine', which isn't meant to be video related.
+
+
*/
static bitmap_t *gxtype1_roz_dstbitmap;
static bitmap_t *gxtype1_roz_dstbitmap2;
static rectangle gxtype1_roz_dstbitmapclip;
-
+
static void (*game_tile_callback)(int layer, int *code, int *color, int *flags);
/* Run and Gun 2 / Rushing Heroes */
@@ -101,7 +101,7 @@ static TILE_GET_INFO( get_gx_psac1b_tile_info )
colour = 0;
tileno = (gx_psacram[tile_index*2+1] & 0x00003fff)>>0;
-
+
// scanrows
//flipx = (gx_psacram[tile_index*2+1] & 0x00800000)>>23;
//flipy = (gx_psacram[tile_index*2+1] & 0x00400000)>>22;
@@ -192,7 +192,7 @@ static void _gxcommoninitnosprites(running_machine *machine)
gx_rozenable = 0;
gx_specialrozenable = 0;
-
+
// Documented relative offsets of non-flipped games are (-2, 0, 2, 3),(0, 0, 0, 0).
// (+ve values move layers to the right and -ve values move layers to the left)
// In most cases only a constant is needed to add to the X offsets to yield correct
@@ -362,24 +362,24 @@ VIDEO_START(opengolf)
gx_rozenable = 0;
gx_specialrozenable = 1;
-
+
gxtype1_roz_dstbitmap = auto_bitmap_alloc(machine,512,512,BITMAP_FORMAT_INDEXED16); // BITMAP_FORMAT_INDEXED16 because we NEED the raw pen data for post-processing
gxtype1_roz_dstbitmap2 = auto_bitmap_alloc(machine,512,512,BITMAP_FORMAT_INDEXED16); // BITMAP_FORMAT_INDEXED16 because we NEED the raw pen data for post-processing
-
+
gxtype1_roz_dstbitmapclip.min_x = 0;
gxtype1_roz_dstbitmapclip.max_x = 512-1;
gxtype1_roz_dstbitmapclip.min_y = 0;
gxtype1_roz_dstbitmapclip.max_y = 512-1;
-
-
+
+
K053936_wraparound_enable(0, 1);
K053936GP_set_offset(0, 0, 0);
-
+
// urgh.. the priority bitmap is global, and because our temp bitmaps are bigger than the screen, this causes issues.. so just allocate something huge
// until there is a better solution, or priority bitmap can be specified manually.
- priority_bitmap = auto_bitmap_alloc(machine,2048,2048,BITMAP_FORMAT_INDEXED16);
-
+ priority_bitmap = auto_bitmap_alloc(machine,2048,2048,BITMAP_FORMAT_INDEXED16);
+
}
VIDEO_START(racinfrc)
@@ -396,32 +396,32 @@ VIDEO_START(racinfrc)
gx_psac_tilemap = tilemap_create(machine, get_gx_psac1a_tile_info, tilemap_scan_cols, 16, 16, 128, 128);
gx_psac_tilemap2 = tilemap_create(machine, get_gx_psac1b_tile_info, tilemap_scan_cols, 16, 16, 128, 128);
-
+
// transparency will be handled manually in post-processing
//tilemap_set_transparent_pen(gx_psac_tilemap, 0);
//tilemap_set_transparent_pen(gx_psac_tilemap2, 0);
gx_rozenable = 0;
gx_specialrozenable = 1;
-
+
gxtype1_roz_dstbitmap = auto_bitmap_alloc(machine,512,512,BITMAP_FORMAT_INDEXED16); // BITMAP_FORMAT_INDEXED16 because we NEED the raw pen data for post-processing
gxtype1_roz_dstbitmap2 = auto_bitmap_alloc(machine,512,512,BITMAP_FORMAT_INDEXED16); // BITMAP_FORMAT_INDEXED16 because we NEED the raw pen data for post-processing
-
+
gxtype1_roz_dstbitmapclip.min_x = 0;
gxtype1_roz_dstbitmapclip.max_x = 512-1;
gxtype1_roz_dstbitmapclip.min_y = 0;
gxtype1_roz_dstbitmapclip.max_y = 512-1;
-
-
+
+
K053936_wraparound_enable(0, 1);
K053936GP_set_offset(0, 0, 0);
-
+
// urgh.. the priority bitmap is global, and because our temp bitmaps are bigger than the screen, this causes issues.. so just allocate something huge
// until there is a better solution, or priority bitmap can be specified manually.
- priority_bitmap = auto_bitmap_alloc(machine,2048,2048,BITMAP_FORMAT_INDEXED16);
+ priority_bitmap = auto_bitmap_alloc(machine,2048,2048,BITMAP_FORMAT_INDEXED16);
+
-
}
VIDEO_UPDATE(konamigx)
@@ -482,7 +482,7 @@ VIDEO_UPDATE(konamigx)
K053936_0_zoom_draw(gxtype1_roz_dstbitmap, &gxtype1_roz_dstbitmapclip,gx_psac_tilemap, 0,0,0); // height data
K053936_0_zoom_draw(gxtype1_roz_dstbitmap2,&gxtype1_roz_dstbitmapclip,gx_psac_tilemap2,0,0,0); // colour data (+ some voxel height data?)
}
-
+
if (gx_rozenable)
konamigx_mixer(screen->machine, bitmap, cliprect, 0, 0, gx_psac_tilemap, GXSUB_8BPP, 0);
else
@@ -490,27 +490,27 @@ VIDEO_UPDATE(konamigx)
/* Hack! draw type-1 roz layer here for testing purposes only */
if (gx_specialrozenable)
- {
+ {
const pen_t *paldata = screen->machine->pens;
-
+
if ( input_code_pressed(KEYCODE_W) )
- {
+ {
int y,x;
-
+
// make it flicker, to compare positioning
//if (video_screen_get_frame_number(screen) & 1)
{
-
+
for (y=0;y<256;y++)
{
//UINT16* src = BITMAP_ADDR16( gxtype1_roz_dstbitmap, y, 0);
-
+
//UINT32* dst = BITMAP_ADDR32( bitmap, y, 0);
// ths K053936 rendering should probably just be flipped
// this is just kludged to align the racing force 2d logo
UINT16* src = BITMAP_ADDR16( gxtype1_roz_dstbitmap2, y+30, 0);
UINT32* dst = BITMAP_ADDR32( bitmap, 256-y, 0);
-
+
for (x=0;x<512;x++)
{
UINT16 dat = src[x];
@@ -518,11 +518,11 @@ VIDEO_UPDATE(konamigx)
}
}
}
-
+
}
}
-
+
return 0;
}
diff --git a/src/mame/video/konamiic.c b/src/mame/video/konamiic.c
index 1b8bcd0b380..62985d2edf8 100644
--- a/src/mame/video/konamiic.c
+++ b/src/mame/video/konamiic.c
@@ -4924,15 +4924,15 @@ static void K053936_zoom_draw(int chip,UINT16 *ctrl,UINT16 *linectrl, bitmap_t *
int incxx,incxy;
rectangle my_clip;
int y,maxy;
-
- // Racin' Force will get to here if glfgreat_hack is enabled, and it ends
+
+ // Racin' Force will get to here if glfgreat_hack is enabled, and it ends
// up setting a maximum y value of '13', thus causing nothing to be drawn.
// It looks like the roz output should be flipped somehow as it seems to be
// displaying the wrong areas of the tilemap and is rendered upside down,
// although due to the additional post-processing the voxel renderer performs
// it's difficult to know what the output SHOULD be. (hold W in Racin' Force
// to see the chip output)
-
+
if (((ctrl[0x07] & 0x0002) && ctrl[0x09]) && (glfgreat_hack)) /* wrong, but fixes glfgreat */
{
my_clip.min_x = ctrl[0x08] + K053936_offset[chip][0]+2;
@@ -4957,14 +4957,14 @@ static void K053936_zoom_draw(int chip,UINT16 *ctrl,UINT16 *linectrl, bitmap_t *
y = cliprect->min_y;
maxy = cliprect->max_y;
}
-
+
while (y <= maxy)
{
UINT16 *lineaddr = linectrl + 4*((y - K053936_offset[chip][1]) & 0x1ff);
my_clip.min_y = my_clip.max_y = y;
-
-
+
+
startx = 256 * (INT16)(lineaddr[0] + ctrl[0x00]);
starty = 256 * (INT16)(lineaddr[1] + ctrl[0x01]);
incxx = (INT16)(lineaddr[2]);
diff --git a/src/version.c b/src/version.c
index 5b527790b27..9ac07ec1f40 100644
--- a/src/version.c
+++ b/src/version.c
@@ -10,4 +10,4 @@
***************************************************************************/
extern const char build_version[];
-const char build_version[] = "0.132u3 ("__DATE__")";
+const char build_version[] = "0.132u4 ("__DATE__")";