summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/itgamble.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2009-02-25 06:28:42 +0000
committer Aaron Giles <aaron@aarongiles.com>2009-02-25 06:28:42 +0000
commit23889862951a091e00f409157bdf6e5e8e239193 (patch)
tree11a6c4f998495ddeb87d19ba61330e49d065e6ab /src/mame/drivers/itgamble.c
parent79c1e7b9461b597d52bd62c59fa3834d92666423 (diff)
Device tag renaming. Moving away from generic names like "main"
to names that capture the device type as well. Added validity checks for the short-term to prevent the continuance of this pattern (which I started :) Changes: CPU/"main" -> "maincpu" CPU/"audio" -> "audiocpu" CPU/"sound" -> "soundcpu" SCREEN/main -> "screen" (since it's the only one) Eventually, devices will be required to have unique tags within a machine, regardless of type.
Diffstat (limited to 'src/mame/drivers/itgamble.c')
-rw-r--r--src/mame/drivers/itgamble.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/mame/drivers/itgamble.c b/src/mame/drivers/itgamble.c
index 372f28b6025..d21b1e71cba 100644
--- a/src/mame/drivers/itgamble.c
+++ b/src/mame/drivers/itgamble.c
@@ -182,11 +182,11 @@ static MACHINE_RESET( itgamble )
static MACHINE_DRIVER_START( itgamble )
/* basic machine hardware */
- MDRV_CPU_ADD("main", H83044, MAIN_CLOCK/2) /* probably the wrong CPU */
+ MDRV_CPU_ADD("maincpu", H83044, MAIN_CLOCK/2) /* probably the wrong CPU */
MDRV_CPU_PROGRAM_MAP(itgamble_map,0)
/* video hardware */
- MDRV_SCREEN_ADD("main", RASTER)
+ MDRV_SCREEN_ADD("screen", RASTER)
MDRV_SCREEN_REFRESH_RATE(60)
MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
@@ -210,7 +210,7 @@ MACHINE_DRIVER_END
static MACHINE_DRIVER_START( mnumber )
MDRV_IMPORT_FROM(itgamble)
- MDRV_CPU_REPLACE("main", H83044, MNUMBER_MAIN_CLOCK/2) /* probably the wrong CPU */
+ MDRV_CPU_REPLACE("maincpu", H83044, MNUMBER_MAIN_CLOCK/2) /* probably the wrong CPU */
MDRV_SOUND_REPLACE("oki", OKIM6295, MNUMBER_SND_CLOCK/16)
MDRV_SOUND_CONFIG(okim6295_interface_pin7high) /* clock frequency & pin 7 not verified */
@@ -222,7 +222,7 @@ static MACHINE_DRIVER_START( ejollyx5 )
MDRV_IMPORT_FROM(itgamble)
/* wrong CPU. we need a Renesas M16/62A 16bit microcomputer core */
- MDRV_CPU_REPLACE("main", H83044, EJOLLYX5_MAIN_CLOCK/2) /* up to 10MHz.*/
+ MDRV_CPU_REPLACE("maincpu", H83044, EJOLLYX5_MAIN_CLOCK/2) /* up to 10MHz.*/
MDRV_SOUND_REPLACE("oki", OKIM6295, MNUMBER_SND_CLOCK/16)
MDRV_SOUND_CONFIG(okim6295_interface_pin7high) /* clock frequency & pin 7 not verified */
@@ -265,7 +265,7 @@ PCB is labeled Ver 1.3, while EPROMs are labeled Ver 1.2
*/
ROM_START( capunc )
- ROM_REGION( 0x1000000, "main", 0 ) /* all the program code is in here */
+ ROM_REGION( 0x1000000, "maincpu", 0 ) /* all the program code is in here */
ROM_LOAD( "capunc.ver1.2.mcu", 0x00000, 0x4000, NO_DUMP )
ROM_REGION( 0x100000, "gfx1", 0 )
@@ -313,7 +313,7 @@ in the samples ROM header. Replaced the sound ROM with the clean one.
*/
ROM_START( capcor )
- ROM_REGION( 0x1000000, "main", 0 ) /* all the program code is in here */
+ ROM_REGION( 0x1000000, "maincpu", 0 ) /* all the program code is in here */
ROM_LOAD( "capcor.ver1.3.mcu", 0x00000, 0x4000, NO_DUMP )
ROM_REGION( 0x100000, "gfx1", 0 )
@@ -352,7 +352,7 @@ Note:
*/
ROM_START( laperla )
- ROM_REGION( 0x1000000, "main", 0 ) /* all the program code is in here */
+ ROM_REGION( 0x1000000, "maincpu", 0 ) /* all the program code is in here */
ROM_LOAD( "laperla_ver2.0_hd64f3048f16.mcu", 0x00000, 0x4000, NO_DUMP )
ROM_REGION( 0x100000, "gfx1", 0 )
@@ -400,7 +400,7 @@ laperla vs. laperlag
*/
ROM_START( laperlag )
- ROM_REGION( 0x1000000, "main", 0 ) /* all the program code is in here */
+ ROM_REGION( 0x1000000, "maincpu", 0 ) /* all the program code is in here */
ROM_LOAD( "laperlag_ver2.0_hd64f3048f16.mcu", 0x00000, 0x4000, NO_DUMP )
ROM_REGION( 0x100000, "gfx1", 0 )
@@ -439,7 +439,7 @@ Note:
*/
ROM_START( euro2k2 )
- ROM_REGION( 0x1000000, "main", 0 ) /* all the program code is in here */
+ ROM_REGION( 0x1000000, "maincpu", 0 ) /* all the program code is in here */
ROM_LOAD( "euro2k2_ver2.0_hd64f3048f16.mcu", 0x00000, 0x4000, NO_DUMP )
ROM_REGION( 0x180000, "gfx1", 0 )
@@ -494,7 +494,7 @@ euro2k2 vs. euro2k2a
*/
ROM_START( euro2k2a )
- ROM_REGION( 0x1000000, "main", 0 ) /* all the program code is in here */
+ ROM_REGION( 0x1000000, "maincpu", 0 ) /* all the program code is in here */
ROM_LOAD( "euro2k2a_ver2.0_hd64f3048f16.mcu", 0x00000, 0x4000, NO_DUMP )
ROM_REGION( 0x1c0000, "gfx1", 0 )
@@ -540,7 +540,7 @@ Note:
*/
ROM_START( euro2k2s )
- ROM_REGION( 0x1000000, "main", 0 ) /* all the program code is in here */
+ ROM_REGION( 0x1000000, "maincpu", 0 ) /* all the program code is in here */
ROM_LOAD( "euro2k2s_ver3.0_hd64f3048f16.mcu", 0x00000, 0x4000, NO_DUMP )
ROM_REGION( 0x180000, "gfx1", 0 )
@@ -583,7 +583,7 @@ Note:
*/
ROM_START( mnumber ) /* clocks should be changed for this game */
- ROM_REGION( 0x1000000, "main", 0 ) /* all the program code is in here */
+ ROM_REGION( 0x1000000, "maincpu", 0 ) /* all the program code is in here */
ROM_LOAD( "mnumber_hd64f3048f16.mcu", 0x00000, 0x4000, NO_DUMP )
ROM_REGION( 0x200000, "gfx1", 0 ) /* different encoded gfx */