summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/tp84.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/tp84.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/tp84.c')
-rw-r--r--src/mame/drivers/tp84.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/tp84.c b/src/mame/drivers/tp84.c
index 6872b537b83..cd312c07552 100644
--- a/src/mame/drivers/tp84.c
+++ b/src/mame/drivers/tp84.c
@@ -422,19 +422,19 @@ static MACHINE_DRIVER_START( tp84 )
/* basic machine hardware */
MDRV_CPU_ADD("cpu1",M6809, XTAL_18_432MHz/12) /* verified on pcb */
MDRV_CPU_PROGRAM_MAP(tp84_cpu1_map,0)
- MDRV_CPU_VBLANK_INT("main", irq0_line_hold)
+ MDRV_CPU_VBLANK_INT("screen", irq0_line_hold)
MDRV_CPU_ADD("sub", M6809, XTAL_18_432MHz/12) /* verified on pcb */
MDRV_CPU_PROGRAM_MAP(cpu2_map,0)
- MDRV_CPU_VBLANK_INT("main", irq0_line_hold)
+ MDRV_CPU_VBLANK_INT("screen", irq0_line_hold)
- MDRV_CPU_ADD("audio", Z80,XTAL_14_31818MHz/4) /* verified on pcb */
+ MDRV_CPU_ADD("audiocpu", Z80,XTAL_14_31818MHz/4) /* verified on pcb */
MDRV_CPU_PROGRAM_MAP(audio_map,0)
MDRV_QUANTUM_TIME(HZ(6000)) /* 100 CPU slices per frame - an high value to ensure proper */
/* synchronization of the CPUs */
/* 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)
@@ -490,7 +490,7 @@ ROM_START( tp84 )
ROM_REGION( 0x10000, "sub", 0 ) /* 64k for the second CPU */
ROM_LOAD( "tp84_10d.bin", 0xe000, 0x2000, CRC(36462ff1) SHA1(118a1b46ee01a583e6cf39af59b073321c76dbff) )
- ROM_REGION( 0x10000, "audio", 0 ) /* 64k for code of sound cpu Z80 */
+ ROM_REGION( 0x10000, "audiocpu", 0 ) /* 64k for code of sound cpu Z80 */
ROM_LOAD( "tp84s_6a.bin", 0x0000, 0x2000, CRC(c44414da) SHA1(981289f5bdf7dc1348f4ca547ac933ef503b6588) )
ROM_REGION( 0x4000, "gfx1", ROMREGION_DISPOSE )
@@ -521,7 +521,7 @@ ROM_START( tp84a )
ROM_REGION( 0x10000, "sub", 0 ) /* 64k for the second CPU */
ROM_LOAD( "tp84_10d.bin", 0xe000, 0x2000, CRC(36462ff1) SHA1(118a1b46ee01a583e6cf39af59b073321c76dbff) )
- ROM_REGION( 0x10000, "audio", 0 ) /* 64k for code of sound cpu Z80 */
+ ROM_REGION( 0x10000, "audiocpu", 0 ) /* 64k for code of sound cpu Z80 */
ROM_LOAD( "tp84s_6a.bin", 0x0000, 0x2000, CRC(c44414da) SHA1(981289f5bdf7dc1348f4ca547ac933ef503b6588) )
ROM_REGION( 0x4000, "gfx1", ROMREGION_DISPOSE )
@@ -551,7 +551,7 @@ ROM_START( tp84b )
ROM_REGION( 0x10000, "sub", 0 ) /* 64k for the second CPU */
ROM_LOAD( "388j08.10d", 0xe000, 0x2000, CRC(2aea6b42) SHA1(58c3b4852f22a766f440b98904b73c00a31eae01) )
- ROM_REGION( 0x10000, "audio", 0 ) /* 64k for code of sound cpu Z80 */
+ ROM_REGION( 0x10000, "audiocpu", 0 ) /* 64k for code of sound cpu Z80 */
ROM_LOAD( "388j13.6a", 0x0000, 0x2000, CRC(c44414da) SHA1(981289f5bdf7dc1348f4ca547ac933ef503b6588) )
ROM_REGION( 0x4000, "gfx1", ROMREGION_DISPOSE )