summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/norautp.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/norautp.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/norautp.c')
-rw-r--r--src/mame/drivers/norautp.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/norautp.c b/src/mame/drivers/norautp.c
index 2034040da80..0251badd55a 100644
--- a/src/mame/drivers/norautp.c
+++ b/src/mame/drivers/norautp.c
@@ -519,10 +519,10 @@ static const ppi8255_interface ppi8255_intf[3] =
static MACHINE_DRIVER_START( norautp )
/* basic machine hardware */
- MDRV_CPU_ADD("main", Z80, MASTER_CLOCK/6) /* guess */
+ MDRV_CPU_ADD("maincpu", Z80, MASTER_CLOCK/6) /* guess */
MDRV_CPU_PROGRAM_MAP(norautp_map, 0)
MDRV_CPU_IO_MAP(norautp_portmap, 0)
- MDRV_CPU_VBLANK_INT("main", irq0_line_hold)
+ MDRV_CPU_VBLANK_INT("screen", irq0_line_hold)
MDRV_NVRAM_HANDLER(generic_0fill)
@@ -532,7 +532,7 @@ static MACHINE_DRIVER_START( norautp )
MDRV_PPI8255_ADD( "ppi8255_2", ppi8255_intf[2] )
/* 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)
@@ -555,7 +555,7 @@ MACHINE_DRIVER_END
static MACHINE_DRIVER_START( gtipoker )
MDRV_IMPORT_FROM(norautp)
- MDRV_CPU_MODIFY("main")
+ MDRV_CPU_MODIFY("maincpu")
MDRV_CPU_PROGRAM_MAP(gtipoker_map, 0)
MDRV_CPU_IO_MAP(gtipoker_portmap, 0)
@@ -567,7 +567,7 @@ MACHINE_DRIVER_END
*************************/
ROM_START( norautp )
- ROM_REGION( 0x10000, "main", 0 )
+ ROM_REGION( 0x10000, "maincpu", 0 )
ROM_LOAD( "jpoker.bin", 0x0000, 0x2000, CRC(e22ed34d) SHA1(108f034335b5bed183ee316a61880f7b9485b34f) )
ROM_REGION( 0x10000, "gfx", ROMREGION_DISPOSE )
@@ -578,7 +578,7 @@ ROM_END
/* Nothing else is known about this set / game */
ROM_START( gtipoker )
- ROM_REGION( 0x10000, "main", 0 )
+ ROM_REGION( 0x10000, "maincpu", 0 )
ROM_LOAD( "u12.rom", 0x0000, 0x1000, CRC(abaa257a) SHA1(f830213ae0aaad5a9a44ec77c5a186e9e02fa041) )
ROM_LOAD( "u18.rom", 0x1000, 0x1000, CRC(1b7e2877) SHA1(717fb70889804baa468203f20b1e7f73b55cc21e) )
@@ -600,7 +600,7 @@ sound probably discrete with ne555 timer chip (located near amp/volume control)
*/
ROM_START( norautpn )
- ROM_REGION( 0x10000, "main", 0 )
+ ROM_REGION( 0x10000, "maincpu", 0 )
ROM_LOAD( "prog.bin", 0x0000, 0x2000, CRC(8b1cfd24) SHA1(d673baed1c1e5b54a34b7a5857b269a725737e92) )
ROM_REGION( 0x1000, "gfx", ROMREGION_DISPOSE )