Previous 15994 Revisions Next

r4348 Wednesday 25th February, 2009 at 13:09:50 UTC by Curt Coder
Replaced all generic CPU tags.
[docs]messnew.txt
[src/emu]validity.c
[src/mame/drivers]cps1.c megadriv.c
[src/mess/devices]z80bin.c
[src/mess/drivers]3do.c a2600.c a310.c a7800.c ac1.c acrnsys1.c adam.c aim65.c amiga.c amstrad.c apexc.c apf.c apogee.c apple1.c apple2.c apple2gs.c apple3.c aquarius.c arcadia.c astrocde.c at.c atari.c atom.c avigo.c b2m.c bbc.c bbcbc.c bk.c c128.c c16.c c64.c c65.c cbmb.c cgenie.c channelf.c coco.c coleco.c compis.c comquest.c comxpl80.c concept.c cpschngr.c cybiko.c dai.c dc.c dgn_beta.c einstein.c electron.c enterp.c ex800.c exelv.c exidy.c galaxy.c galeb.c gamecom.c gamepock.c gb.c genesis.c geneve.c glasgow.c gmaster.c homelab.c hp48.c intv.c ip20.c ip22.c irisha.c jaguar.c jupiter.c kaypro.c kc.c kim1.c kramermc.c lisa.c lviv.c lynx.c mac.c mbee.c mc10.c mekd2.c mephisto.c microtan.c mikro80.c mikrosha.c mk1.c mk2.c mpf1.c msx.c mtx.c mz700.c mz80.c n64.c nascom1.c nc.c nes.c odyssey2.c ondra.c orao.c oric.c orion.c osborne1.c p2000t.c palm.c partner.c pasogo.c pc.c pc8801.c pce.c pcfx.c pcw.c pcw16.c pdp1.c pecom.c pentagon.c pet.c pk8020.c pmd85.c pocketc.c pokemini.c pp01.c primo.c psx.c px4.c radio86.c rt1715.c samcoupe.c sapi1.c saturn.c scorpion.c sms.c snes.c sord.c spec128.c special.c specpls3.c spectrum.c ssystem3.c super80.c svi318.c svision.c sym1.c thomson.c ti85.c ti990_10.c ti990_4.c ti99_2.c ti99_4p.c ti99_4x.c ti99_8.c timex.c tm990189.c trs80.c tutor.c tx0.c ut88.c vc20.c vc4000.c vector06.c vectrex.c votrpss.c vtech1.c vtech2.c wswan.c x68k.c z88.c zx.c
[src/mess/includes]geneve.h
[src/mess/machine]a7800.c abc99.c adam.c amstrad.c apple2.c apple2gs.c apple3.c at.c atom.c b2m.c bbc.c c128.c c16.c c64.c cbmb.c cgenie.c coco.c dai.c dgn_beta.c galaxy.c gb.c genesis.c geneve.c hp48.c intv.c kc.c lisa.c lviv.c lynx.c mbee.c mekd2.c microtan.c mikro80.c msx.c mz700.c nascom1.c nes.c ondra.c oric.c orion.c osborne1.c partner.c pc.c pc1251.c pc1350.c pc1401.c pc1403.c pc8801.c pecom.c pet.c pk8020.c pmd85.c pokemini.c pp01.c primo.c radio86.c rt1715.c samcoupe.c sms.c snescart.c special.c svi318.c sym1.c thomson.c ti85.c ti99_4x.c ti99_4x.h ut88.c vc20.c vector06.c vectrex.c vtech1.c vtech2.c zx.c
[src/mess/video]a7800.c bbc.c coco3.c exidy.c hp48.c intv.c mbee.c pc_t1t.c pc_vga.h pecom.c ted7360.c z88.c zx.c

src/mame/drivers/megadriv.c
r4347r4348
643643{
644644   if (( source >= 0x000000 ) && ( source <= 0x3fffff ))
645645   {
646      UINT16 *rom = (UINT16*)memory_region(machine, "main");
646      UINT16 *rom = (UINT16*)memory_region(machine, "maincpu");
647647      return rom[(source&0x3fffff)>>1];
648648   }
649649   else if (( source >= 0xe00000 ) && ( source <= 0xffffff ))
r4347r4348
23912391      UINT32 fulladdress;
23922392      fulladdress = genz80.z80_bank_addr + offset;
23932393
2394      return memory_region(space->machine, "main")[fulladdress^1]; // ^1? better..
2394      return memory_region(space->machine, "maincpu")[fulladdress^1]; // ^1? better..
23952395
23962396
23972397   }
r4347r4348
36433643         int addr = svp.pmac_read[reg]&0xffff;
36443644         if      ((mode & 0xfff0) == 0x0800) // ROM, inc 1, verified to be correct
36453645         {
3646            UINT16 *ROM = (UINT16 *) memory_region(space->machine, "main");
3646            UINT16 *ROM = (UINT16 *) memory_region(space->machine, "maincpu");
36473647            svp.pmac_read[reg] += 1;
36483648            d = ROM[addr|((mode&0xf)<<16)];
36493649         }
r4347r4348
38453845{
38463846   if ((source & 0xe00000) == 0x000000)
38473847   {
3848      UINT16 *rom = (UINT16*)memory_region(machine, "main");
3848      UINT16 *rom = (UINT16*)memory_region(machine, "maincpu");
38493849      source -= 2; // DMA latency
38503850      return rom[source >> 1];
38513851   }
r4347r4348
39053905   svp.iram = auto_malloc(0x800);
39063906   memory_set_bankptr(machine,  3, svp.iram );
39073907   /* SVP ROM just shares m68k region.. */
3908   ROM = memory_region(machine, "main");
3908   ROM = memory_region(machine, "maincpu");
39093909   memory_set_bankptr(machine,  4, ROM + 0x800 );
39103910
39113911   vdp_get_word_from_68k_mem = vdp_get_word_from_68k_mem_svp;
r4347r4348
62236223
62246224
62256225MACHINE_DRIVER_START( megadriv )
6226   MDRV_CPU_ADD("main", M68000, MASTER_CLOCK_NTSC / 7) /* 7.67 MHz */
6226   MDRV_CPU_ADD("maincpu", M68000, MASTER_CLOCK_NTSC / 7) /* 7.67 MHz */
62276227   MDRV_CPU_PROGRAM_MAP(megadriv_readmem,megadriv_writemem)
62286228   /* IRQs are handled via the timers */
62296229
r4347r4348
62676267/************ PAL hardware has a different master clock *************/
62686268
62696269MACHINE_DRIVER_START( megadpal )
6270   MDRV_CPU_ADD("main", M68000, MASTER_CLOCK_PAL / 7) /* 7.67 MHz */
6270   MDRV_CPU_ADD("maincpu", M68000, MASTER_CLOCK_PAL / 7) /* 7.67 MHz */
62716271   MDRV_CPU_PROGRAM_MAP(megadriv_readmem,megadriv_writemem)
62726272   /* IRQs are handled via the timers */
62736273
r4347r4348
64666466          some games specify a single address, (start 200001, end 200001)
64676467          this usually means there is serial eeprom instead */
64686468      int i;
6469      UINT16 *rom = (UINT16*)memory_region(machine, "main");
6469      UINT16 *rom = (UINT16*)memory_region(machine, "maincpu");
64706470
64716471      mame_printf_debug("DEBUG:: Header: Backup RAM string (ignore for games without)\n");
64726472      for (i=0;i<12;i++)
r4347r4348
67296729//  ROM_COPY( "gamecart", 0x0, 0x0, 0x400000)
67306730   ROM_LOAD( "32x_g_bios.bin", 0x000000,  0x000100, CRC(5c12eae8) SHA1(dbebd76a448447cb6e524ac3cb0fd19fc065d944) )
67316731
6732   ROM_REGION16_BE( 0x400000, "main", ROMREGION_ERASE00 )
6732   ROM_REGION16_BE( 0x400000, "maincpu", ROMREGION_ERASE00 )
67336733   // temp, rom should only be visible here when one of the regs is set, tempo needs it
67346734   ROM_COPY( "gamecart", 0x0, 0x0, 0x400000)
67356735   ROM_COPY( "32x_68k_bios", 0x0, 0x0, 0x100)
r4347r4348
67426742ROM_END
67436743
67446744ROM_START( segacd )
6745   ROM_REGION16_BE( 0x400000, "main", ROMREGION_ERASE00 )
6745   ROM_REGION16_BE( 0x400000, "maincpu", ROMREGION_ERASE00 )
67466746   ROM_LOAD( "segacd_model2_bios_2_11_u.bin", 0x000000,  0x020000, CRC(2e49d72c) SHA1(328a3228c29fba244b9db2055adc1ec4f7a87e6b) )
67476747ROM_END
67486748
67496749/* some games use the 32x and SegaCD together to give better quality FMV */
67506750ROM_START( 32x_scd )
6751   ROM_REGION16_BE( 0x400000, "main", ROMREGION_ERASE00 )
6751   ROM_REGION16_BE( 0x400000, "maincpu", ROMREGION_ERASE00 )
67526752
67536753   ROM_REGION16_BE( 0x400000, "gamecart", 0 ) /* 68000 Code */
67546754   ROM_LOAD( "segacd_model2_bios_2_11_u.bin", 0x000000,  0x020000, CRC(2e49d72c) SHA1(328a3228c29fba244b9db2055adc1ec4f7a87e6b) )
r4347r4348
67646764ROM_END
67656765
67666766ROM_START( g_virr )
6767   ROM_REGION( 0x400000, "main", 0 ) /* 68000 Code */
6767   ROM_REGION( 0x400000, "maincpu", 0 ) /* 68000 Code */
67686768   ROM_LOAD( "g_virr.bin", 0x000000, 0x200000, CRC(7e1a324a) SHA1(ff969ae53120cc4e7cb1a8a7e47458f2eb8a2165) )
67696769ROM_END
67706770ROM_START( g_virrj )
6771   ROM_REGION( 0x400000, "main", 0 ) /* 68000 Code */
6771   ROM_REGION( 0x400000, "maincpu", 0 ) /* 68000 Code */
67726772   ROM_LOAD( "g_virrj.bin", 0x000000, 0x200000, CRC(53a293b5) SHA1(0ad38a3ab1cc99edac72184f8ae420e13df5cac6) )
67736773ROM_END
67746774ROM_START( g_virre )
6775   ROM_REGION( 0x400000, "main", 0 ) /* 68000 Code */
6775   ROM_REGION( 0x400000, "maincpu", 0 ) /* 68000 Code */
67766776   ROM_LOAD( "g_virre.bin", 0x000000, 0x200000, CRC(9624d4ef) SHA1(2c3812f8a010571e51269a33a989598787d27c2d) )
67776777ROM_END
67786778ROM_START( g_virrea )
6779   ROM_REGION( 0x400000, "main", 0 ) /* 68000 Code */
6779   ROM_REGION( 0x400000, "maincpu", 0 ) /* 68000 Code */
67806780   ROM_LOAD( "g_virrea.bin", 0x000000, 0x200000, CRC(5a943df9) SHA1(2c08ea556c79d48e88ff5202944c161ae1b41c63) )
67816781ROM_END
67826782
src/mame/drivers/cps1.c
r4347r4348
281281
282282static WRITE8_HANDLER( cps1_snd_bankswitch_w )
283283{
284   UINT8 *RAM = memory_region(space->machine, "audio");
284   UINT8 *RAM = memory_region(space->machine, "audiocpu");
285285   int bankaddr;
286286
287287   bankaddr = ((data & 1) * 0x4000);
r4347r4348
391391    Z80 bank register for music note data. It's odd that it isn't encrypted
392392    though.
393393    */
394   UINT8 *RAM = memory_region(space->machine, "audio");
394   UINT8 *RAM = memory_region(space->machine, "audiocpu");
395395   int bankaddress=0x10000+((data&0x0f)*0x4000);
396   if (bankaddress >= memory_region_length(space->machine, "audio"))
396   if (bankaddress >= memory_region_length(space->machine, "audiocpu"))
397397   {
398398      logerror("WARNING: Q sound bank overflow (%02x)\n", data);
399399      bankaddress=0x10000;
r4347r4348
27582758static MACHINE_DRIVER_START( cps1_10MHz )
27592759
27602760   /* basic machine hardware */
2761   MDRV_CPU_ADD("main", M68000, 10000000)
2761   MDRV_CPU_ADD("maincpu", M68000, 10000000)
27622762   MDRV_CPU_PROGRAM_MAP(main_map,0)
2763   MDRV_CPU_VBLANK_INT("main", cps1_interrupt)
2763   MDRV_CPU_VBLANK_INT("screen", cps1_interrupt)
27642764
2765   MDRV_CPU_ADD("audio", Z80, 3579545)
2765   MDRV_CPU_ADD("audiocpu", Z80, 3579545)
27662766   MDRV_CPU_PROGRAM_MAP(sub_map,0)
27672767
27682768   /* video hardware */
2769   MDRV_SCREEN_ADD("main", RASTER)
2769   MDRV_SCREEN_ADD("screen", RASTER)
27702770   MDRV_SCREEN_REFRESH_RATE(59.61) /* verified on one of the input gates of the 74ls08@4J on GNG romboard 88620-b-2 */
27712771   MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
27722772   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
r4347r4348
27982798   /* basic machine hardware */
27992799   MDRV_IMPORT_FROM(cps1_10MHz)
28002800
2801   MDRV_CPU_REPLACE("main", M68000, 12000000)
2801   MDRV_CPU_REPLACE("maincpu", M68000, 12000000)
28022802MACHINE_DRIVER_END
28032803
28042804static MACHINE_DRIVER_START( qsound )
r4347r4348
28062806   /* basic machine hardware */
28072807   MDRV_IMPORT_FROM(cps1_12MHz)
28082808
2809   MDRV_CPU_REPLACE("main", M68000, 12000000)   // 12MHz verified
2809   MDRV_CPU_REPLACE("maincpu", M68000, 12000000)   // 12MHz verified
28102810   MDRV_CPU_PROGRAM_MAP(qsound_main_map,0)
2811   MDRV_CPU_VBLANK_INT("main", cps1_qsound_interrupt)  /* ??? interrupts per frame */
2811   MDRV_CPU_VBLANK_INT("screen", cps1_qsound_interrupt)  /* ??? interrupts per frame */
28122812
2813   MDRV_CPU_REPLACE("audio", Z80, 8000000)
2813   MDRV_CPU_REPLACE("audiocpu", Z80, 8000000)
28142814   MDRV_CPU_PROGRAM_MAP(qsound_sub_map,0)
28152815   MDRV_CPU_PERIODIC_INT(irq0_line_hold, 250)   /* ?? */
28162816
r4347r4348
28422842static MACHINE_DRIVER_START( cpspicb )
28432843
28442844   /* basic machine hardware */
2845   MDRV_CPU_ADD("main", M68000, 12000000)
2845   MDRV_CPU_ADD("maincpu", M68000, 12000000)
28462846   MDRV_CPU_PROGRAM_MAP(main_map,0)
2847   MDRV_CPU_VBLANK_INT("main", cps1_qsound_interrupt)
2847   MDRV_CPU_VBLANK_INT("screen", cps1_qsound_interrupt)
28482848
2849   MDRV_CPU_ADD("audio", PIC16C57, 12000000)
2849   MDRV_CPU_ADD("audiocpu", PIC16C57, 12000000)
28502850   MDRV_CPU_FLAGS(CPU_DISABLE) /* no valid dumps .. */
28512851
28522852   /* video hardware */
2853   MDRV_SCREEN_ADD("main", RASTER)
2853   MDRV_SCREEN_ADD("screen", RASTER)
28542854   MDRV_SCREEN_REFRESH_RATE(60)
28552855   MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
28562856   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
r4347r4348
29172917static MACHINE_DRIVER_START( sf2mdt )
29182918
29192919   /* basic machine hardware */
2920   MDRV_CPU_ADD("main", M68000, 12000000)
2920   MDRV_CPU_ADD("maincpu", M68000, 12000000)
29212921   MDRV_CPU_PROGRAM_MAP(main_map,0)
2922   MDRV_CPU_VBLANK_INT("main", cps1_interrupt)
2922   MDRV_CPU_VBLANK_INT("screen", cps1_interrupt)
29232923
2924   MDRV_CPU_ADD("audio", Z80, 3579545)
2924   MDRV_CPU_ADD("audiocpu", Z80, 3579545)
29252925   MDRV_CPU_PROGRAM_MAP(sf2mdt_z80map,0)
29262926
29272927   /* video hardware */
2928   MDRV_SCREEN_ADD("main", RASTER)
2928   MDRV_SCREEN_ADD("screen", RASTER)
29292929   MDRV_SCREEN_REFRESH_RATE(60)
29302930   MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
29312931   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
r4347r4348
29702970
29712971/* B-Board 88618B */
29722972ROM_START( forgottn )
2973   ROM_REGION( CODE_SIZE, "main", 0 )
2973   ROM_REGION( CODE_SIZE, "maincpu", 0 )
29742974   ROM_LOAD16_BYTE( "lwu_11a.14f",    0x00000, 0x20000, CRC(ddf78831) SHA1(b9c815613efdfde933d4500b588798b7fb4c1854) )
29752975   ROM_LOAD16_BYTE( "lwu_15a.14g",    0x00001, 0x20000, CRC(f7ce2097) SHA1(44c06fabdb6de7d8afc2164458c90b0be9cf945d) )
29762976   ROM_LOAD16_BYTE( "lwu_10a.13f",    0x40000, 0x20000, CRC(8cb38c81) SHA1(1d36cab7d17ff778ee7dfcd9606a3a87f6906f21) )
r4347r4348
29902990   ROM_REGION( 0x8000, "stars", 0 )
29912991   ROM_COPY( "gfx", 0x200000, 0x000000, 0x8000 )
29922992
2993   ROM_REGION( 0x18000, "audio", 0 )
2993   ROM_REGION( 0x18000, "audiocpu", 0 )
29942994   ROM_LOAD( "lwu_00.14a", 0x00000, 0x08000, CRC(59df2a63) SHA1(dfe1fffc7a17179a80a2ae623e93b30a7d6df20d) )   // == lw_00b.14a
29952995   ROM_CONTINUE(           0x10000, 0x08000 )
29962996
r4347r4348
30263026 NEC D4701AC
30273027*/
30283028ROM_START( forgott1 )
3029   ROM_REGION( CODE_SIZE, "main", 0 )
3029   ROM_REGION( CODE_SIZE, "maincpu", 0 )
30303030   ROM_LOAD16_BYTE( "lw_11.12f",      0x00000, 0x20000, CRC(73e920b7) SHA1(2df12fc1a66f488d06b0927db909da81466d7d07) )
30313031   ROM_LOAD16_BYTE( "lw_15.12h",      0x00001, 0x20000, NO_DUMP )
30323032   ROM_LOAD16_BYTE( "lw_10.13f",      0x40000, 0x20000, NO_DUMP )
r4347r4348
30583058   ROM_REGION( 0x8000, "stars", 0 )
30593059   ROM_COPY( "gfx", 0x200000, 0x000000, 0x8000 )
30603060
3061   ROM_REGION( 0x18000, "audio", 0 )
3061   ROM_REGION( 0x18000, "audiocpu", 0 )
30623062   ROM_LOAD( "lw_00.13c",  0x00000, 0x08000, CRC(59df2a63) SHA1(dfe1fffc7a17179a80a2ae623e93b30a7d6df20d) )   // == lw_00b.14a
30633063   ROM_CONTINUE(           0x10000, 0x08000 )
30643064
r4347r4348
30803080
30813081/* B-Board 88618B */
30823082ROM_START( lostwrld )
3083   ROM_REGION( CODE_SIZE, "main", 0 )
3083   ROM_REGION( CODE_SIZE, "maincpu", 0 )
30843084   ROM_LOAD16_BYTE( "lw_11c.14f",     0x00000, 0x20000, CRC(67e42546) SHA1(3e385661f71616180a26b74e443978077246fe66) )
30853085   ROM_LOAD16_BYTE( "lw_15c.14g",     0x00001, 0x20000, CRC(402e2a46) SHA1(cbb7017e75a425706505717bf83c2615f53309f9) )
30863086   ROM_LOAD16_BYTE( "lw_10c.13f",     0x40000, 0x20000, CRC(c46479d7) SHA1(84fd9ef33ae7d0af2110e8dc299de25c0f039cee) )
r4347r4348
31003100   ROM_REGION( 0x8000, "stars", 0 )
31013101   ROM_COPY( "gfx", 0x200000, 0x000000, 0x8000 )
31023102
3103   ROM_REGION( 0x18000, "audio", 0 )
3103   ROM_REGION( 0x18000, "audiocpu", 0 )
31043104   ROM_LOAD( "lw_00b.14a", 0x00000, 0x08000, CRC(59df2a63) SHA1(dfe1fffc7a17179a80a2ae623e93b30a7d6df20d) )
31053105   ROM_CONTINUE(           0x10000, 0x08000 )
31063106
r4347r4348
31183118
31193119/* B-Board 88620B */
31203120ROM_START( ghouls )
3121   ROM_REGION( CODE_SIZE, "main", 0 )
3121   ROM_REGION( CODE_SIZE, "maincpu", 0 )
31223122   ROM_LOAD16_BYTE( "dme_29.10h", 0x00000, 0x20000, CRC(166a58a2) SHA1(f21fcf88d2ebb7bc9e8885fde760a5d82f295c1a) )
31233123   ROM_LOAD16_BYTE( "dme_30.10j", 0x00001, 0x20000, CRC(7ac8407a) SHA1(3613699213db47bfeabedf87f12eb0fa7e5973b6) )
31243124   ROM_LOAD16_BYTE( "dme_27.9h",  0x40000, 0x20000, CRC(f734b2be) SHA1(fa230bf5503487ec11d767485a18f0a55dcc13d2) )
r4347r4348
31473147   ROMX_LOAD( "dm_16.4h", 0x280006, 0x10000, CRC(f187ba1c) SHA1(6d9441d04ecef2a9d9c7a2cc7781acd7904c2061) , ROM_SKIP(7) )
31483148   ROMX_LOAD( "dm_25.7h", 0x280007, 0x10000, CRC(29f79c78) SHA1(26000a58454a06c3016f99ebc3a79c52911a7070) , ROM_SKIP(7) )
31493149
3150   ROM_REGION( 0x18000, "audio", 0 )
3150   ROM_REGION( 0x18000, "audiocpu", 0 )
31513151   ROM_LOAD( "dm_26.10a", 0x00000, 0x08000, CRC(3692f6e5) SHA1(61b8438d60a39b4cf5062dff0a53228e8a4e4b5f) )
31523152   ROM_CONTINUE(          0x10000, 0x08000 )
31533153
r4347r4348
31653165
31663166/* B-Board 88620B */
31673167ROM_START( ghoulsu )
3168   ROM_REGION( CODE_SIZE, "main", 0 )
3168   ROM_REGION( CODE_SIZE, "maincpu", 0 )
31693169   ROM_LOAD16_BYTE( "dmu_29.10h", 0x00000, 0x20000, CRC(334d85b2) SHA1(89bacc28b7c799c7568420e3de5a99060baa7b0f) )
31703170   ROM_LOAD16_BYTE( "dmu_30.10j", 0x00001, 0x20000, CRC(cee8ceb5) SHA1(fc8db1ce0c143dfda0b5989d02d5e5a872e27cd2) )
31713171   ROM_LOAD16_BYTE( "dmu_27.9h",  0x40000, 0x20000, CRC(4a524140) SHA1(cebd651293c3570912d5506c1c223c39bcccc802) )
r4347r4348
31943194   ROMX_LOAD( "dm_16.4h", 0x280006, 0x10000, CRC(f187ba1c) SHA1(6d9441d04ecef2a9d9c7a2cc7781acd7904c2061) , ROM_SKIP(7) )
31953195   ROMX_LOAD( "dm_25.7h", 0x280007, 0x10000, CRC(29f79c78) SHA1(26000a58454a06c3016f99ebc3a79c52911a7070) , ROM_SKIP(7) )
31963196
3197   ROM_REGION( 0x18000, "audio", 0 )
3197   ROM_REGION( 0x18000, "audiocpu", 0 )
31983198   ROM_LOAD( "dm_26.10a", 0x00000, 0x08000, CRC(3692f6e5) SHA1(61b8438d60a39b4cf5062dff0a53228e8a4e4b5f) )
31993199   ROM_CONTINUE(          0x10000, 0x08000 )
32003200
r4347r4348
32133213/* B-Board 88622B */
32143214/* Note that ROMs are labeled left to right, top to bottom, instead of top to bottom, left to right as usual. */
32153215ROM_START( daimakai )
3216   ROM_REGION( CODE_SIZE, "main", 0 )
3216   ROM_REGION( CODE_SIZE, "maincpu", 0 )
32173217   ROM_LOAD16_BYTE( "dmj_38.12f", 0x00000, 0x20000, CRC(82fd1798) SHA1(7a199384659d8e6602384b1953339f221d61a9e6) )
32183218   ROM_LOAD16_BYTE( "dmj_39.12h", 0x00001, 0x20000, CRC(35366ccc) SHA1(42c7004a641f34b9dd1333be51b50639a97e2be9) )
32193219   ROM_LOAD16_BYTE( "dmj_40.13f", 0x40000, 0x20000, CRC(a17c170a) SHA1(62a9cb65df90827334d453a98e826dc1bfc27136) )
r4347r4348
32573257   ROMX_LOAD( "dm_28.11e", 0x280006, 0x10000, CRC(f187ba1c) SHA1(6d9441d04ecef2a9d9c7a2cc7781acd7904c2061) , ROM_SKIP(7) )   // == dm_16.4h
32583258   ROMX_LOAD( "dm_27.11c", 0x280007, 0x10000, CRC(29f79c78) SHA1(26000a58454a06c3016f99ebc3a79c52911a7070) , ROM_SKIP(7) )   // == dm_25.7h
32593259
3260   ROM_REGION( 0x18000, "audio", 0 )
3260   ROM_REGION( 0x18000, "audiocpu", 0 )
32613261   ROM_LOAD( "dm_37.13c",  0x00000, 0x08000, CRC(3692f6e5) SHA1(61b8438d60a39b4cf5062dff0a53228e8a4e4b5f) )   // == dm_26.10a
32623262   ROM_CONTINUE(           0x10000, 0x08000 )
32633263
r4347r4348
32783278   the initial release of the game. However, if if it's a hack, it's exceptionally well made since all ROM
32793279   stickers look original and the B-board DAM63B PAL label is printed on the chip. */
32803280ROM_START( daimakr2 )
3281   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
3281   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
32823282   ROM_LOAD16_WORD_SWAP( "damj_23.8f",   0x00000, 0x80000, CRC(c3b248ec) SHA1(5c016d2dcf882b2a9564e3c4502a0f51ee3d1803) )
32833283   ROM_LOAD16_WORD_SWAP( "damj_22.7f",   0x80000, 0x80000, CRC(595ff2f3) SHA1(ac14b81e15f2c340526a03acbb4c28181d94d5b9) )   // == dm-17.7j
32843284
r4347r4348
32923292   ROMX_LOAD( "dam_07.9a",   0x200004, 0x80000, CRC(ec351d78) SHA1(1005a83be4b5577612143ae7f64ca4a08aae7959) , ROM_GROUPWORD | ROM_SKIP(6) )
32933293   ROMX_LOAD( "dam_08.10a",  0x200006, 0x80000, CRC(ee2acc1e) SHA1(4628a9b2447266349d97132003992a21e2bb423a) , ROM_GROUPWORD | ROM_SKIP(6) )
32943294
3295   ROM_REGION( 0x28000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
3295   ROM_REGION( 0x28000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
32963296   ROM_LOAD( "dam_09.12a",   0x00000, 0x08000, CRC(0656ff53) SHA1(063a8124dbe73d014b11f72007f1b877afd1a661) )   // == dm_26.10a + garbage
32973297   ROM_CONTINUE(             0x10000, 0x18000 )   // second half of ROM is unused, not mapped in memory
32983298
r4347r4348
33153315
33163316/* B-Board 89624B */
33173317ROM_START( strider )
3318   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
3318   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
33193319   ROM_LOAD16_BYTE( "strider.30",    0x00000, 0x20000, CRC(da997474) SHA1(3e4ac98f9a6967d61899281b31c7de779723397b) )
33203320   ROM_LOAD16_BYTE( "strider.35",    0x00001, 0x20000, CRC(5463aaa3) SHA1(e2d07ec2d818e9a2e2d7a77ff0309ae4011c0083) )
33213321   ROM_LOAD16_BYTE( "strider.31",    0x40000, 0x20000, CRC(d20786db) SHA1(c9c75488e6bb37cfd0d56073faf87ff5713bc9a0) )
r4347r4348
33353335   ROM_REGION( 0x8000, "stars", 0 )
33363336   ROM_COPY( "gfx", 0x000000, 0x000000, 0x8000 )
33373337
3338   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
3338   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
33393339   ROM_LOAD( "strider.09",    0x00000, 0x08000, CRC(2ed403bc) SHA1(4ce863ea40d789db5a7cfce91d2c7c720deb9be5) )
33403340   ROM_CONTINUE(              0x10000, 0x08000 )
33413341
r4347r4348
33573357
33583358/* B-Board 89624B */
33593359ROM_START( stridrua )
3360   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
3360   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
33613361   ROM_LOAD16_BYTE( "strid.30",      0x00000, 0x20000, CRC(66aec273) SHA1(576b1e9062874e68d68f8725949c151509eb6d56) )
33623362   ROM_LOAD16_BYTE( "strid.35",      0x00001, 0x20000, CRC(50e0e865) SHA1(201ef385c228c124ed9412002233a501ea514efd) )
33633363   ROM_LOAD16_BYTE( "strid.31",      0x40000, 0x20000, CRC(eae93bd1) SHA1(b320a00b67ea3c7fffc6c37d57863163975f7b80) )
r4347r4348
33773377   ROM_REGION( 0x8000, "stars", 0 )
33783378   ROM_COPY( "gfx", 0x000000, 0x000000, 0x8000 )
33793379
3380   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
3380   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
33813381   ROM_LOAD( "strid.09",      0x00000, 0x08000, CRC(08d63519) SHA1(c120ecfe25c3c50bc51bc7d5a9ef1c8ca6591240) )
33823382   ROM_CONTINUE(              0x10000, 0x08000 )
33833383
r4347r4348
34043404   All other ROMs copied from the US set
34053405*/
34063406ROM_START( striderj )
3407   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
3407   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
34083408   ROM_LOAD16_WORD_SWAP( "sthj23.bin", 0x00000, 0x80000, CRC(046e7b12) SHA1(a5761f730f6844a7e93556a6aeae76240a99540c) )
34093409   ROM_LOAD16_WORD_SWAP( "st-14.8h",   0x80000, 0x80000, CRC(9b3cfc08) SHA1(a7d7f270a097437affa845d80bed82a1fa874878) )
34103410
r4347r4348
34213421   ROM_REGION( 0x8000, "stars", 0 )
34223422   ROM_COPY( "gfx", 0x000000, 0x000000, 0x8000 )
34233423
3424   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
3424   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
34253425   ROM_LOAD( "strider.09",    0x00000, 0x08000, CRC(2ed403bc) SHA1(4ce863ea40d789db5a7cfce91d2c7c720deb9be5) )
34263426   ROM_CONTINUE(              0x10000, 0x08000 )
34273427
r4347r4348
34393439
34403440/* FIXME B-Board 88622B ? (unverified) */
34413441ROM_START( stridrja )
3442   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
3442   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
34433443   ROM_LOAD16_BYTE( "sth36.bin",   0x00000, 0x20000, CRC(53c7b006) SHA1(30daa256a32b209b907e5d916a82068017862a01) )
34443444   ROM_LOAD16_BYTE( "sth42.bin",   0x00001, 0x20000, CRC(4037f65f) SHA1(490b9fb15f80772316101ea15e61ab32f42feaec) )
34453445   ROM_LOAD16_BYTE( "sth37.bin",   0x40000, 0x20000, CRC(80e8877d) SHA1(806a62c03007efe6d58fb24dac467d4fc39bb96a) )
r4347r4348
34863486   ROM_REGION( 0x8000, "stars", 0 )
34873487   ROM_COPY( "gfx", 0x000000, 0x000000, 0x8000 )
34883488
3489   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
3489   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
34903490   ROM_LOAD( "sth23.bin",     0x00000, 0x08000, CRC(2ed403bc) SHA1(4ce863ea40d789db5a7cfce91d2c7c720deb9be5) )   // == strider.09
34913491   ROM_CONTINUE(              0x10000, 0x08000 )
34923492
r4347r4348
35043504
35053505/* B-Board 89624B */
35063506ROM_START( dynwar )
3507   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
3507   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
35083508   ROM_LOAD16_BYTE( "30.11f",        0x00000, 0x20000, CRC(f9ec6d68) SHA1(02912db2b48f77489b0b841c2a5414bfb49b93f4) )
35093509   ROM_LOAD16_BYTE( "35.11h",        0x00001, 0x20000, CRC(e41fff2f) SHA1(a960c39c69f97b46d5efcbcd3e2bc652888094c4) )
35103510   ROM_LOAD16_BYTE( "31.12f",        0x40000, 0x20000, CRC(e3de76ff) SHA1(fdc552312e10c91dd00bfa72e4e686ac356d2244) )
r4347r4348
35213521   ROMX_LOAD( "tkm-2.4a",  0x200004, 0x80000, CRC(ca5c687c) SHA1(de47cb5a071ffb3ff408f60d45b79345032232a7), ROM_GROUPWORD | ROM_SKIP(6) )   // in "2" socket
35223522   ROMX_LOAD( "tkm-3.6a",  0x200006, 0x80000, CRC(f9fe6591) SHA1(260da5f9e305cccd621b8b5b2073c79e161ddeb0), ROM_GROUPWORD | ROM_SKIP(6) )   // in "4" socket
35233523
3524   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
3524   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
35253525   ROM_LOAD( "tke_17.12b", 0x00000, 0x08000, CRC(b3b79d4f) SHA1(2b960545741d3b9a53ffbf3ed83030392aa02698) )   // in "09" socket
35263526   ROM_CONTINUE(           0x10000, 0x08000 )
35273527
r4347r4348
35393539
35403540/* B-Board 88622B */
35413541ROM_START( dynwaru )
3542   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
3542   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
35433543   ROM_LOAD16_BYTE( "36",           0x00000, 0x20000, CRC(895991d1) SHA1(56b105b85ccab1c49c89ae8d4aa55c9374077df0) )
35443544   ROM_LOAD16_BYTE( "42",           0x00001, 0x20000, CRC(c898d2e8) SHA1(c8b10685681bf155ea44e30f3cb0574df7d4f984) )
35453545   ROM_LOAD16_BYTE( "37",           0x40000, 0x20000, CRC(b228d58c) SHA1(99a1f42d930f788c4f9b410addc95173fda801a2) )
r4347r4348
35833583   ROMX_LOAD( "29.bin",       0x300006, 0x20000, CRC(6b41f82d) SHA1(111af606d8107d377e3af618584a75ed6cfc9bbd) , ROM_SKIP(7) )   // == tkm-3.6a
35843584   ROMX_LOAD( "22.bin",       0x300007, 0x20000, CRC(52145369) SHA1(bd422f0c51cdd62b69229f926569ad05d430bd57) , ROM_SKIP(7) )   // == tkm-3.6a
35853585
3586   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
3586   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
35873587   ROM_LOAD( "23.bin",        0x00000, 0x08000, CRC(b3b79d4f) SHA1(2b960545741d3b9a53ffbf3ed83030392aa02698) )   // == tke_17.12b
35883588   ROM_CONTINUE(              0x10000, 0x08000 )
35893589
r4347r4348
36033603/* the content of the smaller roms in this set is 99% identical, just japanese program roms
36043604   and an alt board layout to the parent dynwaru set */
36053605ROM_START( dynwarj )
3606   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
3606   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
36073607   ROM_LOAD16_BYTE( "36.bin",       0x00000, 0x20000, CRC(1a516657) SHA1(f5c7c3bfd482eb59221cfd3eec4d47e717b04efa) )
36083608   ROM_LOAD16_BYTE( "42.bin",       0x00001, 0x20000, CRC(12a290a0) SHA1(29fd3f77c497ef8db48121301beab2862ca380b4) )
36093609   ROM_LOAD16_BYTE( "37.bin",       0x40000, 0x20000, CRC(932fc943) SHA1(1bd1c696072e61db791c075fae8936dece73d1d8) )
r4347r4348
36473647   ROMX_LOAD( "29.bin",       0x300006, 0x20000, CRC(6b41f82d) SHA1(111af606d8107d377e3af618584a75ed6cfc9bbd) , ROM_SKIP(7) )
36483648   ROMX_LOAD( "22.bin",       0x300007, 0x20000, CRC(52145369) SHA1(bd422f0c51cdd62b69229f926569ad05d430bd57) , ROM_SKIP(7) )
36493649
3650   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
3650   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
36513651   ROM_LOAD( "23.bin",        0x00000, 0x08000, CRC(b3b79d4f) SHA1(2b960545741d3b9a53ffbf3ed83030392aa02698) )
36523652   ROM_CONTINUE(              0x10000, 0x08000 )
36533653
r4347r4348
36653665
36663666/* B-Board 89624B */
36673667ROM_START( willow )
3668   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
3668   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
36693669   ROM_LOAD16_BYTE( "wlu_30.rom",        0x00000, 0x20000, CRC(d604dbb1) SHA1(b5d78871011ff11a67f1a0cad147cd4de8d67f35) )
36703670   ROM_LOAD16_BYTE( "willow-u.35",       0x00001, 0x20000, CRC(7a791e77) SHA1(fe1429588b7eceab1d369abe03f2cad8de727f71) )
36713671   ROM_LOAD16_BYTE( "wlu_31.rom",        0x40000, 0x20000, CRC(0eb48a83) SHA1(28c40c4b5d767f88922cd899e948abf11a85a864) )
r4347r4348
36863686   ROMX_LOAD( "wl_22.rom",    0x200006, 0x20000, CRC(fd3f89f0) SHA1(51ff95cff56ac78682ea56401b35a0aa63cef8cb) , ROM_SKIP(7) )
36873687   ROMX_LOAD( "wl_12.rom",    0x200007, 0x20000, CRC(7da49d69) SHA1(b0ae7ac4f858ee8d72e6877c4275da7a631e2e4c) , ROM_SKIP(7) )
36883688
3689   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
3689   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
36903690   ROM_LOAD( "wl_09.rom",     0x00000, 0x08000, CRC(f6b3d060) SHA1(0ed2e2f64ba53ba2c371b66ab1e52e40b16d8baf) )
36913691   ROM_CONTINUE(              0x10000, 0x08000 )
36923692
r4347r4348
37103710/* FIXME - GFX ROMs are wrong, copied from the other version */
37113711/* ROMs missing are WL01 02 03 05 06 07 09 10 11 13 14 15 17 18 19 21 24 25 26 28 32 33 34 35 38 39 40 41 */
37123712ROM_START( willowj )
3713   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
3713   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
37143714   ROM_LOAD16_BYTE( "wl36.bin",          0x00000, 0x20000, CRC(2b0d7cbc) SHA1(58172b4fdf856efa8d77abbde76738de2424f712) )
37153715   ROM_LOAD16_BYTE( "wl42.bin",          0x00001, 0x20000, CRC(1ac39615) SHA1(c9fa6d20418b9bdc5a08df1fb86368b40709280a) )
37163716   ROM_LOAD16_BYTE( "wl37.bin",          0x40000, 0x20000, CRC(30a717fa) SHA1(cb815e9ee2691761925898e3932b502f8f399cb4) )
r4347r4348
37313731   ROMX_LOAD( "wl_22.rom",    0x200006, 0x20000, CRC(fd3f89f0) SHA1(51ff95cff56ac78682ea56401b35a0aa63cef8cb) , ROM_SKIP(7) )
37323732   ROMX_LOAD( "wl_12.rom",    0x200007, 0x20000, CRC(7da49d69) SHA1(b0ae7ac4f858ee8d72e6877c4275da7a631e2e4c) , ROM_SKIP(7) )
37333733
3734   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
3734   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
37353735   ROM_LOAD( "wl23.bin",      0x00000, 0x08000, CRC(f6b3d060) SHA1(0ed2e2f64ba53ba2c371b66ab1e52e40b16d8baf) )   // == wl_09.rom
37363736   ROM_CONTINUE(              0x10000, 0x08000 )
37373737
r4347r4348
37533753
37543754/* B-Board 89624B */
37553755ROM_START( willowje )
3756   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
3756   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
37573757   ROM_LOAD16_BYTE( "wlu_30.rom",        0x00000, 0x20000, CRC(d604dbb1) SHA1(b5d78871011ff11a67f1a0cad147cd4de8d67f35) )
37583758   ROM_LOAD16_BYTE( "wlu_35.rom",        0x00001, 0x20000, CRC(daee72fe) SHA1(2ec62f44394fac2887821881f56b6f24d05234b3) )
37593759   ROM_LOAD16_BYTE( "wlu_31.rom",        0x40000, 0x20000, CRC(0eb48a83) SHA1(28c40c4b5d767f88922cd899e948abf11a85a864) )
r4347r4348
37743774   ROMX_LOAD( "wl_22.rom",    0x200006, 0x20000, CRC(fd3f89f0) SHA1(51ff95cff56ac78682ea56401b35a0aa63cef8cb) , ROM_SKIP(7) )
37753775   ROMX_LOAD( "wl_12.rom",    0x200007, 0x20000, CRC(7da49d69) SHA1(b0ae7ac4f858ee8d72e6877c4275da7a631e2e4c) , ROM_SKIP(7) )
37763776
3777   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
3777   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
37783778   ROM_LOAD( "wl_09.rom",     0x00000, 0x08000, CRC(f6b3d060) SHA1(0ed2e2f64ba53ba2c371b66ab1e52e40b16d8baf) )
37793779   ROM_CONTINUE(              0x10000, 0x08000 )
37803780
r4347r4348
37963796
37973797/* B-Board 89624B */
37983798ROM_START( unsquad )
3799   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
3799   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
38003800   ROM_LOAD16_BYTE( "aru_30.11f",     0x00000, 0x20000, CRC(24d8f88d) SHA1(9c39aa1140e92307d6d9c0ca198003282bf78c78) )
38013801   ROM_LOAD16_BYTE( "aru_35.11h",     0x00001, 0x20000, CRC(8b954b59) SHA1(33114f1417d48f60c6da3e14a094be7c0f0fd979) )
38023802   ROM_LOAD16_BYTE( "aru_31.12f",     0x40000, 0x20000, CRC(33e9694b) SHA1(90db3052ac2ff859ede8473dd13e0f5be148590c) )
r4347r4348
38093809   ROMX_LOAD( "ar-1m.3a", 0x000004, 0x80000, CRC(5965ca8d) SHA1(49abf80fc012a7f73306139a2871aeac7fd6a3d0) , ROM_GROUPWORD | ROM_SKIP(6) )
38103810   ROMX_LOAD( "ar-3m.5a", 0x000006, 0x80000, CRC(ac6db17d) SHA1(78eef9ba6a392859f70467f6d7cb5aa91964abed) , ROM_GROUPWORD | ROM_SKIP(6) )
38113811
3812   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
3812   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
38133813   ROM_LOAD( "ar_09.12b", 0x00000, 0x08000, CRC(f3dd1367) SHA1(09eef72e862ac6b1a5cce5a45938b45bf4e456ad) )
38143814   ROM_CONTINUE(          0x10000, 0x08000 )
38153815
r4347r4348
38313831
38323832/* B-Board 88622B */
38333833ROM_START( area88 )
3834   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
3834   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
38353835   ROM_LOAD16_BYTE( "ar_36.12f", 0x00000, 0x20000, CRC(65030392) SHA1(d9dea5cfde28345716b0e519ee033c475be0454b) )
38363836   ROM_LOAD16_BYTE( "ar_42.12h", 0x00001, 0x20000, CRC(c48170de) SHA1(e968522dbdd217dd8e4cd6aaeaef801c63488c1d) )
38373837   ROM_LOAD16_BYTE( "ar_37.13f", 0x40000, 0x20000, CRC(33e9694b) SHA1(90db3052ac2ff859ede8473dd13e0f5be148590c) )   // == aru_31.12f
r4347r4348
38593859   ROMX_LOAD( "ar_39.9h",  0x100006, 0x20000, CRC(9b8e1363) SHA1(f830834305248446235cc6b17b17f7f0dd6baa03) , ROM_SKIP(7) )   // == ar-3m.5a
38603860   ROMX_LOAD( "ar_33.9f",  0x100007, 0x20000, CRC(3968f4b5) SHA1(42722c61c4b514b15f1594fdad688375e2c51e71) , ROM_SKIP(7) )   // == ar-3m.5a
38613861
3862   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
3862   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
38633863   ROM_LOAD( "ar_23.13c",  0x00000, 0x08000, CRC(f3dd1367) SHA1(09eef72e862ac6b1a5cce5a45938b45bf4e456ad) )   // == ar_09.12b
38643864   ROM_CONTINUE(           0x10000, 0x08000 )
38653865
r4347r4348
38823882/* B-Board 89624B */
38833883/* Note that the program ROMs are labeled with the 89622B positions */
38843884ROM_START( ffight )
3885   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
3885   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
38863886   ROM_LOAD16_BYTE( "ff_36.11f",      0x00000, 0x20000, CRC(f9a5ce83) SHA1(0756ae576a1f6d5b8b22f8630dca40ef38567ea6) )   // in "30" socket
38873887   ROM_LOAD16_BYTE( "ff_42.11h",      0x00001, 0x20000, CRC(65f11215) SHA1(5045a467f3e228c02b4a355b52f58263ffa90113) )   // in "35" socket
38883888   ROM_LOAD16_BYTE( "ff_37.12f",      0x40000, 0x20000, CRC(e1033784) SHA1(38f44434c8befd623953ae23d6e5ff4e201d6627) )   // in "31" socket
r4347r4348
38953895   ROMX_LOAD( "ff-1m.3a", 0x000004, 0x80000, CRC(0b605e44) SHA1(5ce16af72858a57aefbf6efed820c2c51935882a) , ROM_GROUPWORD | ROM_SKIP(6) )
38963896   ROMX_LOAD( "ff-3m.5a", 0x000006, 0x80000, CRC(52291cd2) SHA1(df5f3d3aa96a7a33ff22f2a31382942c4c4f1111) , ROM_GROUPWORD | ROM_SKIP(6) )
38973897
3898   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
3898   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
38993899   ROM_LOAD( "ff_09.12b",  0x00000, 0x08000, CRC(b8367eb5) SHA1(ec3db29fdd6200e9a8f4f8073a7e34aef731354f) )
39003900   ROM_CONTINUE(           0x10000, 0x08000 )
39013901
r4347r4348
39173917
39183918/* FIXME B-Board uncertain, guessing it's the same as the other US set */
39193919ROM_START( ffightu )
3920   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
3920   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
39213921   ROM_LOAD16_BYTE( "ff_36.11f",      0x00000, 0x20000, CRC(f9a5ce83) SHA1(0756ae576a1f6d5b8b22f8630dca40ef38567ea6) )
39223922   ROM_LOAD16_BYTE( "ff_42.11h",      0x00001, 0x20000, CRC(65f11215) SHA1(5045a467f3e228c02b4a355b52f58263ffa90113) )
39233923   ROM_LOAD16_BYTE( "ff_37.12f",      0x40000, 0x20000, CRC(e1033784) SHA1(38f44434c8befd623953ae23d6e5ff4e201d6627) )
r4347r4348
39303930   ROMX_LOAD( "ff-1m.3a", 0x000004, 0x80000, CRC(0b605e44) SHA1(5ce16af72858a57aefbf6efed820c2c51935882a) , ROM_GROUPWORD | ROM_SKIP(6) )
39313931   ROMX_LOAD( "ff-3m.5a", 0x000006, 0x80000, CRC(52291cd2) SHA1(df5f3d3aa96a7a33ff22f2a31382942c4c4f1111) , ROM_GROUPWORD | ROM_SKIP(6) )
39323932
3933   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
3933   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
39343934   ROM_LOAD( "ff_09.12b",  0x00000, 0x08000, CRC(b8367eb5) SHA1(ec3db29fdd6200e9a8f4f8073a7e34aef731354f) )
39353935   ROM_CONTINUE(           0x10000, 0x08000 )
39363936
r4347r4348
39533953/* B-Board 89624B */
39543954/* Note that the program ROMs are labeled with the 89622B positions */
39553955ROM_START( ffightua )
3956   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
3956   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
39573957   ROM_LOAD16_BYTE( "ffu_36.11f",     0x00000, 0x20000, CRC(e2a48af9) SHA1(11e06f95bdf575af396dded2b84d858f6c7388f1) )   // in "30" socket
39583958   ROM_LOAD16_BYTE( "ffu_42.11h",     0x00001, 0x20000, CRC(f4bb480e) SHA1(32114df1d2f4f98a4a2280a330c7b6af8ab4d862) )   // in "35" socket
39593959   ROM_LOAD16_BYTE( "ffu_37.12f",     0x40000, 0x20000, CRC(c371c667) SHA1(633977c91a8ff09b7fe83128eced7c4dee9aee1d) )   // in "31" socket
r4347r4348
39693969   ROMX_LOAD( "ff-1m.3a", 0x000004, 0x80000, CRC(0b605e44) SHA1(5ce16af72858a57aefbf6efed820c2c51935882a) , ROM_GROUPWORD | ROM_SKIP(6) )
39703970   ROMX_LOAD( "ff-3m.5a", 0x000006, 0x80000, CRC(52291cd2) SHA1(df5f3d3aa96a7a33ff22f2a31382942c4c4f1111) , ROM_GROUPWORD | ROM_SKIP(6) )
39713971
3972   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
3972   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
39733973   ROM_LOAD( "ff_09.12b",  0x00000, 0x08000, CRC(b8367eb5) SHA1(ec3db29fdd6200e9a8f4f8073a7e34aef731354f) )
39743974   ROM_CONTINUE(           0x10000, 0x08000 )
39753975
r4347r4348
39953995   This set seems to prove that a Japan version on 88624B exists since the Japan gfx ROMs
39963996   have 88624B labels. */
39973997ROM_START( ffightub )
3998   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
3998   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
39993999   ROM_LOAD16_BYTE( "ffu30",          0x00000, 0x20000, CRC(ed988977) SHA1(c718e989206bd2b68832c8fcb5667397d500ebac) )
40004000   ROM_LOAD16_BYTE( "ffu35",          0x00001, 0x20000, CRC(07bf1c21) SHA1(f21a939fd92607c7f54816dedbcb3c5818cf4183) )
40014001   ROM_LOAD16_BYTE( "ffu31",          0x40000, 0x20000, CRC(dba5a476) SHA1(2f0176dd050f9630b914f1c1ca5d96215bcf567f) )
r4347r4348
40214021    ROMX_LOAD( "13_3346.010",     0x100007, 0x20000, CRC(7369fa07) SHA1(3b2750fe33729395217c96909b4b6c5f3d6e9943) , ROM_SKIP(7) ) // == ff33.bin
40224022    */
40234023
4024   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
4024   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
40254025   ROM_LOAD( "ff_09.12b",  0x00000, 0x08000, CRC(b8367eb5) SHA1(ec3db29fdd6200e9a8f4f8073a7e34aef731354f) )
40264026   ROM_CONTINUE(           0x10000, 0x08000 )
40274027
r4347r4348
40434043
40444044/* B-Board 88622B */
40454045ROM_START( ffightj )
4046   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
4046   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
40474047   ROM_LOAD16_BYTE( "ff36.bin",    0x00000, 0x20000, CRC(f9a5ce83) SHA1(0756ae576a1f6d5b8b22f8630dca40ef38567ea6) )   // == ff_36.11f
40484048   ROM_LOAD16_BYTE( "ff42.bin",    0x00001, 0x20000, CRC(65f11215) SHA1(5045a467f3e228c02b4a355b52f58263ffa90113) )   // == ff_42.11h
40494049   ROM_LOAD16_BYTE( "ff37.bin",    0x40000, 0x20000, CRC(e1033784) SHA1(38f44434c8befd623953ae23d6e5ff4e201d6627) )   // == ff_37.12f
r4347r4348
40714071   ROMX_LOAD( "ffj_39.9h",  0x100006, 0x20000, CRC(9416b477) SHA1(f2310dfcfe960e8b822c07849b594d54dfc2b2ca) , ROM_SKIP(7) )
40724072   ROMX_LOAD( "ffj_33.9f",  0x100007, 0x20000, CRC(7369fa07) SHA1(3b2750fe33729395217c96909b4b6c5f3d6e9943) , ROM_SKIP(7) )
40734073
4074   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
4074   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
40754075   ROM_LOAD( "ff_23.13c",   0x00000, 0x08000, CRC(b8367eb5) SHA1(ec3db29fdd6200e9a8f4f8073a7e34aef731354f) )   // == ff_09.12b
40764076   ROM_CONTINUE(            0x10000, 0x08000 )
40774077
r4347r4348
40934093
40944094/* FIXME B-Board uncertain, we assume it's the same as the other Japanese set */
40954095ROM_START( ffightj1 )
4096   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
4096   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
40974097   ROM_LOAD16_BYTE( "ff30-36.rom", 0x00000, 0x20000, CRC(088ed1c9) SHA1(7b96cd45f4d3d2c0fe94904882652814b7790869) )
40984098   ROM_LOAD16_BYTE( "ff35-42.rom", 0x00001, 0x20000, CRC(c4c491e6) SHA1(d0e34d7b94f67c33615710ea721da8fefe832e3a) )
40994099   ROM_LOAD16_BYTE( "ff31-37.rom", 0x40000, 0x20000, CRC(708557ff) SHA1(89e56bfd9486623a18fdbf984a72bb52054ca0e6) )
r4347r4348
41214121   ROMX_LOAD( "ffj_39.9h",  0x100006, 0x20000, CRC(9416b477) SHA1(f2310dfcfe960e8b822c07849b594d54dfc2b2ca) , ROM_SKIP(7) )
41224122   ROMX_LOAD( "ffj_33.9f",  0x100007, 0x20000, CRC(7369fa07) SHA1(3b2750fe33729395217c96909b4b6c5f3d6e9943) , ROM_SKIP(7) )
41234123
4124   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
4124   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
41254125   ROM_LOAD( "ff_23.13c",   0x00000, 0x08000, CRC(b8367eb5) SHA1(ec3db29fdd6200e9a8f4f8073a7e34aef731354f) )   // == ff_09.12b
41264126   ROM_CONTINUE(            0x10000, 0x08000 )
41274127
r4347r4348
41434143
41444144/* B-Board 88622B */
41454145ROM_START( ffightj2 )
4146   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
4146   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
41474147   ROM_LOAD16_BYTE( "ffj_36.12f",  0x00000, 0x20000, CRC(e2a48af9) SHA1(11e06f95bdf575af396dded2b84d858f6c7388f1) )   // == ffu_36.11f
41484148   ROM_LOAD16_BYTE( "ffj_42.12h",  0x00001, 0x20000, CRC(f4bb480e) SHA1(32114df1d2f4f98a4a2280a330c7b6af8ab4d862) )   // == ffu_42.11h
41494149   ROM_LOAD16_BYTE( "ffj_37.13f",  0x40000, 0x20000, CRC(c371c667) SHA1(633977c91a8ff09b7fe83128eced7c4dee9aee1d) )   // == ffu_37.12f
r4347r4348
41714171   ROMX_LOAD( "ffj_39.9h",  0x100006, 0x20000, CRC(9416b477) SHA1(f2310dfcfe960e8b822c07849b594d54dfc2b2ca) , ROM_SKIP(7) )
41724172   ROMX_LOAD( "ffj_33.9f",  0x100007, 0x20000, CRC(7369fa07) SHA1(3b2750fe33729395217c96909b4b6c5f3d6e9943) , ROM_SKIP(7) )
41734173
4174   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
4174   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
41754175   ROM_LOAD( "ff_23.13c",   0x00000, 0x08000, CRC(b8367eb5) SHA1(ec3db29fdd6200e9a8f4f8073a7e34aef731354f) )   // == ff_09.12b
41764176   ROM_CONTINUE(            0x10000, 0x08000 )
41774177
r4347r4348
41934193
41944194/* FIXME B-Board uncertain but should be 89624B from the program ROM names */
41954195ROM_START( 1941 )
4196   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
4196   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
41974197   ROM_LOAD16_BYTE( "41e_30.rom",        0x00000, 0x20000, CRC(9deb1e75) SHA1(68d9f91bef6a5c9e1bcbf286629aed6b37b4acb9) )
41984198   ROM_LOAD16_BYTE( "41e_35.rom",        0x00001, 0x20000, CRC(d63942b3) SHA1(b4bc7d06dcefbc075d316f2d31abbd4c7a99dbae) )
41994199   ROM_LOAD16_BYTE( "41e_31.rom",        0x40000, 0x20000, CRC(df201112) SHA1(d84f63bffeb9255cbabc02f23d7511f9b3c6a96c) )
r4347r4348
42064206   ROMX_LOAD( "41_gfx1.rom",  0x000004, 0x80000, CRC(ff77985a) SHA1(7e08df3a829bf9617470a46c79b713d4d9ebacae) , ROM_GROUPWORD | ROM_SKIP(6) )
42074207   ROMX_LOAD( "41_gfx3.rom",  0x000006, 0x80000, CRC(983be58f) SHA1(83a4decdd775f859240771269b8af3a5981b244c) , ROM_GROUPWORD | ROM_SKIP(6) )
42084208
4209   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
4209   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
42104210   ROM_LOAD( "41_09.rom",     0x00000, 0x08000, CRC(0f9d8527) SHA1(3a00dd5772f38081fde11d8d61ba467379e2a636) )
42114211   ROM_CONTINUE(              0x10000, 0x08000 )
42124212
r4347r4348
42254225/* FIXME B-Board uncertain but should be 88622B/89625B from the program ROM names, which
42264226   means that the gfx ROMs are wrong. */
42274227ROM_START( 1941j )
4228   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
4228   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
42294229   ROM_LOAD16_BYTE( "4136.bin",          0x00000, 0x20000, CRC(7fbd42ab) SHA1(4e52a599e3099bf3cccabb89152c69f216fde79e) )
42304230   ROM_LOAD16_BYTE( "4142.bin",          0x00001, 0x20000, CRC(c7781f89) SHA1(7e99c433de0c903791ae153a3cc8632042b0a90d) )
42314231   ROM_LOAD16_BYTE( "4137.bin",          0x40000, 0x20000, CRC(c6464b0b) SHA1(abef422d891d32334a858d49599f1ef7cf0db45d) )
r4347r4348
42384238   ROMX_LOAD( "41_gfx1.rom",  0x000004, 0x80000, CRC(ff77985a) SHA1(7e08df3a829bf9617470a46c79b713d4d9ebacae) , ROM_GROUPWORD | ROM_SKIP(6) )
42394239   ROMX_LOAD( "41_gfx3.rom",  0x000006, 0x80000, CRC(983be58f) SHA1(83a4decdd775f859240771269b8af3a5981b244c) , ROM_GROUPWORD | ROM_SKIP(6) )
42404240
4241   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
4241   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
42424242   ROM_LOAD( "41_09.rom",     0x00000, 0x08000, CRC(0f9d8527) SHA1(3a00dd5772f38081fde11d8d61ba467379e2a636) )
42434243   ROM_CONTINUE(              0x10000, 0x08000 )
42444244
r4347r4348
42564256
42574257/* B-Board 89624B */
42584258ROM_START( mercs )
4259   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
4259   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
42604260   ROM_LOAD16_BYTE( "so2_30e.11f",     0x00000, 0x20000, CRC(e17f9bf7) SHA1(f44bb378de428b429c97a21f74829182d3187ace) )
42614261   ROM_LOAD16_BYTE( "so2_35e.11h",     0x00001, 0x20000, CRC(78e63575) SHA1(5776de0daaaedd0dec2cec8d088a0fd8bb3d4dbe) )
42624262   ROM_LOAD16_BYTE( "so2_31e.12f",     0x40000, 0x20000, CRC(51204d36) SHA1(af288fc369d092f38ea73be967705aacade06f28) )
r4347r4348
42774277   ROMX_LOAD( "so2_22.5d",  0x200006, 0x20000, CRC(fce9a377) SHA1(5de5f696f63326f2cb4c38bcb05e07bcf2246071) , ROM_SKIP(7) )
42784278   ROMX_LOAD( "so2_12.5c",  0x200007, 0x20000, CRC(b7df8a06) SHA1(b42cb0d3f55a1e8fe8afbbd9aeae50074cdc5f08) , ROM_SKIP(7) )
42794279
4280   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
4280   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
42814281   ROM_LOAD( "so2_09.12b",  0x00000, 0x08000, CRC(d09d7c7a) SHA1(8e8532be08818c855d9c3ce45716eb07cfab5767) )
42824282   ROM_CONTINUE(            0x10000, 0x08000 )
42834283
r4347r4348
43024302
43034303/* B-Board 89624B */
43044304ROM_START( mercsu )
4305   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
4305   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
43064306   ROM_LOAD16_BYTE( "so2_30.11f",      0x00000, 0x20000, CRC(e17f9bf7) SHA1(f44bb378de428b429c97a21f74829182d3187ace) )   // == so2_30e.11f
43074307   ROM_LOAD16_BYTE( "s02_35.11h",      0x00001, 0x20000, CRC(4477df61) SHA1(e9b42357c7073c098e8fde7e7d0e4a6e3062fd0d) )
43084308   ROM_LOAD16_BYTE( "so2_31.12f",      0x40000, 0x20000, CRC(51204d36) SHA1(af288fc369d092f38ea73be967705aacade06f28) )   // == so2_31e.12f
r4347r4348
43234323   ROMX_LOAD( "so2_22.5d",  0x200006, 0x20000, CRC(fce9a377) SHA1(5de5f696f63326f2cb4c38bcb05e07bcf2246071) , ROM_SKIP(7) )
43244324   ROMX_LOAD( "so2_12.5c",  0x200007, 0x20000, CRC(b7df8a06) SHA1(b42cb0d3f55a1e8fe8afbbd9aeae50074cdc5f08) , ROM_SKIP(7) )
43254325
4326   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
4326   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
43274327   ROM_LOAD( "so2_09.12b",  0x00000, 0x08000, CRC(d09d7c7a) SHA1(8e8532be08818c855d9c3ce45716eb07cfab5767) )
43284328   ROM_CONTINUE(            0x10000, 0x08000 )
43294329
r4347r4348
43484348
43494349/* B-Board 89624B */
43504350ROM_START( mercsua )
4351   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
4351   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
43524352   ROM_LOAD16_BYTE( "so2_30a.11f",     0x00000, 0x20000, CRC(e4e725d7) SHA1(b0454dedeb741a7dd4ceb18bac958417ca74a7e6) )
43534353   ROM_LOAD16_BYTE( "so2_35a.11h",     0x00001, 0x20000, CRC(e7843445) SHA1(192c85ced637e05b37ed889246ebb73e792e984b) )
43544354   ROM_LOAD16_BYTE( "so2_31a.12f",     0x40000, 0x20000, CRC(c0b91dea) SHA1(5c1d086ae09e4f66384a03994b3c5e12d80582ff) )
r4347r4348
43694369   ROMX_LOAD( "so2_22.5d",  0x200006, 0x20000, CRC(fce9a377) SHA1(5de5f696f63326f2cb4c38bcb05e07bcf2246071) , ROM_SKIP(7) )
43704370   ROMX_LOAD( "so2_12.5c",  0x200007, 0x20000, CRC(b7df8a06) SHA1(b42cb0d3f55a1e8fe8afbbd9aeae50074cdc5f08) , ROM_SKIP(7) )
43714371
4372   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
4372   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
43734373   ROM_LOAD( "so2_09.12b",  0x00000, 0x08000, CRC(d09d7c7a) SHA1(8e8532be08818c855d9c3ce45716eb07cfab5767) )
43744374   ROM_CONTINUE(            0x10000, 0x08000 )
43754375
r4347r4348
43944394
43954395/* FIXME B-Board uncertain but should be 88622B/89625B from the program ROM names */
43964396ROM_START( mercsj )
4397   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
4397   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
43984398   ROM_LOAD16_BYTE( "so2_36.bin", 0x00000, 0x20000, CRC(e17f9bf7) SHA1(f44bb378de428b429c97a21f74829182d3187ace) )   // == so2_30e.11f
43994399   ROM_LOAD16_BYTE( "so2_42.bin", 0x00001, 0x20000, CRC(2c3884c6) SHA1(98c3e93741d2344fe0a699aacdc5038bdd9007a0) )
44004400   ROM_LOAD16_BYTE( "so2_37.bin", 0x40000, 0x20000, CRC(51204d36) SHA1(af288fc369d092f38ea73be967705aacade06f28) )   // == so2_31e.12f
r4347r4348
44304430   ROMX_LOAD( "so2_28.bin", 0x200006, 0x20000, CRC(fce9a377) SHA1(5de5f696f63326f2cb4c38bcb05e07bcf2246071) , ROM_SKIP(7) )   // == so2_22.5d
44314431   ROMX_LOAD( "so2_21.bin", 0x200007, 0x20000, CRC(b7df8a06) SHA1(b42cb0d3f55a1e8fe8afbbd9aeae50074cdc5f08) , ROM_SKIP(7) )   // == so2_12.5c
44324432
4433   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
4433   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
44344434   ROM_LOAD( "so2_23.bin",  0x00000, 0x08000, CRC(d09d7c7a) SHA1(8e8532be08818c855d9c3ce45716eb07cfab5767) )   // == so2_09.12b
44354435   ROM_CONTINUE(            0x10000, 0x08000 )
44364436
r4347r4348
44554455
44564456/* B-Board 89624B */
44574457ROM_START( mtwins )
4458   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
4458   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
44594459   ROM_LOAD16_BYTE( "che_30.11f",     0x00000, 0x20000, CRC(9a2a2db1) SHA1(57524e76311afc8ab5d5affa76c85cb1be5a1faf) )
44604460   ROM_LOAD16_BYTE( "che_35.11h",     0x00001, 0x20000, CRC(a7f96b02) SHA1(b5fda02e5069f9e1cdafbacf98334510e9af8fcd) )
44614461   ROM_LOAD16_BYTE( "che_31.12f",     0x40000, 0x20000, CRC(bbff8a99) SHA1(1f931fad9f43a1494f3b8dbcf910156d5b0bd458) )
r4347r4348
44684468   ROMX_LOAD( "ck-1m.3a", 0x000004, 0x80000, CRC(f33ca9d4) SHA1(480d90ff16f27777cc7d7de6925ed6378b35dc27) , ROM_GROUPWORD | ROM_SKIP(6) )
44694469   ROMX_LOAD( "ck-3m.5a", 0x000006, 0x80000, CRC(0ba2047f) SHA1(efee13b955c2ded52700025cecbb9fb301098b61) , ROM_GROUPWORD | ROM_SKIP(6) )
44704470
4471   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
4471   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
44724472   ROM_LOAD( "ch_09.12b", 0x00000, 0x08000, CRC(4d4255b7) SHA1(81a76b58043af7252a854b7efc4109957ef0e679) )
44734473   ROM_CONTINUE(          0x10000, 0x08000 )
44744474
r4347r4348
44864486
44874487/* FIXME B-Board uncertain but should be 88622B/89625B from the program ROM names */
44884488ROM_START( chikij )
4489   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
4489   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
44904490   ROM_LOAD16_BYTE( "chj_36a.bin",      0x00000, 0x20000, CRC(ec1328d8) SHA1(a7111f9c264c56d1c6474ec3ad90e394a32a86f6) )
44914491   ROM_LOAD16_BYTE( "chj_42a.bin",      0x00001, 0x20000, CRC(4ae13503) SHA1(c47db0445e107ad4fb62b74e277a7dc2b4d9b7ea) )
44924492   ROM_LOAD16_BYTE( "chj_37a.bin",      0x40000, 0x20000, CRC(46d2cf7b) SHA1(5cb7ed3003d89a08882d4dcd326c8fd9430f0eac) )
r4347r4348
45144514   ROMX_LOAD( "ch_39.bin",   0x100006, 0x20000, CRC(872fb2a4) SHA1(1f5d12b78100dfba7f6c9a076f7923811467aa2b) , ROM_SKIP(7) )   // == ck-3m.5a
45154515   ROMX_LOAD( "ch_33.bin",   0x100007, 0x20000, CRC(30dc5ded) SHA1(34a7a6f9aa61ce47116d63c2feb7ea8a427b93e0) , ROM_SKIP(7) )   // == ck-3m.5a
45164516
4517   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
4517   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
45184518   ROM_LOAD( "ch_23.bin",     0x00000, 0x08000, CRC(4d4255b7) SHA1(81a76b58043af7252a854b7efc4109957ef0e679) )   // == ch_09.12b
45194519   ROM_CONTINUE(              0x10000, 0x08000 )
45204520
r4347r4348
45324532
45334533/* B-Board 89624B */
45344534ROM_START( msword )
4535   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
4535   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
45364536   ROM_LOAD16_BYTE( "mse_30.11f",     0x00000, 0x20000, CRC(03fc8dbc) SHA1(a9e4e8a06e2d170faeae75a8b17fd65e6e5fecd4) )
45374537   ROM_LOAD16_BYTE( "mse_35.11h",     0x00001, 0x20000, CRC(d5bf66cd) SHA1(37c5bc4deafd7037ec5cf09c88bb89f35ea3d95c) )
45384538   ROM_LOAD16_BYTE( "mse_31.12f",     0x40000, 0x20000, CRC(30332bcf) SHA1(1c77c06028b77473276cb5dde5ecf414b43a7b78) )
r4347r4348
45454545   ROMX_LOAD( "ms-1m.3a", 0x000004, 0x80000, CRC(0d2bbe00) SHA1(dca13fc7ff63ad7fb175a71ada1ee22d21a8811d) , ROM_GROUPWORD | ROM_SKIP(6) )
45464546   ROMX_LOAD( "ms-3m.5a", 0x000006, 0x80000, CRC(3a1a5bf4) SHA1(88a7cc0bf29b3516a97f661691500ff28e91a362) , ROM_GROUPWORD | ROM_SKIP(6) )
45474547
4548   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
4548   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
45494549   ROM_LOAD( "ms_9.12b",  0x00000, 0x08000, CRC(57b29519) SHA1(a6b4fc2b9595d1a49f2b93581f107b68d484d156) )
45504550   ROM_CONTINUE(          0x10000, 0x08000 )
45514551
r4347r4348
45674567
45684568/* B-Board 89624B */
45694569ROM_START( mswordr1 )
4570   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
4570   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
45714571   ROM_LOAD16_BYTE( "ms_30.11f",      0x00000, 0x20000, CRC(21c1f078) SHA1(f32bd3b462cc84466244b362a66510b9d40ac2fd) )
45724572   ROM_LOAD16_BYTE( "ms_35.11h",      0x00001, 0x20000, CRC(a540a73a) SHA1(1c91241ba0d17d13adaa68e231b95dfd49d93b6d) )
45734573   ROM_LOAD16_BYTE( "ms_31.12f",      0x40000, 0x20000, CRC(d7e762b5) SHA1(6977130e9c0cd36d8a67e242c132df38f7aea5b7) )
r4347r4348
45804580   ROMX_LOAD( "ms-1m.3a", 0x000004, 0x80000, CRC(0d2bbe00) SHA1(dca13fc7ff63ad7fb175a71ada1ee22d21a8811d) , ROM_GROUPWORD | ROM_SKIP(6) )
45814581   ROMX_LOAD( "ms-3m.5a", 0x000006, 0x80000, CRC(3a1a5bf4) SHA1(88a7cc0bf29b3516a97f661691500ff28e91a362) , ROM_GROUPWORD | ROM_SKIP(6) )
45824582
4583   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
4583   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
45844584   ROM_LOAD( "ms_9.12b",  0x00000, 0x08000, CRC(57b29519) SHA1(a6b4fc2b9595d1a49f2b93581f107b68d484d156) )
45854585   ROM_CONTINUE(          0x10000, 0x08000 )
45864586
r4347r4348
46024602
46034603/* B-Board 89624B */
46044604ROM_START( mswordu )
4605   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
4605   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
46064606   ROM_LOAD16_BYTE( "msu_30.11f",     0x00000, 0x20000, CRC(d963c816) SHA1(e23844a60ddfc0a8a98c0ada9c3d58fce71c5484) )
46074607   ROM_LOAD16_BYTE( "msu_35.11h",     0x00001, 0x20000, CRC(72f179b3) SHA1(8d31cdc84b02fc345fc78e8f231410adeb834c28) )
46084608   ROM_LOAD16_BYTE( "msu_31.12f",     0x40000, 0x20000, CRC(20cd7904) SHA1(cea2db01be97f69dc10e9da80f3b46f6ddaa953a) )
r4347r4348
46154615   ROMX_LOAD( "ms-1m.3a", 0x000004, 0x80000, CRC(0d2bbe00) SHA1(dca13fc7ff63ad7fb175a71ada1ee22d21a8811d) , ROM_GROUPWORD | ROM_SKIP(6) )
46164616   ROMX_LOAD( "ms-3m.5a", 0x000006, 0x80000, CRC(3a1a5bf4) SHA1(88a7cc0bf29b3516a97f661691500ff28e91a362) , ROM_GROUPWORD | ROM_SKIP(6) )
46174617
4618   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
4618   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
46194619   ROM_LOAD( "ms_9.12b",  0x00000, 0x08000, CRC(57b29519) SHA1(a6b4fc2b9595d1a49f2b93581f107b68d484d156) )
46204620   ROM_CONTINUE(          0x10000, 0x08000 )
46214621
r4347r4348
46374637
46384638/* B-Board 89625B */
46394639ROM_START( mswordj )
4640   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
4640   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
46414641   ROM_LOAD16_BYTE( "msj_36.12f", 0x00000, 0x20000, CRC(04f0ef50) SHA1(76dac695732ade1873bb6da51834ef90c6595689) )
46424642   ROM_LOAD16_BYTE( "msj_42.12h", 0x00001, 0x20000, CRC(9fcbb9cd) SHA1(bfbf805ddecd3fa9e209a658526e1430ad9e459a) )
46434643   ROM_LOAD16_BYTE( "msj_37.13f", 0x40000, 0x20000, CRC(6c060d70) SHA1(7fe56f125bc11156955bf0defc956fe7c18a1c72) )
r4347r4348
46654665   ROMX_LOAD( "ms_39.9h",  0x100006, 0x20000, CRC(01efce86) SHA1(665182bb61b1efb300422f7076d8538d2ca514ce) , ROM_SKIP(7) )   // == ms-3m.5a
46664666   ROMX_LOAD( "ms_33.9f",  0x100007, 0x20000, CRC(ce25defc) SHA1(885eef9bac1d401f3e49c46294e573dd9cfad3a1) , ROM_SKIP(7) )   // == ms-3m.5a
46674667
4668   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
4668   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
46694669   ROM_LOAD( "ms_23.13b",  0x00000, 0x08000, CRC(57b29519) SHA1(a6b4fc2b9595d1a49f2b93581f107b68d484d156) )   // == ms_9.12b
46704670   ROM_CONTINUE(           0x10000, 0x08000 )
46714671
r4347r4348
46874687
46884688/* B-Board 89624B */
46894689ROM_START( cawing )
4690   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
4690   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
46914691   ROM_LOAD16_BYTE( "cae_30a.11f",    0x00000, 0x20000, CRC(91fceacd) SHA1(4845999a96fee829264346ca399fdd64a8408001) )
46924692   ROM_LOAD16_BYTE( "cae_35a.11h",    0x00001, 0x20000, CRC(3ef03083) SHA1(297dfc9ec1e0f07d6083bf5efaa0de8d0fb361fa) )
46934693   ROM_LOAD16_BYTE( "cae_31a.12f",    0x40000, 0x20000, CRC(e5b75caf) SHA1(4d04220c78620867b7598deea5685bbe88298ae6) )
r4347r4348
47004700   ROMX_LOAD( "ca-1m.3a", 0x000004, 0x80000, CRC(4d0620fd) SHA1(5f62cd551b6a230edefd81fa60c10c84186ca804) , ROM_GROUPWORD | ROM_SKIP(6) )
47014701   ROMX_LOAD( "ca-3m.5a", 0x000006, 0x80000, CRC(0b0341c3) SHA1(c31f0e78f49d94ea9dea20eb0cbd98a6c613bcbf) , ROM_GROUPWORD | ROM_SKIP(6) )
47024702
4703   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
4703   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
47044704   ROM_LOAD( "ca_9.12b",  0x00000, 0x08000, CRC(96fe7485) SHA1(10466889dfc6bc8afd3075385e241a16372efbeb) )
47054705   ROM_CONTINUE(          0x10000, 0x08000 )
47064706
r4347r4348
47224722
47234723/* B-Board 89624B */
47244724ROM_START( cawingr1 )
4725   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
4725   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
47264726   ROM_LOAD16_BYTE( "cae_30.11f",     0x00000, 0x20000, CRC(23305cd5) SHA1(59cbcb79c171b433f278e128c73cdd3635876370) )
47274727   ROM_LOAD16_BYTE( "cae_35.11h",     0x00001, 0x20000, CRC(69419113) SHA1(cfbb6dbbe224ffaf7747fd70b65a7dbd4f696fe9) )
47284728   ROM_LOAD16_BYTE( "cae_31.12f",     0x40000, 0x20000, CRC(9008dfb3) SHA1(81fdd21606caabe9e0df773fc33377c958ab80f6) )
r4347r4348
47354735   ROMX_LOAD( "ca-1m.3a", 0x000004, 0x80000, CRC(4d0620fd) SHA1(5f62cd551b6a230edefd81fa60c10c84186ca804) , ROM_GROUPWORD | ROM_SKIP(6) )
47364736   ROMX_LOAD( "ca-3m.5a", 0x000006, 0x80000, CRC(0b0341c3) SHA1(c31f0e78f49d94ea9dea20eb0cbd98a6c613bcbf) , ROM_GROUPWORD | ROM_SKIP(6) )
47374737
4738   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
4738   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
47394739   ROM_LOAD( "ca_9.12b",  0x00000, 0x08000, CRC(96fe7485) SHA1(10466889dfc6bc8afd3075385e241a16372efbeb) )
47404740   ROM_CONTINUE(          0x10000, 0x08000 )
47414741
r4347r4348
47574757
47584758/* B-Board 89624B */
47594759ROM_START( cawingu )
4760   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
4760   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
47614761   ROM_LOAD16_BYTE( "cae_30a.11f",    0x00000, 0x20000, CRC(91fceacd) SHA1(4845999a96fee829264346ca399fdd64a8408001) )
47624762   ROM_LOAD16_BYTE( "cau_35a.11h",    0x00001, 0x20000, CRC(f090d9b2) SHA1(261dc4ac79507299a7f9a1ad5edb8425345db06c) )
47634763   ROM_LOAD16_BYTE( "cae_31a.12f",    0x40000, 0x20000, CRC(e5b75caf) SHA1(4d04220c78620867b7598deea5685bbe88298ae6) )
r4347r4348
47704770   ROMX_LOAD( "ca-1m.3a", 0x000004, 0x80000, CRC(4d0620fd) SHA1(5f62cd551b6a230edefd81fa60c10c84186ca804) , ROM_GROUPWORD | ROM_SKIP(6) )
47714771   ROMX_LOAD( "ca-3m.5a", 0x000006, 0x80000, CRC(0b0341c3) SHA1(c31f0e78f49d94ea9dea20eb0cbd98a6c613bcbf) , ROM_GROUPWORD | ROM_SKIP(6) )
47724772
4773   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
4773   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
47744774   ROM_LOAD( "ca_9.12b",  0x00000, 0x08000, CRC(96fe7485) SHA1(10466889dfc6bc8afd3075385e241a16372efbeb) )
47754775   ROM_CONTINUE(          0x10000, 0x08000 )
47764776
r4347r4348
47924792
47934793/* B-Board 89625B */
47944794ROM_START( cawingj )
4795   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
4795   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
47964796   ROM_LOAD16_BYTE( "caj_36a.12f", 0x00000, 0x20000, CRC(91fceacd) SHA1(4845999a96fee829264346ca399fdd64a8408001) )   // == cae_30a.rom
47974797   ROM_LOAD16_BYTE( "caj_42a.12h", 0x00001, 0x20000, CRC(039f8362) SHA1(3fc7a642ddeaf94abdfdd5788a4b3c3b1f1b4c5e) )
47984798   ROM_LOAD16_BYTE( "caj_37a.13f", 0x40000, 0x20000, CRC(e5b75caf) SHA1(4d04220c78620867b7598deea5685bbe88298ae6) )   // == cae_31a.rom
r4347r4348
48204820   ROMX_LOAD( "caj_39.9h",  0x100006, 0x20000, CRC(eea23b67) SHA1(79d35c15b4b4430d90cd6c270cdd3a064bc2e1a3) , ROM_SKIP(7) )
48214821   ROMX_LOAD( "caj_33.9f",  0x100007, 0x20000, CRC(dde3891f) SHA1(25b8069a9c8615323b94157b1ce39805559b68f4) , ROM_SKIP(7) )
48224822
4823   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
4823   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
48244824   ROM_LOAD( "caj_23.13b",  0x00000, 0x08000, CRC(96fe7485) SHA1(10466889dfc6bc8afd3075385e241a16372efbeb) )   // == ca_9.12b
48254825   ROM_CONTINUE(            0x10000, 0x08000 )
48264826
r4347r4348
48424842
48434843/* B-Board 89624B */
48444844ROM_START( nemo )
4845   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
4845   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
48464846   ROM_LOAD16_BYTE( "nme_30a.11f",    0x00000, 0x20000, CRC(d2c03e56) SHA1(df468e3b5deba01a6825b742f1cc87bfb26c1981) )
48474847   ROM_LOAD16_BYTE( "nme_35a.11h",    0x00001, 0x20000, CRC(5fd31661) SHA1(12f92a7255e8cae6975452db956670cf72d51768) )
48484848   ROM_LOAD16_BYTE( "nme_31a.12f",    0x40000, 0x20000, CRC(b2bd4f6f) SHA1(82a59b5f36cb4c23dca05297e2a643842fc12609) )
r4347r4348
48554855   ROMX_LOAD( "nm-1m.3a", 0x000004, 0x80000, CRC(9e878024) SHA1(9a5ce3a6a7952a8954d0709b9473db9253793d70) , ROM_GROUPWORD | ROM_SKIP(6) )
48564856   ROMX_LOAD( "nm-3m.5a", 0x000006, 0x80000, CRC(bb01e6b6) SHA1(3883e28f721d0278b2f4f877a804e95ee14f53e4) , ROM_GROUPWORD | ROM_SKIP(6) )
48574857
4858   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
4858   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
48594859   ROM_LOAD( "nm_09.12b", 0x00000, 0x08000, CRC(0f4b0581) SHA1(2e5a2885149c632abfaf4292a1bf032c13c8da6c) )
48604860   ROM_CONTINUE(          0x10000, 0x08000 )
48614861
r4347r4348
48774877
48784878/* B-Board 89625B */
48794879ROM_START( nemoj )
4880   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
4880   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
48814881   ROM_LOAD16_BYTE( "nmj_36a.12f", 0x00000, 0x20000, CRC(daeceabb) SHA1(ebd44922be9d07a3d3411af52edee8a60cb11dad) )
48824882   ROM_LOAD16_BYTE( "nmj_42a.12h", 0x00001, 0x20000, CRC(55024740) SHA1(4bacbd191bb435de5dc548ac7fa16ed286bd2d3b) )
48834883   ROM_LOAD16_BYTE( "nmj_37a.13f", 0x40000, 0x20000, CRC(619068b6) SHA1(2507c6f77a06a80f913c848dcb6816bcbf4bba8a) )
r4347r4348
49054905   ROMX_LOAD( "nm_39.9h",  0x100006, 0x20000, CRC(6a274ecd) SHA1(66259fd6e71cfdb618c189b7f18749a996aacfdf) , ROM_SKIP(7) )   // == nm-3m.5a
49064906   ROMX_LOAD( "nm_33.9f",  0x100007, 0x20000, CRC(c469dc74) SHA1(d06956eef5f9b31779f218d597a1a504c1e16bad) , ROM_SKIP(7) )   // == nm-3m.5a
49074907
4908   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
4908   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
49094909   ROM_LOAD( "nm_23.13b",  0x00000, 0x08000, CRC(8d3c5a42) SHA1(cc7477da80f3d08cf014379318e39cb75b5d3205) )    /* could have one bad byte */
49104910   ROM_CONTINUE(           0x10000, 0x08000 )
49114911
r4347r4348
49614961*/
49624962
49634963ROM_START( sf2 )
4964   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
4964   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
49654965   ROM_LOAD16_BYTE( "sf2e.30g",      0x00000, 0x20000, CRC(fe39ee33) SHA1(22558eb15e035b09b80935a32b8425d91cd79669) )   // matches sf2u.30i
49664966   ROM_LOAD16_BYTE( "sf2e.37g",      0x00001, 0x20000, CRC(fb92cd74) SHA1(bf1ccfe7cc1133f0f65556430311108722add1f2) )
49674967   ROM_LOAD16_BYTE( "sf2e.31g",      0x40000, 0x20000, CRC(69a0a301) SHA1(86a3954335310865b14ce8b4e0e4499feb14fc12) )   // matches sf2u.31i
r4347r4348
49854985   ROMX_LOAD( "sf2_24.bin", 0x400004, 0x80000, CRC(c1befaa8) SHA1(a6a7f4725e52678cbd8d557285c01cdccb2c2602) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2gfx20.rom */
49864986   ROMX_LOAD( "sf2_26.bin", 0x400006, 0x80000, CRC(0627c831) SHA1(f9a92d614e8877d648449de2612fc8b43c85e4c2) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2gfx22.rom */
49874987
4988   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
4988   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
49894989   ROM_LOAD( "sf2_09.bin",    0x00000, 0x08000, CRC(a4823a1b) SHA1(7b6bf59dfd578bfbbdb64c27988796783442d659) )
49904990   ROM_CONTINUE(              0x10000, 0x08000 )
49914991
r4347r4348
50025002ROM_END
50035003
50045004ROM_START( sf2eb )
5005   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
5005   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
50065006   ROM_LOAD16_BYTE( "sf2_30a.bin",   0x00000, 0x20000, CRC(57bd7051) SHA1(5e211e75b1649b07723cabc03cf15636dbbae595) )
50075007   ROM_LOAD16_BYTE( "sf2e_37b.rom",  0x00001, 0x20000, CRC(62691cdd) SHA1(328703c3e737ada544e67c36119eeb4a100ca740) )
50085008   ROM_LOAD16_BYTE( "sf2_31a.bin",   0x40000, 0x20000, CRC(a673143d) SHA1(e565f0ec23d6deb543c72af5a83f070c07319477) )
r4347r4348
50265026   ROMX_LOAD( "sf2_24.bin", 0x400004, 0x80000, CRC(c1befaa8) SHA1(a6a7f4725e52678cbd8d557285c01cdccb2c2602) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2gfx20.rom */
50275027   ROMX_LOAD( "sf2_26.bin", 0x400006, 0x80000, CRC(0627c831) SHA1(f9a92d614e8877d648449de2612fc8b43c85e4c2) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2gfx22.rom */
50285028
5029   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
5029   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
50305030   ROM_LOAD( "sf2_09.bin",    0x00000, 0x08000, CRC(a4823a1b) SHA1(7b6bf59dfd578bfbbdb64c27988796783442d659) )
50315031   ROM_CONTINUE(              0x10000, 0x08000 )
50325032
r4347r4348
50435043ROM_END
50445044
50455045ROM_START( sf2ua )
5046   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
5046   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
50475047   ROM_LOAD16_BYTE( "sf2u.30a",      0x00000, 0x20000, CRC(08beb861) SHA1(d47f16d0d692dc6405df0aecd7d9fc3f9718c0d1) )
50485048   ROM_LOAD16_BYTE( "sf2u.37a",      0x00001, 0x20000, CRC(b7638d69) SHA1(b615a2e0e8772462fd875b2e8d2ccba82a8b3c47) )
50495049   ROM_LOAD16_BYTE( "sf2u.31a",      0x40000, 0x20000, CRC(0d5394e0) SHA1(e1d88ff3669f1dbe1e3fbdf8aa9e2c63adbbcb48) )
r4347r4348
50675067   ROMX_LOAD( "sf2_24.bin", 0x400004, 0x80000, CRC(c1befaa8) SHA1(a6a7f4725e52678cbd8d557285c01cdccb2c2602) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2gfx20.rom */
50685068   ROMX_LOAD( "sf2_26.bin", 0x400006, 0x80000, CRC(0627c831) SHA1(f9a92d614e8877d648449de2612fc8b43c85e4c2) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2gfx22.rom */
50695069
5070   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
5070   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
50715071   ROM_LOAD( "sf2_09.bin",    0x00000, 0x08000, CRC(a4823a1b) SHA1(7b6bf59dfd578bfbbdb64c27988796783442d659) )
50725072   ROM_CONTINUE(              0x10000, 0x08000 )
50735073
r4347r4348
50845084ROM_END
50855085
50865086ROM_START( sf2ub )
5087   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
5087   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
50885088   ROM_LOAD16_BYTE( "sf2_30a.bin",   0x00000, 0x20000, CRC(57bd7051) SHA1(5e211e75b1649b07723cabc03cf15636dbbae595) )
50895089   ROM_LOAD16_BYTE( "sf2u.37b",      0x00001, 0x20000, CRC(4a54d479) SHA1(eaff7a0d3c858a567c02086fde163850f0f5631e) )
50905090   ROM_LOAD16_BYTE( "sf2_31a.bin",   0x40000, 0x20000, CRC(a673143d) SHA1(e565f0ec23d6deb543c72af5a83f070c07319477) )
r4347r4348
51085108   ROMX_LOAD( "sf2_24.bin", 0x400004, 0x80000, CRC(c1befaa8) SHA1(a6a7f4725e52678cbd8d557285c01cdccb2c2602) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2gfx20.rom */
51095109   ROMX_LOAD( "sf2_26.bin", 0x400006, 0x80000, CRC(0627c831) SHA1(f9a92d614e8877d648449de2612fc8b43c85e4c2) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2gfx22.rom */
51105110
5111   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
5111   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
51125112   ROM_LOAD( "sf2_09.bin",    0x00000, 0x08000, CRC(a4823a1b) SHA1(7b6bf59dfd578bfbbdb64c27988796783442d659) )
51135113   ROM_CONTINUE(              0x10000, 0x08000 )
51145114
r4347r4348
51255125ROM_END
51265126
51275127ROM_START( sf2ud )
5128   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
5128   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
51295129   ROM_LOAD16_BYTE( "sf2u.30d",      0x00000, 0x20000, CRC(4bb2657c) SHA1(b2d077296b77be7db371f953b7fc446a67d8a9d6) )
51305130   ROM_LOAD16_BYTE( "sf2u.37d",      0x00001, 0x20000, CRC(b33b42f2) SHA1(2e0babc8734c79dc2b51a6be64433bb2411c3da5) )
51315131   ROM_LOAD16_BYTE( "sf2u.31d",      0x40000, 0x20000, CRC(d57b67d7) SHA1(43d0b47c9fada8d9b445caa4b96ac8493061aa8b) )
r4347r4348
51495149   ROMX_LOAD( "sf2_24.bin", 0x400004, 0x80000, CRC(c1befaa8) SHA1(a6a7f4725e52678cbd8d557285c01cdccb2c2602) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2gfx20.rom */
51505150   ROMX_LOAD( "sf2_26.bin", 0x400006, 0x80000, CRC(0627c831) SHA1(f9a92d614e8877d648449de2612fc8b43c85e4c2) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2gfx22.rom */
51515151
5152   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
5152   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
51535153   ROM_LOAD( "sf2_09.bin",    0x00000, 0x08000, CRC(a4823a1b) SHA1(7b6bf59dfd578bfbbdb64c27988796783442d659) )
51545154   ROM_CONTINUE(              0x10000, 0x08000 )
51555155
r4347r4348
51665166ROM_END
51675167
51685168ROM_START( sf2ue )
5169   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
5169   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
51705170   ROM_LOAD16_BYTE( "sf2u.30e",      0x00000, 0x20000, CRC(f37cd088) SHA1(48b71e44ce88d5f682ed679c737e7ec5262bb0df) )
51715171   ROM_LOAD16_BYTE( "sf2u.37e",      0x00001, 0x20000, CRC(6c61a513) SHA1(6dc9ccd58fd5ef15ff9df20c865ff6c850f2b7dc) )
51725172   ROM_LOAD16_BYTE( "sf2u.31e",      0x40000, 0x20000, CRC(7c4771b4) SHA1(6637b24194c86ec72a1775d4e976891243cd66fd) )
r4347r4348
51905190   ROMX_LOAD( "sf2_24.bin", 0x400004, 0x80000, CRC(c1befaa8) SHA1(a6a7f4725e52678cbd8d557285c01cdccb2c2602) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2gfx20.rom */
51915191   ROMX_LOAD( "sf2_26.bin", 0x400006, 0x80000, CRC(0627c831) SHA1(f9a92d614e8877d648449de2612fc8b43c85e4c2) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2gfx22.rom */
51925192
5193   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
5193   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
51945194   ROM_LOAD( "sf2_09.bin",    0x00000, 0x08000, CRC(a4823a1b) SHA1(7b6bf59dfd578bfbbdb64c27988796783442d659) )
51955195   ROM_CONTINUE(              0x10000, 0x08000 )
51965196
r4347r4348
52075207ROM_END
52085208
52095209ROM_START( sf2uf )
5210   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
5210   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
52115211   ROM_LOAD16_BYTE( "sf2e.30g",      0x00000, 0x20000, CRC(fe39ee33) SHA1(22558eb15e035b09b80935a32b8425d91cd79669) )
52125212   ROM_LOAD16_BYTE( "sf2u.37f",      0x00001, 0x20000, CRC(169e7388) SHA1(c7cb2de529d94cea4a018ed3bd611037fe54abe7) )
52135213   ROM_LOAD16_BYTE( "sf2e.31g",      0x40000, 0x20000, CRC(69a0a301) SHA1(86a3954335310865b14ce8b4e0e4499feb14fc12) )
r4347r4348
52315231   ROMX_LOAD( "sf2_24.bin", 0x400004, 0x80000, CRC(c1befaa8) SHA1(a6a7f4725e52678cbd8d557285c01cdccb2c2602) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2gfx20.rom */
52325232   ROMX_LOAD( "sf2_26.bin", 0x400006, 0x80000, CRC(0627c831) SHA1(f9a92d614e8877d648449de2612fc8b43c85e4c2) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2gfx22.rom */
52335233
5234   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
5234   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
52355235   ROM_LOAD( "sf2_09.bin",    0x00000, 0x08000, CRC(a4823a1b) SHA1(7b6bf59dfd578bfbbdb64c27988796783442d659) )
52365236   ROM_CONTINUE(              0x10000, 0x08000 )
52375237
r4347r4348
52485248ROM_END
52495249
52505250ROM_START( sf2ui )
5251   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
5251   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
52525252   ROM_LOAD16_BYTE( "sf2e.30g",      0x00000, 0x20000, CRC(fe39ee33) SHA1(22558eb15e035b09b80935a32b8425d91cd79669) )
52535253   ROM_LOAD16_BYTE( "sf2u.37i",      0x00001, 0x20000, CRC(9df707dd) SHA1(b148ea450f9e96f3c20f487010a3c57f778e40c1) )
52545254   ROM_LOAD16_BYTE( "sf2e.31g",      0x40000, 0x20000, CRC(69a0a301) SHA1(86a3954335310865b14ce8b4e0e4499feb14fc12) )
r4347r4348
52725272   ROMX_LOAD( "sf2_24.bin", 0x400004, 0x80000, CRC(c1befaa8) SHA1(a6a7f4725e52678cbd8d557285c01cdccb2c2602) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2gfx20.rom */
52735273   ROMX_LOAD( "sf2_26.bin", 0x400006, 0x80000, CRC(0627c831) SHA1(f9a92d614e8877d648449de2612fc8b43c85e4c2) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2gfx22.rom */
52745274
5275   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
5275   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
52765276   ROM_LOAD( "sf2_09.bin",    0x00000, 0x08000, CRC(a4823a1b) SHA1(7b6bf59dfd578bfbbdb64c27988796783442d659) )
52775277   ROM_CONTINUE(              0x10000, 0x08000 )
52785278
r4347r4348
52895289ROM_END
52905290
52915291ROM_START( sf2uk )
5292   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
5292   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
52935293   ROM_LOAD16_BYTE( "sf2u.30k",      0x00000, 0x20000, CRC(8f66076c) SHA1(f9653b36bb5012e6bde5fe3bcade4a6a7a7e7def) )
52945294   ROM_LOAD16_BYTE( "sf2u.37k",      0x00001, 0x20000, CRC(4e1f6a83) SHA1(ee679b79ff3c3165979d3de23e0f668839cf465f) )
52955295   ROM_LOAD16_BYTE( "sf2u.31k",      0x40000, 0x20000, CRC(f9f89f60) SHA1(c3b71482b85c83576518f300be768655412276b0) )
r4347r4348
53135313   ROMX_LOAD( "sf2_24.bin", 0x400004, 0x80000, CRC(c1befaa8) SHA1(a6a7f4725e52678cbd8d557285c01cdccb2c2602) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2gfx20.rom */
53145314   ROMX_LOAD( "sf2_26.bin", 0x400006, 0x80000, CRC(0627c831) SHA1(f9a92d614e8877d648449de2612fc8b43c85e4c2) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2gfx22.rom */
53155315
5316   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
5316   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
53175317   ROM_LOAD( "sf2_09.bin",    0x00000, 0x08000, CRC(a4823a1b) SHA1(7b6bf59dfd578bfbbdb64c27988796783442d659) )
53185318   ROM_CONTINUE(              0x10000, 0x08000 )
53195319
r4347r4348
53305330ROM_END
53315331
53325332ROM_START( sf2j )
5333   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
5333   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
53345334   ROM_LOAD16_BYTE( "sf2j30.bin",    0x00000, 0x20000, CRC(79022b31) SHA1(b7cfe0498260cdd2779580c47829dd02435ffff4) )
53355335   ROM_LOAD16_BYTE( "sf2j37.bin",    0x00001, 0x20000, CRC(516776ec) SHA1(4f8b63c4d4265a105751fa72b50bd0fa538bf881) )
53365336   ROM_LOAD16_BYTE( "sf2j31.bin",    0x40000, 0x20000, CRC(fe15cb39) SHA1(383478524881ea70d9e04c9b6143b8735b637eee) )
r4347r4348
53545354   ROMX_LOAD( "sf2_24.bin", 0x400004, 0x80000, CRC(c1befaa8) SHA1(a6a7f4725e52678cbd8d557285c01cdccb2c2602) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2gfx20.rom */
53555355   ROMX_LOAD( "sf2_26.bin", 0x400006, 0x80000, CRC(0627c831) SHA1(f9a92d614e8877d648449de2612fc8b43c85e4c2) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2gfx22.rom */
53565356
5357   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
5357   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
53585358   ROM_LOAD( "sf2_09.bin",    0x00000, 0x08000, CRC(a4823a1b) SHA1(7b6bf59dfd578bfbbdb64c27988796783442d659) )
53595359   ROM_CONTINUE(              0x10000, 0x08000 )
53605360
r4347r4348
53715371ROM_END
53725372
53735373ROM_START( sf2ja )
5374   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
5374   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
53755375   ROM_LOAD16_BYTE( "sf2_30a.bin",   0x00000, 0x20000, CRC(57bd7051) SHA1(5e211e75b1649b07723cabc03cf15636dbbae595) )
53765376   ROM_LOAD16_BYTE( "sf2j_37a.bin",  0x00001, 0x20000, CRC(1e1f6844) SHA1(c80e5ac6a6cea39511c38e31ea55b6cd3888024f) )
53775377   ROM_LOAD16_BYTE( "sf2_31a.bin",   0x40000, 0x20000, CRC(a673143d) SHA1(e565f0ec23d6deb543c72af5a83f070c07319477) )
r4347r4348
53955395   ROMX_LOAD( "sf2_24.bin", 0x400004, 0x80000, CRC(c1befaa8) SHA1(a6a7f4725e52678cbd8d557285c01cdccb2c2602) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2gfx20.rom */
53965396   ROMX_LOAD( "sf2_26.bin", 0x400006, 0x80000, CRC(0627c831) SHA1(f9a92d614e8877d648449de2612fc8b43c85e4c2) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2gfx22.rom */
53975397
5398   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
5398   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
53995399   ROM_LOAD( "sf2_09.bin",    0x00000, 0x08000, CRC(a4823a1b) SHA1(7b6bf59dfd578bfbbdb64c27988796783442d659) )
54005400   ROM_CONTINUE(              0x10000, 0x08000 )
54015401
r4347r4348
54125412ROM_END
54135413
54145414ROM_START( sf2jc )
5415   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
5415   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
54165416   ROM_LOAD16_BYTE( "sf2_30c.bin",   0x00000, 0x20000, CRC(8add35ec) SHA1(b08428ff262ca4feddd3c72058b4b674a5401aba) )
54175417   ROM_LOAD16_BYTE( "sf2j_37c.bin",  0x00001, 0x20000, CRC(0d74a256) SHA1(587fd0ee1c2ef54554237486eb5b0d1ec30c2868) )
54185418   ROM_LOAD16_BYTE( "sf2_31c.bin",   0x40000, 0x20000, CRC(c4fff4a9) SHA1(4b593ace201fe7f5a00b5cd7f4e8fc3f8dd4ceed) )
r4347r4348
54365436   ROMX_LOAD( "sf2_24.bin", 0x400004, 0x80000, CRC(c1befaa8) SHA1(a6a7f4725e52678cbd8d557285c01cdccb2c2602) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2gfx20.rom */
54375437   ROMX_LOAD( "sf2_26.bin", 0x400006, 0x80000, CRC(0627c831) SHA1(f9a92d614e8877d648449de2612fc8b43c85e4c2) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2gfx22.rom */
54385438
5439   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
5439   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
54405440   ROM_LOAD( "sf2_09.bin",    0x00000, 0x08000, CRC(a4823a1b) SHA1(7b6bf59dfd578bfbbdb64c27988796783442d659) )
54415441   ROM_CONTINUE(              0x10000, 0x08000 )
54425442
r4347r4348
54545454
54555455/* B-Board 89624B */
54565456ROM_START( 3wonders )
5457   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
5457   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
54585458   ROM_LOAD16_BYTE( "rte_30a.11f", 0x00000, 0x20000, CRC(ef5b8b33) SHA1(2313168e5f10505ceece5fdaada0d30df3ca146c) )
54595459   ROM_LOAD16_BYTE( "rte_35a.11h", 0x00001, 0x20000, CRC(7d705529) SHA1(b456629b5755b701cca8a438d24957367a260ec5) )
54605460   ROM_LOAD16_BYTE( "rte_31a.12f", 0x40000, 0x20000, CRC(32835e5e) SHA1(9ec530561030a75a1283ff2aacc21e55613b682b) )
r4347r4348
54745474   ROMX_LOAD( "rt-2m.4a",  0x200004, 0x80000, CRC(e9a034f4) SHA1(deb4cb5886705380b57d4fe9b9bf3c032e1d6227) , ROM_GROUPWORD | ROM_SKIP(6) )
54755475   ROMX_LOAD( "rt-4m.6a",  0x200006, 0x80000, CRC(df0eea8b) SHA1(5afa05654cccb0504bd44569d42fd68f08fd172f) , ROM_GROUPWORD | ROM_SKIP(6) )
54765476
5477   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
5477   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
54785478   ROM_LOAD( "rt_9.12b",   0x00000, 0x08000, CRC(abfca165) SHA1(428069d3bdc45775854cd0e8abe447f134fe5492) )
54795479   ROM_CONTINUE(           0x10000, 0x08000 )
54805480
r4347r4348
54995499
55005500/* B-Board 89624B */
55015501ROM_START( 3wonderu )
5502   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
5502   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
55035503   ROM_LOAD16_BYTE( "3wonders.30",  0x00000, 0x20000, CRC(0b156fd8) SHA1(1ec811cd7cbd12066f876db7255394e754ceb25e) )
55045504   ROM_LOAD16_BYTE( "3wonders.35",  0x00001, 0x20000, CRC(57350bf4) SHA1(33e8685cce82eee7bcb7c2787318a130764e97e2) )
55055505   ROM_LOAD16_BYTE( "3wonders.31",  0x40000, 0x20000, CRC(0e723fcc) SHA1(91eeab6376a5aa852152af9920aef60bc7c689dd) )
r4347r4348
55195519   ROMX_LOAD( "rt-2m.4a",  0x200004, 0x80000, CRC(e9a034f4) SHA1(deb4cb5886705380b57d4fe9b9bf3c032e1d6227) , ROM_GROUPWORD | ROM_SKIP(6) )
55205520   ROMX_LOAD( "rt-4m.6a",  0x200006, 0x80000, CRC(df0eea8b) SHA1(5afa05654cccb0504bd44569d42fd68f08fd172f) , ROM_GROUPWORD | ROM_SKIP(6) )
55215521
5522   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
5522   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
55235523   ROM_LOAD( "rt_9.12b",   0x00000, 0x08000, CRC(abfca165) SHA1(428069d3bdc45775854cd0e8abe447f134fe5492) )
55245524   ROM_CONTINUE(           0x10000, 0x08000 )
55255525
r4347r4348
55445544
55455545/* B-Board 89625B */
55465546ROM_START( wonder3 )
5547   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
5547   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
55485548   ROM_LOAD16_BYTE( "rtj_36.12f", 0x00000, 0x20000, CRC(e3741247) SHA1(4deb0f667697631693fbefddaeb8cf98fd0b90ce) )
55495549   ROM_LOAD16_BYTE( "rtj_42.12h", 0x00001, 0x20000, CRC(b4baa117) SHA1(44486b3d50f9b0a8c32c2c2dc5f1a046aface7b6) )
55505550   ROM_LOAD16_BYTE( "rtj_37.13f", 0x40000, 0x20000, CRC(a1f677b0) SHA1(e1511ea0fa4a689d1355119ac37c075192880dde) )
r4347r4348
55885588   ROMX_LOAD( "rt_29.11e", 0x300006, 0x20000, CRC(8fa77f9f) SHA1(2f6b37d8e5eed38a8847c9ad736a7cdbe9958a70) , ROM_SKIP(7) )   // == rt-4m.6a
55895589   ROMX_LOAD( "rt_22.11c", 0x300007, 0x20000, CRC(228a0d4a) SHA1(bcaf12d01abe1d3cd5731bd5341cb22c4ca6139e) , ROM_SKIP(7) )   // == rt-4m.6a
55905590
5591   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
5591   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
55925592   ROM_LOAD( "rt_23.13b",  0x00000, 0x08000, CRC(abfca165) SHA1(428069d3bdc45775854cd0e8abe447f134fe5492) )   // == rt_9.12b
55935593   ROM_CONTINUE(           0x10000, 0x08000 )
55945594
r4347r4348
56135613
56145614/* Three Wonders (hack?) */
56155615ROM_START( 3wonderh )
5616   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
5616   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
56175617   ROM_LOAD16_BYTE( "22.bin",      0x00000, 0x20000, CRC(e6071884) SHA1(5cf1a859739cf98846cb049b64fd083733acb29c) )
56185618   ROM_LOAD16_BYTE( "26.bin",      0x00001, 0x20000, CRC(a28447b7) SHA1(e3f11911f1d3d115c03edf1bb6c8a68fccd9e9b3) )
56195619   ROM_LOAD16_BYTE( "23.bin",      0x40000, 0x20000, CRC(fd3d6509) SHA1(0824ec397d12c2b832c9e694c23b59c2e489ed3b) )
r4347r4348
56415641   ROMX_LOAD( "15.bin",    0x200006, 0x40000, CRC(f239341a) SHA1(b1858f5f7a5d210c5327b84a797ed7e898250596) , ROM_SKIP(7) )
56425642   ROMX_LOAD( "5.bin",     0x200007, 0x40000, CRC(947ac944) SHA1(d962f49ba532fc60209bb3957ff8a456855ef67f) , ROM_SKIP(7) )
56435643
5644   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
5644   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
56455645   ROM_LOAD( "rt_9.12b",   0x00000, 0x08000, CRC(abfca165) SHA1(428069d3bdc45775854cd0e8abe447f134fe5492) )
56465646   ROM_CONTINUE(           0x10000, 0x08000 )
56475647
r4347r4348
56665666
56675667/* B-Board 90629B */
56685668ROM_START( kod )
5669   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
5669   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
56705670   ROM_LOAD16_BYTE( "kod30.rom",    0x00000, 0x20000, CRC(c7414fd4) SHA1(37d27fbe7c617a26b53bfdfcd532cf573d42f33b) )
56715671   ROM_LOAD16_BYTE( "kod37.rom",    0x00001, 0x20000, CRC(a5bf40d2) SHA1(cd34dbeabd0974709411579e669f01d0d799c2a1) )
56725672   ROM_LOAD16_BYTE( "kod31.rom",    0x40000, 0x20000, CRC(1fffc7bd) SHA1(822c9ad996ca51a99a2bb1fe08fa19e18413030d) )
r4347r4348
56865686   ROMX_LOAD( "kod10.rom",    0x200004, 0x80000, CRC(9ef36604) SHA1(b42ca0a910b65e1e7bb6e7d734e853ce67e821bf) , ROM_GROUPWORD | ROM_SKIP(6) )
56875687   ROMX_LOAD( "kod12.rom",    0x200006, 0x80000, CRC(402b9b4f) SHA1(4c11976976eadf1ad293b31b0a4d047d05032b06) , ROM_GROUPWORD | ROM_SKIP(6) )
56885688
5689   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
5689   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
56905690   ROM_LOAD( "kod09.rom",     0x00000, 0x08000, CRC(f5514510) SHA1(07e9c836adf9ef2f7e7729e99015f71e3b5f16e0) )
56915691   ROM_CONTINUE(              0x10000, 0x08000 )
56925692
r4347r4348
57045704
57055705/* B-Board 90629B */
57065706ROM_START( kodu )
5707   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
5707   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
57085708   ROM_LOAD16_BYTE( "kdu-30b.bin",  0x00000, 0x20000, CRC(825817f9) SHA1(250f61effcbe59f8b70baaf26eb8aef419fed66b) )
57095709   ROM_LOAD16_BYTE( "kdu-37b.bin",  0x00001, 0x20000, CRC(d2422dfb) SHA1(6e369a62012f3c480755b700d4d4f4c112c79483) )
57105710   ROM_LOAD16_BYTE( "kdu-31b.bin",  0x40000, 0x20000, CRC(9af36039) SHA1(f2645178a042689a387f916b4ecd7d1d859d758a) )
r4347r4348
57245724   ROMX_LOAD( "kod10.rom",    0x200004, 0x80000, CRC(9ef36604) SHA1(b42ca0a910b65e1e7bb6e7d734e853ce67e821bf) , ROM_GROUPWORD | ROM_SKIP(6) )
57255725   ROMX_LOAD( "kod12.rom",    0x200006, 0x80000, CRC(402b9b4f) SHA1(4c11976976eadf1ad293b31b0a4d047d05032b06) , ROM_GROUPWORD | ROM_SKIP(6) )
57265726
5727   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
5727   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
57285728   ROM_LOAD( "kd09.bin",      0x00000, 0x08000, CRC(bac6ec26) SHA1(6cbb6d55660150ae3f5270e023328275ee1bbf50) )
57295729   ROM_CONTINUE(              0x10000, 0x08000 )
57305730
r4347r4348
57425742
57435743/* B-Board 90629B */
57445744ROM_START( kodj )
5745   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
5745   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
57465746   ROM_LOAD16_BYTE( "kd30.bin",     0x00000, 0x20000, CRC(ebc788ad) SHA1(f4a297e409fcdbb2c15a13b39a16e4a83e7e060b) )
57475747   ROM_LOAD16_BYTE( "kd37.bin",     0x00001, 0x20000, CRC(e55c3529) SHA1(a5254895499a53b4fbaac6fd50464b9e08175b8d) )
57485748   ROM_LOAD16_BYTE( "kd31.bin",     0x40000, 0x20000, CRC(c710d722) SHA1(a2e9b84d3e7d835a910ab9f584bdc64c2559995a) )
r4347r4348
57595759   ROMX_LOAD( "kod10.rom",    0x200004, 0x80000, CRC(9ef36604) SHA1(b42ca0a910b65e1e7bb6e7d734e853ce67e821bf) , ROM_GROUPWORD | ROM_SKIP(6) )
57605760   ROMX_LOAD( "kod12.rom",    0x200006, 0x80000, CRC(402b9b4f) SHA1(4c11976976eadf1ad293b31b0a4d047d05032b06) , ROM_GROUPWORD | ROM_SKIP(6) )
57615761
5762   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
5762   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
57635763   ROM_LOAD( "kd09.bin",      0x00000, 0x08000, CRC(bac6ec26) SHA1(6cbb6d55660150ae3f5270e023328275ee1bbf50) )
57645764   ROM_CONTINUE(              0x10000, 0x08000 )
57655765
r4347r4348
57795779
57805780/* B-Board 91635B */
57815781ROM_START( captcomm )
5782   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
5782   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
57835783   ROM_LOAD16_WORD_SWAP( "cce_23d.rom",  0x000000, 0x80000, CRC(19c58ece) SHA1(6e23e87db29b2c5698b7cead99d1106a2e190648) )
57845784   ROM_LOAD16_WORD_SWAP( "cc_22d.rom",   0x080000, 0x80000, CRC(a91949b7) SHA1(c027af89cd8f6bd3aaed61114582322c42e0c74f) )
57855785   ROM_LOAD16_BYTE( "cc_24d.rom",        0x100000, 0x20000, CRC(680e543f) SHA1(cfa963ab6329f615807db213bf53841860ed3149) )
r4347r4348
57955795   ROMX_LOAD( "gfx_06.rom",   0x200004, 0x80000, CRC(0c69f151) SHA1(a170b8e568439e4a26d84376d53560e4248e4e2f) , ROM_GROUPWORD | ROM_SKIP(6) )
57965796   ROMX_LOAD( "gfx_08.rom",   0x200006, 0x80000, CRC(1f9ebb97) SHA1(023d00cb7b6a52d1b29e2052abe08ef34cb0c55c) , ROM_GROUPWORD | ROM_SKIP(6) )
57975797
5798   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
5798   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
57995799   ROM_LOAD( "cc_09.rom",     0x00000, 0x08000, CRC(698e8b58) SHA1(b7a3d905a7ed2c430426ca2e185e3d7e75e752a1) )
58005800   ROM_CONTINUE(              0x10000, 0x08000 )
58015801
r4347r4348
58225822
58235823/* B-Board 91635B */
58245824ROM_START( captcomu )
5825   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
5825   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
58265826   ROM_LOAD16_WORD_SWAP( "23b",   0x000000, 0x80000, CRC(03da44fd) SHA1(0bf382933b4b44082bbaf63e96acd83ab8808a34) )
58275827   ROM_LOAD16_WORD_SWAP( "22c",   0x080000, 0x80000, CRC(9b82a052) SHA1(8247fe45fea8c47072a66d6707202bcdb8c62923) )
58285828   ROM_LOAD16_BYTE( "24b",        0x100000, 0x20000, CRC(84ff99b2) SHA1(5b02c91f3d0f8fb46db9596136b683f5a22dc15f) )
r4347r4348
58385838   ROMX_LOAD( "gfx_06.rom",   0x200004, 0x80000, CRC(0c69f151) SHA1(a170b8e568439e4a26d84376d53560e4248e4e2f) , ROM_GROUPWORD | ROM_SKIP(6) )
58395839   ROMX_LOAD( "gfx_08.rom",   0x200006, 0x80000, CRC(1f9ebb97) SHA1(023d00cb7b6a52d1b29e2052abe08ef34cb0c55c) , ROM_GROUPWORD | ROM_SKIP(6) )
58405840
5841   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
5841   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
58425842   ROM_LOAD( "cc_09.rom",     0x00000, 0x08000, CRC(698e8b58) SHA1(b7a3d905a7ed2c430426ca2e185e3d7e75e752a1) )
58435843   ROM_CONTINUE(              0x10000, 0x08000 )
58445844
r4347r4348
58655865
58665866/* B-Board 91635B */
58675867ROM_START( captcomj )
5868   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
5868   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
58695869   ROM_LOAD16_WORD_SWAP( "cc23.bin",   0x000000, 0x80000, CRC(5b482b62) SHA1(c871aa1eb9ecc117c3079995d1f5212193bd2e12) )
58705870   ROM_LOAD16_WORD_SWAP( "cc22.bin",   0x080000, 0x80000, CRC(0fd34195) SHA1(fb2b9a53af43507f13c4f94eaebbf0b538b2e754) )
58715871   ROM_LOAD16_BYTE( "cc24.bin",        0x100000, 0x20000, CRC(3a794f25) SHA1(7f3722a4ef0c1d7acb73e6bac9dd6ae7b35e6374) )
r4347r4348
58815881   ROMX_LOAD( "gfx_06.rom",   0x200004, 0x80000, CRC(0c69f151) SHA1(a170b8e568439e4a26d84376d53560e4248e4e2f) , ROM_GROUPWORD | ROM_SKIP(6) )
58825882   ROMX_LOAD( "gfx_08.rom",   0x200006, 0x80000, CRC(1f9ebb97) SHA1(023d00cb7b6a52d1b29e2052abe08ef34cb0c55c) , ROM_GROUPWORD | ROM_SKIP(6) )
58835883
5884   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
5884   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
58855885   ROM_LOAD( "cc_09.rom",     0x00000, 0x08000, CRC(698e8b58) SHA1(b7a3d905a7ed2c430426ca2e185e3d7e75e752a1) )
58865886   ROM_CONTINUE(              0x10000, 0x08000 )
58875887
r4347r4348
59325932*/
59335933
59345934ROM_START( captcomb )
5935   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
5935   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
59365936   ROM_LOAD16_BYTE( "25.bin",        0x000000, 0x80000, CRC(cb71ed7a) SHA1(84f76b4861a3c7a59e67f38777f2d68749f19337) )
59375937   ROM_LOAD16_BYTE( "27.bin",        0x000001, 0x80000, CRC(47cb2e87) SHA1(8a990a3a122045b50dd73d2e7b02fe60ab9af0a3) )
59385938   ROM_LOAD16_BYTE( "24.bin",        0x100000, 0x40000, CRC(79794279) SHA1(5a43a4cef6653454ba9a81f2dd7f3f91c8a3354c) )
r4347r4348
59565956   ROM_CONTINUE(             0x200003, 0x40000)
59575957   ROM_CONTINUE(             0x200007, 0x40000)
59585958
5959   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
5959   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
59605960   ROM_LOAD( "l.bin",     0x00000, 0x08000, CRC(698e8b58) SHA1(b7a3d905a7ed2c430426ca2e185e3d7e75e752a1) )
59615961   ROM_CONTINUE(              0x10000, 0x08000 )
59625962
r4347r4348
59675967
59685968/* B-Board 91635B */
59695969ROM_START( knights )
5970   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
5970   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
59715971   ROM_LOAD16_WORD_SWAP( "kr_23e.rom",   0x00000, 0x80000, CRC(1b3997eb) SHA1(724b68eff319fcdf0dd3bc1eb6662996c1f6ecd9) )
59725972   ROM_LOAD16_WORD_SWAP( "kr_22.rom",    0x80000, 0x80000, CRC(d0b671a9) SHA1(9865472c5fc3f617345e23b5de5a9ba177945b5a) )
59735973
r4347r4348
59815981   ROMX_LOAD( "kr_gfx6.rom",  0x200004, 0x80000, CRC(0200bc3d) SHA1(c900b1be2b4e49b951e5c1e3fd1e19d21b82986e) , ROM_GROUPWORD | ROM_SKIP(6) )
59825982   ROMX_LOAD( "kr_gfx8.rom",  0x200006, 0x80000, CRC(0bb2b4e7) SHA1(983b800925d58e4aeb4e5105f93ed5faf66d009c) , ROM_GROUPWORD | ROM_SKIP(6) )
59835983
5984   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
5984   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
59855985   ROM_LOAD( "kr_09.rom",     0x00000, 0x08000, CRC(5e44d9ee) SHA1(47a7503321be8d52b5c44af838e3bb82ee15a415) )
59865986   ROM_CONTINUE(              0x10000, 0x08000 )
59875987
r4347r4348
60086008
60096009/* B-Board 91635B */
60106010ROM_START( knightsu )
6011   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
6011   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
60126012   ROM_LOAD16_WORD_SWAP( "kru23.rom",    0x00000, 0x80000, CRC(252bc2ba) SHA1(4f4901c253bd64bbe68ea01994ae663fe2ccd056) )
60136013   ROM_LOAD16_WORD_SWAP( "kr_22.rom",    0x80000, 0x80000, CRC(d0b671a9) SHA1(9865472c5fc3f617345e23b5de5a9ba177945b5a) )
60146014
r4347r4348
60226022   ROMX_LOAD( "kr_gfx6.rom",  0x200004, 0x80000, CRC(0200bc3d) SHA1(c900b1be2b4e49b951e5c1e3fd1e19d21b82986e) , ROM_GROUPWORD | ROM_SKIP(6) )
60236023   ROMX_LOAD( "kr_gfx8.rom",  0x200006, 0x80000, CRC(0bb2b4e7) SHA1(983b800925d58e4aeb4e5105f93ed5faf66d009c) , ROM_GROUPWORD | ROM_SKIP(6) )
60246024
6025   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
6025   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
60266026   ROM_LOAD( "kr_09.rom",     0x00000, 0x08000, CRC(5e44d9ee) SHA1(47a7503321be8d52b5c44af838e3bb82ee15a415) )
60276027   ROM_CONTINUE(              0x10000, 0x08000 )
60286028
r4347r4348
60506050/* FIXME B-Board uncertain but should be 90629B from the program ROM names */
60516051/* FIXME - GFX ROM names are wrong, copied from the other version. The contents should be the same though. */
60526052ROM_START( knightsj )
6053   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
6053   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
60546054   ROM_LOAD16_BYTE( "krj30.bin",         0x00000, 0x20000, CRC(ad3d1a8e) SHA1(327f9e818f1500836fc549afeffbb2a3c5aafe8c) )
60556055   ROM_LOAD16_BYTE( "krj37.bin",         0x00001, 0x20000, CRC(e694a491) SHA1(5a4d27c879c10032c49880019501de3e45ab1b35) )
60566056   ROM_LOAD16_BYTE( "krj31.bin",         0x40000, 0x20000, CRC(85596094) SHA1(74ad294de63aa6b60aa8b885c45c3d41a07ce19a) )
r4347r4348
60676067   ROMX_LOAD( "kr_gfx6.rom",  0x200004, 0x80000, CRC(0200bc3d) SHA1(c900b1be2b4e49b951e5c1e3fd1e19d21b82986e) , ROM_GROUPWORD | ROM_SKIP(6) )
60686068   ROMX_LOAD( "kr_gfx8.rom",  0x200006, 0x80000, CRC(0bb2b4e7) SHA1(983b800925d58e4aeb4e5105f93ed5faf66d009c) , ROM_GROUPWORD | ROM_SKIP(6) )
60696069
6070   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
6070   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
60716071   ROM_LOAD( "kr_09.rom",     0x00000, 0x08000, CRC(5e44d9ee) SHA1(47a7503321be8d52b5c44af838e3bb82ee15a415) )
60726072   ROM_CONTINUE(              0x10000, 0x08000 )
60736073
r4347r4348
60846084ROM_END
60856085
60866086ROM_START( sf2ce )
6087   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
6087   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
60886088   ROM_LOAD16_WORD_SWAP( "sf2ce.23",     0x000000, 0x80000, CRC(3f846b74) SHA1(c8d7a01b626771870123f1663a01a81f9c8fe582) )
60896089   ROM_LOAD16_WORD_SWAP( "sf2ce.22",     0x080000, 0x80000, CRC(99f1cca4) SHA1(64111eba81d743fc3fd51d7a89cd0b2eefcc900d) )
60906090   ROM_LOAD16_WORD_SWAP( "s92_21a.bin",  0x100000, 0x80000, CRC(925a7877) SHA1(1960dca35f0ca6f2b399a9fccfbc0132ac6425d1) )
r4347r4348
61036103   ROMX_LOAD( "s92_12.bin",   0x400004, 0x80000, CRC(d6ec9a0a) SHA1(ed6143f8737013b6ef1684e37c05e037e7a80dae) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2.12 */
61046104   ROMX_LOAD( "s92_13.bin",   0x400006, 0x80000, CRC(ed2c67f6) SHA1(0083c0ffaf6fe7659ff0cf822be4346cd6e61329) , ROM_GROUPWORD | ROM_SKIP(6) )
61056105
6106   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
6106   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
61076107   ROM_LOAD( "s92_09.bin",    0x00000, 0x08000, CRC(08f6b60e) SHA1(8258fcaca4ac419312531eec67079b97f471179c) )
61086108   ROM_CONTINUE(              0x10000, 0x08000 )
61096109
r4347r4348
61206120ROM_END
61216121
61226122ROM_START( sf2ceua )
6123   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
6123   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
61246124   ROM_LOAD16_WORD_SWAP( "s92u-23a",     0x000000, 0x80000, CRC(ac44415b) SHA1(218f8b1886eb72b8547127042b5ae47600e18944) )
61256125   ROM_LOAD16_WORD_SWAP( "sf2ce.22",     0x080000, 0x80000, CRC(99f1cca4) SHA1(64111eba81d743fc3fd51d7a89cd0b2eefcc900d) )
61266126   ROM_LOAD16_WORD_SWAP( "s92_21a.bin",  0x100000, 0x80000, CRC(925a7877) SHA1(1960dca35f0ca6f2b399a9fccfbc0132ac6425d1) )
r4347r4348
61396139   ROMX_LOAD( "s92_12.bin",   0x400004, 0x80000, CRC(d6ec9a0a) SHA1(ed6143f8737013b6ef1684e37c05e037e7a80dae) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2.12 */
61406140   ROMX_LOAD( "s92_13.bin",   0x400006, 0x80000, CRC(ed2c67f6) SHA1(0083c0ffaf6fe7659ff0cf822be4346cd6e61329) , ROM_GROUPWORD | ROM_SKIP(6) )
61416141
6142   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
6142   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
61436143   ROM_LOAD( "s92_09.bin",    0x00000, 0x08000, CRC(08f6b60e) SHA1(8258fcaca4ac419312531eec67079b97f471179c) )
61446144   ROM_CONTINUE(              0x10000, 0x08000 )
61456145
r4347r4348
61566156ROM_END
61576157
61586158ROM_START( sf2ceub )
6159   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
6159   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
61606160   ROM_LOAD16_WORD_SWAP( "s92-23b",      0x000000, 0x80000, CRC(996a3015) SHA1(fdf45da54b1c14478a60f2b86e37ffe32a98b135) )
61616161   ROM_LOAD16_WORD_SWAP( "s92-22b",      0x080000, 0x80000, CRC(2bbe15ed) SHA1(a8e2edef62fa99c5ef701b28bfb6bc42f3af183d) )
61626162   ROM_LOAD16_WORD_SWAP( "s92-21b",      0x100000, 0x80000, CRC(b383cb1c) SHA1(fd527d5b27a853758bc6ed0f4108f3c634484de6) )
r4347r4348
61756175   ROMX_LOAD( "s92_12.bin",   0x400004, 0x80000, CRC(d6ec9a0a) SHA1(ed6143f8737013b6ef1684e37c05e037e7a80dae) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2.12 */
61766176   ROMX_LOAD( "s92_13.bin",   0x400006, 0x80000, CRC(ed2c67f6) SHA1(0083c0ffaf6fe7659ff0cf822be4346cd6e61329) , ROM_GROUPWORD | ROM_SKIP(6) )
61776177
6178   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
6178   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
61796179   ROM_LOAD( "s92_09.bin",    0x00000, 0x08000, CRC(08f6b60e) SHA1(8258fcaca4ac419312531eec67079b97f471179c) )
61806180   ROM_CONTINUE(              0x10000, 0x08000 )
61816181
r4347r4348
61926192ROM_END
61936193
61946194ROM_START( sf2ceuc )
6195   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
6195   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
61966196   ROM_LOAD16_WORD_SWAP( "s92-23c",      0x000000, 0x80000, CRC(0a8b6aa2) SHA1(a19871271172119e1cf1ff47700bb1917b08514b) )
61976197   ROM_LOAD16_WORD_SWAP( "s92-22c",      0x080000, 0x80000, CRC(5fd8630b) SHA1(f0ef9c5ab91a4b421fb4b1747eef99c964c15de3) )
61986198   ROM_LOAD16_WORD_SWAP( "s92-21b",      0x100000, 0x80000, CRC(b383cb1c) SHA1(fd527d5b27a853758bc6ed0f4108f3c634484de6) )
r4347r4348
62116211   ROMX_LOAD( "s92_12.bin",   0x400004, 0x80000, CRC(d6ec9a0a) SHA1(ed6143f8737013b6ef1684e37c05e037e7a80dae) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2.12 */
62126212   ROMX_LOAD( "s92_13.bin",   0x400006, 0x80000, CRC(ed2c67f6) SHA1(0083c0ffaf6fe7659ff0cf822be4346cd6e61329) , ROM_GROUPWORD | ROM_SKIP(6) )
62136213
6214   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
6214   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
62156215   ROM_LOAD( "s92_09.bin",    0x00000, 0x08000, CRC(08f6b60e) SHA1(8258fcaca4ac419312531eec67079b97f471179c) )
62166216   ROM_CONTINUE(              0x10000, 0x08000 )
62176217
r4347r4348
62286228ROM_END
62296229
62306230ROM_START( sf2cej )
6231   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
6231   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
62326232   ROM_LOAD16_WORD_SWAP( "s92j_23b.bin", 0x000000, 0x80000, CRC(140876c5) SHA1(304630e6d8bae9f8d29090e05f7e013c7dafe9cc) )
62336233   ROM_LOAD16_WORD_SWAP( "s92j_22b.bin", 0x080000, 0x80000, CRC(2fbb3bfe) SHA1(e364564a12022730c2c0d0e8fd435e2c30ef9410) )
62346234   ROM_LOAD16_WORD_SWAP( "s92_21a.bin",  0x100000, 0x80000, CRC(925a7877) SHA1(1960dca35f0ca6f2b399a9fccfbc0132ac6425d1) )
r4347r4348
62476247   ROMX_LOAD( "s92_12.bin",   0x400004, 0x80000, CRC(d6ec9a0a) SHA1(ed6143f8737013b6ef1684e37c05e037e7a80dae) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2.12 */
62486248   ROMX_LOAD( "s92_13.bin",   0x400006, 0x80000, CRC(ed2c67f6) SHA1(0083c0ffaf6fe7659ff0cf822be4346cd6e61329) , ROM_GROUPWORD | ROM_SKIP(6) )
62496249
6250   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
6250   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
62516251   ROM_LOAD( "s92_09.bin",    0x00000, 0x08000, CRC(08f6b60e) SHA1(8258fcaca4ac419312531eec67079b97f471179c) )
62526252   ROM_CONTINUE(              0x10000, 0x08000 )
62536253
r4347r4348
62646264ROM_END
62656265
62666266ROM_START( sf2rb )
6267   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
6267   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
62686268   ROM_LOAD16_WORD( "sf2d__23.rom",      0x000000, 0x80000, CRC(450532b0) SHA1(14d5ff44ce97247ef4c42147157856d16c5fb4b8) )
62696269   ROM_LOAD16_WORD( "sf2d__22.rom",      0x080000, 0x80000, CRC(fe9d9cf5) SHA1(91afb25d8c0fd1a721f982cebf8fdf563fe11760) )
62706270   ROM_LOAD16_WORD_SWAP( "s92_21a.bin",  0x100000, 0x80000, CRC(925a7877) SHA1(1960dca35f0ca6f2b399a9fccfbc0132ac6425d1) )
r4347r4348
62836283   ROMX_LOAD( "s92_12.bin",   0x400004, 0x80000, CRC(d6ec9a0a) SHA1(ed6143f8737013b6ef1684e37c05e037e7a80dae) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2.12 */
62846284   ROMX_LOAD( "s92_13.bin",   0x400006, 0x80000, CRC(ed2c67f6) SHA1(0083c0ffaf6fe7659ff0cf822be4346cd6e61329) , ROM_GROUPWORD | ROM_SKIP(6) )
62856285
6286   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
6286   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
62876287   ROM_LOAD( "s92_09.bin",    0x00000, 0x08000, CRC(08f6b60e) SHA1(8258fcaca4ac419312531eec67079b97f471179c) )
62886288   ROM_CONTINUE(              0x10000, 0x08000 )
62896289
r4347r4348
62936293ROM_END
62946294
62956295ROM_START( sf2rb2 )
6296   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
6296   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
62976297   ROM_LOAD16_BYTE( "27.bin",            0x000000, 0x20000, CRC(40296ecd) SHA1(6006b9bc7e2e8ccec47f87b51791d3c0512620df) )
62986298   ROM_LOAD16_BYTE( "31.bin",            0x000001, 0x20000, CRC(87954a41) SHA1(67225f180e1f954f0bebba49b618f793a973af14) )
62996299   ROM_LOAD16_BYTE( "26.bin",            0x040000, 0x20000, CRC(a6974195) SHA1(f7e0fd43bd75229d49d5c330820bdc5c3b11ab03) )
r4347r4348
63186318   ROMX_LOAD( "s92_12.bin",   0x400004, 0x80000, CRC(d6ec9a0a) SHA1(ed6143f8737013b6ef1684e37c05e037e7a80dae) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2.12 */
63196319   ROMX_LOAD( "s92_13.bin",   0x400006, 0x80000, CRC(ed2c67f6) SHA1(0083c0ffaf6fe7659ff0cf822be4346cd6e61329) , ROM_GROUPWORD | ROM_SKIP(6) )
63206320
6321   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
6321   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
63226322   ROM_LOAD( "s92_09.bin",    0x00000, 0x08000, CRC(08f6b60e) SHA1(8258fcaca4ac419312531eec67079b97f471179c) )
63236323   ROM_CONTINUE(              0x10000, 0x08000 )
63246324
r4347r4348
63296329
63306330/* this rainbow set DOES NOT require a custom PLD to work, runs on standard board with roms replaced */
63316331ROM_START( sf2rb3 )
6332   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
6332   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
63336333   ROM_LOAD16_WORD_SWAP( "sf2_ce_rb.23",      0x000000, 0x80000, CRC(202f9e50) SHA1(8f0259ade1bc4df65abf4ad0961db24ca27e3f4b) )
63346334   ROM_LOAD16_WORD_SWAP( "sf2_ce_rb.22",      0x080000, 0x80000, CRC(145e5219) SHA1(0b1251ad817a395f37f6c9acee393c3fce07777a) )
63356335   ROM_LOAD16_WORD_SWAP( "s92_21a.bin",  0x100000, 0x80000, CRC(925a7877) SHA1(1960dca35f0ca6f2b399a9fccfbc0132ac6425d1) )
r4347r4348
63486348   ROMX_LOAD( "s92_12.bin",   0x400004, 0x80000, CRC(d6ec9a0a) SHA1(ed6143f8737013b6ef1684e37c05e037e7a80dae) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2.12 */
63496349   ROMX_LOAD( "s92_13.bin",   0x400006, 0x80000, CRC(ed2c67f6) SHA1(0083c0ffaf6fe7659ff0cf822be4346cd6e61329) , ROM_GROUPWORD | ROM_SKIP(6) )
63506350
6351   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
6351   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
63526352   ROM_LOAD( "s92_09.bin",    0x00000, 0x08000, CRC(08f6b60e) SHA1(8258fcaca4ac419312531eec67079b97f471179c) )
63536353   ROM_CONTINUE(              0x10000, 0x08000 )
63546354
r4347r4348
63586358ROM_END
63596359
63606360ROM_START( sf2red )
6361   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
6361   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
63626362   ROM_LOAD16_WORD_SWAP( "sf2red.23",    0x000000, 0x80000, CRC(40276abb) SHA1(a991661f5a1a3116445594bcfed3150e36971dd7) )
63636363   ROM_LOAD16_WORD_SWAP( "sf2red.22",    0x080000, 0x80000, CRC(18daf387) SHA1(1a9e4c04ca54e8b33f19dd7bedbe05a200249701) )
63646364   ROM_LOAD16_WORD_SWAP( "sf2red.21",    0x100000, 0x80000, CRC(52c486bb) SHA1(b7df7b10faa4c9a2f86ebf64cd63ac148d62dd09) )
r4347r4348
63776377   ROMX_LOAD( "s92_12.bin",   0x400004, 0x80000, CRC(d6ec9a0a) SHA1(ed6143f8737013b6ef1684e37c05e037e7a80dae) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2.12 */
63786378   ROMX_LOAD( "s92_13.bin",   0x400006, 0x80000, CRC(ed2c67f6) SHA1(0083c0ffaf6fe7659ff0cf822be4346cd6e61329) , ROM_GROUPWORD | ROM_SKIP(6) )
63796379
6380   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
6380   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
63816381   ROM_LOAD( "s92_09.bin",    0x00000, 0x08000, CRC(08f6b60e) SHA1(8258fcaca4ac419312531eec67079b97f471179c) )
63826382   ROM_CONTINUE(              0x10000, 0x08000 )
63836383
r4347r4348
63876387ROM_END
63886388
63896389ROM_START( sf2v004 )
6390   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
6390   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
63916391   ROM_LOAD16_WORD_SWAP( "sf2v004.23",   0x000000, 0x80000, CRC(52d19f2c) SHA1(6a77b9244dc9b7d9a0ca8a642d4257cc944ac566) )
63926392   ROM_LOAD16_WORD_SWAP( "sf2v004.22",   0x080000, 0x80000, CRC(4b26fde7) SHA1(48e3aacbf9147f2374a93e10f945291c87f24855) )
63936393   ROM_LOAD16_WORD_SWAP( "sf2red.21",    0x100000, 0x80000, CRC(52c486bb) SHA1(b7df7b10faa4c9a2f86ebf64cd63ac148d62dd09) )
r4347r4348
64066406   ROMX_LOAD( "s92_12.bin",   0x400004, 0x80000, CRC(d6ec9a0a) SHA1(ed6143f8737013b6ef1684e37c05e037e7a80dae) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2.12 */
64076407   ROMX_LOAD( "s92_13.bin",   0x400006, 0x80000, CRC(ed2c67f6) SHA1(0083c0ffaf6fe7659ff0cf822be4346cd6e61329) , ROM_GROUPWORD | ROM_SKIP(6) )
64086408
6409   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
6409   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
64106410   ROM_LOAD( "s92_09.bin",    0x00000, 0x08000, CRC(08f6b60e) SHA1(8258fcaca4ac419312531eec67079b97f471179c) )
64116411   ROM_CONTINUE(              0x10000, 0x08000 )
64126412
r4347r4348
64166416ROM_END
64176417
64186418ROM_START( sf2accp2 )
6419   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
6419   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
64206420   ROM_LOAD16_WORD_SWAP( "sf2ca-23.bin", 0x000000, 0x80000, CRC(36c3ba2f) SHA1(a3ddc479b725ddb3521757c8efa7aed125004997) )
64216421   ROM_LOAD16_WORD_SWAP( "sf2ca-22.bin", 0x080000, 0x80000, CRC(0550453d) SHA1(f9efed86528dd10f142636278f098584d33ccde6) )
64226422   ROM_LOAD16_WORD_SWAP( "sf2ca-21.bin", 0x100000, 0x40000, CRC(4c1c43ba) SHA1(16abce268373eddd7c3b93fe8d44b200a8c140fe) )
r4347r4348
64376437   ROMX_LOAD( "s92_12.bin",   0x400004, 0x80000, CRC(d6ec9a0a) SHA1(ed6143f8737013b6ef1684e37c05e037e7a80dae) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2.12 */
64386438   ROMX_LOAD( "s92_13.bin",   0x400006, 0x80000, CRC(ed2c67f6) SHA1(0083c0ffaf6fe7659ff0cf822be4346cd6e61329) , ROM_GROUPWORD | ROM_SKIP(6) )
64396439
6440   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
6440   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
64416441   ROM_LOAD( "s92_09.bin",    0x00000, 0x08000, CRC(08f6b60e) SHA1(8258fcaca4ac419312531eec67079b97f471179c) )
64426442   ROM_CONTINUE(              0x10000, 0x08000 )
64436443
r4347r4348
64476447ROM_END
64486448
64496449ROM_START( sf2m1 )
6450   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
6450   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
64516451   ROM_LOAD16_BYTE( "222e",              0x000000, 0x80000, CRC(1e20d0a3) SHA1(5e05b52fd938aff5190bca7e178705d7236aef66) )
64526452   ROM_LOAD16_BYTE( "196e",              0x000001, 0x80000, CRC(88cc38a3) SHA1(6049962f943bd37748a9531cc3254e8b59326eac) )
64536453   ROM_LOAD16_WORD_SWAP( "s92_21a.bin",  0x100000, 0x80000, CRC(925a7877) SHA1(1960dca35f0ca6f2b399a9fccfbc0132ac6425d1) )
r4347r4348
64666466   ROMX_LOAD( "s92_12.bin",   0x400004, 0x80000, CRC(d6ec9a0a) SHA1(ed6143f8737013b6ef1684e37c05e037e7a80dae) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2.12 */
64676467   ROMX_LOAD( "s92_13.bin",   0x400006, 0x80000, CRC(ed2c67f6) SHA1(0083c0ffaf6fe7659ff0cf822be4346cd6e61329) , ROM_GROUPWORD | ROM_SKIP(6) )
64686468
6469   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
6469   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
64706470   ROM_LOAD( "s92_09.bin",    0x00000, 0x08000, CRC(08f6b60e) SHA1(8258fcaca4ac419312531eec67079b97f471179c) )
64716471   ROM_CONTINUE(              0x10000, 0x08000 )
64726472
r4347r4348
64766476ROM_END
64776477
64786478ROM_START( sf2m2 )
6479   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
6479   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
64806480   ROM_LOAD16_BYTE( "ch222esp",          0x000000, 0x80000, CRC(9e6d058a) SHA1(8c9adca7b65dc929c325c0a62304d24dc0902c08) )
64816481   ROM_LOAD16_BYTE( "ch196esp",          0x000001, 0x80000, CRC(ed2ff437) SHA1(e76fc2953b6c800d5955c8fb442b80142e40e375) )
64826482   ROM_LOAD16_WORD_SWAP( "s92_21a.bin",  0x100000, 0x80000, CRC(925a7877) SHA1(1960dca35f0ca6f2b399a9fccfbc0132ac6425d1) )
r4347r4348
64956495   ROMX_LOAD( "s92_12.bin",   0x400004, 0x80000, CRC(d6ec9a0a) SHA1(ed6143f8737013b6ef1684e37c05e037e7a80dae) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2.12 */
64966496   ROMX_LOAD( "s92_13.bin",   0x400006, 0x80000, CRC(ed2c67f6) SHA1(0083c0ffaf6fe7659ff0cf822be4346cd6e61329) , ROM_GROUPWORD | ROM_SKIP(6) )
64976497
6498   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
6498   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
64996499   ROM_LOAD( "s92_09.bin",    0x00000, 0x08000, CRC(08f6b60e) SHA1(8258fcaca4ac419312531eec67079b97f471179c) )
65006500   ROM_CONTINUE(              0x10000, 0x08000 )
65016501
r4347r4348
65056505ROM_END
65066506
65076507ROM_START( sf2m3 )
6508   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
6508   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
65096509   ROM_LOAD16_BYTE( "u222chp",           0x000000, 0x80000, CRC(db567b66) SHA1(315bfbf2786ef67a95afb87de836ab348523dbbe) )
65106510   ROM_LOAD16_BYTE( "u196chp",           0x000001, 0x80000, CRC(95ea597e) SHA1(5eb82feaa1de5611a96888e4670744bbb7d90393) )
65116511   ROM_LOAD16_WORD_SWAP( "s92_21a.bin",  0x100000, 0x80000, CRC(925a7877) SHA1(1960dca35f0ca6f2b399a9fccfbc0132ac6425d1) )
r4347r4348
65246524   ROMX_LOAD( "s92_12.bin",   0x400004, 0x80000, CRC(d6ec9a0a) SHA1(ed6143f8737013b6ef1684e37c05e037e7a80dae) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2.12 */
65256525   ROMX_LOAD( "s92_13.bin",   0x400006, 0x80000, CRC(ed2c67f6) SHA1(0083c0ffaf6fe7659ff0cf822be4346cd6e61329) , ROM_GROUPWORD | ROM_SKIP(6) )
65266526
6527   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
6527   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
65286528   ROM_LOAD( "s92_09.bin",    0x00000, 0x08000, CRC(08f6b60e) SHA1(8258fcaca4ac419312531eec67079b97f471179c) )
65296529   ROM_CONTINUE(              0x10000, 0x08000 )
65306530
r4347r4348
65346534ROM_END
65356535
65366536ROM_START( sf2m4 )
6537   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
6537   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
65386538   ROM_LOAD16_BYTE( "u222ne",            0x000000, 0x80000, CRC(7133489e) SHA1(036ef100c64c6e912c911340b32eea0da0b6f6d9) )
65396539   ROM_LOAD16_BYTE( "u196ne",            0x000001, 0x80000, CRC(b07a4f90) SHA1(7a4a800bddc43cfa60f9097723b44a05c9d290ae) )
65406540   ROM_LOAD16_WORD_SWAP( "s92_21a.bin",  0x100000, 0x80000, CRC(925a7877) SHA1(1960dca35f0ca6f2b399a9fccfbc0132ac6425d1) )
r4347r4348
65536553   ROMX_LOAD( "s92_12.bin",   0x400004, 0x80000, CRC(d6ec9a0a) SHA1(ed6143f8737013b6ef1684e37c05e037e7a80dae) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2.12 */
65546554   ROMX_LOAD( "s92_13.bin",   0x400006, 0x80000, CRC(ed2c67f6) SHA1(0083c0ffaf6fe7659ff0cf822be4346cd6e61329) , ROM_GROUPWORD | ROM_SKIP(6) )
65556555
6556   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
6556   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
65576557   ROM_LOAD( "s92_09.bin",    0x00000, 0x08000, CRC(08f6b60e) SHA1(8258fcaca4ac419312531eec67079b97f471179c) )
65586558   ROM_CONTINUE(              0x10000, 0x08000 )
65596559
r4347r4348
65636563ROM_END
65646564
65656565ROM_START( sf2m5 )
6566   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
6566   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
65676567   ROM_LOAD16_BYTE( "u222",              0x000000, 0x80000, CRC(03991fba) SHA1(6c42bf15248640fdb3e98fb01b0a870649deb410) )
65686568   ROM_LOAD16_BYTE( "u196",              0x000001, 0x80000, CRC(39f15a1e) SHA1(901c4fea76bf5bff7330ed07ffde54cdccdaa680) )
65696569   ROM_LOAD16_WORD_SWAP( "s92_21a.bin",  0x100000, 0x80000, CRC(925a7877) SHA1(1960dca35f0ca6f2b399a9fccfbc0132ac6425d1) )
r4347r4348
65826582   ROMX_LOAD( "s92_12.bin",   0x400004, 0x80000, CRC(d6ec9a0a) SHA1(ed6143f8737013b6ef1684e37c05e037e7a80dae) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2.12 */
65836583   ROMX_LOAD( "s92_13.bin",   0x400006, 0x80000, CRC(ed2c67f6) SHA1(0083c0ffaf6fe7659ff0cf822be4346cd6e61329) , ROM_GROUPWORD | ROM_SKIP(6) )
65846584
6585   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
6585   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
65866586   ROM_LOAD( "s92_09.bin",    0x00000, 0x08000, CRC(08f6b60e) SHA1(8258fcaca4ac419312531eec67079b97f471179c) )
65876587   ROM_CONTINUE(              0x10000, 0x08000 )
65886588
r4347r4348
65926592ROM_END
65936593
65946594ROM_START( sf2m6 )
6595   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
6595   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
65966596   ROM_LOAD16_BYTE( "u222-6b",           0x000000, 0x80000, CRC(0a3692be) SHA1(7b937b7b0130e460b5f12188b19f464c55b507c9) )
65976597   ROM_LOAD16_BYTE( "u196-6b",           0x000001, 0x80000, CRC(80454da7) SHA1(64f6dba14d342c9933ce632aa7ca126b34b4ee8b) )
65986598   ROM_LOAD16_WORD_SWAP( "s92_21a.bin",  0x100000, 0x80000, CRC(925a7877) SHA1(1960dca35f0ca6f2b399a9fccfbc0132ac6425d1) )
r4347r4348
66116611   ROMX_LOAD( "s92_12.bin",   0x400004, 0x80000, CRC(d6ec9a0a) SHA1(ed6143f8737013b6ef1684e37c05e037e7a80dae) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2.12 */
66126612   ROMX_LOAD( "s92_13.bin",   0x400006, 0x80000, CRC(ed2c67f6) SHA1(0083c0ffaf6fe7659ff0cf822be4346cd6e61329) , ROM_GROUPWORD | ROM_SKIP(6) )
66136613
6614   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
6614   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
66156615   ROM_LOAD( "s92_09.bin",    0x00000, 0x08000, CRC(08f6b60e) SHA1(8258fcaca4ac419312531eec67079b97f471179c) )
66166616   ROM_CONTINUE(              0x10000, 0x08000 )
66176617
r4347r4348
66216621ROM_END
66226622
66236623ROM_START( sf2m7 )
6624   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
6624   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
66256625   ROM_LOAD16_BYTE( "u222-2i",           0x000000, 0x40000, CRC(1ca7adbd) SHA1(45e9dc05766ad156edcfc9e59a9804f74f90dc68) )
66266626   ROM_LOAD16_BYTE( "u196-2i",           0x000001, 0x40000, CRC(f758408c) SHA1(aac44a7287bb3b7ba35d68aff279e265dbd3f6d3) )
66276627   ROM_LOAD16_BYTE( "u222-2s",           0x080000, 0x40000, CRC(720cea3e) SHA1(ec4f22159d44a8abc40643b986b88a4f947d6aea) )
r4347r4348
66426642   ROMX_LOAD( "s92_12.bin",   0x400004, 0x80000, CRC(d6ec9a0a) SHA1(ed6143f8737013b6ef1684e37c05e037e7a80dae) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2.12 */
66436643   ROMX_LOAD( "s92_13.bin",   0x400006, 0x80000, CRC(ed2c67f6) SHA1(0083c0ffaf6fe7659ff0cf822be4346cd6e61329) , ROM_GROUPWORD | ROM_SKIP(6) )
66446644
6645   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
6645   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
66466646   ROM_LOAD( "s92_09.bin",    0x00000, 0x08000, CRC(08f6b60e) SHA1(8258fcaca4ac419312531eec67079b97f471179c) )
66476647   ROM_CONTINUE(              0x10000, 0x08000 )
66486648
r4347r4348
66526652ROM_END
66536653
66546654ROM_START( sf2yyc )
6655   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
6655   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
66566656   ROM_LOAD16_BYTE( "b12.rom", 0x000000, 0x80000, CRC(8f742fd5) SHA1(a78a00e686856481011d8b5f5e60ed18197a5225) )
66576657   ROM_LOAD16_BYTE( "b14.rom", 0x000001, 0x80000, CRC(8831ec7f) SHA1(0293ff189cbacf90098e734fb31fcbf3c3165e6b) )
66586658   ROM_LOAD16_BYTE( "b11.rom", 0x100000, 0x20000, CRC(94a46525) SHA1(2712b979ce2bfd87e74da3369e0fceaae2a0654c) )
r4347r4348
66746674   ROMX_LOAD( "s92_12.bin",   0x400004, 0x80000, CRC(d6ec9a0a) SHA1(ed6143f8737013b6ef1684e37c05e037e7a80dae) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2.12 */
66756675   ROMX_LOAD( "s92_13.bin",   0x400006, 0x80000, CRC(ed2c67f6) SHA1(0083c0ffaf6fe7659ff0cf822be4346cd6e61329) , ROM_GROUPWORD | ROM_SKIP(6) )
66766676
6677   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
6677   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
66786678   ROM_LOAD( "s92_09.bin",    0x00000, 0x08000, CRC(08f6b60e) SHA1(8258fcaca4ac419312531eec67079b97f471179c) )
66796679   ROM_CONTINUE(              0x10000, 0x08000 )
66806680
r4347r4348
66846684ROM_END
66856685
66866686ROM_START( sf2koryu )
6687   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
6687   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
66886688   ROM_LOAD16_BYTE( "u222.rom",   0x000000, 0x80000, CRC(9236a79a) SHA1(39c47b0b0ca2f5f569ff07ebb91040b95d0cb43b) )
66896689   ROM_LOAD16_BYTE( "u196.rom",   0x000001, 0x80000, CRC(b23a869d) SHA1(24247d412f20d069919cc8a7fff208af3f7aa1d2) )
66906690   ROM_LOAD16_BYTE( "u221.rom",   0x100000, 0x20000, CRC(64e6e091) SHA1(32ec05db955e538d4ada26d19ee50926f74b684f) )
r4347r4348
67046704   ROMX_LOAD( "s92_12.bin",   0x400004, 0x80000, CRC(d6ec9a0a) SHA1(ed6143f8737013b6ef1684e37c05e037e7a80dae) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2.12 */
67056705   ROMX_LOAD( "s92_13.bin",   0x400006, 0x80000, CRC(ed2c67f6) SHA1(0083c0ffaf6fe7659ff0cf822be4346cd6e61329) , ROM_GROUPWORD | ROM_SKIP(6) )
67066706
6707   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
6707   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
67086708   ROM_LOAD( "s92_09.bin",    0x00000, 0x08000, CRC(08f6b60e) SHA1(8258fcaca4ac419312531eec67079b97f471179c) )
67096709   ROM_CONTINUE(              0x10000, 0x08000 )
67106710
r4347r4348
67426742*/
67436743
67446744ROM_START( sf2mdt )
6745   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
6745   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
67466746   ROM_LOAD16_BYTE( "3.ic172",   0x000000, 0x80000, CRC(5301b41f) SHA1(6855a57b21e8c5d74e5cb18f9ce6af650d7fb422) )
67476747   ROM_LOAD16_BYTE( "1.ic171",   0x000001, 0x80000, CRC(c1c803f6) SHA1(9fe18ae2553a63d8e4dcc20bafd5a4634f8b93c4) )
67486748   ROM_LOAD16_BYTE( "4.ic176",   0x100000, 0x20000, CRC(1073b7b6) SHA1(81ca1eab65ceac69520584bb23a684ccb9d92f89) )
r4347r4348
67626762   ROMX_LOAD( "14.ic85",   0x400004, 0x80000, CRC(7d9f1a67) SHA1(6deb7fff867c42b13a32bb11eda798cfdb4cbaa8) , ROM_GROUPWORD | ROM_SKIP(6) )
67636763   ROMX_LOAD( "17.ic83",   0x400006, 0x80000, CRC(91a9a05d) SHA1(5266ceddd2df925e79b4200843dec2f7aa9297b3) , ROM_GROUPWORD | ROM_SKIP(6) )
67646764
6765   ROM_REGION( 0x28000, "audio", 0 ) /* Sound program + samples  */
6765   ROM_REGION( 0x28000, "audiocpu", 0 ) /* Sound program + samples  */
67666766   ROM_LOAD( "5.ic26",    0x00000, 0x08000, CRC(17d5ba8a) SHA1(6ff3b8860d7e1fdee3561846f645eb4d3a8965ec) )
67676767   ROM_CONTINUE(              0x10000, 0x18000 )
67686768ROM_END
67696769
67706770/* B-Board 89624B */
67716771ROM_START( varth )
6772   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
6772   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
67736773   ROM_LOAD16_BYTE( "vae_30b.11f", 0x00000, 0x20000, CRC(adb8d391) SHA1(5e7160509e0315eb32cc390ddd7e4ef7a4a1a70a) )
67746774   ROM_LOAD16_BYTE( "vae_35b.11h", 0x00001, 0x20000, CRC(44e5548f) SHA1(17b4be1f4159f6b6803d8c2950823ece0bdde8b2) )
67756775   ROM_LOAD16_BYTE( "vae_31b.12f", 0x40000, 0x20000, CRC(1749a71c) SHA1(bd9bfd5bbe2d426c94df755c977faa92a28f16ab) )
r4347r4348
67856785   ROMX_LOAD( "va-1m.3a", 0x000004, 0x80000, CRC(0b1ace37) SHA1(6f9493c22f667f683db2789972fd16bb94724679) , ROM_GROUPWORD | ROM_SKIP(6) )
67866786   ROMX_LOAD( "va-3m.5a", 0x000006, 0x80000, CRC(44dfe706) SHA1(a013a434df3161a91aafbb35dc4e20dfb3f177f4) , ROM_GROUPWORD | ROM_SKIP(6) )
67876787
6788   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
6788   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
67896789   ROM_LOAD( "va_09.12b", 0x00000, 0x08000, CRC(7a99446e) SHA1(ca027f41e3e58be5abc33ad7380746658cb5380a) )
67906790   ROM_CONTINUE(          0x10000, 0x08000 )
67916791
r4347r4348
68036803
68046804/* B-Board 89624B */
68056805ROM_START( varthr1 )
6806   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
6806   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
68076807   ROM_LOAD16_BYTE( "vae_30a.11f", 0x00000, 0x20000, CRC(7fcd0091) SHA1(7bed452736eda4a26c43c5dd54ec6799afa6e770) )
68086808   ROM_LOAD16_BYTE( "vae_35a.11h", 0x00001, 0x20000, CRC(35cf9509) SHA1(a189ca7740d77262413ec2891af034d0057892be) )
68096809   ROM_LOAD16_BYTE( "vae_31a.12f", 0x40000, 0x20000, CRC(15e5ee81) SHA1(6c6248b07f7e956a37d5dcb4b67d026f57fae13b) )
r4347r4348
68196819   ROMX_LOAD( "va-1m.3a", 0x000004, 0x80000, CRC(0b1ace37) SHA1(6f9493c22f667f683db2789972fd16bb94724679) , ROM_GROUPWORD | ROM_SKIP(6) )
68206820   ROMX_LOAD( "va-3m.5a", 0x000006, 0x80000, CRC(44dfe706) SHA1(a013a434df3161a91aafbb35dc4e20dfb3f177f4) , ROM_GROUPWORD | ROM_SKIP(6) )
68216821
6822   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
6822   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
68236823   ROM_LOAD( "va_09.12b", 0x00000, 0x08000, CRC(7a99446e) SHA1(ca027f41e3e58be5abc33ad7380746658cb5380a) )
68246824   ROM_CONTINUE(          0x10000, 0x08000 )
68256825
r4347r4348
68376837
68386838/* FIXME B-Board uncertain but should be 91634B/91635B from the program ROM names */
68396839ROM_START( varthu )
6840   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
6840   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
68416841   ROM_LOAD16_WORD_SWAP( "vau23a.bin", 0x00000, 0x80000, CRC(fbe68726) SHA1(68917d366551d2203400adc3261355dd3b332bcb) )
68426842   ROM_LOAD16_WORD_SWAP( "vau22a.bin", 0x80000, 0x80000, CRC(0ed71bbd) SHA1(e7f0f0edf0936a774e122842b09f5c5ce25a96ad) )
68436843
r4347r4348
68476847   ROMX_LOAD( "va-1m.bin", 0x000004, 0x80000, CRC(0b1ace37) SHA1(6f9493c22f667f683db2789972fd16bb94724679) , ROM_GROUPWORD | ROM_SKIP(6) )
68486848   ROMX_LOAD( "va-3m.bin", 0x000006, 0x80000, CRC(44dfe706) SHA1(a013a434df3161a91aafbb35dc4e20dfb3f177f4) , ROM_GROUPWORD | ROM_SKIP(6) )
68496849
6850   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
6850   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
68516851   ROM_LOAD( "va_09.bin", 0x00000, 0x08000, CRC(7a99446e) SHA1(ca027f41e3e58be5abc33ad7380746658cb5380a) )
68526852   ROM_CONTINUE(          0x10000, 0x08000 )
68536853
r4347r4348
68656865
68666866/* B-Board 88622B */
68676867ROM_START( varthj )
6868   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
6868   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
68696869   ROM_LOAD16_BYTE( "vaj_36b.12f",   0x00000, 0x20000, CRC(1d798d6a) SHA1(b12579e9dcb88416bc00653b143832d9347adbaf) )
68706870   ROM_LOAD16_BYTE( "vaj_42b.12h",   0x00001, 0x20000, CRC(0f720233) SHA1(2d9442ceafd5e2208aa8cd4bcb66861bff6aec47) )
68716871   ROM_LOAD16_BYTE( "vaj_37b.13f",   0x40000, 0x20000, CRC(24414b17) SHA1(6c0b24cf8045fc033217c737dba2c046d7d0a09a) )
r4347r4348
68936893   ROMX_LOAD( "va_39.9h",  0x100006, 0x20000, CRC(b0b12f51) SHA1(68a33736dcb0703e46ba48918a29ecd559575a97) , ROM_SKIP(7) )   // == va-3m.bin
68946894   ROMX_LOAD( "va_33.9f",  0x100007, 0x20000, CRC(4b003af7) SHA1(0c1d18a3ee7f3a48219f73eb21f88a260a9a001e) , ROM_SKIP(7) )   // == va-3m.bin
68956895
6896   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
6896   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
68976897   ROM_LOAD( "va_23.13c", 0x00000, 0x08000, CRC(7a99446e) SHA1(ca027f41e3e58be5abc33ad7380746658cb5380a) )   // == va_09.bin
68986898   ROM_CONTINUE(          0x10000, 0x08000 )
68996899
r4347r4348
69186918
69196919/* FIXME B-Board uncertain but should be 88622B/89625B from the program ROM names */
69206920ROM_START( cworld2j )
6921   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
6921   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
69226922   ROM_LOAD16_BYTE( "q536.bin",       0x00000, 0x20000, CRC(38a08099) SHA1(961f733baa2bbf8419e4de70f18660098dba7d52) )
69236923   ROM_LOAD16_BYTE( "q542.bin",       0x00001, 0x20000, CRC(4d29b3a4) SHA1(bf40fc22c0161fe131ca69100b2a4d102e86bde6) )
69246924   ROM_LOAD16_BYTE( "q537.bin",       0x40000, 0x20000, CRC(eb547ebc) SHA1(fce470b05ce095badd180c3740677146f52f6080) )
r4347r4348
69466946   ROMX_LOAD( "q539.bin",   0x100006, 0x20000, CRC(a5839b25) SHA1(20c4c4f24f21a325a03538306de799df2a89f6cb) , ROM_SKIP(7) )
69476947   ROMX_LOAD( "q533.bin",   0x100007, 0x20000, CRC(04d03930) SHA1(37f2556eeb52f8edfcddd3f3642fa24565d5a7bd) , ROM_SKIP(7) )
69486948
6949   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
6949   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
69506950   ROM_LOAD( "q523.bin",      0x00000, 0x08000, CRC(e14dc524) SHA1(0020a9002572002458fbfe45e8a959cb90de3f03) )
69516951   ROM_CONTINUE(              0x10000, 0x08000 )
69526952
r4347r4348
69646964
69656965/* B-Board 91634B */
69666966ROM_START( wof )
6967   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
6967   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
69686968   ROM_LOAD16_WORD_SWAP( "tk2e_23b.rom",  0x000000, 0x80000, CRC(11fb2ed1) SHA1(19e09ad6f9edc7997b030cddfe1d9c96d88135f2) )
69696969   ROM_LOAD16_WORD_SWAP( "tk2e_22b.rom",  0x080000, 0x80000, CRC(479b3f24) SHA1(9fb8ae06856fe115addfb6794c28978a4f6716ec) )
69706970
r4347r4348
69786978   ROMX_LOAD( "tk2_gfx6.rom",   0x200004, 0x80000, CRC(1abd14d6) SHA1(dffff3126f102b4ec028a81405fc5b9bd7bb65b3) , ROM_GROUPWORD | ROM_SKIP(6) )
69796979   ROMX_LOAD( "tk2_gfx8.rom",   0x200006, 0x80000, CRC(b27948e3) SHA1(870d5d23f56798831c641e877ea94217058b2ddc) , ROM_GROUPWORD | ROM_SKIP(6) )
69806980
6981   ROM_REGION( 0x28000, "audio", 0 ) /* QSound Z80 code */
6981   ROM_REGION( 0x28000, "audiocpu", 0 ) /* QSound Z80 code */
69826982   ROM_LOAD( "tk2_qa.rom",     0x00000, 0x08000, CRC(c9183a0d) SHA1(d8b1d41c572f08581f8ab9eb878de77d6ea8615d) )
69836983   ROM_CONTINUE(               0x10000, 0x18000 )
69846984
r4347r4348
70057005
70067006/* B-Board 91634B */
70077007ROM_START( wofa )
7008   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
7008   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
70097009   ROM_LOAD16_WORD_SWAP( "tk2a_23b.rom",  0x000000, 0x80000, CRC(2e024628) SHA1(647f8700fe3b410d798a823bac2e4a89cc9ad8d5) )
70107010   ROM_LOAD16_WORD_SWAP( "tk2a_22b.rom",  0x080000, 0x80000, CRC(900ad4cd) SHA1(988007447f93f3467029b9c29fd9670a7ecadaa3) )
70117011
r4347r4348
70197019   ROMX_LOAD( "tk2_gfx6.rom",   0x200004, 0x80000, CRC(1abd14d6) SHA1(dffff3126f102b4ec028a81405fc5b9bd7bb65b3) , ROM_GROUPWORD | ROM_SKIP(6) )
70207020   ROMX_LOAD( "tk2_gfx8.rom",   0x200006, 0x80000, CRC(b27948e3) SHA1(870d5d23f56798831c641e877ea94217058b2ddc) , ROM_GROUPWORD | ROM_SKIP(6) )
70217021
7022   ROM_REGION( 0x28000, "audio", 0 ) /* QSound Z80 code */
7022   ROM_REGION( 0x28000, "audiocpu", 0 ) /* QSound Z80 code */
70237023   ROM_LOAD( "tk2_qa.rom",     0x00000, 0x08000, CRC(c9183a0d) SHA1(d8b1d41c572f08581f8ab9eb878de77d6ea8615d) )
70247024   ROM_CONTINUE(               0x10000, 0x18000 )
70257025
r4347r4348
70467046
70477047/* B-Board 91634B */
70487048ROM_START( wofu )
7049   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
7049   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
70507050   ROM_LOAD16_WORD_SWAP( "tk2u.23c",  0x000000, 0x80000, CRC(29b89c12) SHA1(2b474b4f45a4ccb0db2a4d5e7ef30e28b5c6cc3a) )
70517051   ROM_LOAD16_WORD_SWAP( "tk2u.22c",  0x080000, 0x80000, CRC(f5af4774) SHA1(f6d53cf5b330e6d68f84da3e8c831a475585b93e) )
70527052
r4347r4348
70607060   ROMX_LOAD( "tk2_gfx6.rom",   0x200004, 0x80000, CRC(1abd14d6) SHA1(dffff3126f102b4ec028a81405fc5b9bd7bb65b3) , ROM_GROUPWORD | ROM_SKIP(6) )
70617061   ROMX_LOAD( "tk2_gfx8.rom",   0x200006, 0x80000, CRC(b27948e3) SHA1(870d5d23f56798831c641e877ea94217058b2ddc) , ROM_GROUPWORD | ROM_SKIP(6) )
70627062
7063   ROM_REGION( 0x28000, "audio", 0 ) /* QSound Z80 code */
7063   ROM_REGION( 0x28000, "audiocpu", 0 ) /* QSound Z80 code */
70647064   ROM_LOAD( "tk2_qa.rom",     0x00000, 0x08000, CRC(c9183a0d) SHA1(d8b1d41c572f08581f8ab9eb878de77d6ea8615d) )
70657065   ROM_CONTINUE(               0x10000, 0x18000 )
70667066
r4347r4348
70877087
70887088/* B-Board 91634B */
70897089ROM_START( wofj )
7090   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
7090   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
70917091   ROM_LOAD16_WORD_SWAP( "tk2j23c.bin",  0x000000, 0x80000, CRC(9b215a68) SHA1(fc83ed26441fbfb15e21b093c7a6bed44b586e51) )
70927092   ROM_LOAD16_WORD_SWAP( "tk2j22c.bin",  0x080000, 0x80000, CRC(b74b09ac) SHA1(3a44d6db5f51e1b5d2b43ef0ad1191da21e48427) )
70937093
r4347r4348
71017101   ROMX_LOAD( "tk207.bin",      0x200004, 0x80000, CRC(d706568e) SHA1(7886414dc86c42e35d24b85c4bfa41a9f0c167ac) , ROM_GROUPWORD | ROM_SKIP(6) )
71027102   ROMX_LOAD( "tk208.bin",      0x200006, 0x80000, CRC(d4a19a02) SHA1(ff396b1d33d9b4842140f2c6d085fe05748e3244) , ROM_GROUPWORD | ROM_SKIP(6) )
71037103
7104   ROM_REGION( 0x28000, "audio", 0 ) /* QSound Z80 code */
7104   ROM_REGION( 0x28000, "audiocpu", 0 ) /* QSound Z80 code */
71057105   ROM_LOAD( "tk2_qa.rom",     0x00000, 0x08000, CRC(c9183a0d) SHA1(d8b1d41c572f08581f8ab9eb878de77d6ea8615d) )
71067106   ROM_CONTINUE(               0x10000, 0x18000 )
71077107
r4347r4348
71287128
71297129/* Chinese bootleg board without QSound */
71307130ROM_START( wofhfh )
7131   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
7131   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
71327132   ROM_LOAD16_WORD_SWAP( "23",       0x000000, 0x80000, CRC(6ae4b312) SHA1(fa39f69385d180d90bccd8c5dc9262edd04a6457) )
71337133   ROM_LOAD16_WORD_SWAP( "22",       0x080000, 0x80000, CRC(94e8d01a) SHA1(875763f6b22734c1a5a890e6c8063515c134045b) )
71347134
r4347r4348
71427142   ROMX_LOAD( "7",   0x200004, 0x80000, CRC(073686a6) SHA1(b774a8d4c6cdbedb123ac01455f718305f23b619) , ROM_GROUPWORD | ROM_SKIP(6) )
71437143   ROMX_LOAD( "8",   0x200006, 0x80000, CRC(5300f8db) SHA1(b23a19910f680d60ff8afcbc15c471e74ee3569a) , ROM_GROUPWORD | ROM_SKIP(6) )
71447144
7145   ROM_REGION( 0x28000, "audio", 0 ) /* 128k for the audio CPU (+banks) */
7145   ROM_REGION( 0x28000, "audiocpu", 0 ) /* 128k for the audio CPU (+banks) */
71467146   ROM_LOAD( "9",              0x00000, 0x08000, CRC(86fe8a97) SHA1(cab82bcd0f49bcb40201b439cfdd10266f46752a) )
71477147   ROM_CONTINUE(               0x10000, 0x18000 )
71487148
r4347r4348
71547154
71557155
71567156ROM_START( sf2hf )
7157   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
7157   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
71587158   ROM_LOAD16_WORD_SWAP( "s92e_23a.bin",  0x000000, 0x80000, CRC(2DD72514) SHA1(4411353c389669299c27ac183c7e1caa3d4cec90) )
71597159   ROM_LOAD16_WORD_SWAP( "sf2_22.bin",    0x080000, 0x80000, CRC(aea6e035) SHA1(ce5fe961b2c1c95d231d1235bfc03b47de489f2a) )
71607160   ROM_LOAD16_WORD_SWAP( "sf2_21.bin",    0x100000, 0x80000, CRC(fd200288) SHA1(3817b67ab77c7b3d4a573a63f18671bea6905e26) )
r4347r4348
71737173   ROMX_LOAD( "s2t_12.bin",   0x400004, 0x80000, CRC(293c888c) SHA1(5992ea9aa90fdd8b9dacca9d2a1fdaf25ac2cb65) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2t.11 */
71747174   ROMX_LOAD( "s2t_13.bin",   0x400006, 0x80000, CRC(842b35a4) SHA1(35864a140a0c8d76501e69b2e01bc4ad76f27909) , ROM_GROUPWORD | ROM_SKIP(6) )
71757175
7176   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
7176   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
71777177   ROM_LOAD( "s92_09.bin",    0x00000, 0x08000, CRC(08f6b60e) SHA1(8258fcaca4ac419312531eec67079b97f471179c) )
71787178   ROM_CONTINUE(              0x10000, 0x08000 )
71797179
r4347r4348
71907190ROM_END
71917191
71927192ROM_START( sf2t )
7193   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
7193   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
71947194   ROM_LOAD16_WORD_SWAP( "sf2.23",        0x000000, 0x80000, CRC(89a1fc38) SHA1(aafb40fc311e318250973be8c6aa0d3f7902cb3c) )
71957195   ROM_LOAD16_WORD_SWAP( "sf2_22.bin",    0x080000, 0x80000, CRC(aea6e035) SHA1(ce5fe961b2c1c95d231d1235bfc03b47de489f2a) )
71967196   ROM_LOAD16_WORD_SWAP( "sf2_21.bin",    0x100000, 0x80000, CRC(fd200288) SHA1(3817b67ab77c7b3d4a573a63f18671bea6905e26) )
r4347r4348
72097209   ROMX_LOAD( "s2t_12.bin",   0x400004, 0x80000, CRC(293c888c) SHA1(5992ea9aa90fdd8b9dacca9d2a1fdaf25ac2cb65) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2t.11 */
72107210   ROMX_LOAD( "s2t_13.bin",   0x400006, 0x80000, CRC(842b35a4) SHA1(35864a140a0c8d76501e69b2e01bc4ad76f27909) , ROM_GROUPWORD | ROM_SKIP(6) )
72117211
7212   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
7212   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
72137213   ROM_LOAD( "s92_09.bin",    0x00000, 0x08000, CRC(08f6b60e) SHA1(8258fcaca4ac419312531eec67079b97f471179c) )
72147214   ROM_CONTINUE(              0x10000, 0x08000 )
72157215
r4347r4348
72267226ROM_END
72277227
72287228ROM_START( sf2tj )
7229   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
7229   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
72307230   ROM_LOAD16_WORD_SWAP( "s2tj_23.bin",   0x000000, 0x80000, CRC(ea73b4dc) SHA1(efbc73277d00bac86505755db35225e14ea25a36) )
72317231   ROM_LOAD16_WORD_SWAP( "s2t_22.bin",    0x080000, 0x80000, CRC(aea6e035) SHA1(ce5fe961b2c1c95d231d1235bfc03b47de489f2a) )
72327232   ROM_LOAD16_WORD_SWAP( "s2t_21.bin",    0x100000, 0x80000, CRC(fd200288) SHA1(3817b67ab77c7b3d4a573a63f18671bea6905e26) )
r4347r4348
72457245   ROMX_LOAD( "s2t_12.bin",   0x400004, 0x80000, CRC(293c888c) SHA1(5992ea9aa90fdd8b9dacca9d2a1fdaf25ac2cb65) , ROM_GROUPWORD | ROM_SKIP(6) ) /* sf2t.11 */
72467246   ROMX_LOAD( "s2t_13.bin",   0x400006, 0x80000, CRC(842b35a4) SHA1(35864a140a0c8d76501e69b2e01bc4ad76f27909) , ROM_GROUPWORD | ROM_SKIP(6) )
72477247
7248   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
7248   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
72497249   ROM_LOAD( "s92_09.bin",    0x00000, 0x08000, CRC(08f6b60e) SHA1(8258fcaca4ac419312531eec67079b97f471179c) )
72507250   ROM_CONTINUE(              0x10000, 0x08000 )
72517251
r4347r4348
72637263
72647264/* FIXME B-Board uncertain but should be 91634B/91635B from the program ROM names */
72657265ROM_START( dino )
7266   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
7266   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
72677267   ROM_LOAD16_WORD_SWAP( "cde_23a.rom",  0x000000, 0x80000, CRC(8f4e585e) SHA1(55ecba3652066cdafad140c4524b1fc81228e69b) )
72687268   ROM_LOAD16_WORD_SWAP( "cde_22a.rom",  0x080000, 0x80000, CRC(9278aa12) SHA1(58cbbd53a98abe640ccb233f8dbd8ca6d63475e7) )
72697269   ROM_LOAD16_WORD_SWAP( "cde_21a.rom",  0x100000, 0x80000, CRC(66d23de2) SHA1(19b8a365f630411d524d055459020f4c8cf930f1) )
r4347r4348
72787278   ROMX_LOAD( "cd_gfx06.rom",   0x200004, 0x80000, CRC(e7599ac4) SHA1(0e788a38547a8701115d01190ddeaca64388db4d) , ROM_GROUPWORD | ROM_SKIP(6) )
72797279   ROMX_LOAD( "cd_gfx08.rom",   0x200006, 0x80000, CRC(211b4b15) SHA1(374f6b185faa0f14f5c45b9b1d60d0772d93fb17) , ROM_GROUPWORD | ROM_SKIP(6) )
72807280
7281   ROM_REGION( 0x28000, "audio", 0 ) /* QSound Z80 code */
7281   ROM_REGION( 0x28000, "audiocpu", 0 ) /* QSound Z80 code */
72827282   ROM_LOAD( "cd_q.rom",       0x00000, 0x08000, CRC(605fdb0b) SHA1(9da90ddc6513aaaf2260f0c69719c6b0e585ba8c) )
72837283   ROM_CONTINUE(               0x10000, 0x18000 )
72847284
r4347r4348
72977297
72987298/* FIXME B-Board uncertain but should be 91634B/91635B from the program ROM names */
72997299ROM_START( dinou )
7300   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
7300   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
73017301   ROM_LOAD16_WORD_SWAP( "cdu.23a",      0x000000, 0x80000, CRC(7c2543cd) SHA1(6b7a90392fe4c31b2d57620b0ddcb3412401efc3) )
73027302   ROM_LOAD16_WORD_SWAP( "cdu.22a",      0x080000, 0x80000, CRC(fab740a9) SHA1(149cec3fa5e1d6e39bcaf079274d47fe768c910b) )
73037303   ROM_LOAD16_WORD_SWAP( "cde_21a.rom",  0x100000, 0x80000, CRC(66d23de2) SHA1(19b8a365f630411d524d055459020f4c8cf930f1) )
r4347r4348
73127312   ROMX_LOAD( "cd_gfx06.rom",   0x200004, 0x80000, CRC(e7599ac4) SHA1(0e788a38547a8701115d01190ddeaca64388db4d) , ROM_GROUPWORD | ROM_SKIP(6) )
73137313   ROMX_LOAD( "cd_gfx08.rom",   0x200006, 0x80000, CRC(211b4b15) SHA1(374f6b185faa0f14f5c45b9b1d60d0772d93fb17) , ROM_GROUPWORD | ROM_SKIP(6) )
73147314
7315   ROM_REGION( 0x28000, "audio", 0 ) /* QSound Z80 code */
7315   ROM_REGION( 0x28000, "audiocpu", 0 ) /* QSound Z80 code */
73167316   ROM_LOAD( "cd_q.rom",       0x00000, 0x08000, CRC(605fdb0b) SHA1(9da90ddc6513aaaf2260f0c69719c6b0e585ba8c) )
73177317   ROM_CONTINUE(               0x10000, 0x18000 )
73187318
r4347r4348
73317331
73327332/* FIXME B-Board uncertain but should be 91634B/91635B from the program ROM names */
73337333ROM_START( dinoj )
7334   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
7334   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
73357335   ROM_LOAD16_WORD_SWAP( "cdj-23a.8f",   0x000000, 0x80000, CRC(5f3ece96) SHA1(33ffb08ff8c5d3bfb2fa17fa00f254da2fc61f44) )
73367336   ROM_LOAD16_WORD_SWAP( "cdj-22a.7f",   0x080000, 0x80000, CRC(a0d8de29) SHA1(79d916f181804b6176581efe2a1b7f210ec79c07) )
73377337   ROM_LOAD16_WORD_SWAP( "cde_21a.rom",  0x100000, 0x80000, CRC(66d23de2) SHA1(19b8a365f630411d524d055459020f4c8cf930f1) )
r4347r4348
73467346   ROMX_LOAD( "cd_gfx06.rom",   0x200004, 0x80000, CRC(e7599ac4) SHA1(0e788a38547a8701115d01190ddeaca64388db4d) , ROM_GROUPWORD | ROM_SKIP(6) )
73477347   ROMX_LOAD( "cd_gfx08.rom",   0x200006, 0x80000, CRC(211b4b15) SHA1(374f6b185faa0f14f5c45b9b1d60d0772d93fb17) , ROM_GROUPWORD | ROM_SKIP(6) )
73487348
7349   ROM_REGION( 0x28000, "audio", 0 ) /* QSound Z80 code */
7349   ROM_REGION( 0x28000, "audiocpu", 0 ) /* QSound Z80 code */
73507350   ROM_LOAD( "cd_q.rom",       0x00000, 0x08000, CRC(605fdb0b) SHA1(9da90ddc6513aaaf2260f0c69719c6b0e585ba8c) )
73517351   ROM_CONTINUE(               0x10000, 0x18000 )
73527352
r4347r4348
73767376
73777377*/
73787378ROM_START( dinopic )
7379   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
7379   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
73807380   ROM_LOAD16_BYTE( "3.bin",      0x000001, 0x80000, CRC(13dfeb08) SHA1(cd2f9dd64f4fabe93901247e36dff3763169716d) )
73817381   ROM_LOAD16_BYTE( "5.bin",      0x000000, 0x80000, CRC(96dfcbf1) SHA1(a8bda6edae2c1b79db7ae8a8976fd2457f874373) )
73827382   ROM_LOAD16_BYTE( "2.bin",      0x100001, 0x80000, CRC(0e4058ba) SHA1(346f9e34ea53dd1bf5cdafa1e38bf2edb09b9a7f) )
r4347r4348
74007400   ROMX_LOAD( "10.bin",  0x200003, 0x40000, CRC(88847705) SHA1(05dc90067921960e417b7436056a5e1f86abaa1a), ROM_SKIP(7) )
74017401   ROM_CONTINUE(         0x200007, 0x40000)
74027402
7403   ROM_REGION( 0x28000, "audio", 0 ) /* PIC16c57 - protected, dump isn't valid */
7403   ROM_REGION( 0x28000, "audiocpu", 0 ) /* PIC16c57 - protected, dump isn't valid */
74047404   ROM_LOAD( "pic16c57-rp", 0x00000, 0x2d4c, BAD_DUMP CRC(5a6d393c) SHA1(1391a1590aff5f75bb6fae1c83eddb796b53135d) )
74057405
74067406   ROM_REGION( 0x80000, "oki", 0 ) /* OKI6295 samples */
r4347r4348
74317431*/
74327432
74337433ROM_START( dinopic2 )
7434   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
7434   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
74357435   ROM_LOAD16_BYTE( "27c4000-m12374r-2.bin",      0x000001, 0x80000, CRC(13dfeb08) SHA1(cd2f9dd64f4fabe93901247e36dff3763169716d) )
74367436   ROM_LOAD16_BYTE( "27c4000-m12481.bin",         0x000000, 0x80000, CRC(96dfcbf1) SHA1(a8bda6edae2c1b79db7ae8a8976fd2457f874373) )
74377437   ROM_LOAD16_BYTE( "27c4000-m12374r-1.bin",      0x100001, 0x80000, CRC(0e4058ba) SHA1(346f9e34ea53dd1bf5cdafa1e38bf2edb09b9a7f) )
r4347r4348
74557455   ROMX_LOAD( "27c4000-m12481-5.bin",   0x200003, 0x40000, CRC(88847705) SHA1(05dc90067921960e417b7436056a5e1f86abaa1a), ROM_SKIP(7) )
74567456   ROM_CONTINUE(                        0x200007, 0x40000)
74577457
7458   ROM_REGION( 0x28000, "audio", 0 ) /* PIC16c57 - protected, dump isn't valid */
7458   ROM_REGION( 0x28000, "audiocpu", 0 ) /* PIC16c57 - protected, dump isn't valid */
74597459   ROM_LOAD( "pic16c57-xt.hex", 0x00000, 0x26cc, BAD_DUMP CRC(a6a5eac4) SHA1(2039789084836769180f0bfd230c2553a37e2aaf) )
74607460
74617461   ROM_REGION( 0x80000, "oki", 0 ) /* OKI6295 samples */
r4347r4348
74727472
74737473/* B-Board 91635B */
74747474ROM_START( punisher )
7475   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
7475   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
74767476   ROM_LOAD16_BYTE( "pse_26.rom",       0x000000, 0x20000, CRC(389a99d2) SHA1(e97f4225554e4603cb0e3edd296a90bb2e467ca7) )
74777477   ROM_LOAD16_BYTE( "pse_30.rom",       0x000001, 0x20000, CRC(68fb06ac) SHA1(189e25ca7e4aaa80492c03ce06696952cc1b1553) )
74787478   ROM_LOAD16_BYTE( "pse_27.rom",       0x040000, 0x20000, CRC(3eb181c3) SHA1(a2442449f4bbe3be03d2be7d4e2cbb69f9741dac) )
r4347r4348
74937493   ROMX_LOAD( "ps_gfx6.rom",   0x200004, 0x80000, CRC(a544f4cc) SHA1(9552df8934ba25f19a22f2e07783712d8c8ef03c) , ROM_GROUPWORD | ROM_SKIP(6) )
74947494   ROMX_LOAD( "ps_gfx8.rom",   0x200006, 0x80000, CRC(8f02f436) SHA1(a2f0ebb7e9593469c7b843f8962a66f3d77f79e5) , ROM_GROUPWORD | ROM_SKIP(6) )
74957495
7496   ROM_REGION( 0x28000, "audio", 0 ) /* QSound Z80 code */
7496   ROM_REGION( 0x28000, "audiocpu", 0 ) /* QSound Z80 code */
74977497   ROM_LOAD( "ps_q.rom",       0x00000, 0x08000, CRC(49ff4446) SHA1(87af12f87a940a6c5428b4574ad44a4b54867bc3) )
74987498   ROM_CONTINUE(               0x10000, 0x18000 )
74997499
r4347r4348
75127512
75137513/* B-Board 91635B */
75147514ROM_START( punishru )
7515   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
7515   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
75167516   ROM_LOAD16_BYTE ( "psu26.rom",       0x000000, 0x20000, CRC(9236d121) SHA1(52d5d00009f61089157319943cde8f1a1ed48ad4) )
75177517   ROM_LOAD16_BYTE ( "psu30.rom",       0x000001, 0x20000, CRC(8320e501) SHA1(bb3b74135df9dd494a277a1bc3bef2917351203f) )
75187518   ROM_LOAD16_BYTE ( "psu27.rom",       0x040000, 0x20000, CRC(61c960a1) SHA1(f8fe651283cc1f138d013cab65b833505de6df9f) )
r4347r4348
75337533   ROMX_LOAD( "ps_gfx6.rom",   0x200004, 0x80000, CRC(a544f4cc) SHA1(9552df8934ba25f19a22f2e07783712d8c8ef03c) , ROM_GROUPWORD | ROM_SKIP(6) )
75347534   ROMX_LOAD( "ps_gfx8.rom",   0x200006, 0x80000, CRC(8f02f436) SHA1(a2f0ebb7e9593469c7b843f8962a66f3d77f79e5) , ROM_GROUPWORD | ROM_SKIP(6) )
75357535
7536   ROM_REGION( 0x28000, "audio", 0 ) /* QSound Z80 code */
7536   ROM_REGION( 0x28000, "audiocpu", 0 ) /* QSound Z80 code */
75377537   ROM_LOAD( "ps_q.rom",       0x00000, 0x08000, CRC(49ff4446) SHA1(87af12f87a940a6c5428b4574ad44a4b54867bc3) )
75387538   ROM_CONTINUE(               0x10000, 0x18000 )
75397539
r4347r4348
75527552
75537553/* B-Board 91635B */
75547554ROM_START( punishrj )
7555   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
7555   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
75567556   ROM_LOAD16_WORD_SWAP( "psj23.bin",   0x000000, 0x80000, CRC(6b2fda52) SHA1(5f95a79b7b802609ae9ddd6641cc52610d428bf4) )
75577557   ROM_LOAD16_WORD_SWAP( "psj22.bin",   0x080000, 0x80000, CRC(e01036bc) SHA1(a01886014dabe8f9ab45619865c6bd9f27472eae) )
75587558   ROM_LOAD16_WORD_SWAP( "ps_21.rom",   0x100000, 0x80000, CRC(8affa5a9) SHA1(268760b83b1723ff50a019ec51ef7af2e49935bf) )
r4347r4348
75677567   ROMX_LOAD( "ps_gfx6.rom",   0x200004, 0x80000, CRC(a544f4cc) SHA1(9552df8934ba25f19a22f2e07783712d8c8ef03c) , ROM_GROUPWORD | ROM_SKIP(6) )
75687568   ROMX_LOAD( "ps_gfx8.rom",   0x200006, 0x80000, CRC(8f02f436) SHA1(a2f0ebb7e9593469c7b843f8962a66f3d77f79e5) , ROM_GROUPWORD | ROM_SKIP(6) )
75697569
7570   ROM_REGION( 0x28000, "audio", 0 ) /* QSound Z80 code */
7570   ROM_REGION( 0x28000, "audiocpu", 0 ) /* QSound Z80 code */
75717571   ROM_LOAD( "ps_q.rom",       0x00000, 0x08000, CRC(49ff4446) SHA1(87af12f87a940a6c5428b4574ad44a4b54867bc3) )
75727572   ROM_CONTINUE(               0x10000, 0x18000 )
75737573
r4347r4348
75867586
75877587/* bootleg with pic, like dinopic / dinopic2 */
75887588ROM_START( punipic )
7589   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
7589   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
75907590   ROM_LOAD16_BYTE( "cpu5.bin",       0x000000, 0x80000, CRC(c3151563) SHA1(61d3a20c25fea8a94ae6e473a87c21968867cba0) )
75917591   ROM_LOAD16_BYTE( "cpu3.bin",       0x000001, 0x80000, CRC(8c2593ac) SHA1(4261bc72b96c3a5690df35c5d8b71524765693d9) )
75927592   ROM_LOAD16_BYTE( "cpu4.bin",       0x100000, 0x80000, CRC(665a5485) SHA1(c07920d110ca9c35f6cbff94a6a889c17300f994) )
r4347r4348
76107610   ROMX_LOAD( "gfx10.bin",   0x200003, 0x40000, CRC(763974c9) SHA1(f9b93c7cf0cb8c212fc21c57c85459b7d2e4e2fd), ROM_SKIP(7) )
76117611   ROM_CONTINUE(             0x200007, 0x40000)
76127612
7613   ROM_REGION( 0x28000, "audio", 0 ) /* PIC16c57 - protected */
7613   ROM_REGION( 0x28000, "audiocpu", 0 ) /* PIC16c57 - protected */
76147614   ROM_LOAD( "pic16c57", 0x00000, 0x4000, NO_DUMP )
76157615
76167616   ROM_REGION( 0x200000, "oki", 0 ) /* OKI6295 */
r4347r4348
76627662*/
76637663
76647664ROM_START( punipic2 )
7665   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
7665   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
76667666   ROM_LOAD16_BYTE( "prg4.bin",       0x000000, 0x80000, CRC(c3151563) SHA1(61d3a20c25fea8a94ae6e473a87c21968867cba0) )
76677667   ROM_LOAD16_BYTE( "prg3.bin",       0x000001, 0x80000, CRC(8c2593ac) SHA1(4261bc72b96c3a5690df35c5d8b71524765693d9) )
76687668   ROM_LOAD16_BYTE( "prg2.bin",       0x100000, 0x80000, CRC(665a5485) SHA1(c07920d110ca9c35f6cbff94a6a889c17300f994) )
r4347r4348
76787678   ROM_CONTINUE(               0x000006, 0x80000 )
76797679   ROM_CONTINUE(               0x200006, 0x80000 )
76807680
7681   ROM_REGION( 0x28000, "audio", 0 ) /* PIC16c57 - protected */
7681   ROM_REGION( 0x28000, "audiocpu", 0 ) /* PIC16c57 - protected */
76827682   ROM_LOAD( "pic16c57", 0x00000, 0x4000, NO_DUMP )
76837683
76847684   ROM_REGION( 0x200000, "oki", 0 ) /* OKI6295 */
r4347r4348
76927692   so it might be different */
76937693
76947694ROM_START( punipic3 )
7695   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
7695   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
76967696   ROM_LOAD16_BYTE( "psb5b.rom",       0x000000, 0x80000, CRC(58f42c05) SHA1(e243928f0bbecdf2a8d07cf4a6fdea4440e46c01) )
76977697   ROM_LOAD16_BYTE( "psb3b.rom",       0x000001, 0x80000, CRC(90113db4) SHA1(4decc203ae3ee4abcb2e017f11cd20eae2abf3f3) )
76987698   ROM_LOAD16_BYTE( "psb4a.rom",       0x100000, 0x80000, CRC(665a5485) SHA1(c07920d110ca9c35f6cbff94a6a889c17300f994) )
r4347r4348
77087708   ROM_CONTINUE(               0x200002, 0x80000 )
77097709   ROM_CONTINUE(               0x200006, 0x80000 )
77107710
7711   ROM_REGION( 0x28000, "audio", ROMREGION_ERASE00 ) /* PIC16c57 (maybe, not listed in readme) */
7711   ROM_REGION( 0x28000, "audiocpu", ROMREGION_ERASE00 ) /* PIC16c57 (maybe, not listed in readme) */
77127712   //ROM_LOAD( "pic16c57", 0x00000, 0x4000, NO_DUMP )
77137713
77147714   ROM_REGION( 0x200000, "oki", ROMREGION_ERASE00 ) /* OKI6295 */
r4347r4348
77187718
77197719/* FIXME B-Board uncertain but should be 91634B/91635B from the program ROM names */
77207720ROM_START( slammast )
7721   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
7721   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
77227722   ROM_LOAD16_WORD_SWAP( "mbe_23e.rom",  0x000000, 0x80000, CRC(5394057a) SHA1(57f8b40c0a15e82c98ce5f0a8c4bdf60a1bc3107) )
77237723   ROM_LOAD16_BYTE( "mbe_24b.rom",       0x080000, 0x20000, CRC(95d5e729) SHA1(df3be896e55c92eb50887a4317178a3d11048433) )
77247724   ROM_LOAD16_BYTE( "mbe_28b.rom",       0x080001, 0x20000, CRC(b1c7cbcb) SHA1(cf5ad72be4a055db876e7347b1826325b9bf81d9) )
r4347r4348
77417741   ROMX_LOAD( "mb_11.bin",      0x400004, 0x80000, CRC(8fb94743) SHA1(294f6182c8a41b640d1f57cb5e3a2abce3b06482) , ROM_GROUPWORD | ROM_SKIP(6) )
77427742   ROMX_LOAD( "mb_13.bin",      0x400006, 0x80000, CRC(da810d5f) SHA1(392bbd405244b8c99024c9228cfec6a7ef0accdb) , ROM_GROUPWORD | ROM_SKIP(6) )
77437743
7744   ROM_REGION( 0x28000, "audio", 0 ) /* QSound Z80 code */
7744   ROM_REGION( 0x28000, "audiocpu", 0 ) /* QSound Z80 code */
77457745   ROM_LOAD( "mb_qa.rom",      0x00000, 0x08000, CRC(e21a03c4) SHA1(98c03fd2c9b6bf8a4fc25a4edca87fff7c3c3819) )
77467746   ROM_CONTINUE(               0x10000, 0x18000 )
77477747
77487748   ROM_REGION( 0x8000, "user1", 0 )
7749   ROM_COPY( "audio", 0x00000, 0x00000, 0x8000 )
7749   ROM_COPY( "audiocpu", 0x00000, 0x00000, 0x8000 )
77507750
77517751   ROM_REGION( 0x400000, "qsound", 0 ) /* QSound samples */
77527752   ROM_LOAD( "mb_q1.bin",      0x000000, 0x80000, CRC(0630c3ce) SHA1(520fc74c5c3638f611fa2f1b5efb08b91747e29b) )
r4347r4348
77677767
77687768/* FIXME B-Board uncertain but should be 91634B/91635B from the program ROM names */
77697769ROM_START( slammasu )
7770   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
7770   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
77717771   ROM_LOAD16_WORD_SWAP( "mbu-23e.rom",  0x000000, 0x80000, CRC(224f0062) SHA1(d961f2e7db7acac576539c24a69e7dd9bf8fc406) )
77727772   ROM_LOAD16_BYTE( "mbe_24b.rom",       0x080000, 0x20000, CRC(95d5e729) SHA1(df3be896e55c92eb50887a4317178a3d11048433) )
77737773   ROM_LOAD16_BYTE( "mbe_28b.rom",       0x080001, 0x20000, CRC(b1c7cbcb) SHA1(cf5ad72be4a055db876e7347b1826325b9bf81d9) )
r4347r4348
77907790   ROMX_LOAD( "mb_11.bin",      0x400004, 0x80000, CRC(8fb94743) SHA1(294f6182c8a41b640d1f57cb5e3a2abce3b06482) , ROM_GROUPWORD | ROM_SKIP(6) )
77917791   ROMX_LOAD( "mb_13.bin",      0x400006, 0x80000, CRC(da810d5f) SHA1(392bbd405244b8c99024c9228cfec6a7ef0accdb) , ROM_GROUPWORD | ROM_SKIP(6) )
77927792
7793   ROM_REGION( 0x28000, "audio", 0 ) /* QSound Z80 code */
7793   ROM_REGION( 0x28000, "audiocpu", 0 ) /* QSound Z80 code */
77947794   ROM_LOAD( "mb_qa.rom",      0x00000, 0x08000, CRC(e21a03c4) SHA1(98c03fd2c9b6bf8a4fc25a4edca87fff7c3c3819) )
77957795   ROM_CONTINUE(               0x10000, 0x18000 )
77967796
77977797   ROM_REGION( 0x8000, "user1", 0 )
7798   ROM_COPY( "audio", 0x00000, 0x00000, 0x8000 )
7798   ROM_COPY( "audiocpu", 0x00000, 0x00000, 0x8000 )
77997799
78007800   ROM_REGION( 0x400000, "qsound", 0 ) /* QSound samples */
78017801   ROM_LOAD( "mb_q1.bin",      0x000000, 0x80000, CRC(0630c3ce) SHA1(520fc74c5c3638f611fa2f1b5efb08b91747e29b) )
r4347r4348
78167816
78177817/* FIXME B-Board uncertain but should be 91634B/91635B from the program ROM names */
78187818ROM_START( mbomberj )
7819   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
7819   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
78207820   ROM_LOAD16_WORD_SWAP( "mbj23e",       0x000000, 0x80000, CRC(0d06036a) SHA1(e1b102888038b4bb612a41ac94a43333d468a245) )
78217821   ROM_LOAD16_BYTE( "mbe_24b.rom",       0x080000, 0x20000, CRC(95d5e729) SHA1(df3be896e55c92eb50887a4317178a3d11048433) )
78227822   ROM_LOAD16_BYTE( "mbe_28b.rom",       0x080001, 0x20000, CRC(b1c7cbcb) SHA1(cf5ad72be4a055db876e7347b1826325b9bf81d9) )
r4347r4348
78397839   ROMX_LOAD( "mb_11.bin",      0x400004, 0x80000, CRC(8fb94743) SHA1(294f6182c8a41b640d1f57cb5e3a2abce3b06482) , ROM_GROUPWORD | ROM_SKIP(6) )
78407840   ROMX_LOAD( "mb_13.bin",      0x400006, 0x80000, CRC(da810d5f) SHA1(392bbd405244b8c99024c9228cfec6a7ef0accdb) , ROM_GROUPWORD | ROM_SKIP(6) )
78417841
7842   ROM_REGION( 0x28000, "audio", 0 ) /* QSound Z80 code */
7842   ROM_REGION( 0x28000, "audiocpu", 0 ) /* QSound Z80 code */
78437843   ROM_LOAD( "mb_qa.rom",      0x00000, 0x08000, CRC(e21a03c4) SHA1(98c03fd2c9b6bf8a4fc25a4edca87fff7c3c3819) )
78447844   ROM_CONTINUE(               0x10000, 0x18000 )
78457845
78467846   ROM_REGION( 0x8000, "user1", 0 )
7847   ROM_COPY( "audio", 0x00000, 0x00000, 0x8000 )
7847   ROM_COPY( "audiocpu", 0x00000, 0x00000, 0x8000 )
78487848
78497849   ROM_REGION( 0x400000, "qsound", 0 ) /* QSound samples */
78507850   ROM_LOAD( "mb_q1.bin",      0x000000, 0x80000, CRC(0630c3ce) SHA1(520fc74c5c3638f611fa2f1b5efb08b91747e29b) )
r4347r4348
78657865
78667866/* FIXME B-Board uncertain but should be 91634B/91635B from the program ROM names */
78677867ROM_START( mbombrd )
7868   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
7868   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
78697869   ROM_LOAD16_BYTE( "mbd_26.bin",        0x000000, 0x20000, CRC(72b7451c) SHA1(380ef57bb00f1c92d2f29e551b0a670eb5a56cb7) )
78707870   ROM_LOAD16_BYTE( "mbde_30.rom",       0x000001, 0x20000, CRC(a036dc16) SHA1(a68cf74976f482dbc581734e143669511a9a4bee) )
78717871   ROM_LOAD16_BYTE( "mbd_27.bin",        0x040000, 0x20000, CRC(4086f534) SHA1(a2b949f00035b06cb1cd01185902daca3d89d0e3) )
r4347r4348
78917891   ROMX_LOAD( "mb_11.bin",      0x400004, 0x80000, CRC(8fb94743) SHA1(294f6182c8a41b640d1f57cb5e3a2abce3b06482) , ROM_GROUPWORD | ROM_SKIP(6) )
78927892   ROMX_LOAD( "mb_13.bin",      0x400006, 0x80000, CRC(da810d5f) SHA1(392bbd405244b8c99024c9228cfec6a7ef0accdb) , ROM_GROUPWORD | ROM_SKIP(6) )
78937893
7894   ROM_REGION( 0x28000, "audio", 0 ) /* QSound Z80 code */
7894   ROM_REGION( 0x28000, "audiocpu", 0 ) /* QSound Z80 code */
78957895   ROM_LOAD( "mb_q.bin",       0x00000, 0x08000, CRC(d6fa76d1) SHA1(3bfcb703e0e458ef1bb843230f8537167f1d4c3c) )
78967896   ROM_CONTINUE(               0x10000, 0x18000 )
78977897
r4347r4348
79147914
79157915/* FIXME B-Board uncertain but should be 91634B/91635B from the program ROM names */
79167916ROM_START( mbombrdj )
7917   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
7917   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
79187918   ROM_LOAD16_BYTE( "mbd_26.bin",        0x000000, 0x20000, CRC(72b7451c) SHA1(380ef57bb00f1c92d2f29e551b0a670eb5a56cb7) )
79197919   ROM_LOAD16_BYTE( "mbdj_30.bin",       0x000001, 0x20000, CRC(beff31cf) SHA1(8a3a1fa848fe8fad239d21aef1871e54bbcb582f) )
79207920   ROM_LOAD16_BYTE( "mbd_27.bin",        0x040000, 0x20000, CRC(4086f534) SHA1(a2b949f00035b06cb1cd01185902daca3d89d0e3) )
r4347r4348
79407940   ROMX_LOAD( "mb_11.bin",      0x400004, 0x80000, CRC(8fb94743) SHA1(294f6182c8a41b640d1f57cb5e3a2abce3b06482) , ROM_GROUPWORD | ROM_SKIP(6) )
79417941   ROMX_LOAD( "mb_13.bin",      0x400006, 0x80000, CRC(da810d5f) SHA1(392bbd405244b8c99024c9228cfec6a7ef0accdb) , ROM_GROUPWORD | ROM_SKIP(6) )
79427942
7943   ROM_REGION( 0x28000, "audio", 0 ) /* QSound Z80 code */
7943   ROM_REGION( 0x28000, "audiocpu", 0 ) /* QSound Z80 code */
79447944   ROM_LOAD( "mb_q.bin",       0x00000, 0x08000, CRC(d6fa76d1) SHA1(3bfcb703e0e458ef1bb843230f8537167f1d4c3c) )
79457945   ROM_CONTINUE(               0x10000, 0x18000 )
79467946
r4347r4348
79637963
79647964/* FIXME B-Board uncertain but should be 88622B/89625B from the program ROM names */
79657965ROM_START( pnickj )
7966   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
7966   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
79677967   ROM_LOAD16_BYTE( "pnij36.bin",   0x00000, 0x20000, CRC(2d4ffb2b) SHA1(6e49cf89a36834fd1de8b4b860fe66f3d7d67a84) )
79687968   ROM_LOAD16_BYTE( "pnij42.bin",   0x00001, 0x20000, CRC(c085dfaf) SHA1(a31ededc3413ec4f3f5e3a1fb615b60c6197f4a5) )
79697969
r4347r4348
79857985   ROMX_LOAD( "pnij39.bin",   0x100006, 0x20000, CRC(70fbe579) SHA1(b5b7ed5588ecd884b20dd50bfc5385a9af03c5d8) , ROM_SKIP(7) )
79867986   ROMX_LOAD( "pnij33.bin",   0x100007, 0x20000, CRC(3ed2c680) SHA1(0afe84d8d89f8d45afc79f6172337e622e29a8a2) , ROM_SKIP(7) )
79877987
7988   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
7988   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
79897989   ROM_LOAD( "pnij17.bin",    0x00000, 0x08000, CRC(e86f787a) SHA1(de04cbe89c655faf04afe169bfd9913049ccc4a8) )
79907990   ROM_CONTINUE(              0x10000, 0x08000 )
79917991
r4347r4348
80038003
80048004/* B-Board 89625B */
80058005ROM_START( qad )
8006   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
8006   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
80078007   ROM_LOAD16_BYTE( "qdu_36a.12f", 0x00000, 0x20000, CRC(de9c24a0) SHA1(458962943e8d97d1f4e5a15ac1c8d3bcaa32918b) )
80088008   ROM_LOAD16_BYTE( "qdu_42a.12h", 0x00001, 0x20000, CRC(cfe36f0c) SHA1(370a47461b2dbb7807f547f5b4b33296572c5d78) )
80098009   ROM_LOAD16_BYTE( "qdu_37a.13f", 0x40000, 0x20000, CRC(10d22320) SHA1(73b2876d5447f50a850c466789d9297269f732d6) )
r4347r4348
80198019   ROMX_LOAD( "qdu_38.8h", 0x000006, 0x20000, CRC(ccdddd1f) SHA1(8304c4cdfaa1ae6b37e2733e9a6ddce9252fd43a) , ROM_SKIP(7) )
80208020   ROMX_LOAD( "qdu_32.8f", 0x000007, 0x20000, CRC(a8d295d3) SHA1(d4d0bdaeb40f652ef33b317cb2b566b4c3550242) , ROM_SKIP(7) )
80218021
8022   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
8022   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
80238023   ROM_LOAD( "qdu_23.13b", 0x00000, 0x08000, CRC(cfb5264b) SHA1(e662ed5555d02ccf4e62cdbcfa0bbfc019734ee1) )
80248024   ROM_CONTINUE(           0x10000, 0x08000 )
80258025
r4347r4348
80448044
80458045/* FIXME B-Board uncertain but should be 91634B/91635B from the program ROM names */
80468046ROM_START( qadj )
8047   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
8047   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
80488048   ROM_LOAD16_WORD_SWAP( "qad23a.bin",   0x00000, 0x80000, CRC(4d3553de) SHA1(07eabcb02fbbe11397ce91405a2e6bb53b3d5d4f) )
80498049   ROM_LOAD16_WORD_SWAP( "qad22a.bin",   0x80000, 0x80000, CRC(3191ddd0) SHA1(2806021a5dc809ca43692bbe9c4f5ef690c9ac14) )
80508050
r4347r4348
80548054   ROMX_LOAD( "qad03.bin",   0x000004, 0x80000, CRC(cea4ca8c) SHA1(5c50758647419129f2b35ab4dc712796fa801c12) , ROM_GROUPWORD | ROM_SKIP(6) )
80558055   ROMX_LOAD( "qad04.bin",   0x000006, 0x80000, CRC(41b74d1b) SHA1(78aa2faec512c505f98b4e8053fc161941d41773) , ROM_GROUPWORD | ROM_SKIP(6) )
80568056
8057   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
8057   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
80588058   ROM_LOAD( "qad09.bin",     0x00000, 0x08000, CRC(733161cc) SHA1(dfb8c5a1037bd3b2712fb327122ec39ceb993b8d) )
80598059   ROM_CONTINUE(              0x10000, 0x08000 )
80608060
r4347r4348
80728072
80738073/* FIXME B-Board uncertain but should be 90629B from the program ROM names */
80748074ROM_START( qtono2 )
8075   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
8075   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
80768076   ROM_LOAD16_BYTE( "tn2j-30.11e", 0x00000, 0x20000, CRC(9226eb5e) SHA1(91649974f9652caed90eb28ec6caf4fe61f5d279) )
80778077   ROM_LOAD16_BYTE( "tn2j-37.11f", 0x00001, 0x20000, CRC(d1d30da1) SHA1(7ca1695ed804b5860d4c15964cdbb922db3918ee) )
80788078   ROM_LOAD16_BYTE( "tn2j-31.12e", 0x40000, 0x20000, CRC(015e6a8a) SHA1(0835bec4867438a167bd01e3550090c88e7ae779) )
r4347r4348
80928092   ROMX_LOAD( "tn2-10m.3c", 0x200004, 0x80000, CRC(a34ece70) SHA1(15864d6b280f624245add8a611f1699da570392b) , ROM_GROUPWORD | ROM_SKIP(6) )
80938093   ROMX_LOAD( "tn2-12m.5c", 0x200006, 0x80000, CRC(e04ff2f4) SHA1(774c19909a2ae2c691f5d3f15b6e19cc94baf799) , ROM_GROUPWORD | ROM_SKIP(6) )
80948094
8095   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
8095   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
80968096   ROM_LOAD( "tn2j-09.12a", 0x00000, 0x08000, CRC(6d8edcef) SHA1(9ec2d64278b30cc4316238c3efee663a8bbb255e) )
80978097
80988098   ROM_REGION( 0x40000, "oki", 0 )   /* Samples */
r4347r4348
81098109
81108110/* B-Board 94916-10 */
81118111ROM_START( pang3 )
8112   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
8112   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
81138113   ROM_LOAD16_WORD_SWAP( "pa3w-17.11l", 0x00000, 0x80000, CRC(12138234) SHA1(956a2c847a3cfb94007d1a636167fd2bb9f826ec) )
81148114   ROM_LOAD16_WORD_SWAP( "pa3w-16.10l", 0x80000, 0x80000, CRC(d1ba585c) SHA1(c6d04441fe97abf0a72b23c917777a7b58e94a85) )
81158115
r4347r4348
81198119   ROMX_LOAD( "pa3-07m.2f", 0x000002, 0x100000, CRC(3a4a619d) SHA1(cfe68e24632b53fb6cd6d03b2166d6b5ba28b778) , ROM_GROUPWORD | ROM_SKIP(6) )
81208120   ROM_CONTINUE(            0x000006, 0x100000 )
81218121
8122   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
8122   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
81238123   ROM_LOAD( "pa3-11.11f",  0x00000, 0x08000, CRC(90a08c46) SHA1(7544adab2d7e052e0d21c920bff7841d9d718345) )
81248124
81258125   ROM_REGION( 0x40000, "oki", 0 )   /* Samples */
r4347r4348
81368136
81378137/* B-Board 94916-10 */
81388138ROM_START( pang3j )
8139   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
8139   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
81408140   ROM_LOAD16_WORD_SWAP( "pa3j-17.11l", 0x00000, 0x80000, CRC(21f6e51f) SHA1(b447e05261f59b3b2e89bbc0f606d7136b29cb56) )
81418141   ROM_LOAD16_WORD_SWAP( "pa3j-16.10l", 0x80000, 0x80000, CRC(ca1d7897) SHA1(46aa9232e81a838f3eff1e9b992492a264914fd5) )
81428142
r4347r4348
81468146   ROMX_LOAD( "pa3-07m.2f", 0x000002, 0x100000, CRC(3a4a619d) SHA1(cfe68e24632b53fb6cd6d03b2166d6b5ba28b778) , ROM_GROUPWORD | ROM_SKIP(6) )
81478147   ROM_CONTINUE(            0x000006, 0x100000 )
81488148
8149   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
8149   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
81508150   ROM_LOAD( "pa3-11.11f",  0x00000, 0x08000, CRC(90a08c46) SHA1(7544adab2d7e052e0d21c920bff7841d9d718345) )
81518151
81528152   ROM_REGION( 0x40000, "oki", 0 )   /* Samples */
r4347r4348
81638163
81648164/* B-Board 91634B */
81658165ROM_START( megaman )
8166   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
8166   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
81678167   ROM_LOAD16_WORD_SWAP( "rcma_23b.rom",   0x000000, 0x80000, CRC(61e4a397) SHA1(a90b1cbef4206a4554398bc458a4b3e2c46d4c4f) )
81688168   ROM_LOAD16_WORD_SWAP( "rcma_22b.rom",   0x080000, 0x80000, CRC(708268c4) SHA1(554e011cad285b95dd1b6aa19be61b2413662a3a) )
81698169   ROM_LOAD16_WORD_SWAP( "rcma_21a.rom",   0x100000, 0x80000, CRC(4376ea95) SHA1(7370ceffca513aa9f68a74f6869d561476589200) )
r4347r4348
81868186   ROMX_LOAD( "rcm_16.rom",    0x600004, 0x80000, CRC(93d97fde) SHA1(e4be5216f98ad08a9118d629d398be2bd54e2e2a) , ROM_GROUPWORD | ROM_SKIP(6) )
81878187   ROMX_LOAD( "rcm_17.rom",    0x600006, 0x80000, CRC(92371042) SHA1(c55833cbaddcc986edd23c009a3e3c7ff09c2708) , ROM_GROUPWORD | ROM_SKIP(6) )
81888188
8189   ROM_REGION( 0x28000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
8189   ROM_REGION( 0x28000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
81908190   ROM_LOAD( "rcm_09.rom",    0x00000, 0x08000, CRC(9632d6ef) SHA1(2bcb6f17005ffbc9ef8fa4478a814f24b2e6e0b6) )
81918191   ROM_CONTINUE(              0x10000, 0x18000 )   // second half of ROM is empty, not mapped in memory
81928192
r4347r4348
82138213
82148214/* B-Board 91634B */
82158215ROM_START( rockmanj )
8216   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
8216   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
82178217   ROM_LOAD16_WORD_SWAP( "rcm23a.bin",   0x000000, 0x80000, CRC(efd96cb2) SHA1(cbe81554f60d0c897f3f2ebc5bc966bb03cc23fe) )
82188218   ROM_LOAD16_WORD_SWAP( "rcm22a.bin",   0x080000, 0x80000, CRC(8729a689) SHA1(14ddb34d8201c544ea9d3d8c2cc52d380bc72930) )
82198219   ROM_LOAD16_WORD_SWAP( "rcm21a.bin",   0x100000, 0x80000, CRC(517ccde2) SHA1(492256c192f0c4814efa1ee1dd390453dd2e5865) )
r4347r4348
82368236   ROMX_LOAD( "rcm_16.rom",    0x600004, 0x80000, CRC(93d97fde) SHA1(e4be5216f98ad08a9118d629d398be2bd54e2e2a) , ROM_GROUPWORD | ROM_SKIP(6) )
82378237   ROMX_LOAD( "rcm_17.rom",    0x600006, 0x80000, CRC(92371042) SHA1(c55833cbaddcc986edd23c009a3e3c7ff09c2708) , ROM_GROUPWORD | ROM_SKIP(6) )
82388238
8239   ROM_REGION( 0x28000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
8239   ROM_REGION( 0x28000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
82408240   ROM_LOAD( "rcm_09.rom",    0x00000, 0x08000, CRC(9632d6ef) SHA1(2bcb6f17005ffbc9ef8fa4478a814f24b2e6e0b6) )
82418241   ROM_CONTINUE(              0x10000, 0x18000 )   // second half of ROM is empty, not mapped in memory
82428242
r4347r4348
83288328
83298329static DRIVER_INIT( pang3j )
83308330{
8331   UINT16 *rom = (UINT16 *)memory_region(machine, "main");
8331   UINT16 *rom = (UINT16 *)memory_region(machine, "maincpu");
83328332   int A,src,dst;
83338333
83348334   for (A = 0x80000;A < 0x100000;A += 2)
src/emu/validity.c
r4347r4348
162162   const char *begin = strrchr(tag, ':');
163163   const char *p;
164164   int error = FALSE;
165   
166   /* some common names that are now deprecated */
167   if (strcmp(tag, "main") == 0 ||
168      strcmp(tag, "audio") == 0 ||
169      strcmp(tag, "sound") == 0)
170   {
171      mame_printf_error("%s: %s has invalid generic tag '%s'\n", driver->source_file, driver->name, tag);
172      error = TRUE;
173   }
165174
166175   for (p = tag; *p != 0; p++)
167176   {
src/mess/video/zx.c
r4347r4348
137137{
138138   const device_config *screen = video_screen_first(machine->config);
139139   int offs0 = offs & 0x7fff;
140   UINT8 *rom = memory_region(machine, "main");
140   UINT8 *rom = memory_region(machine, "maincpu");
141141   UINT8 chr = rom[offs0];
142142
143143   if ((!ula_irq_active) && (chr == 0x76))
src/mess/video/hp48.c
r4347r4348
137137
138138VIDEO_UPDATE ( hp48 )
139139{
140   const address_space *space = cpu_get_address_space( cputag_get_cpu(screen->machine, "main"), ADDRESS_SPACE_PROGRAM );
140   const address_space *space = cpu_get_address_space( cputag_get_cpu(screen->machine, "maincpu"), ADDRESS_SPACE_PROGRAM );
141141   int x, y, xp, i, addr;
142142   int display       = HP48_IO_4(0) >> 3;           /* 1=on, 0=off */
143143   int left_margin   = HP48_IO_4(0) & 7;            /* 0..7 pixels for main bitmap */
src/mess/video/mbee.c
r4347r4348
350350         break;
351351      crt.screen_address_hi = data;
352352      addr = 0x17000+((data & 32) << 6);
353      memcpy(mbee_pcgram, memory_region(space->machine, "main")+addr, 0x800);
353      memcpy(mbee_pcgram, memory_region(space->machine, "maincpu")+addr, 0x800);
354354      for (i = 0; i < 128; i++)
355355         gfx_element_mark_dirty(space->machine->gfx[0], i);
356356      break;
r4347r4348
446446
447447VIDEO_START( mbee )
448448{
449   UINT8 *ram = memory_region(machine, "main");
449   UINT8 *ram = memory_region(machine, "maincpu");
450450   videoram = ram+0x15000;
451451   mbee_pcgram = ram+0x11000;
452452}
453453
454454VIDEO_START( mbeeic )
455455{
456   UINT8 *ram = memory_region(machine, "main");
456   UINT8 *ram = memory_region(machine, "maincpu");
457457   videoram = ram+0x15000;
458458   colorram = ram+0x15800;
459459   mbee_pcgram = ram+0x11000;
src/mess/video/z88.c
r4347r4348
131131   else
132132   {
133133      offset = offset & 0x01FFFF;
134      return memory_region(machine, "main") + 0x010000 + offset;
134      return memory_region(machine, "maincpu") + 0x010000 + offset;
135135   }
136136}
137137
src/mess/video/pc_vga.h
r4347r4348
103103*/
104104#if 0
105105        int i;
106        UINT8 *memory=memory_region(machine, "main")+0xc0000;
106        UINT8 *memory=memory_region(machine, "maincpu")+0xc0000;
107107        UINT8 chksum;
108108
109109      /* oak vga */
src/mess/video/exidy.c
r4347r4348
2727         int ch;
2828
2929         /* get char from z80 address space */
30         ch = memory_read_byte(cputag_get_address_space(screen->machine,"main",ADDRESS_SPACE_PROGRAM), 0x0f080 + (y<<6) + x) & 0x0ff;
30         ch = memory_read_byte(cputag_get_address_space(screen->machine,"maincpu",ADDRESS_SPACE_PROGRAM), 0x0f080 + (y<<6) + x) & 0x0ff;
3131
3232         /* prom at 0x0f800, user chars from 0x0fc00 */
3333         char_addr = 0x0f800 | (ch<<3);
r4347r4348
3939
4040            /* read byte of graphics data from z80 memory */
4141            /* either prom or ram */
42            byte = memory_read_byte(cputag_get_address_space(screen->machine,"main",ADDRESS_SPACE_PROGRAM), char_addr|cheight);
42            byte = memory_read_byte(cputag_get_address_space(screen->machine,"maincpu",ADDRESS_SPACE_PROGRAM), char_addr|cheight);
4343
4444            px = (x<<3);
4545            py = (y<<3)|cheight;
src/mess/video/pc_t1t.c
r4347r4348
665665{
666666   if (pcjr.bank != data)
667667   {
668      UINT8 *ram = memory_region(machine, "main");
668      UINT8 *ram = memory_region(machine, "maincpu");
669669      int dram, vram;
670670      pcjr.bank = data;
671671   /* it seems the video ram is mapped to the last 128K of main memory */
r4347r4348
713713      dram = (data & 0x07) << 14;
714714      vram = (data & 0x38) << (14-3);
715715#endif
716      videoram = &memory_region(machine, "main")[vram];
717      pcjr.displayram = &memory_region(machine, "main")[dram];
716      videoram = &memory_region(machine, "maincpu")[vram];
717      pcjr.displayram = &memory_region(machine, "maincpu")[dram];
718718   }
719719   pc_pcjr_mode_switch();
720720}
src/mess/video/a7800.c
r4347r4348
339339INTERRUPT_GEN( a7800_interrupt )
340340{
341341   int frame_scanline;
342   UINT8 *ROM = memory_region(device->machine, "main");
342   UINT8 *ROM = memory_region(device->machine, "maincpu");
343343   const address_space* space = cpu_get_address_space(device->machine->cpu[0],ADDRESS_SPACE_PROGRAM);
344344   
345345   maria_scanline++;
r4347r4348
459459
460460 READ8_HANDLER( a7800_MARIA_r )
461461{
462   UINT8 *ROM = memory_region(space->machine, "main");
462   UINT8 *ROM = memory_region(space->machine, "maincpu");
463463   switch (offset)
464464   {
465465      case 0x08:
r4347r4348
473473
474474WRITE8_HANDLER( a7800_MARIA_w )
475475{
476   UINT8 *ROM = memory_region(space->machine, "main");
476   UINT8 *ROM = memory_region(space->machine, "maincpu");
477477   switch (offset)
478478   {
479479      case 0x00:
src/mess/video/coco3.c
r4347r4348
819819   memory_set_bankptr(machine, 10, paletteram);
820820
821821   /* font */
822   rom = memory_region(machine, "main");
822   rom = memory_region(machine, "maincpu");
823823   for (i = 0; i < 32; i++)
824824   {
825825      /* characters 0-31 are at $FA10 - $FB0F */
src/mess/video/intv.c
r4347r4348
133133    INT32 xInc;
134134    INT32 i, j;
135135
136    UINT8* memory = memory_region(machine, "main");
136    UINT8* memory = memory_region(machine, "maincpu");
137137
138138    for (i = 0; i < 8; i++) {
139139      struct intv_sprite_type* s = &intv_sprite[i];
r4347r4348
268268{
269269    UINT8 h, csPtr = 0, nexty = 0;
270270    UINT16 nextCard, nextx = 0;
271    UINT8 *ram = memory_region(machine, "main");
271    UINT8 *ram = memory_region(machine, "maincpu");
272272
273273    for (h = 0; h < 240; h++) {
274274        nextCard = intv_ram16[h];
r4347r4348
330330    UINT8 i, j, isGrom, fgcolor, bgcolor, nexty = 0;
331331    UINT16 nextCard, memoryLocation, nextx = 0;
332332    UINT8* memory;
333    UINT8* ram = memory_region(machine, "main");
333    UINT8* ram = memory_region(machine, "maincpu");
334334
335335    for (i = 0; i < 240; i++) {
336336        nextCard = intv_ram16[i];
src/mess/video/ted7360.c
r4347r4348
967967   for (y = ybegin; y <= yend; y++)
968968   {
969969      if (INROM)
970         code = vic_dma_read_rom (cputag_get_address_space(machine,"main",ADDRESS_SPACE_PROGRAM), chargenaddr + ch * 8 + y);
970         code = vic_dma_read_rom (cputag_get_address_space(machine,"maincpu",ADDRESS_SPACE_PROGRAM), chargenaddr + ch * 8 + y);
971971      else
972         code = vic_dma_read (cputag_get_address_space(machine,"main",ADDRESS_SPACE_PROGRAM), chargenaddr + ch * 8 + y);
972         code = vic_dma_read (cputag_get_address_space(machine,"maincpu",ADDRESS_SPACE_PROGRAM), chargenaddr + ch * 8 + y);
973973      *BITMAP_ADDR16(ted7360_bitmap, y + yoff, 0 + xoff) = color[code >> 7];
974974      *BITMAP_ADDR16(ted7360_bitmap, y + yoff, 1 + xoff) = color[(code >> 6) & 1];
975975      *BITMAP_ADDR16(ted7360_bitmap, y + yoff, 2 + xoff) = color[(code >> 5) & 1];
r4347r4348
989989   for (y = ybegin; y <= yend; y++)
990990   {
991991      if (INROM)
992         code = vic_dma_read_rom (cputag_get_address_space(machine,"main",ADDRESS_SPACE_PROGRAM), chargenaddr + ch * 8 + y);
992         code = vic_dma_read_rom (cputag_get_address_space(machine,"maincpu",ADDRESS_SPACE_PROGRAM), chargenaddr + ch * 8 + y);
993993      else
994         code = vic_dma_read (cputag_get_address_space(machine,"main",ADDRESS_SPACE_PROGRAM), chargenaddr + ch * 8 + y);
994         code = vic_dma_read (cputag_get_address_space(machine,"maincpu",ADDRESS_SPACE_PROGRAM), chargenaddr + ch * 8 + y);
995995      *BITMAP_ADDR16(ted7360_bitmap, y + yoff, 0 + xoff) =
996996         *BITMAP_ADDR16(ted7360_bitmap, y + yoff, 1 + xoff) = multi[code >> 6];
997997      *BITMAP_ADDR16(ted7360_bitmap, y + yoff, 2 + xoff) =
r4347r4348
10101010
10111011   for (y = ybegin; y <= yend; y++)
10121012   {
1013      code = vic_dma_read (cputag_get_address_space(machine,"main",ADDRESS_SPACE_PROGRAM), bitmapaddr + ch * 8 + y);
1013      code = vic_dma_read (cputag_get_address_space(machine,"maincpu",ADDRESS_SPACE_PROGRAM), bitmapaddr + ch * 8 + y);
10141014      *BITMAP_ADDR16(ted7360_bitmap, y + yoff, 0 + xoff) = c16_bitmap[code >> 7];
10151015      *BITMAP_ADDR16(ted7360_bitmap, y + yoff, 1 + xoff) = c16_bitmap[(code >> 6) & 1];
10161016      *BITMAP_ADDR16(ted7360_bitmap, y + yoff, 2 + xoff) = c16_bitmap[(code >> 5) & 1];
r4347r4348
10291029
10301030   for (y = ybegin; y <= yend; y++)
10311031   {
1032      code = vic_dma_read (cputag_get_address_space(machine,"main",ADDRESS_SPACE_PROGRAM), bitmapaddr + ch * 8 + y);
1032      code = vic_dma_read (cputag_get_address_space(machine,"maincpu",ADDRESS_SPACE_PROGRAM), bitmapaddr + ch * 8 + y);
10331033      *BITMAP_ADDR16(ted7360_bitmap, y + yoff, 0 + xoff) =
10341034         *BITMAP_ADDR16(ted7360_bitmap, y + yoff, 1 + xoff) = bitmapmulti[code >> 6];
10351035      *BITMAP_ADDR16(ted7360_bitmap, y + yoff, 2 + xoff) =
r4347r4348
11181118      {
11191119         if (HIRESON)
11201120         {
1121            ch = vic_dma_read (cputag_get_address_space(machine,"main",ADDRESS_SPACE_PROGRAM), (videoaddr | 0x400) + offs);
1122            attr = vic_dma_read (cputag_get_address_space(machine,"main",ADDRESS_SPACE_PROGRAM), ((videoaddr) + offs));
1121            ch = vic_dma_read (cputag_get_address_space(machine,"maincpu",ADDRESS_SPACE_PROGRAM), (videoaddr | 0x400) + offs);
1122            attr = vic_dma_read (cputag_get_address_space(machine,"maincpu",ADDRESS_SPACE_PROGRAM), ((videoaddr) + offs));
11231123            c1 = ((ch >> 4) & 0xf) | (attr << 4);
11241124            c2 = (ch & 0xf) | (attr & 0x70);
11251125            bitmapmulti[1] = c16_bitmap[1] = c1 & 0x7f;
r4347r4348
11351135         }
11361136         else
11371137         {
1138            ch = vic_dma_read (cputag_get_address_space(machine,"main",ADDRESS_SPACE_PROGRAM), (videoaddr | 0x400) + offs);
1139            attr = vic_dma_read (cputag_get_address_space(machine,"main",ADDRESS_SPACE_PROGRAM), ((videoaddr) + offs));
1138            ch = vic_dma_read (cputag_get_address_space(machine,"maincpu",ADDRESS_SPACE_PROGRAM), (videoaddr | 0x400) + offs);
1139            attr = vic_dma_read (cputag_get_address_space(machine,"maincpu",ADDRESS_SPACE_PROGRAM), ((videoaddr) + offs));
11401140            // levente harsfalvi's docu says cursor off in ecm and multicolor
11411141            if (ECMON)
11421142            {
src/mess/video/pecom.c
r4347r4348
8181
8282static CDP1869_INTERFACE( pecom_cdp1869_intf )
8383{
84   "main",
84   "maincpu",
8585   SCREEN_TAG,   
8686   CDP1869_COLOR_CLK_PAL,
8787   CDP1869_PAL,
src/mess/video/bbc.c
r4347r4348
657657{
658658   if (vdusel)
659659   {
660      BBC_Video_RAM= memory_region(machine, "main")+0x8000;
660      BBC_Video_RAM= memory_region(machine, "maincpu")+0x8000;
661661      vidmem_RAM=(bbc_vidmem)+0x8000;
662662   } else {
663      BBC_Video_RAM= memory_region(machine, "main");
663      BBC_Video_RAM= memory_region(machine, "maincpu");
664664      vidmem_RAM=bbc_vidmem;
665665   }
666666}
r4347r4348
677677   m6845_config(&BBC6845);
678678   saa505x_config(&BBCsaa5050);
679679
680   BBC_Video_RAM= memory_region(machine, "main");
680   BBC_Video_RAM= memory_region(machine, "maincpu");
681681   vidmem_RAM=bbc_vidmem;
682682   draw_function=*BBC_draw_hi_res;
683683}
r4347r4348
689689   m6845_config(&BBC6845);
690690   saa505x_config(&BBCsaa5050);
691691
692   BBC_Video_RAM= memory_region(machine, "main");
692   BBC_Video_RAM= memory_region(machine, "maincpu");
693693   vidmem_RAM=bbc_vidmem;
694694   draw_function=*BBC_draw_hi_res;
695695}
r4347r4348
703703   m6845_config(&BBC6845);
704704   saa505x_config(&BBCsaa5050);
705705
706   BBC_Video_RAM= memory_region(machine, "main");
706   BBC_Video_RAM= memory_region(machine, "maincpu");
707707   vidmem_RAM=bbc_vidmem;
708708   draw_function=*BBC_draw_hi_res;
709709}
r4347r4348
716716   m6845_config(&BBC6845);
717717   saa505x_config(&BBCsaa5050);
718718
719   BBC_Video_RAM= memory_region(machine, "main");
719   BBC_Video_RAM= memory_region(machine, "maincpu");
720720   vidmem_RAM=bbc_vidmem;
721721   draw_function=*BBC_draw_hi_res;
722722}
src/mess/includes/geneve.h
r4347r4348
1313
1414/* defines */
1515
16/* offsets for "main" */
16/* offsets for "maincpu" */
1717enum
1818{
1919   offset_rom_geneve = 0x0000,         /* boot ROM (16 kbytes) */
src/mess/machine/dgn_beta.c
r4347r4348
10341034{
10351035   device_config *fdc = (device_config*)devtag_get_device(machine, WD179X, "wd179x");
10361036
1037   system_rom = memory_region(machine, "main");
1037   system_rom = memory_region(machine, "maincpu");
10381038
10391039   /* Make sure CPU 1 is started out halted ! */
10401040   cpu_set_input_line(machine->cpu[1], INPUT_LINE_HALT, ASSERT_LINE);
src/mess/machine/hp48.c
r4347r4348
11531153   /* ROM load */
11541154   rom_size = HP48_S_SERIES ? (256 * 1024) : (512 * 1024);
11551155   rom = auto_malloc( 2 * rom_size );
1156   hp48_decode_nibble( rom, memory_region( machine, "main" ), rom_size );
1156   hp48_decode_nibble( rom, memory_region( machine, "maincpu" ), rom_size );
11571157
11581158   /* init state */
11591159   memset( generic_nvram, 0, generic_nvram_size );
src/mess/machine/apple3.c
r4347r4348
461461   else
462462      memory_install_write8_handler(space, 0xF000, 0xFFFF, 0, 0, SMH_BANK7);
463463   if (via_0_a & 0x01)
464      memory_set_bankptr(machine,7, memory_region(machine, "main"));
464      memory_set_bankptr(machine,7, memory_region(machine, "maincpu"));
465465   else
466466      apple3_setbank(machine,7, ~0, 0x7000);
467467
r4347r4348
636636   else if (addr != (UINT8 *) ~0)
637637      result = *addr;
638638   else
639      result = memory_region(space->machine, "main")[offset % memory_region_length(space->machine, "main")];
639      result = memory_region(space->machine, "maincpu")[offset % memory_region_length(space->machine, "maincpu")];
640640   return result;
641641}
642642
r4347r4348
722722DRIVER_INIT( apple3 )
723723{
724724   /* hack to get around VIA problem */
725   memory_region(machine, "main")[0x0685] = 0x00;
725   memory_region(machine, "maincpu")[0x0685] = 0x00;
726726
727727   apple3_enable_mask = 0;
728728   apple3_update_drives((device_config*)devtag_get_device(machine, APPLEFDC, "fdc"));
src/mess/machine/dai.c
r4347r4348
142142{
143143   dai_tms5501 = devtag_get_device(machine, TMS5501, "tms5501");
144144
145   memory_configure_bank(machine, 2, 0, 4, memory_region(machine, "main") + 0x010000, 0x1000);
145   memory_configure_bank(machine, 2, 0, 4, memory_region(machine, "maincpu") + 0x010000, 0x1000);
146146}
147147
148148MACHINE_RESET( dai )
src/mess/machine/adam.c
r4347r4348
527527   const device_config *image;
528528   UINT8 *ram;
529529
530   ram = memory_region(machine, "main");
530   ram = memory_region(machine, "maincpu");
531531   if (offset == adam_pcb)
532532   {
533533      switch (data)
r4347r4348
687687    switch (adam_upper_memory)
688688    {
689689        case 0: /* Internal RAM */
690            memory_region(space->machine, "main")[0x08000+offset] = data;
690            memory_region(space->machine, "maincpu")[0x08000+offset] = data;
691691            if (offset>=(adam_pcb-0x08000)) master6801_behaviour(space->machine, offset+0x08000, data);
692692            break;
693693        case 1: /* ROM Expansion */
694694            break;
695695        case 2: /* RAM Expansion */
696            memory_region(space->machine, "main")[0x18000+offset] = data;
696            memory_region(space->machine, "maincpu")[0x18000+offset] = data;
697697           break;
698698       case 3: /* Cartridge ROM */
699699           break;
r4347r4348
713713   if data bit1 is 1 -> Lower 32k = EOS otherwise Lower 32k = SmartWriter
714714   */
715715   UINT8 *BankBase;
716   BankBase = &memory_region(space->machine, "main")[0x00000];
716   BankBase = &memory_region(space->machine, "maincpu")[0x00000];
717717
718718   if (data==0x0F)
719719      adam_reset_pcb(space->machine);
r4347r4348
792792#ifdef UNUSED_FUNCTION
793793READ8_HANDLER( master6801_ram_r )
794794{
795    /*logerror("Offset %04Xh = %02Xh\n",offset ,memory_region(machine, "main")[offset]);*/
796    return memory_region(space->machine, "main")[offset+0x4000];
795    /*logerror("Offset %04Xh = %02Xh\n",offset ,memory_region(machine, "maincpu")[offset]);*/
796    return memory_region(space->machine, "maincpu")[offset+0x4000];
797797}
798798
799799WRITE8_HANDLER( master6801_ram_w )
800800{
801    memory_region(space->machine, "main")[offset+0x4000] = data;
801    memory_region(space->machine, "maincpu")[offset+0x4000] = data;
802802}
803803#endif
804804
src/mess/machine/cbmb.c
r4347r4348
277277static void cbmb_common_driver_init(running_machine *machine)
278278{
279279   cbmb_state *state = machine->driver_data;
280   cbmb_chargen=memory_region(machine, "main") + 0x100000;
280   cbmb_chargen=memory_region(machine, "maincpu") + 0x100000;
281281   /*    memset(c64_memory, 0, 0xfd00); */
282282
283283   timer_pulse(machine, ATTOTIME_IN_MSEC(10), NULL, 0, cbmb_frame_interrupt);
src/mess/machine/mbee.c
r4347r4348
115115   {
116116      if( image_fread(image, mem, size) == size )
117117      {
118         memcpy(memory_region(image->machine, "main")+0x8000, mem, size);
118         memcpy(memory_region(image->machine, "maincpu")+0x8000, mem, size);
119119      }
120120      free(mem);
121121   }
src/mess/machine/pokemini.c
r4347r4348
14251425   image_fseek( image, 0x2100, SEEK_SET );
14261426   size -= 0x2100;
14271427
1428   if ( size != image_fread( image, memory_region(image->machine, "main") + 0x2100, size ) )
1428   if ( size != image_fread( image, memory_region(image->machine, "maincpu") + 0x2100, size ) )
14291429   {
14301430      image_seterror( image, IMAGE_ERROR_UNSPECIFIED, "Error occured while reading ROM image" );
14311431      return INIT_FAIL;
src/mess/machine/pc1350.c
r4347r4348
9090/* currently enough to save the external ram */
9191NVRAM_HANDLER( pc1350 )
9292{
93   const device_config *main_cpu = cputag_get_cpu(machine, "main");
94   UINT8 *ram = memory_region(machine, "main") + 0x2000;
93   const device_config *main_cpu = cputag_get_cpu(machine, "maincpu");
94   UINT8 *ram = memory_region(machine, "maincpu") + 0x2000;
9595   UINT8 *cpu = sc61860_internal_ram(main_cpu);
9696
9797   if (read_or_write)
src/mess/machine/coco.c
r4347r4348
506506   pak_decodedtrailer trailer;
507507   int trailer_load = 0;
508508
509   ROM = memory_region(image->machine, "main");
509   ROM = memory_region(image->machine, "maincpu");
510510   rambase = &mess_ram[rambase_index];
511511   rombase = &ROM[rombase_index];
512512   pakbase = &ROM[pakbase_index];
r4347r4348
27242724   mux_sel2_timer = timer_alloc(machine, coco_update_sel2_timerproc, NULL);
27252725
27262726   /* setup ROM */
2727   coco_rom = memory_region(machine, "main");
2727   coco_rom = memory_region(machine, "maincpu");
27282728
27292729   /* setup default rom bank */
27302730   bas_rom_bank = coco_rom;
src/mess/machine/gb.c
r4347r4348
296296   gb_video_init( machine, GB_VIDEO_DMG );
297297
298298   /* Enable BIOS rom */
299   memory_set_bankptr(machine, 5, memory_region(machine, "main") );
299   memory_set_bankptr(machine, 5, memory_region(machine, "maincpu") );
300300   memory_set_bankptr(machine, 10, ROMMap[ROMBank00] + 0x0100 );
301301
302302   gb_timer.divcount = 0x0004;
src/mess/machine/radio86.c
r4347r4348
3030DRIVER_INIT(radio86)
3131{
3232   /* set initialy ROM to be visible on first bank */
33   UINT8 *RAM = memory_region(machine, "main");
33   UINT8 *RAM = memory_region(machine, "maincpu");
3434   memset(RAM,0x0000,0x1000); // make frist page empty by default
3535     memory_configure_bank(machine, 1, 1, 2, RAM, 0x0000);
3636   memory_configure_bank(machine, 1, 0, 2, RAM, 0xf800);
r4347r4348
197197
198198static READ8_DEVICE_HANDLER (radio86_romdisk_porta_r )
199199{
200   UINT8 *romdisk = memory_region(device->machine, "main") + 0x10000;   
200   UINT8 *romdisk = memory_region(device->machine, "maincpu") + 0x10000;   
201201   if ((disk_sel & 0x0f) ==0) {
202202      return romdisk[romdisk_msb*256+romdisk_lsb];   
203203   } else {
r4347r4348
245245};
246246
247247const i8275_interface radio86_i8275_interface = {
248   "main",
248   "maincpu",
249249   6,
250250   0,
251251   radio86_video_dma_request,
r4347r4348
254254};
255255
256256const i8275_interface mikrosha_i8275_interface = {
257   "main",
257   "maincpu",
258258   6,
259259   0,
260260   radio86_video_dma_request,
r4347r4348
263263};
264264
265265const i8275_interface apogee_i8275_interface = {
266   "main",
266   "maincpu",
267267   6,
268268   0,
269269   radio86_video_dma_request,
r4347r4348
272272};
273273
274274const i8275_interface partner_i8275_interface = {
275   "main",
275   "maincpu",
276276   6,
277277   1,
278278   radio86_video_dma_request,
src/mess/machine/b2m.c
r4347r4348
6969   memory_install_write8_handler(space, 0x7000, 0xdfff, 0, 0, SMH_BANK4);
7070   memory_install_write8_handler(space, 0xe000, 0xffff, 0, 0, SMH_BANK5);
7171
72   rom = memory_region(machine, "main");
72   rom = memory_region(machine, "maincpu");
7373   switch(bank) {
7474      case 0 :
7575      case 1 :
r4347r4348
257257
258258static READ8_DEVICE_HANDLER (b2m_romdisk_porta_r )
259259{
260   UINT8 *romdisk = memory_region(device->machine, "main") + 0x12000;     
260   UINT8 *romdisk = memory_region(device->machine, "maincpu") + 0x12000;     
261261   return romdisk[b2m_romdisk_msb*256+b2m_romdisk_lsb];   
262262}
263263
src/mess/machine/thomson.c
r4347r4348
461461DEVICE_IMAGE_LOAD( to7_cartridge )
462462{
463463   int i,j;
464   UINT8* pos = memory_region(image->machine,  "main" ) + 0x10000;
464   UINT8* pos = memory_region(image->machine,  "maincpu" ) + 0x10000;
465465   offs_t size = image_length ( image );
466466   char name[129];
467467
r4347r4348
546546/* read signal to 0000-0003 generates a bank switch */
547547READ8_HANDLER ( to7_cartridge_r )
548548{
549   UINT8* pos = memory_region( space->machine, "main" ) + 0x10000;
549   UINT8* pos = memory_region( space->machine, "maincpu" ) + 0x10000;
550550   UINT8 data = pos[offset + (thom_cart_bank % thom_cart_nb_banks) * 0x4000];
551551   thom_cart_bank = offset & 3;
552552   to7_update_cart_bank(space->machine);
r4347r4348
14891489MACHINE_START ( to7 )
14901490{
14911491   const address_space* space = cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM);
1492   UINT8* mem = memory_region(machine, "main");
1492   UINT8* mem = memory_region(machine, "maincpu");
14931493
14941494   LOG (( "to7: machine start called\n" ));
14951495
r4347r4348
17341734
17351735MACHINE_START ( to770 )
17361736{
1737   UINT8* mem = memory_region(machine, "main");
1737   UINT8* mem = memory_region(machine, "maincpu");
17381738
17391739   LOG (( "to770: machine start called\n" ));
17401740
r4347r4348
19221922
19231923DEVICE_IMAGE_LOAD( mo5_cartridge )
19241924{
1925   UINT8* pos = memory_region(image->machine, "main") + 0x10000;
1925   UINT8* pos = memory_region(image->machine, "maincpu") + 0x10000;
19261926   UINT64 size = image_length ( image );
19271927   int i,j;
19281928   char name[129];
r4347r4348
20322032/* read signal to bffc-bfff generates a bank switch */
20332033READ8_HANDLER ( mo5_cartridge_r )
20342034{
2035   UINT8* pos = memory_region( space->machine, "main" ) + 0x10000;
2035   UINT8* pos = memory_region( space->machine, "maincpu" ) + 0x10000;
20362036   UINT8 data = pos[offset + 0xbffc + (thom_cart_bank % thom_cart_nb_banks) * 0x4000];
20372037   thom_cart_bank = offset & 3;
20382038   mo5_update_cart_bank(space->machine);
r4347r4348
20892089
20902090MACHINE_START ( mo5 )
20912091{
2092   UINT8* mem = memory_region(machine, "main");
2092   UINT8* mem = memory_region(machine, "maincpu");
20932093
20942094   LOG (( "mo5: machine start called\n" ));
20952095
r4347r4348
24022402/* read signal to 0000-0003 generates a bank switch */
24032403READ8_HANDLER ( to9_cartridge_r )
24042404{
2405   UINT8* pos = memory_region( space->machine, "main" ) + 0x10000;
2405   UINT8* pos = memory_region( space->machine, "maincpu" ) + 0x10000;
24062406   UINT8 data = pos[offset + (thom_cart_bank % thom_cart_nb_banks) * 0x4000];
24072407   thom_cart_bank = offset & 3;
24082408   to9_update_cart_bank(space->machine);
r4347r4348
30403040
30413041MACHINE_START ( to9 )
30423042{
3043   UINT8* mem = memory_region(machine, "main");
3043   UINT8* mem = memory_region(machine, "maincpu");
30443044
30453045   LOG (( "to9: machine start called\n" ));
30463046
r4347r4348
36003600/* read signal to 0000-0003 generates a bank switch */
36013601READ8_HANDLER ( to8_cartridge_r )
36023602{
3603   UINT8* pos = memory_region( space->machine, "main" ) + 0x10000;
3603   UINT8* pos = memory_region( space->machine, "maincpu" ) + 0x10000;
36043604   UINT8 data = pos[offset + (thom_cart_bank % thom_cart_nb_banks) * 0x4000];
36053605   thom_cart_bank = offset & 3;
36063606   to8_update_cart_bank(space->machine);
r4347r4348
36143614
36153615static void to8_floppy_init( running_machine *machine )
36163616{
3617   UINT8* mem = memory_region(machine, "main");
3617   UINT8* mem = memory_region(machine, "maincpu");
36183618   to7_floppy_init( machine, mem + 0x34000 );
36193619}
36203620
r4347r4348
36223622
36233623static void to8_floppy_reset( running_machine *machine )
36243624{
3625   UINT8* mem = memory_region(machine, "main");
3625   UINT8* mem = memory_region(machine, "maincpu");
36263626   to7_floppy_reset(machine);
36273627   if ( THOM_FLOPPY_INT )
36283628      thmfc_floppy_reset(machine);
r4347r4348
40104010
40114011MACHINE_START ( to8 )
40124012{
4013   UINT8* mem = memory_region(machine, "main");
4013   UINT8* mem = memory_region(machine, "maincpu");
40144014
40154015   LOG (( "to8: machine start called\n" ));
40164016
r4347r4348
41704170
41714171MACHINE_START ( to9p )
41724172{
4173   UINT8* mem = memory_region(machine, "main");
4173   UINT8* mem = memory_region(machine, "maincpu");
41744174
41754175   LOG (( "to9p: machine start called\n" ));
41764176
r4347r4348
43584358/* read signal generates a bank switch */
43594359READ8_HANDLER ( mo6_cartridge_r )
43604360{
4361   UINT8* pos = memory_region( space->machine, "main" ) + 0x10000;
4361   UINT8* pos = memory_region( space->machine, "maincpu" ) + 0x10000;
43624362   UINT8 data = pos[offset + 0xbffc + (thom_cart_bank % thom_cart_nb_banks) * 0x4000];
43634363   thom_cart_bank = offset & 3;
43644364   mo6_update_cart_bank(space->machine);
r4347r4348
47624762
47634763MACHINE_START ( mo6 )
47644764{
4765   UINT8* mem = memory_region(machine, "main");
4765   UINT8* mem = memory_region(machine, "maincpu");
47664766
47674767   LOG (( "mo6: machine start called\n" ));
47684768
r4347r4348
50035003
50045004MACHINE_START ( mo5nr )
50055005{
5006   UINT8* mem = memory_region(machine, "main");
5006   UINT8* mem = memory_region(machine, "maincpu");
50075007
50085008   LOG (( "mo5nr: machine start called\n" ));
50095009
src/mess/machine/pmd85.c
r4347r4348
3939   
4040   if (pmd85_startup_mem_map)
4141   {
42      UINT8 *mem = memory_region(machine, "main");
42      UINT8 *mem = memory_region(machine, "maincpu");
4343
4444      memory_install_write8_handler(space, 0x0000, 0x0fff, 0, 0, SMH_UNMAP);
4545      memory_install_write8_handler(space, 0x1000, 0x1fff, 0, 0, SMH_NOP);
r4347r4348
8282
8383   if (pmd85_startup_mem_map)
8484   {
85      UINT8 *mem = memory_region(machine, "main");
85      UINT8 *mem = memory_region(machine, "maincpu");
8686
8787      memory_install_write8_handler(space, 0x0000, 0x0fff, 0, 0, SMH_UNMAP);
8888      memory_install_write8_handler(space, 0x2000, 0x2fff, 0, 0, SMH_UNMAP);
r4347r4348
116116{
117117   if (pmd85_startup_mem_map)
118118   {
119      UINT8 *mem = memory_region(machine, "main");
119      UINT8 *mem = memory_region(machine, "maincpu");
120120
121121      memory_set_bankptr(machine,  1, mem + 0x010000);
122122      memory_set_bankptr(machine,  2, mem + 0x010000);
r4347r4348
144144      memory_set_bankptr(machine,  5, mess_ram + 0x8000);
145145      memory_set_bankptr(machine,  6, mess_ram + 0xa000);
146146      memory_set_bankptr(machine,  7, mess_ram + 0xc000);
147      memory_set_bankptr(machine,  8, pmd853_memory_mapping ? memory_region(machine, "main") + 0x010000 : mess_ram + 0xe000);
147      memory_set_bankptr(machine,  8, pmd853_memory_mapping ? memory_region(machine, "maincpu") + 0x010000 : mess_ram + 0xe000);
148148   }
149149}
150150
r4347r4348
154154
155155   if (pmd85_startup_mem_map)
156156   {
157      UINT8 *mem = memory_region(machine, "main");
157      UINT8 *mem = memory_region(machine, "maincpu");
158158
159159      memory_install_write8_handler(space, 0x0000, 0x0fff, 0, 0, SMH_UNMAP);
160160      memory_install_write8_handler(space, 0x1000, 0x33ff, 0, 0, SMH_UNMAP);
r4347r4348
186186
187187   if (pmd85_startup_mem_map)
188188   {
189      UINT8 *mem = memory_region(machine, "main");
189      UINT8 *mem = memory_region(machine, "maincpu");
190190
191191      memory_install_write8_handler(space, 0x0000, 0x3fff, 0, 0, SMH_UNMAP);
192192
r4347r4348
208208{
209209   const address_space* space = cpu_get_address_space(machine->cpu[0],ADDRESS_SPACE_PROGRAM);
210210
211   UINT8 *mem = memory_region(machine, "main");
211   UINT8 *mem = memory_region(machine, "maincpu");
212212   if (pmd85_startup_mem_map)
213213   {
214214      memory_install_write8_handler(space, 0x0000, 0x3fff, 0, 0, SMH_UNMAP);
src/mess/machine/c128.c
r4347r4348
888888static void c128_common_driver_init(running_machine *machine)
889889{
890890   UINT8 *gfx=memory_region(machine, "gfx1");
891   UINT8 *ram = memory_region(machine, "main");
891   UINT8 *ram = memory_region(machine, "maincpu");
892892   int i;
893893
894894   /* configure the M6510 port */
src/mess/machine/pet.c
r4347r4348
553553{
554554   static int level = 0;
555555
556   pia_0_cb1_w(cputag_get_address_space(machine,"main",ADDRESS_SPACE_PROGRAM), 0, level);
556   pia_0_cb1_w(cputag_get_address_space(machine,"maincpu",ADDRESS_SPACE_PROGRAM), 0, level);
557557   level = !level;
558558}
559559
r4347r4348
563563{
564564//  cassette 1
565565   UINT8 data = (cassette_input(devtag_get_device(machine, CASSETTE, "cassette1")) > +0.0) ? 1 : 0;
566   pia_0_ca1_w(cputag_get_address_space(machine,"main",ADDRESS_SPACE_PROGRAM), 0, data);
566   pia_0_ca1_w(cputag_get_address_space(machine,"maincpu",ADDRESS_SPACE_PROGRAM), 0, data);
567567}
568568
569569/* NOT WORKING - Just placeholder */
r4347r4348
651651DRIVER_INIT( pet80 )
652652{
653653   pet_state *state = machine->driver_data;
654   pet_memory = memory_region(machine, "main");
654   pet_memory = memory_region(machine, "maincpu");
655655
656656   pet_common_driver_init(machine);
657657   state->cbm8096 = 1;
r4347r4348
710710      {
711711         memory_install_write8_handler(cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM), 0xfff0, 0xfff0, 0, 0, SMH_NOP);
712712      }
713      cbm8096_w(cputag_get_address_space(machine,"main",ADDRESS_SPACE_PROGRAM), 0, 0);
713      cbm8096_w(cputag_get_address_space(machine,"maincpu",ADDRESS_SPACE_PROGRAM), 0, 0);
714714   }
715715
716716   cbm_drive_0_config (input_port_read(machine, "CFG") & 2 ? IEEE : 0, 8);
717717   cbm_drive_1_config (input_port_read(machine, "CFG") & 1 ? IEEE : 0, 9);
718   device_reset(cputag_get_cpu(machine, "main"));
718   device_reset(cputag_get_cpu(machine, "maincpu"));
719719}
720720
721721
src/mess/machine/c16.c
r4347r4348
147147
148148static void c16_bankswitch (running_machine *machine)
149149{
150   UINT8 *rom = memory_region(machine, "main");
150   UINT8 *rom = memory_region(machine, "maincpu");
151151   memory_set_bankptr (machine, 9, mess_ram);
152152
153153   switch (lowrom)
r4347r4348
435435   device_set_info_fct(machine->cpu[0], CPUINFO_FCT_M6510_PORTREAD, (genf *) c16_m7501_port_read);
436436   device_set_info_fct(machine->cpu[0], CPUINFO_FCT_M6510_PORTWRITE, (genf *) c16_m7501_port_write);
437437
438   c16_select_roms (cputag_get_address_space(machine,"main",ADDRESS_SPACE_PROGRAM), 0, 0);
439   c16_switch_to_rom (cputag_get_address_space(machine,"main",ADDRESS_SPACE_PROGRAM), 0, 0);
438   c16_select_roms (cputag_get_address_space(machine,"maincpu",ADDRESS_SPACE_PROGRAM), 0, 0);
439   c16_switch_to_rom (cputag_get_address_space(machine,"maincpu",ADDRESS_SPACE_PROGRAM), 0, 0);
440440
441   rom = memory_region(machine, "main");
441   rom = memory_region(machine, "maincpu");
442442
443443   c16_memory_10000 = rom + 0x10000;
444444   c16_memory_14000 = rom + 0x14000;
r4347r4348
645645
646646static DEVICE_IMAGE_LOAD(c16_cart)
647647{
648   UINT8 *mem = memory_region(image->machine, "main");
648   UINT8 *mem = memory_region(image->machine, "maincpu");
649649   int size = image_length (image), test;
650650   const char *filetype;
651651   int address = 0;
src/mess/machine/oric.c
r4347r4348
474474
475475   memory_install_write8_handler(space, 0x0300, 0x030f, 0, 0, oric_IO_w);
476476   memory_install_write8_device_handler(space, fdc, 0x0310, 0x031f, 0, 0, applefdc_w);
477   memory_set_bankptr(machine, 4,    memory_region(machine, "main") + 0x014000 + 0x020);
477   memory_set_bankptr(machine, 4,    memory_region(machine, "maincpu") + 0x014000 + 0x020);
478478}
479479
480480
r4347r4348
521521/*   logerror("apple 2 interface v2 rom page: %01x\n",(offset & 0x02)>>1); */
522522
523523   /* bit 0 is 0 for page 0, 1 for page 1 */
524   memory_set_bankptr(space->machine, 4, memory_region(space->machine, "main") + 0x014000 + 0x0100 + (((offset & 0x02)>>1)<<8));
524   memory_set_bankptr(space->machine, 4, memory_region(space->machine, "maincpu") + 0x014000 + 0x0100 + (((offset & 0x02)>>1)<<8));
525525
526526   oric_enable_memory(space->machine, 1, 3, TRUE, TRUE);
527527
r4347r4348
533533      /* logerror("apple 2 interface v2: rom enabled\n"); */
534534
535535      /* enable rom */
536      rom_ptr = memory_region(space->machine, "main") + 0x010000;
536      rom_ptr = memory_region(space->machine, "maincpu") + 0x010000;
537537      memory_set_bankptr(space->machine, 1, rom_ptr);
538538      memory_set_bankptr(space->machine, 2, rom_ptr+0x02000);
539539      memory_set_bankptr(space->machine, 3, rom_ptr+0x03800);
r4347r4348
612612
613613         oric_enable_memory(machine, 1, 3, TRUE, FALSE);
614614
615         rom_ptr = memory_region(machine, "main") + 0x010000;
615         rom_ptr = memory_region(machine, "maincpu") + 0x010000;
616616         memory_set_bankptr(machine, 1, rom_ptr);
617617         memory_set_bankptr(machine, 2, rom_ptr+0x02000);
618618         memory_set_bankptr(machine, 3, rom_ptr+0x03800);
r4347r4348
660660         /*logerror("&f800-&ffff is jasmin rom\n"); */
661661         /* jasmin rom enabled */
662662         oric_enable_memory(machine, 3, 3, TRUE, TRUE);
663         rom_ptr = memory_region(machine, "main") + 0x010000+0x04000+0x02000;
663         rom_ptr = memory_region(machine, "maincpu") + 0x010000+0x04000+0x02000;
664664         memory_set_bankptr(machine, 3, rom_ptr);
665665         memory_set_bankptr(machine, 7, rom_ptr);
666666      }
r4347r4348
882882      /*logerror("&c000-&dfff is os rom\n"); */
883883      /* basic rom */
884884      oric_enable_memory(machine, 1, 1, TRUE, FALSE);
885      rom_ptr = memory_region(machine, "main") + 0x010000;
885      rom_ptr = memory_region(machine, "maincpu") + 0x010000;
886886      memory_set_bankptr(machine, 1, rom_ptr);
887887      memory_set_bankptr(machine, 5, rom_ptr);
888888   }
r4347r4348
895895      /*logerror("&e000-&ffff is os rom\n"); */
896896      /* basic rom */
897897      oric_enable_memory(machine, 2, 3, TRUE, FALSE);
898      rom_ptr = memory_region(machine, "main") + 0x010000;
898      rom_ptr = memory_region(machine, "maincpu") + 0x010000;
899899      memory_set_bankptr(machine, 2, rom_ptr+0x02000);
900900      memory_set_bankptr(machine, 3, rom_ptr+0x03800);
901901      memory_set_bankptr(machine, 6, rom_ptr+0x02000);
r4347r4348
911911         /*logerror("&e000-&ffff is disk rom\n"); */
912912         oric_enable_memory(machine, 2, 3, TRUE, FALSE);
913913         /* enable rom of microdisc interface */
914         rom_ptr = memory_region(machine, "main") + 0x014000;
914         rom_ptr = memory_region(machine, "maincpu") + 0x014000;
915915         memory_set_bankptr(machine, 2, rom_ptr);
916916         memory_set_bankptr(machine, 3, rom_ptr+0x01800);
917917      }
r4347r4348
11351135
11361136         /* os rom */
11371137         oric_enable_memory(machine, 1, 3, TRUE, FALSE);
1138         rom_ptr = memory_region(machine, "main") + 0x010000;
1138         rom_ptr = memory_region(machine, "maincpu") + 0x010000;
11391139         memory_set_bankptr(machine, 1, rom_ptr);
11401140         memory_set_bankptr(machine, 2, rom_ptr+0x02000);
11411141         memory_set_bankptr(machine, 3, rom_ptr+0x03800);
r4347r4348
11751175      }
11761176      break;
11771177   }
1178   device_reset(cputag_get_cpu(machine, "main"));
1178   device_reset(cputag_get_cpu(machine, "maincpu"));
11791179}
11801180
11811181
r4347r4348
14801480
14811481   /* initialise default cartridge */
14821482   telestrat_blocks[3].MemType = TELESTRAT_MEM_BLOCK_ROM;
1483   telestrat_blocks[3].ptr = memory_region(machine, "main")+0x010000;
1483   telestrat_blocks[3].ptr = memory_region(machine, "maincpu")+0x010000;
14841484
14851485   telestrat_blocks[4].MemType = TELESTRAT_MEM_BLOCK_RAM;
14861486   telestrat_blocks[4].ptr = (unsigned char *) auto_malloc(16384);
14871487
14881488   /* initialise default cartridge */
14891489   telestrat_blocks[5].MemType = TELESTRAT_MEM_BLOCK_ROM;
1490   telestrat_blocks[5].ptr = memory_region(machine, "main")+0x014000;
1490   telestrat_blocks[5].ptr = memory_region(machine, "maincpu")+0x014000;
14911491
14921492   /* initialise default cartridge */
14931493   telestrat_blocks[6].MemType = TELESTRAT_MEM_BLOCK_ROM;
1494   telestrat_blocks[6].ptr = memory_region(machine, "main")+0x018000;
1494   telestrat_blocks[6].ptr = memory_region(machine, "maincpu")+0x018000;
14951495
14961496   /* initialise default cartridge */
14971497   telestrat_blocks[7].MemType = TELESTRAT_MEM_BLOCK_ROM;
1498   telestrat_blocks[7].ptr = memory_region(machine, "main")+0x01c000;
1498   telestrat_blocks[7].ptr = memory_region(machine, "maincpu")+0x01c000;
14991499
15001500   telestrat_bank_selection = 7;
15011501   telestrat_refresh_mem(machine);
src/mess/machine/mekd2.c
r4347r4348
564564   const char magic[] = "MEK6800D2";
565565   char buff[9];
566566   UINT16 addr, size;
567   UINT8 ident, *RAM = memory_region(image->machine, "main");
567   UINT8 ident, *RAM = memory_region(image->machine, "maincpu");
568568
569569   image_fread(image, buff, sizeof (buff));
570570   if (memcmp(buff, magic, sizeof (buff)))
src/mess/machine/rt1715.c
r4347r4348
2020
2121MACHINE_RESET( rt1715 )
2222{
23   memory_set_bankptr(machine, 1, memory_region(machine, "main") + 0x10000);
23   memory_set_bankptr(machine, 1, memory_region(machine, "maincpu") + 0x10000);
2424   memory_set_bankptr(machine, 2, mess_ram + 0x0800);
2525   memory_set_bankptr(machine, 3, mess_ram);
2626}
src/mess/machine/at.c
r4347r4348
641641   {
642642      KBDC8042_STANDARD, at_set_gate_a20, at_keyboard_interrupt, at_get_out2
643643   };
644   UINT8   *dst = memory_region( machine, "main" ) + 0xc0000;
644   UINT8   *dst = memory_region( machine, "maincpu" ) + 0xc0000;
645645   UINT8   *src = memory_region( machine, "user1" ) + 0x3fff;
646646   int      i;
647647
src/mess/machine/vector06.c
r4347r4348
8787
8888static READ8_DEVICE_HANDLER (vector06_romdisk_portb_r )
8989{
90   UINT8 *romdisk = memory_region(device->machine, "main") + 0x18000;     
90   UINT8 *romdisk = memory_region(device->machine, "maincpu") + 0x18000;     
9191   UINT16 addr = (romdisk_msb*256+romdisk_lsb) & 0x7fff;
9292   return romdisk[addr];   
9393}
r4347r4348
160160{
161161   UINT8 val = input_port_read(machine, "RESET");
162162   if ((val & 1)==1) {
163      memory_set_bankptr(machine, 1, memory_region(machine, "main") + 0x10000);
163      memory_set_bankptr(machine, 1, memory_region(machine, "maincpu") + 0x10000);
164164      device_reset(machine->cpu[0]);
165165   }
166166   if ((val & 2)==2) {
r4347r4348
219219   memory_install_read8_handler (space, 0x8000, 0xffff, 0, 0, SMH_BANK3);
220220   memory_install_write8_handler(space, 0x8000, 0xffff, 0, 0, SMH_BANK4);
221221
222   memory_set_bankptr(machine, 1, memory_region(machine, "main") + 0x10000);
222   memory_set_bankptr(machine, 1, memory_region(machine, "maincpu") + 0x10000);
223223   memory_set_bankptr(machine, 2, mess_ram + 0x0000);
224224   memory_set_bankptr(machine, 3, mess_ram + 0x8000);
225225   memory_set_bankptr(machine, 4, mess_ram + 0x8000);
src/mess/machine/orion.c
r4347r4348
3838
3939static READ8_DEVICE_HANDLER (orion_romdisk_porta_r )
4040{
41   UINT8 *romdisk = memory_region(device->machine, "main") + 0x10000;     
41   UINT8 *romdisk = memory_region(device->machine, "maincpu") + 0x10000;     
4242   return romdisk[romdisk_msb*256+romdisk_lsb];   
4343}
4444
r4347r4348
162162   orion128_video_page = 0;
163163   orion128_video_mode = 0;
164164   orion128_memory_page = -1;
165   memory_set_bankptr(machine, 1, memory_region(machine, "main") + 0xf800);
165   memory_set_bankptr(machine, 1, memory_region(machine, "maincpu") + 0xf800);
166166   memory_set_bankptr(machine, 2, mess_ram + 0xf000);
167167   orion128_video_width = SCREEN_WIDTH_384;
168168   orion_set_video_mode(machine,384);
r4347r4348
333333      memory_install_write8_handler(space, 0xff00, 0xffff, 0, 0, orionz80_sound_w);
334334     
335335      memory_set_bankptr(machine, 3, mess_ram + 0xf000);           
336      memory_set_bankptr(machine, 5, memory_region(machine, "main") + 0xf800);     
336      memory_set_bankptr(machine, 5, memory_region(machine, "maincpu") + 0xf800);     
337337     
338338   } else {
339339      /* if it is full memory access */
r4347r4348
378378   memory_install_write8_handler(space, 0xff00, 0xffff, 0, 0, orionz80_sound_w);
379379   
380380   
381   memory_set_bankptr(machine, 1, memory_region(machine, "main") + 0xf800);     
381   memory_set_bankptr(machine, 1, memory_region(machine, "maincpu") + 0xf800);     
382382   memory_set_bankptr(machine, 2, mess_ram + 0x4000);     
383383   memory_set_bankptr(machine, 3, mess_ram + 0xf000);     
384   memory_set_bankptr(machine, 5, memory_region(machine, "main") + 0xf800);     
384   memory_set_bankptr(machine, 5, memory_region(machine, "maincpu") + 0xf800);     
385385   
386386
387387   orion128_video_page = 0;
r4347r4348
478478   }
479479   if ((orionpro_dispatcher & 0x10)==0x10) {   // ROM1 enabled     
480480      memory_install_write8_handler(space, 0x0000, 0x1fff, 0, 0, SMH_UNMAP);
481      memory_set_bankptr(machine, 1, memory_region(machine, "main") + 0x20000);     
481      memory_set_bankptr(machine, 1, memory_region(machine, "maincpu") + 0x20000);     
482482   }
483483   if ((orionpro_dispatcher & 0x08)==0x08) {   // ROM2 enabled
484484      memory_install_write8_handler(space, 0x2000, 0x3fff, 0, 0, SMH_UNMAP);
485      memory_set_bankptr(machine, 2, memory_region(machine, "main") + 0x22000 + (orionpro_rom2_segment & 7) * 0x2000);     
485      memory_set_bankptr(machine, 2, memory_region(machine, "maincpu") + 0x22000 + (orionpro_rom2_segment & 7) * 0x2000);     
486486   }
487487
488488   if ((orionpro_dispatcher & 0x02)==0x00) {   // RAM1 segment disabled
src/mess/machine/a7800.c
r4347r4348
7777static void a7800_driver_init(running_machine *machine, int ispal, int lines)
7878{
7979   const address_space* space = cpu_get_address_space(machine->cpu[0],ADDRESS_SPACE_PROGRAM);
80   ROM = memory_region(machine, "main");
80   ROM = memory_region(machine, "maincpu");
8181   a7800_ispal = ispal;
8282   a7800_lines = lines;
8383
r4347r4348
118118   maria_flag = 0;
119119
120120   /* set banks to default states */
121   memory = memory_region(machine, "main");
121   memory = memory_region(machine, "maincpu");
122122   memory_set_bankptr(machine,  1, memory + 0x4000 );
123123   memory_set_bankptr(machine,  2, memory + 0x8000 );
124124   memory_set_bankptr(machine,  3, memory + 0xA000 );
r4347r4348
202202{
203203   UINT8   *memory;
204204
205   memory = memory_region(device->machine, "main");
205   memory = memory_region(device->machine, "maincpu");
206206   a7800_bios_bkup = NULL;
207207   a7800_cart_bkup = NULL;
208208
r4347r4348
225225   unsigned char header[128];
226226   UINT8 *memory;
227227
228   memory = memory_region(image->machine, "main");
228   memory = memory_region(image->machine, "maincpu");
229229
230230   /* Load and decode the header */
231231   image_fread( image, header, 128 );
r4347r4348
340340
341341WRITE8_HANDLER( a7800_cart_w )
342342{
343   UINT8 *memory = memory_region(space->machine, "main");
343   UINT8 *memory = memory_region(space->machine, "maincpu");
344344
345345   if(offset < 0x4000)
346346   {
src/mess/machine/nascom1.c
r4347r4348
272272      if (sscanf((char *)line, "%x %x %x %x %x %x %x %x %x %x\010\010\n",
273273         &addr, &b0, &b1, &b2, &b3, &b4, &b5, &b6, &b7, &dummy) == 10)
274274      {
275         memory_write_byte(cputag_get_address_space(image->machine,"main",ADDRESS_SPACE_PROGRAM), addr++, b0);
276         memory_write_byte(cputag_get_address_space(image->machine,"main",ADDRESS_SPACE_PROGRAM), addr++, b1);
277         memory_write_byte(cputag_get_address_space(image->machine,"main",ADDRESS_SPACE_PROGRAM), addr++, b2);
278         memory_write_byte(cputag_get_address_space(image->machine,"main",ADDRESS_SPACE_PROGRAM), addr++, b3);
279         memory_write_byte(cputag_get_address_space(image->machine,"main",ADDRESS_SPACE_PROGRAM), addr++, b4);
280         memory_write_byte(cputag_get_address_space(image->machine,"main",ADDRESS_SPACE_PROGRAM), addr++, b5);
281         memory_write_byte(cputag_get_address_space(image->machine,"main",ADDRESS_SPACE_PROGRAM), addr++, b6);
282         memory_write_byte(cputag_get_address_space(image->machine,"main",ADDRESS_SPACE_PROGRAM), addr++, b7);
275         memory_write_byte(cputag_get_address_space(image->machine,"maincpu",ADDRESS_SPACE_PROGRAM), addr++, b0);
276         memory_write_byte(cputag_get_address_space(image->machine,"maincpu",ADDRESS_SPACE_PROGRAM), addr++, b1);
277         memory_write_byte(cputag_get_address_space(image->machine,"maincpu",ADDRESS_SPACE_PROGRAM), addr++, b2);
278         memory_write_byte(cputag_get_address_space(image->machine,"maincpu",ADDRESS_SPACE_PROGRAM), addr++, b3);
279         memory_write_byte(cputag_get_address_space(image->machine,"maincpu",ADDRESS_SPACE_PROGRAM), addr++, b4);
280         memory_write_byte(cputag_get_address_space(image->machine,"maincpu",ADDRESS_SPACE_PROGRAM), addr++, b5);
281         memory_write_byte(cputag_get_address_space(image->machine,"maincpu",ADDRESS_SPACE_PROGRAM), addr++, b6);
282         memory_write_byte(cputag_get_address_space(image->machine,"maincpu",ADDRESS_SPACE_PROGRAM), addr++, b7);
283283      }
284284   }
285285
src/mess/machine/microtan.c
r4347r4348
712712
713713static void microtan_snapshot_copy(running_machine *machine, UINT8 *snapshot_buff, int snapshot_size)
714714{
715    UINT8 *RAM = memory_region(machine, "main");
715    UINT8 *RAM = memory_region(machine, "maincpu");
716716   const address_space *space = cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM);
717717   const device_config *via_0 = devtag_get_device(machine, VIA6522, "via6522_0");
718718   const device_config *via_1 = devtag_get_device(machine, VIA6522, "via6522_1");
src/mess/machine/osborne1.c
r4347r4348
196196   }
197197   if ( osborne1.bank2_enabled )
198198   {
199      memory_set_bankptr(space->machine,1, memory_region(space->machine, "main") );
199      memory_set_bankptr(space->machine,1, memory_region(space->machine, "maincpu") );
200200      memory_set_bankptr(space->machine,2, osborne1.empty_4K );
201201      memory_set_bankptr(space->machine,3, osborne1.empty_4K );
202202   }
src/mess/machine/vtech1.c
r4347r4348
176176
177177SNAPSHOT_LOAD(vtech1)
178178{
179   const address_space *space = cputag_get_address_space(image->machine, "main", ADDRESS_SPACE_PROGRAM);
179   const address_space *space = cputag_get_address_space(image->machine, "maincpu", ADDRESS_SPACE_PROGRAM);
180180   UINT8 i, header[24];
181181   UINT16 start, end, size;
182182   char pgmname[18];
r4347r4348
222222      memory_write_byte(space, 0x788e, start % 256); /* usr subroutine address */
223223      memory_write_byte(space, 0x788f, start / 256);
224224      image_message(image, " %s (M)\nsize=%04X : start=%04X : end=%04X",pgmname,size,start,end);
225      cpu_set_reg(cputag_get_cpu(image->machine, "main"), REG_GENPC, start);            /* start program */
225      cpu_set_reg(cputag_get_cpu(image->machine, "maincpu"), REG_GENPC, start);            /* start program */
226226      break;
227227
228228   default:
src/mess/machine/amstrad.c
r4347r4348
13151315
13161316const mc6845_interface mc6845_amstrad_intf =
13171317{
1318   "main",                  /* screen name */
1318   "maincpu",                  /* screen name */
13191319   16,                     /* number of pixels per video memory address */
13201320   NULL,                  /* begin_update */
13211321   amstrad_update_row,         /* update_row */
r4347r4348
13281328
13291329const mc6845_interface mc6845_amstrad_plus_intf =
13301330{
1331   "main",                  /* screen name */
1331   "maincpu",                  /* screen name */
13321332   16,                     /* number of pixels per video memory address */
13331333   NULL,                  /* begin_update */
13341334   amstrad_plus_update_row,   /* update_row */
r4347r4348
14421442   if (!multiface_hardware_enabled(machine))
14431443      return;
14441444
1445   multiface_rom = &memory_region(machine, "main")[0x01C000];
1445   multiface_rom = &memory_region(machine, "maincpu")[0x01C000];
14461446
14471447   if (
14481448      ((multiface_flags & MULTIFACE_RAM_ROM_ENABLED)!=0) &&
r4347r4348
16371637   {
16381638      if ((gate_array.mrer & (1<<2)) == 0)
16391639      {
1640         bank_base = &memory_region(machine, "main")[0x010000];
1640         bank_base = &memory_region(machine, "maincpu")[0x010000];
16411641      }
16421642      else
16431643      {
r4347r4348
16831683         if ( asic.enabled )
16841684         {
16851685//            logerror("L-ROM: Lower ROM enabled, cart bank %i\n", asic.rmr2 & 0x07 );
1686            bank_base = &memory_region(machine, "main")[0x4000 * ( asic.rmr2 & 0x07 )];
1686            bank_base = &memory_region(machine, "maincpu")[0x4000 * ( asic.rmr2 & 0x07 )];
16871687            switch( asic.rmr2 & 0x18 )
16881688            {
16891689            case 0x00:
r4347r4348
17101710         }
17111711         else
17121712         {
1713            memory_set_bankptr( machine, 1, memory_region( machine,"main" ) );
1714            memory_set_bankptr( machine, 2, memory_region( machine,"main" ) + 0x2000 );
1713            memory_set_bankptr( machine, 1, memory_region( machine,"maincpu" ) );
1714            memory_set_bankptr( machine, 2, memory_region( machine,"maincpu" ) + 0x2000 );
17151715         }
17161716      }
17171717   }
r4347r4348
32813281MACHINE_RESET( amstrad )
32823282{
32833283   int i;
3284   UINT8 *rom = memory_region(machine, "main");
3284   UINT8 *rom = memory_region(machine, "maincpu");
32853285
32863286   amstrad_system_type = SYSTEM_CPC;
32873287
r4347r4348
33093309MACHINE_RESET( plus )
33103310{
33113311   int i;
3312   UINT8 *rom = memory_region(machine, "main");
3312   UINT8 *rom = memory_region(machine, "maincpu");
33133313
33143314   amstrad_system_type = SYSTEM_PLUS;
33153315
r4347r4348
33493349MACHINE_RESET( gx4000 )
33503350{
33513351   int i;
3352   UINT8 *rom = memory_region(machine, "main");
3352   UINT8 *rom = memory_region(machine, "maincpu");
33533353
33543354   amstrad_system_type = SYSTEM_GX4000;
33553355
r4347r4348
33883388MACHINE_RESET( kccomp )
33893389{
33903390   int i;
3391   UINT8 *rom = memory_region(machine, "main");
3391   UINT8 *rom = memory_region(machine, "maincpu");
33923392
33933393   amstrad_system_type = SYSTEM_CPC;
33943394
r4347r4348
34133413MACHINE_RESET( aleste )
34143414{
34153415   int i;
3416   UINT8 *rom = memory_region(machine, "main");
3416   UINT8 *rom = memory_region(machine, "maincpu");
34173417
34183418   amstrad_system_type = SYSTEM_ALESTE;
34193419
r4347r4348
34763476   int ramblock;  // 16k RAM block chunk is to be loaded in to
34773477   int result;
34783478   unsigned int bytes_to_read;  // total bytes to read, as mame_feof doesn't react to EOF without trying to go past it.
3479   unsigned char* mem = memory_region(image->machine, "main");
3479   unsigned char* mem = memory_region(image->machine, "maincpu");
34803480
34813481   logerror("IMG: loading CPC+ cartridge file\n");
34823482   // load RIFF chunk
src/mess/machine/sms.c
r4347r4348
911911}
912912
913913static void setup_banks( running_machine *machine ) {
914   UINT8 *mem = memory_region(machine, "main");
914   UINT8 *mem = memory_region(machine, "maincpu");
915915   sms_banking_bios[1] = sms_banking_cart[1] = sms_banking_none[1] = mem;
916916   sms_banking_bios[2] = sms_banking_cart[2] = sms_banking_none[2] = mem;
917917   sms_banking_bios[3] = sms_banking_cart[3] = sms_banking_none[3] = mem;
src/mess/machine/samcoupe.c
r4347r4348
6262{
6363   coupe_asic *asic = space->machine->driver_data;
6464   const int PAGE_MASK = ((mess_ram_size & 0xfffff) / 0x4000) - 1;
65   UINT8 *rom = memory_region(space->machine, "main");
65   UINT8 *rom = memory_region(space->machine, "maincpu");
6666   UINT8 *memory;
6767   int is_readonly;
6868
r4347r4348
132132
133133WRITE8_HANDLER( samcoupe_ext_mem_w )
134134{
135   const address_space *space_program = cputag_get_address_space(space->machine, "main", ADDRESS_SPACE_PROGRAM);
135   const address_space *space_program = cputag_get_address_space(space->machine, "maincpu", ADDRESS_SPACE_PROGRAM);
136136   coupe_asic *asic = space->machine->driver_data;
137137
138138   if (offset & 1)
src/mess/machine/primo.c
r4347r4348
5454   {
5555      case 0x00:   /* Original ROM */
5656         memory_install_write8_handler(space, 0x0000, 0x3fff, 0, 0, SMH_UNMAP);
57         memory_set_bankptr(machine,1, memory_region(machine, "main")+0x10000);
57         memory_set_bankptr(machine,1, memory_region(machine, "maincpu")+0x10000);
5858         break;
5959      case 0x01:   /* EPROM extension 1 */
6060         memory_install_write8_handler(space, 0x0000, 0x3fff, 0, 0, SMH_UNMAP);
61         memory_set_bankptr(machine,1, memory_region(machine, "main")+0x14000);
61         memory_set_bankptr(machine,1, memory_region(machine, "maincpu")+0x14000);
6262         break;
6363      case 0x02:   /* RAM */
6464         memory_install_write8_handler(space, 0x0000, 0x3fff, 0, 0, SMH_BANK1);
65         memory_set_bankptr(machine,1, memory_region(machine, "main"));
65         memory_set_bankptr(machine,1, memory_region(machine, "maincpu"));
6666         break;
6767      case 0x03:   /* EPROM extension 2 */
6868         memory_install_write8_handler(space, 0x0000, 0x3fff, 0, 0, SMH_UNMAP);
69         memory_set_bankptr(machine,1, memory_region(machine, "main")+0x18000);
69         memory_set_bankptr(machine,1, memory_region(machine, "maincpu")+0x18000);
7070         break;
7171   }
7272   logerror ("Memory update: %02x\n", primo_port_FD);
src/mess/machine/ti85.c
r4347r4348
132132
133133static void update_ti85_memory (running_machine *machine)
134134{
135   memory_set_bankptr(machine, 2,memory_region(machine, "main") + 0x010000 + 0x004000*ti85_memory_page_0x4000);
135   memory_set_bankptr(machine, 2,memory_region(machine, "maincpu") + 0x010000 + 0x004000*ti85_memory_page_0x4000);
136136}
137137
138138static void update_ti86_memory (running_machine *machine)
r4347r4348
148148   }
149149   else
150150   {
151      memory_set_bankptr(machine, 2, memory_region(machine, "main") + 0x010000 + 0x004000*(ti85_memory_page_0x4000&0x0f));
151      memory_set_bankptr(machine, 2, memory_region(machine, "maincpu") + 0x010000 + 0x004000*(ti85_memory_page_0x4000&0x0f));
152152      wh = SMH_UNMAP;
153153   }
154154   memory_install_write8_handler(space, 0x4000, 0x7fff, 0, 0, wh);
r4347r4348
161161   }
162162   else
163163   {
164      memory_set_bankptr(machine, 3, memory_region(machine, "main") + 0x010000 + 0x004000*(ti86_memory_page_0x8000&0x0f));
164      memory_set_bankptr(machine, 3, memory_region(machine, "maincpu") + 0x010000 + 0x004000*(ti86_memory_page_0x8000&0x0f));
165165      wh = SMH_UNMAP;
166166   }
167167   memory_install_write8_handler(space, 0x8000, 0xbfff, 0, 0, wh);
r4347r4348
174174MACHINE_START( ti81 )
175175{
176176   const address_space *space = cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM);
177   UINT8 *mem = memory_region(machine, "main");
177   UINT8 *mem = memory_region(machine, "maincpu");
178178
179179   ti85_timer_interrupt_mask = 0;
180180   ti85_timer_interrupt_status = 0;
r4347r4348
208208MACHINE_START( ti85 )
209209{
210210   const address_space *space = cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM);
211   UINT8 *mem = memory_region(machine, "main");
211   UINT8 *mem = memory_region(machine, "maincpu");
212212
213213   ti85_timer_interrupt_mask = 0;
214214   ti85_timer_interrupt_status = 0;
r4347r4348
244244MACHINE_START( ti86 )
245245{
246246   const address_space *space = cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM);
247   UINT8 *mem = memory_region(machine, "main");
247   UINT8 *mem = memory_region(machine, "maincpu");
248248
249249   ti85_timer_interrupt_mask = 0;
250250   ti85_timer_interrupt_status = 0;
r4347r4348
443443/* NVRAM functions */
444444NVRAM_HANDLER( ti81 )
445445{
446   UINT8 *mem = memory_region(machine, "main");
446   UINT8 *mem = memory_region(machine, "maincpu");
447447
448448   if (read_or_write)
449449      mame_fwrite(file, mem+0x8000, sizeof(unsigned char)*0x8000);
r4347r4348
461461
462462NVRAM_HANDLER( ti85 )
463463{
464   UINT8 *mem = memory_region(machine, "main");
464   UINT8 *mem = memory_region(machine, "maincpu");
465465
466466   if (read_or_write)
467467      mame_fwrite(file, mem+0x8000, sizeof(unsigned char)*0x8000);
src/mess/machine/svi318.c
r4347r4348
473473
474474VIDEO_UPDATE( svi328_806 )
475475{
476   if (!strcmp(screen->tag, "main"))
476   if (!strcmp(screen->tag, "maincpu"))
477477   {
478478      VIDEO_UPDATE_CALL(tms9928a);
479479   }
r4347r4348
661661
662662   switch( svi.bankLow ) {
663663   case SVI_INTERNAL:
664      svi.bankLow_ptr = memory_region(machine, "main");
664      svi.bankLow_ptr = memory_region(machine, "maincpu");
665665      break;
666666   case SVI_CART:
667667      if ( pcart ) {
src/mess/machine/galaxy.c
r4347r4348
178178   /* ROM 2 enable/disable */
179179   memory_install_read8_handler(space, 0x1000, 0x1fff, 0, 0, input_port_read(machine, "ROM2") ? SMH_BANK10 : SMH_NOP);
180180   memory_install_write8_handler(space, 0x1000, 0x1fff, 0, 0, SMH_NOP);
181   memory_set_bankptr(machine,10, memory_region(machine, "main") + 0x1000);
181   memory_set_bankptr(machine,10, memory_region(machine, "maincpu") + 0x1000);
182182
183183   cpu_set_irq_callback(machine->cpu[0], galaxy_irq_callback);
184184   galaxy_interrupts_enabled = TRUE;
r4347r4348
194194
195195MACHINE_RESET( galaxyp )
196196{
197   UINT8 *ROM = memory_region(machine, "main");
197   UINT8 *ROM = memory_region(machine, "maincpu");
198198   const address_space *space = cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM);
199199   
200200   cpu_set_irq_callback(machine->cpu[0], galaxy_irq_callback);
r4347r4348
206206
207207   memory_install_read8_handler(space, 0xe000, 0xefff, 0, 0, SMH_BANK11);
208208   memory_install_write8_handler(space, 0xe000, 0xefff, 0, 0, SMH_NOP);
209   memory_set_bankptr(machine,11, memory_region(machine, "main") + 0xe000);
209   memory_set_bankptr(machine,11, memory_region(machine, "maincpu") + 0xe000);
210210   galaxy_interrupts_enabled = TRUE;
211211
212212   gal_video_timer = timer_alloc(machine, gal_video, NULL);
src/mess/machine/vtech2.c
r4347r4348
106106        gfx[i] = i;
107107
108108   laser_latch = -1;
109    mem = memory_region(machine, "main");
109    mem = memory_region(machine, "maincpu");
110110
111111   for (i = 0; i < sizeof(laser_bank) / sizeof(laser_bank[0]); i++)
112112      laser_bank[i] = -1;
r4347r4348
124124   logerror("laser_machine_init(): bank mask $%04X, video %d [$%05X]\n", laser_bank_mask, laser_video_bank, laser_video_bank * 0x04000);
125125
126126   for (i = 0; i < sizeof(laser_bank) / sizeof(laser_bank[0]); i++)
127      laser_bank_select_w(cputag_get_address_space(machine,"main",ADDRESS_SPACE_PROGRAM), i, 0);
127      laser_bank_select_w(cputag_get_address_space(machine,"maincpu",ADDRESS_SPACE_PROGRAM), i, 0);
128128}
129129
130130MACHINE_RESET( laser350 )
src/mess/machine/zx.c
r4347r4348
2525
2626static WRITE8_HANDLER( zx_ram_w )
2727{
28   UINT8 *RAM = memory_region(space->machine, "main");   
28   UINT8 *RAM = memory_region(space->machine, "maincpu");   
2929   RAM[offset + 0x4000] = data;
3030
3131   if (data & 0x40)
r4347r4348
4343/* I know this looks really pointless... but it has to be here */
4444READ8_HANDLER( zx_ram_r )
4545{
46   UINT8 *RAM = memory_region(space->machine, "main");   
46   UINT8 *RAM = memory_region(space->machine, "maincpu");   
4747   return RAM[offset | 0xc000];
4848}
4949
r4347r4348
5252   const address_space *space = cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM);
5353
5454   memory_install_readwrite8_handler(space, 0x4000, 0x4000 + mess_ram_size - 1, 0, 0, SMH_BANK1, zx_ram_w);
55   memory_set_bankptr(machine, 1, memory_region(machine, "main") + 0x4000);
55   memory_set_bankptr(machine, 1, memory_region(machine, "maincpu") + 0x4000);
5656}
5757
5858static DIRECT_UPDATE_HANDLER ( zx_setdirect )
5959{
6060   if (address & 0xc000)
61      zx_ula_r(space->machine, address, "main", 0);
61      zx_ula_r(space->machine, address, "maincpu", 0);
6262   return address;
6363}
6464
src/mess/machine/abc99.c
r4347r4348
44/* ROMs */
55
66ROM_START( abc99 )
7   ROM_REGION( 0x1800, "main", 0 )
7   ROM_REGION( 0x1800, "maincpu", 0 )
88   ROM_LOAD( "10681909.bin", 0x0000, 0x1000, CRC(ffe32a71) SHA1(fa2ce8e0216a433f9bbad0bdd6e3dc0b540f03b7) )
99   ROM_LOAD( "10726864.bin", 0x1000, 0x0800, CRC(e33683ae) SHA1(0c1d9e320f82df05f4804992ef6f6f6cd20623f3) )
1010ROM_END
src/mess/machine/pc1401.c
r4347r4348
114114/* currently enough to save the external ram */
115115NVRAM_HANDLER( pc1401 )
116116{
117   const device_config *main_cpu = cputag_get_cpu(machine, "main");
118   UINT8 *ram = memory_region(machine, "main")+0x2000;
117   const device_config *main_cpu = cputag_get_cpu(machine, "maincpu");
118   UINT8 *ram = memory_region(machine, "maincpu")+0x2000;
119119   UINT8 *cpu = sc61860_internal_ram(main_cpu);
120120
121121   if (read_or_write)
src/mess/machine/apple2gs.c
r4347r4348
605605               break;
606606
607607            case 0x07:   /* synchronize */
608               if (memory_region_length(machine, "main") == 0x40000)   /* HACK */
608               if (memory_region_length(machine, "maincpu") == 0x40000)   /* HACK */
609609                  adb_command_length = 8;
610610               else
611611                  adb_command_length = 4;
r4347r4348
10761076      case 0x74: case 0x75: case 0x76: case 0x77:
10771077      case 0x78: case 0x79: case 0x7a: case 0x7b:
10781078      case 0x7c: case 0x7d: case 0x7e: case 0x7f:
1079         offset |= (memory_region_length(space->machine, "main") - 1) & ~0x3FFF;
1080         result = memory_region(space->machine, "main")[offset];
1079         offset |= (memory_region_length(space->machine, "maincpu") - 1) & ~0x3FFF;
1080         result = memory_region(space->machine, "maincpu")[offset];
10811081         break;
10821082
10831083      case 0x21:   /* C021 - MONOCOLOR */
r4347r4348
15201520   assert(address >= 0xC000);
15211521   assert(address <= 0xCFFF);
15221522
1523   rom = memory_region(machine, "main");
1524   rom += 0x030000 % memory_region_length(machine, "main");
1523   rom = memory_region(machine, "maincpu");
1524   rom += 0x030000 % memory_region_length(machine, "maincpu");
15251525   return &rom[address];
15261526}
15271527
r4347r4348
16781678   memory_set_bankptr(machine,2, apple2gs_slowmem);
16791679
16801680   /* install alternate ROM bank */
1681   begin = 0x1000000 - memory_region_length(machine, "main");
1681   begin = 0x1000000 - memory_region_length(machine, "maincpu");
16821682   end = 0xffffff;
16831683   memory_install_read8_handler(space, begin, end, 0, 0, SMH_BANK3);
1684   memory_set_bankptr(machine,3, memory_region(machine, "main"));
1684   memory_set_bankptr(machine,3, memory_region(machine, "maincpu"));
16851685
16861686   /* install new xxC000-xxCFFF handlers */
16871687   memory_install_read8_handler(space, 0x00c000, 0x00cfff, 0, 0, apple2gs_00Cxxx_r);
src/mess/machine/nes.c
r4347r4348
7474   const address_space *space = cpu_get_address_space( machine->cpu[0], ADDRESS_SPACE_PROGRAM );
7575
7676   /* We set these here in case they weren't set in the cart loader */
77   nes.rom = memory_region(machine, "main");
77   nes.rom = memory_region(machine, "maincpu");
7878   nes.vrom = memory_region(machine, "gfx1");
7979   nes.vram = memory_region(machine, "gfx2");
8080   nes.wram = memory_region(machine, "user1");
r4347r4348
503503   if (nes.four_screen_vram) logerror("-- 4-screen VRAM\n");
504504
505505   /* Free the regions that were allocated by the ROM loader */
506   memory_region_free (image->machine, "main");
506   memory_region_free (image->machine, "maincpu");
507507   memory_region_free (image->machine, "gfx1");
508508
509509   /* Allocate them again with the proper size */
510   memory_region_alloc(image->machine, "main", 0x10000 + (nes.prg_chunks + 1) * 0x4000,0);
510   memory_region_alloc(image->machine, "maincpu", 0x10000 + (nes.prg_chunks + 1) * 0x4000,0);
511511   if (nes.chr_chunks)
512512      memory_region_alloc(image->machine, "gfx1", nes.chr_chunks * 0x2000,0);
513513
514   nes.rom = memory_region(image->machine, "main");
514   nes.rom = memory_region(image->machine, "maincpu");
515515   nes.vrom = memory_region(image->machine, "gfx1");
516516   nes.vram = memory_region(image->machine, "gfx2");
517517   nes.wram = memory_region(image->machine, "user1");
src/mess/machine/msx.c
r4347r4348
813813               /* Check whether the optional FM-PAC rom is present */
814814               option = 0x10000;
815815               size = 0x10000;
816               mem = memory_region(machine, "main") + option;
817               if (memory_region_length(machine, "main") >= size + option && mem[0] == 'A' && mem[1] == 'B') {
816               mem = memory_region(machine, "maincpu") + option;
817               if (memory_region_length(machine, "maincpu") >= size + option && mem[0] == 'A' && mem[1] == 'B') {
818818                  slot = &msx_slot_list[SLOT_FMPAC];
819819               }
820820               else {
r4347r4348
828828
829829            case MSX_MEM_HANDLER:
830830            case MSX_MEM_ROM:
831               mem = memory_region(machine, "main") + option;
831               mem = memory_region(machine, "maincpu") + option;
832832               break;
833833            case MSX_MEM_RAM:
834834               mem = NULL;
r4347r4348
853853         }
854854         break;
855855      case MSX_LAYOUT_KANJI_ENTRY:
856         msx1.kanji_mem = memory_region(machine, "main") + layout->option;
856         msx1.kanji_mem = memory_region(machine, "maincpu") + layout->option;
857857         break;
858858      case MSX_LAYOUT_RAMIO_SET_BITS_ENTRY:
859859         msx1.ramio_set_bits = (UINT8)layout->option;
src/mess/machine/mz700.c
r4347r4348
455455    static int mz700_locked = 0;
456456   static int vio_mode = 0;
457457   static int vio_lock = 0;
458   UINT8 *mem = memory_region(space->machine, "main");
458   UINT8 *mem = memory_region(space->machine, "maincpu");
459459
460460    switch (offset)
461461   {
r4347r4348
556556        break;
557557
558558   default:
559      data = memory_region(space->machine, "main")[0x16000 + offset];
559      data = memory_region(space->machine, "maincpu")[0x16000 + offset];
560560        break;
561561    }
562562    return data;
r4347r4348
565565/* port E0 - E9 */
566566READ8_HANDLER( mz800_bank_r )
567567{
568   UINT8 *mem = memory_region(space->machine, "main");
568   UINT8 *mem = memory_region(space->machine, "maincpu");
569569    UINT8 data = 0xff;
570570
571571    switch (offset)
r4347r4348
655655 */
656656WRITE8_HANDLER( mz800_display_mode_w )
657657{
658   UINT8 *mem = memory_region(space->machine, "main");
658   UINT8 *mem = memory_region(space->machine, "maincpu");
659659   LOG(1,"mz800_display_mode_w",("%02X\n", data),space->machine);
660660    mz800_display_mode = data;
661661   if ((mz800_display_mode & 0x08) == 0)
r4347r4348
683683    static int mz800_locked = 0;
684684    static int vio_mode = 0;
685685    static int vio_lock = 0;
686    UINT8 *mem = memory_region(space->machine, "main");
686    UINT8 *mem = memory_region(space->machine, "maincpu");
687687
688688    switch (offset)
689689    {
r4347r4348
800800
801801DRIVER_INIT( mz800 )
802802{
803   UINT8 *mem = memory_region(machine, "main");
803   UINT8 *mem = memory_region(machine, "maincpu");
804804   const address_space *space = cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM);
805805
806806   videoram_size = 0x5000;
src/mess/machine/vectrex.c
r4347r4348
8080
8181DEVICE_IMAGE_LOAD(vectrex_cart)
8282{
83   UINT8 *mem = memory_region(image->machine, "main");
83   UINT8 *mem = memory_region(image->machine, "maincpu");
8484   image_fread(image, mem, 0x8000);
8585
8686   /* check image! */
src/mess/machine/lisa.c
r4347r4348
5353static UINT8 *lisa_ram_ptr;
5454static UINT8 *lisa_rom_ptr;
5555
56/* offsets in "main" */
56/* offsets in "maincpu" */
5757#define RAM_OFFSET 0x004000
5858#define ROM_OFFSET 0x000000
5959
r4347r4348
10931093
10941094DRIVER_INIT( lisa2 )
10951095{
1096   lisa_ram_ptr = memory_region(machine, "main") + RAM_OFFSET;
1097   lisa_rom_ptr = memory_region(machine, "main") + ROM_OFFSET;
1096   lisa_ram_ptr = memory_region(machine, "maincpu") + RAM_OFFSET;
1097   lisa_rom_ptr = memory_region(machine, "maincpu") + ROM_OFFSET;
10981098   lisa_model = lisa2;
10991099   lisa_features.has_fast_timers = 0;
11001100   lisa_features.floppy_hardware = sony_lisa2;
r4347r4348
11061106
11071107DRIVER_INIT( lisa210 )
11081108{
1109   lisa_ram_ptr = memory_region(machine, "main") + RAM_OFFSET;
1110   lisa_rom_ptr = memory_region(machine, "main") + ROM_OFFSET;
1109   lisa_ram_ptr = memory_region(machine, "maincpu") + RAM_OFFSET;
1110   lisa_rom_ptr = memory_region(machine, "maincpu") + ROM_OFFSET;
11111111   lisa_model = lisa210;
11121112   lisa_features.has_fast_timers = 1;
11131113   lisa_features.floppy_hardware = sony_lisa210;
r4347r4348
11191119
11201120DRIVER_INIT( mac_xl )
11211121{
1122   lisa_ram_ptr = memory_region(machine, "main") + RAM_OFFSET;
1123   lisa_rom_ptr = memory_region(machine, "main") + ROM_OFFSET;
1122   lisa_ram_ptr = memory_region(machine, "maincpu") + RAM_OFFSET;
1123   lisa_rom_ptr = memory_region(machine, "maincpu") + ROM_OFFSET;
11241124   lisa_model = mac_xl;
11251125   lisa_features.has_fast_timers = 1;
11261126   lisa_features.floppy_hardware = sony_lisa210;
r4347r4348
11341134{
11351135   mouse_timer = timer_alloc(machine, handle_mouse, NULL);
11361136
1137   lisa_ram_ptr = memory_region(machine, "main") + RAM_OFFSET;
1138   lisa_rom_ptr = memory_region(machine, "main") + ROM_OFFSET;
1137   lisa_ram_ptr = memory_region(machine, "maincpu") + RAM_OFFSET;
1138   lisa_rom_ptr = memory_region(machine, "maincpu") + ROM_OFFSET;
11391139
11401140   videoROM_ptr = memory_region(machine, "gfx1");
11411141
src/mess/machine/sym1.c
r4347r4348
295295   memory_install_readwrite8_handler(cpu_get_address_space( machine->cpu[0], ADDRESS_SPACE_PROGRAM ),
296296         0xf800, 0xffff, 0, 0, SMH_BANK1, SMH_NOP);
297297   memory_set_bankptr(machine, 1, sym1_monitor + 0x800);
298   device_reset(cputag_get_cpu(machine, "main"));
298   device_reset(cputag_get_cpu(machine, "maincpu"));
299299}
src/mess/machine/lynx.c
r4347r4348
18031803static void lynx_reset(running_machine *machine)
18041804{
18051805   int i;
1806   lynx_memory_config_w(cputag_get_address_space(machine,"main",ADDRESS_SPACE_PROGRAM), 0, 0);
1806   lynx_memory_config_w(cputag_get_address_space(machine,"maincpu",ADDRESS_SPACE_PROGRAM), 0, 0);
18071807
18081808   cpu_set_input_line(machine->cpu[0], M65SC02_IRQ_LINE, CLEAR_LINE);
18091809
r4347r4348
18481848   state_save_register_global_pointer(machine, lynx_mem_fe00, lynx_mem_fe00_size);
18491849   state_save_register_postload(machine, lynx_postload, NULL);
18501850
1851   memory_configure_bank(machine, 3, 0, 1, memory_region(machine, "main") + 0x0000, 0);
1851   memory_configure_bank(machine, 3, 0, 1, memory_region(machine, "maincpu") + 0x0000, 0);
18521852   memory_configure_bank(machine, 3, 1, 1, lynx_mem_fe00, 0);
1853   memory_configure_bank(machine, 4, 0, 1, memory_region(machine, "main") + 0x01fa, 0);
1853   memory_configure_bank(machine, 4, 0, 1, memory_region(machine, "maincpu") + 0x01fa, 0);
18541854   memory_configure_bank(machine, 4, 1, 1, lynx_mem_fffa, 0);
18551855
18561856   memset(&suzy, 0, sizeof(suzy));
src/mess/machine/cgenie.c
r4347r4348
9797{
9898   const address_space *space = cpu_get_address_space( machine->cpu[0], ADDRESS_SPACE_PROGRAM );
9999   const device_config *ay8910 = devtag_get_device(machine, SOUND, "ay8910");
100   UINT8 *ROM = memory_region(machine, "main");
100   UINT8 *ROM = memory_region(machine, "maincpu");
101101
102102   /* reset the AY8910 to be quiet, since the cgenie BIOS doesn't */
103103   AYWriteReg(0, 0, 0);
r4347r4348
150150      memory_install_read8_handler(space, 0xc000, 0xdfff, 0, 0, SMH_NOP);
151151      memory_install_write8_handler(space, 0xc000, 0xdfff, 0, 0, SMH_NOP);
152152      logerror("cgenie DOS disabled\n");
153      memset(&memory_region(machine, "main")[0x0c000], 0x00, 0x2000);
153      memset(&memory_region(machine, "maincpu")[0x0c000], 0x00, 0x2000);
154154   }
155155
156156   /* copy EXT ROM, if enabled or wipe out that memory area */
r4347r4348
159159      memory_install_read8_handler(space, 0xe000, 0xefff, 0, 0, SMH_ROM);
160160      memory_install_write8_handler(space, 0xe000, 0xefff, 0, 0, SMH_ROM);
161161      logerror("cgenie EXT enabled\n");
162      memcpy(&memory_region(machine, "main")[0x0e000],
163            &memory_region(machine, "main")[0x12000], 0x1000);
162      memcpy(&memory_region(machine, "maincpu")[0x0e000],
163            &memory_region(machine, "maincpu")[0x12000], 0x1000);
164164   }
165165   else
166166   {
167167      memory_install_read8_handler(space, 0xe000, 0xefff, 0, 0, SMH_NOP);
168168      memory_install_write8_handler(space, 0xe000, 0xefff, 0, 0, SMH_NOP);
169169      logerror("cgenie EXT disabled\n");
170      memset(&memory_region(machine, "main")[0x0e000], 0x00, 0x1000);
170      memset(&memory_region(machine, "maincpu")[0x0e000], 0x00, 0x1000);
171171   }
172172
173173   cass_level = 0;
r4347r4348
257257            spt = pd_list[i].SPT / heads;
258258            dir_sector = pd_list[i].DDSL * pd_list[i].GATM * pd_list[i].GPL + pd_list[i].SPT;
259259            dir_length = pd_list[i].DDGA * pd_list[i].GPL;
260            memcpy(memory_region(image->machine, "main") + 0x5A71 + image_index_in_device(image) * sizeof(PDRIVE), &pd_list[i], sizeof(PDRIVE));
260            memcpy(memory_region(image->machine, "maincpu") + 0x5A71 + image_index_in_device(image) * sizeof(PDRIVE), &pd_list[i], sizeof(PDRIVE));
261261            break;
262262         }
263263      }
src/mess/machine/ondra.c
r4347r4348
4646
4747static void ondra_update_banks(running_machine *machine)
4848{
49   UINT8 *mem = memory_region(machine, "main");
49   UINT8 *mem = memory_region(machine, "maincpu");
5050   if (ondra_bank1_status==0) {
5151      memory_install_write8_handler(cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM), 0x0000, 0x3fff, 0, 0, SMH_UNMAP);
5252      memory_set_bankptr(machine, 1, mem + 0x010000);
src/mess/machine/geneve.c
r4347r4348
166166   add_exit_callback(machine, machine_stop_geneve);
167167
168168   /* set up RAM pointers */
169   ROM_ptr = memory_region(machine, "main") + offset_rom_geneve;
170   AROM_ptr = memory_region(machine, "main") + offset_altrom_geneve;
171   SRAM_ptr = memory_region(machine, "main") + offset_sram_geneve;
172   DRAM_ptr = memory_region(machine, "main") + offset_dram_geneve;
169   ROM_ptr = memory_region(machine, "maincpu") + offset_rom_geneve;
170   AROM_ptr = memory_region(machine, "maincpu") + offset_altrom_geneve;
171   SRAM_ptr = memory_region(machine, "maincpu") + offset_sram_geneve;
172   DRAM_ptr = memory_region(machine, "maincpu") + offset_dram_geneve;
173173}
174174
175175MACHINE_RESET( geneve )
r4347r4348
251251      ti99_usbsm_reset(machine, TRUE);
252252
253253   /* reset CPU */
254   cputag_reset(machine, "main");
254   cputag_reset(machine, "maincpu");
255255}
256256
257257static void machine_stop_geneve(running_machine *machine)
src/mess/machine/lviv.c
r4347r4348
176176      memory_set_bankptr(space->machine,1, mess_ram);
177177      memory_set_bankptr(space->machine,2, mess_ram + 0x4000);
178178      memory_set_bankptr(space->machine,3, mess_ram + 0x8000);
179      memory_set_bankptr(space->machine,4, memory_region(space->machine, "main") + 0x010000);
179      memory_set_bankptr(space->machine,4, memory_region(space->machine, "maincpu") + 0x010000);
180180   }
181181   else
182182   {
r4347r4348
233233   memory_install_write8_handler(space, 0x8000, 0xbfff, 0, 0, SMH_UNMAP);
234234   memory_install_write8_handler(space, 0xC000, 0xffff, 0, 0, SMH_UNMAP);
235235
236   memory_set_bankptr(machine,1, memory_region(machine, "main") + 0x010000);
237   memory_set_bankptr(machine,2, memory_region(machine, "main") + 0x010000);
238   memory_set_bankptr(machine,3, memory_region(machine, "main") + 0x010000);
239   memory_set_bankptr(machine,4, memory_region(machine, "main") + 0x010000);
236   memory_set_bankptr(machine,1, memory_region(machine, "maincpu") + 0x010000);
237   memory_set_bankptr(machine,2, memory_region(machine, "maincpu") + 0x010000);
238   memory_set_bankptr(machine,3, memory_region(machine, "maincpu") + 0x010000);
239   memory_set_bankptr(machine,4, memory_region(machine, "maincpu") + 0x010000);
240240
241241   /*timer_pulse(machine, TIME_IN_NSEC(200), NULL, 0, lviv_draw_pixel);*/
242242
src/mess/machine/pc8801.c
r4347r4348
564564   no4throm2=0;
565565   port71_save=0xff;
566566   port32_save=0x80;
567   mainROM = memory_region(machine, "main");
567   mainROM = memory_region(machine, "maincpu");
568568   pc8801_mainRAM = (UINT8 *) auto_malloc (0x10000);
569569   memset(pc8801_mainRAM, 0, 0x10000);
570570
src/mess/machine/atom.c
r4347r4348
7575   /* the CA2 output is connected to the STROBE signal on the centronics */
7676   DEVCB_DEVICE_LINE(CENTRONICS, "centronics", centronics_strobe_w),
7777   DEVCB_NULL,
78   DEVCB_CPU_INPUT_LINE("main", 0)
78   DEVCB_CPU_INPUT_LINE("maincpu", 0)
7979};
8080
8181
r4347r4348
185185   generator. I don't know if this is hardware, or random data because the
186186   ram chips are not cleared at start-up. So at this time, these numbers
187187   are poked into the memory to simulate it. When I have more details I will fix it */
188   memory_region(space->machine, "main")[0x08] = mame_rand(space->machine) & 0x0ff;
189   memory_region(space->machine, "main")[0x09] = mame_rand(space->machine) & 0x0ff;
190   memory_region(space->machine, "main")[0x0a] = mame_rand(space->machine) & 0x0ff;
191   memory_region(space->machine, "main")[0x0b] = mame_rand(space->machine) & 0x0ff;
188   memory_region(space->machine, "maincpu")[0x08] = mame_rand(space->machine) & 0x0ff;
189   memory_region(space->machine, "maincpu")[0x09] = mame_rand(space->machine) & 0x0ff;
190   memory_region(space->machine, "maincpu")[0x0a] = mame_rand(space->machine) & 0x0ff;
191   memory_region(space->machine, "maincpu")[0x0b] = mame_rand(space->machine) & 0x0ff;
192192
193193   return cpu_get_pc( space->cpu ) & 0x0ffff;
194194}
r4347r4348
376376    unsigned char *eprom_data;
377377
378378   /* get address of eprom data */
379   eprom_data = memory_region(machine, "main") + 0x010000 + (selected_eprom<<12);
379   eprom_data = memory_region(machine, "maincpu") + 0x010000 + (selected_eprom<<12);
380380   /* set bank address */
381381   memory_set_bankptr(machine, 1, eprom_data);
382382}
src/mess/machine/pc1403.c
r4347r4348
143143/* currently enough to save the external ram */
144144NVRAM_HANDLER( pc1403 )
145145{
146   const device_config *main_cpu = cputag_get_cpu(machine, "main");
147   UINT8 *ram = memory_region(machine, "main") + 0x8000;
146   const device_config *main_cpu = cputag_get_cpu(machine, "maincpu");
147   UINT8 *ram = memory_region(machine, "maincpu") + 0x8000;
148148   UINT8 *cpu = sc61860_internal_ram(main_cpu);
149149
150150   if (read_or_write)
src/mess/machine/vc20.c
r4347r4348
478478
479479int vic6560_dma_read (running_machine *machine, int offset)
480480{
481   const address_space *space = cputag_get_address_space(machine, "main", ADDRESS_SPACE_PROGRAM);
481   const address_space *space = cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM);
482482   /* should read real system bus between 0x9000 and 0xa000 */
483483   return memory_read_byte(space, VIC6560ADDR2VC20ADDR (offset));
484484}
r4347r4348
519519static void vc20_memory_init(running_machine *machine)
520520{
521521   static int inited = 0;
522   UINT8 *memory = memory_region (machine, "main");
522   UINT8 *memory = memory_region (machine, "maincpu");
523523
524524   if (inited) return;
525525   /* power up values are random (more likely bit set)
r4347r4348
639639   via_ca1_w(via_0, 0, vc20_via0_read_ca1(via_0, 0));
640640
641641   /* Set up memory banks */
642   memory_set_bankptr (machine,  1, ( ( mess_ram_size >=  8 * 1024 ) ? mess_ram : memory_region(machine, "main") ) + 0x0400 );
643   memory_set_bankptr (machine,  2, vc20_rom_2000 ? vc20_rom_2000 : ( ( ( mess_ram_size >= 16 * 1024 ) ? mess_ram : memory_region(machine, "main") ) + 0x2000 ) );
644   memory_set_bankptr (machine,  3, vc20_rom_4000 ? vc20_rom_4000 : ( ( ( mess_ram_size >= 24 * 1024 ) ? mess_ram : memory_region(machine, "main") ) + 0x4000 ) );
645   memory_set_bankptr (machine,  4, vc20_rom_6000 ? vc20_rom_6000 : ( ( ( mess_ram_size >= 32 * 1024 ) ? mess_ram : memory_region(machine, "main") ) + 0x6000 ) );
646   memory_set_bankptr (machine,  5, vc20_rom_a000 ? vc20_rom_a000 : ( memory_region(machine, "main") + 0xa000 ) );
642   memory_set_bankptr (machine,  1, ( ( mess_ram_size >=  8 * 1024 ) ? mess_ram : memory_region(machine, "maincpu") ) + 0x0400 );
643   memory_set_bankptr (machine,  2, vc20_rom_2000 ? vc20_rom_2000 : ( ( ( mess_ram_size >= 16 * 1024 ) ? mess_ram : memory_region(machine, "maincpu") ) + 0x2000 ) );
644   memory_set_bankptr (machine,  3, vc20_rom_4000 ? vc20_rom_4000 : ( ( ( mess_ram_size >= 24 * 1024 ) ? mess_ram : memory_region(machine, "maincpu") ) + 0x4000 ) );
645   memory_set_bankptr (machine,  4, vc20_rom_6000 ? vc20_rom_6000 : ( ( ( mess_ram_size >= 32 * 1024 ) ? mess_ram : memory_region(machine, "maincpu") ) + 0x6000 ) );
646   memory_set_bankptr (machine,  5, vc20_rom_a000 ? vc20_rom_a000 : ( memory_region(machine, "maincpu") + 0xa000 ) );
647647}
648648
649649
src/mess/machine/partner.c
r4347r4348
164164static void partner_bank_switch(running_machine *machine)
165165{
166166   const address_space *space = cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM);
167   UINT8 *rom = memory_region(machine, "main");
167   UINT8 *rom = memory_region(machine, "maincpu");
168168   
169169   memory_install_write8_handler(space, 0x0000, 0x07ff, 0, 0, SMH_BANK1);
170170   memory_install_write8_handler(space, 0x0800, 0x3fff, 0, 0, SMH_BANK2);
src/mess/machine/special.c
r4347r4348
2929DRIVER_INIT(special)
3030{
3131   /* set initialy ROM to be visible on first bank */
32   UINT8 *RAM = memory_region(machine, "main");   
32   UINT8 *RAM = memory_region(machine, "maincpu");   
3333   memset(RAM,0x0000,0x3000); // make frist page empty by default
3434   memory_configure_bank(machine, 1, 1, 2, RAM, 0x0000);
3535   memory_configure_bank(machine, 1, 0, 2, RAM, 0xc000);   
r4347r4348
187187            memory_install_write8_handler(space, 0x0000, 0x8fff, 0, 0, SMH_UNMAP);
188188            memory_install_write8_handler(space, 0x9000, 0xbfff, 0, 0, SMH_UNMAP);
189189         
190            memory_set_bankptr(machine, 1, memory_region(machine, "main") + 0x10000);
191            memory_set_bankptr(machine, 2, memory_region(machine, "main") + 0x19000);
190            memory_set_bankptr(machine, 1, memory_region(machine, "maincpu") + 0x10000);
191            memory_set_bankptr(machine, 2, memory_region(machine, "maincpu") + 0x19000);
192192           if (data & 0x80) {
193193               memory_set_bankptr(machine, 3, mess_ram + 0x1c000);               
194194            } else {
r4347r4348
334334   UINT8 bank2 = ((RR_register >> 2) & 3);
335335   UINT8 bank3 = ((RR_register >> 4) & 3);
336336   UINT8 bank4 = ((RR_register >> 6) & 3);
337   UINT8 *mem = memory_region(machine, "main");
337   UINT8 *mem = memory_region(machine, "maincpu");
338338   const address_space *space = cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM);   
339339   
340340   memory_install_write8_handler(space, 0x0000, 0x3fff, 0, 0, SMH_BANK1);
src/mess/machine/intv.c
r4347r4348
334334   UINT8 high_byte;
335335   UINT8 low_byte;
336336
337   UINT8 *memory = memory_region(image->machine, "main");
337   UINT8 *memory = memory_region(image->machine, "maincpu");
338338   const char *filetype = image_filetype(image);
339339   
340340   /* if it is in .rom format, we enter here */
r4347r4348
468468{
469469   /* First, initialize these as empty so that the intellivision
470470    * will think that the playcable and keyboard are not attached */
471   UINT8 *memory = memory_region(device->machine, "main");
471   UINT8 *memory = memory_region(device->machine, "maincpu");
472472
473473   /* assume playcable is absent */
474474   memory[0x4800 << 1] = 0xff;
r4347r4348
483483{
484484   /* First, initialize these as empty so that the intellivision
485485    * will think that the playcable and keyboard are not attached */
486   UINT8 *memory = memory_region(image->machine, "main");
486   UINT8 *memory = memory_region(image->machine, "maincpu");
487487
488488   /* assume playcable is absent */
489489   memory[0x4800 << 1] = 0xff;
r4347r4348
580580   {
581581      /* First, initialize these as empty so that the intellivision
582582       * will think that the playcable is not attached */
583      UINT8 *memory = memory_region(image->machine, "main");
583      UINT8 *memory = memory_region(image->machine, "maincpu");
584584
585585      /* assume playcable is absent */
586586      memory[0x4800 << 1] = 0xff;
src/mess/machine/mikro80.c
r4347r4348
1919DRIVER_INIT(mikro80)
2020{
2121   /* set initialy ROM to be visible on first bank */
22   UINT8 *RAM = memory_region(machine, "main");
22   UINT8 *RAM = memory_region(machine, "maincpu");
2323   memset(RAM,0x0000,0x0800); // make frist page empty by default
2424     memory_configure_bank(machine, 1, 1, 2, RAM, 0x0000);
2525   memory_configure_bank(machine, 1, 0, 2, RAM, 0xf800);
src/mess/machine/ut88.c
r4347r4348
2020DRIVER_INIT(ut88)
2121{
2222   /* set initialy ROM to be visible on first bank */
23   UINT8 *RAM = memory_region(machine, "main");   
23   UINT8 *RAM = memory_region(machine, "maincpu");   
2424   memset(RAM,0x0000,0x0800); // make frist page empty by default
2525     memory_configure_bank(machine, 1, 1, 2, RAM, 0x0000);
2626   memory_configure_bank(machine, 1, 0, 2, RAM, 0xf800);
r4347r4348
104104READ8_HANDLER( ut88mini_keyboard_r )
105105{
106106   // This is real keyboard implementation
107   UINT8 *keyrom1 = memory_region(space->machine, "main")+ 0x10000;
108   UINT8 *keyrom2 = memory_region(space->machine, "main")+ 0x10100;
107   UINT8 *keyrom1 = memory_region(space->machine, "maincpu")+ 0x10000;
108   UINT8 *keyrom2 = memory_region(space->machine, "maincpu")+ 0x10100;
109109   
110110   UINT8 key = keyrom2[input_port_read(space->machine, "LINE1")];
111111   // if keyboard 2nd part returned 0 on 4th bit output from
src/mess/machine/pp01.c
r4347r4348
2121
2222MACHINE_RESET( pp01 )
2323{
24   UINT8 *mem = memory_region(machine, "main");
24   UINT8 *mem = memory_region(machine, "maincpu");
2525   memory_install_write8_handler(cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM), 0x0000, 0x3fff, 0, 0, SMH_UNMAP);
2626
2727   memory_set_bankptr(machine, 1, mem + 0x010000);
src/mess/machine/snescart.c
r4347r4348
344344   UINT8 *temp_buffer = auto_malloc(0x410000);
345345   UINT8 valid_mode20, valid_mode21, valid_mode25;
346346
347   memory_region_alloc(machine, "main", 0x1000000, 0);
347   memory_region_alloc(machine, "maincpu", 0x1000000, 0);
348348
349   snes_ram = memory_region(machine, "main");
349   snes_ram = memory_region(machine, "maincpu");
350350   memset( snes_ram, 0, 0x1000000 );
351351
352352   /* Check for a header (512 bytes) */
src/mess/machine/apple2.c
r4347r4348
121121   }
122122
123123   /* get critical info */
124   rom = memory_region(machine, "main");
125   rom_length = memory_region_length(machine, "main") & ~0xFFF;
126   slot_length = memory_region_length(machine, "main") - rom_length;
124   rom = memory_region(machine, "maincpu");
125   rom_length = memory_region_length(machine, "maincpu") & ~0xFFF;
126   slot_length = memory_region_length(machine, "maincpu") - rom_length;
127127   slot_ram = (slot_length > 0) ? &rom[rom_length] : NULL;
128128
129129   /* loop through the entire memory map */
r4347r4348
12861286   a2_set = 0;
12871287
12881288   /* disable VAR_ROMSWITCH if the ROM is only 16k */
1289   if (memory_region_length(machine, "main") < 0x8000)
1289   if (memory_region_length(machine, "maincpu") < 0x8000)
12901290      a2_mask &= ~VAR_ROMSWITCH;
12911291
12921292   if (mess_ram_size <= 64*1024)
src/mess/machine/c64.c
r4347r4348
10301030
10311031   if (!ultimax)
10321032   {
1033      UINT8 *mem = memory_region(machine, "main");
1033      UINT8 *mem = memory_region(machine, "maincpu");
10341034      c64_basic    = mem + 0x10000;
10351035      c64_kernal   = mem + 0x12000;
10361036      c64_chargen  = mem + 0x14000;
src/mess/machine/genesis.c
r4347r4348
8787static WRITE16_HANDLER( genesis_ssf2_bank_w )
8888{
8989   static int lastoffset = -1,lastdata = -1;
90   UINT8 *ROM = memory_region(space->machine, "main");
90   UINT8 *ROM = memory_region(space->machine, "maincpu");
9191
9292   if ((lastoffset != offset) || (lastdata != data)) {
9393      lastoffset = offset; lastdata = data;
r4347r4348
208208   {
209209      case 0:
210210      {
211      UINT8 *ROM = memory_region(space->machine, "main");
211      UINT8 *ROM = memory_region(space->machine, "maincpu");
212212      /* printf("%06x data %04x\n",activecpu_get_pc(), data); */
213213      memcpy(&ROM[0x000000], &ROM[VIRGIN_COPY_GEN + (data&0xffff)*0x8000], 0x8000);
214214      }
r4347r4348
233233{
234234   int bankdata = (data >> 9) & 0x7;
235235
236   UINT8 *ROM = memory_region(space->machine, "main");
236   UINT8 *ROM = memory_region(space->machine, "maincpu");
237237
238238   realtek_old_bank_addr = realtek_bank_addr;
239239   realtek_bank_addr = (realtek_bank_addr & 0x7) | bankdata<<3;
r4347r4348
245245static WRITE16_HANDLER( realtec_404000_w )
246246{
247247   int bankdata = (data >> 8) & 0x3;
248   UINT8 *ROM = memory_region(space->machine, "main");
248   UINT8 *ROM = memory_region(space->machine, "maincpu");
249249
250250   realtek_old_bank_addr = realtek_bank_addr;
251251   realtek_bank_addr = (realtek_bank_addr & 0xf8)|bankdata;
r4347r4348
259259
260260static WRITE16_HANDLER( g_chifi3_bank_w )
261261{
262   UINT8 *ROM = memory_region(space->machine, "main");
262   UINT8 *ROM = memory_region(space->machine, "maincpu");
263263
264264   if (data==0xf100) // *hit player
265265   {
r4347r4348
360360
361361static WRITE16_HANDLER( s19in1_bank )
362362{
363   UINT8 *ROM = memory_region(space->machine, "main");
363   UINT8 *ROM = memory_region(space->machine, "maincpu");
364364   memcpy(ROM + 0x000000, ROM + 0x400000+((offset << 1)*0x10000), 0x80000);
365365}
366366
367367// Kaiju? (Pokemon Stadium) handler from HazeMD
368368static WRITE16_HANDLER( g_kaiju_bank_w )
369369{
370   UINT8 *ROM = memory_region(space->machine, "main");
370   UINT8 *ROM = memory_region(space->machine, "maincpu");
371371   memcpy(ROM + 0x000000, ROM + 0x400000+(data&0x7f)*0x8000, 0x8000);
372372}
373373
r4347r4348
454454static READ16_HANDLER( radica_bank_select )
455455{
456456   int bank = offset&0x3f;
457   UINT8 *ROM = memory_region(space->machine, "main");
457   UINT8 *ROM = memory_region(space->machine, "maincpu");
458458   memcpy(ROM, ROM +  (bank*0x10000)+0x400000, 0x400000);
459459   return 0;
460460}
r4347r4348
614614   unsigned char *ROM;
615615   UINT32 mirroraddr;
616616
617   ROM = memory_region(machine, "main");
617   ROM = memory_region(machine, "maincpu");
618618
619619   if (cart_type == SSF2)
620620   {
r4347r4348
960960   unsigned char fliptemp;
961961#endif
962962
963   rawROM = memory_region(image->machine, "main");
963   rawROM = memory_region(image->machine, "maincpu");
964964   ROM = rawROM /*+ 512 */;
965965
966966   length = image_fread(image, rawROM + 0x2000, 0x600000);
src/mess/machine/pc.c
r4347r4348
11721172DRIVER_INIT( europc )
11731173{
11741174   UINT8 *gfx = &memory_region(machine, "gfx1")[0x8000];
1175   UINT8 *rom = &memory_region(machine, "main")[0];
1175   UINT8 *rom = &memory_region(machine, "maincpu")[0];
11761176   int i;
11771177
11781178    /* just a plain bit pattern for graphics data generation */
r4347r4348
12161216   memory_install_read16_handler( space, 0xb0000, 0xbffff, 0, 0, pc200_videoram16le_r );
12171217   memory_install_write16_handler( space, 0xb0000, 0xbffff, 0, 0, pc200_videoram16le_w );
12181218   videoram_size=0x10000;
1219   videoram=memory_region(machine, "main")+0xb0000;
1219   videoram=memory_region(machine, "maincpu")+0xb0000;
12201220   memory_install_read16_handler( io_space, 0x278, 0x27b, 0, 0, pc200_16le_port378_r );
12211221
12221222   mess_init_pc_common(machine, PCCOMMON_KEYBOARD_PC, pc_set_keyb_int, pc_set_irq_line);
r4347r4348
13761376   }
13771377
13781378   /* Read the cartridge contents */
1379   if ( ( size - 0x200 ) != image_fread( image, memory_region(image->machine, "main") + address, size - 0x200 ) )
1379   if ( ( size - 0x200 ) != image_fread( image, memory_region(image->machine, "maincpu") + address, size - 0x200 ) )
13801380   {
13811381      image_seterror( image, IMAGE_ERROR_UNSUPPORTED, "Unable to read cartridge contents" );
13821382      return 1;
src/mess/machine/pecom.c
r4347r4348
3636
3737MACHINE_RESET( pecom )
3838{
39   UINT8 *rom = memory_region(machine, "main");
39   UINT8 *rom = memory_region(machine, "maincpu");
4040   const address_space *space = cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM);
4141   
4242   pecom_state *state = machine->driver_data;
r4347r4348
6464{
6565   const device_config *cdp1869 = devtag_get_device(space->machine, SOUND, CDP1869_TAG);
6666   const address_space *space2 = cpu_get_address_space(space->machine->cpu[0], ADDRESS_SPACE_PROGRAM);
67   UINT8 *rom = memory_region(space->machine, "main");
67   UINT8 *rom = memory_region(space->machine, "maincpu");
6868   memory_install_write8_handler(cpu_get_address_space(space->machine->cpu[0], ADDRESS_SPACE_PROGRAM), 0x0000, 0x3fff, 0, 0, SMH_BANK1);
6969   memory_set_bankptr(space->machine, 1, mess_ram + 0x0000);
7070     
src/mess/machine/ti99_4x.c
r4347r4348
309309   has_evpc = FALSE;
310310
311311   /* set up memory pointers */
312   xRAM_ptr = (UINT16 *) (memory_region(machine, "main") + offset_xram);
312   xRAM_ptr = (UINT16 *) (memory_region(machine, "maincpu") + offset_xram);
313313   console_GROMs.data_ptr = memory_region(machine, region_grom);
314314
315315   /* Generate missing chunk of each console GROMs */
r4347r4348
327327   has_evpc = FALSE;
328328
329329   /* set up memory pointers */
330   xRAM_ptr = (UINT16 *) (memory_region(machine, "main") + offset_xram);
330   xRAM_ptr = (UINT16 *) (memory_region(machine, "maincpu") + offset_xram);
331331   console_GROMs.data_ptr = memory_region(machine, region_grom);
332332}
333333
334334DRIVER_INIT( ti99_4ev )
335335{
336   UINT8 *mem = memory_region(machine, "main");
336   UINT8 *mem = memory_region(machine, "maincpu");
337337   ti99_model = model_99_4a;
338338   has_evpc = TRUE;
339339
r4347r4348
346346
347347DRIVER_INIT( ti99_8 )
348348{
349   UINT8 *mem = memory_region(machine, "main");
349   UINT8 *mem = memory_region(machine, "maincpu");
350350   ti99_model = model_99_8;
351351   has_evpc = FALSE;
352352
r4347r4348
369369   has_evpc = TRUE;
370370
371371   /* set up memory pointers */
372   xRAM_ptr = (UINT16 *) (memory_region(machine, "main") + offset_xram_4p);
372   xRAM_ptr = (UINT16 *) (memory_region(machine, "maincpu") + offset_xram_4p);
373373   /*console_GROMs.data_ptr = memory_region(machine, region_grom);*/
374374}
375375
r4347r4348
386386      id = 2;
387387   }
388388   
389   cartridge_pages[id] = (UINT16 *) (memory_region(device->machine, "main") + offset_cart + (id * 0x2000));
389   cartridge_pages[id] = (UINT16 *) (memory_region(device->machine, "maincpu") + offset_cart + (id * 0x2000));
390390}
391391
392392/*
r4347r4348
713713   }
714714   else if (ti99_model == model_99_4p)
715715   {
716      UINT8* mem = memory_region(machine, "main");
716      UINT8* mem = memory_region(machine, "maincpu");
717717
718718      /* set up system ROM and scratch pad pointers */
719719      memory_set_bankptr(machine, 1, mem + offset_rom0_4p);   /* system ROM */
r4347r4348
723723   else
724724   {
725725      /* set up scratch pad pointer */
726      memory_set_bankptr(machine, 1, memory_region(machine, "main") + offset_sram);
726      memory_set_bankptr(machine, 1, memory_region(machine, "maincpu") + offset_sram);
727727   }
728728
729729   if (ti99_model != model_99_4p)
r4347r4348
10341034{
10351035   if (ti99_4p_internal_rom6_enable)
10361036   {
1037      ti99_4p_internal_ROM6 = (UINT16 *) (memory_region(space->machine, "main") + (FPTR)((offset & 1) ? offset_rom6b_4p : offset_rom6_4p));
1037      ti99_4p_internal_ROM6 = (UINT16 *) (memory_region(space->machine, "maincpu") + (FPTR)((offset & 1) ? offset_rom6b_4p : offset_rom6_4p));
10381038      return;
10391039   }
10401040
r4347r4348
24822482/* set up handlers, and set initial state */
24832483static void ti99_8_internal_dsr_reset(running_machine *machine)
24842484{
2485   ti99_8_internal_DSR = memory_region(machine, "main") + offset_rom0_8 + 0x4000;
2485   ti99_8_internal_DSR = memory_region(machine, "maincpu") + offset_rom0_8 + 0x4000;
24862486
24872487   ti99_peb_set_card_handlers(0x2700, & ti99_8_internal_dsr_handlers);
24882488}
r4347r4348
25392539/* set up handlers, and set initial state */
25402540static void ti99_4p_internal_dsr_reset(running_machine *machine)
25412541{
2542   UINT8* mem = memory_region(machine, "main");
2542   UINT8* mem = memory_region(machine, "maincpu");
25432543
25442544   ti99_4p_internal_DSR = (UINT16 *) (mem + offset_rom4_4p);
25452545   ti99_4p_internal_ROM6 = (UINT16 *) (mem + offset_rom6_4p);
src/mess/machine/pc1251.c
r4347r4348
9292/* currently enough to save the external ram */
9393NVRAM_HANDLER( pc1251 )
9494{
95   const device_config *main_cpu = cputag_get_cpu(machine, "main");
96   UINT8 *ram = memory_region(machine, "main") + 0x8000;
95   const device_config *main_cpu = cputag_get_cpu(machine, "maincpu");
96   UINT8 *ram = memory_region(machine, "maincpu") + 0x8000;
9797   UINT8 *cpu = sc61860_internal_ram(main_cpu);
9898
9999   if (read_or_write)
r4347r4348
132132   // 11 kb ram: program stored at 8000
133133#if 1
134134   memory_install_write8_handler(space, 0x8000, 0xc7ff, 0, 0, SMH_BANK1);
135   memory_set_bankptr(machine, 1, memory_region(machine, "main") + 0x8000);
135   memory_set_bankptr(machine, 1, memory_region(machine, "maincpu") + 0x8000);
136136#else
137137   if ((input_port_read(machine, "DSW0") & 0xc0) == 0xc0)
138138   {
src/mess/machine/ti99_4x.h
r4347r4348
1414#define region_hsgpl "user3"
1515#define region_speech_rom "tms5220"
1616
17/* offsets for "main" */
17/* offsets for "maincpu" */
1818enum
1919{
2020   offset_sram = 0x2000,      /* scratch RAM (256 bytes) */
src/mess/machine/pk8020.c
r4347r4348
5353   memory_install_write8_handler(space, 0xfe00, 0xfeff, 0, 0, SMH_BANK16);
5454   memory_install_write8_handler(space, 0xff00, 0xffff, 0, 0, SMH_BANK17);
5555
56   memory_set_bankptr(machine, 1, memory_region(machine,"main") + 0x10000);
57   memory_set_bankptr(machine, 2, memory_region(machine,"main") + 0x12000);
56   memory_set_bankptr(machine, 1, memory_region(machine,"maincpu") + 0x10000);
57   memory_set_bankptr(machine, 2, memory_region(machine,"maincpu") + 0x12000);
5858
5959   memory_set_bankptr(machine, 7, mess_ram + 0x4000);
6060   memory_set_bankptr(machine, 8, mess_ram + 0x6000);
src/mess/machine/bbc.c
r4347r4348
6868
6969WRITE8_HANDLER ( bbc_memorya1_w )
7070{
71   memory_region(space->machine, "main")[offset]=data;
71   memory_region(space->machine, "maincpu")[offset]=data;
7272
7373   // this array is set so that the video emulator know which addresses to redraw
7474   bbc_vidmem[offset]=1;
r4347r4348
9595WRITE8_HANDLER ( bbc_memoryb3_w )
9696{
9797   if (bbc_RAMSize) {
98      memory_region(space->machine, "main")[offset+0x4000]=data;
98      memory_region(space->machine, "maincpu")[offset+0x4000]=data;
9999      // this array is set so that the video emulator know which addresses to redraw
100100      bbc_vidmem[offset+0x4000]=1;
101101   } else {
102      memory_region(space->machine, "main")[offset]=data;
102      memory_region(space->machine, "maincpu")[offset]=data;
103103      bbc_vidmem[offset]=1;
104104   }
105105
r4347r4348
164164      if (pagedRAM)
165165      {
166166         /* if paged ram then set 8000 to afff to read from the ram 8000 to afff */
167         memory_set_bankptr(space->machine, 4,memory_region(space->machine, "main")+0x8000);
167         memory_set_bankptr(space->machine, 4,memory_region(space->machine, "maincpu")+0x8000);
168168      } else {
169169         /* if paged rom then set the rom to be read from 8000 to afff */
170170         memory_set_bankptr(space->machine, 4,memory_region(space->machine, "user1")+(bbc_rombank<<14));
r4347r4348
179179      vdusel=(data>>7)&0x01;
180180      bbcbp_setvideoshadow(space->machine, vdusel);
181181      //need to make the video display do a full screen refresh for the new memory area
182      memory_set_bankptr(space->machine, 2, memory_region(space->machine, "main")+0x3000);
182      memory_set_bankptr(space->machine, 2, memory_region(space->machine, "maincpu")+0x3000);
183183   }
184184}
185185
r4347r4348
190190
191191WRITE8_HANDLER ( bbc_memorybp1_w )
192192{
193   memory_region(space->machine, "main")[offset]=data;
193   memory_region(space->machine, "maincpu")[offset]=data;
194194
195195   // this array is set so that the video emulator know which addresses to redraw
196196   bbc_vidmem[offset]=1;
r4347r4348
212212
213213static DIRECT_UPDATE_HANDLER( bbcbp_direct_handler )
214214{
215   UINT8 *ram = memory_region(space->machine, "main");
215   UINT8 *ram = memory_region(space->machine, "maincpu");
216216   if (vdusel==0)
217217   {
218218      // not in shadow ram mode so just read normal ram
r4347r4348
233233
234234WRITE8_HANDLER ( bbc_memorybp2_w )
235235{
236   UINT8 *ram = memory_region(space->machine, "main");
236   UINT8 *ram = memory_region(space->machine, "maincpu");
237237   if (vdusel==0)
238238   {
239239      // not in shadow ram mode so just write to normal ram
r4347r4348
260260{
261261   if (pagedRAM)
262262   {
263      memory_region(space->machine, "main")[offset+0x8000]=data;
263      memory_region(space->machine, "maincpu")[offset+0x8000]=data;
264264   }
265265}
266266
r4347r4348
280280{
281281   if (pagedRAM)
282282   {
283      memory_region(space->machine, "main")[offset+0x8000]=data;
283      memory_region(space->machine, "maincpu")[offset+0x8000]=data;
284284   }
285285   else
286286   {
r4347r4348
393393
394394   if (ACCCON_Y)
395395   {
396      memory_set_bankptr(space->machine, 7,memory_region(space->machine, "main")+0x9000);
396      memory_set_bankptr(space->machine, 7,memory_region(space->machine, "maincpu")+0x9000);
397397   } else {
398398      memory_set_bankptr(space->machine, 7,memory_region(space->machine, "user1")+0x40000);
399399   }
r4347r4348
403403
404404   if (ACCCON_X)
405405   {
406      memory_set_bankptr( space->machine, 2, memory_region( space->machine, "main" ) + 0xb000 );
406      memory_set_bankptr( space->machine, 2, memory_region( space->machine, "maincpu" ) + 0xb000 );
407407   } else {
408      memory_set_bankptr( space->machine, 2, memory_region( space->machine, "main" ) + 0x3000 );
408      memory_set_bankptr( space->machine, 2, memory_region( space->machine, "maincpu" ) + 0x3000 );
409409   }
410410
411411   /* ACCCON_TST controls paging of rom reads in the 0xFC00-0xFEFF reigon */
r4347r4348
439439
440440   if (pagedRAM)
441441   {
442      memory_set_bankptr(space->machine, 4,memory_region(space->machine, "main")+0x8000);
442      memory_set_bankptr(space->machine, 4,memory_region(space->machine, "maincpu")+0x8000);
443443      memory_set_bank(space->machine, 5, bbc_rombank);
444444   } else {
445445      memory_set_bankptr(space->machine, 4,memory_region(space->machine, "user1")+((bbc_rombank)<<14));
r4347r4348
451451
452452WRITE8_HANDLER ( bbc_memorybm1_w )
453453{
454   memory_region(space->machine, "main")[offset]=data;
454   memory_region(space->machine, "maincpu")[offset]=data;
455455   bbc_vidmem[offset]=1;
456456}
457457
r4347r4348
460460{
461461   if (ACCCON_X)
462462   {
463      memory_set_bankptr( space->machine, 2, memory_region( space->machine, "main" ) + 0xb000 );
463      memory_set_bankptr( space->machine, 2, memory_region( space->machine, "maincpu" ) + 0xb000 );
464464   } else {
465465      if (ACCCON_E && bbcm_vdudriverset(space->machine))
466466      {
467         memory_set_bankptr( space->machine, 2, memory_region( space->machine, "main" ) + 0xb000 );
467         memory_set_bankptr( space->machine, 2, memory_region( space->machine, "maincpu" ) + 0xb000 );
468468      } else {
469         memory_set_bankptr( space->machine, 2, memory_region( space->machine, "main" ) + 0x3000 );
469         memory_set_bankptr( space->machine, 2, memory_region( space->machine, "maincpu" ) + 0x3000 );
470470      }
471471   }
472472
r4347r4348
477477
478478WRITE8_HANDLER ( bbc_memorybm2_w )
479479{
480   UINT8 *ram = memory_region(space->machine, "main");
480   UINT8 *ram = memory_region(space->machine, "maincpu");
481481   if (ACCCON_X)
482482   {
483483      ram[offset+0xb000]=data;
r4347r4348
504504{
505505   if (pagedRAM)
506506   {
507      memory_region(space->machine, "main")[offset+0x8000]=data;
507      memory_region(space->machine, "maincpu")[offset+0x8000]=data;
508508   }
509509   else
510510   {
r4347r4348
529529{
530530   if (ACCCON_Y)
531531   {
532      memory_region(space->machine, "main")[offset+0x9000]=data;
532      memory_region(space->machine, "maincpu")[offset+0x9000]=data;
533533   }
534534}
535535
r4347r4348
12071207   DEVCB_NULL,
12081208   DEVCB_NULL,
12091209   DEVCB_NULL,
1210   DEVCB_CPU_INPUT_LINE("main", M6502_IRQ_LINE)
1210   DEVCB_CPU_INPUT_LINE("maincpu", M6502_IRQ_LINE)
12111211};
12121212
12131213
r4347r4348
12451245   DEVCB_NULL, //via_user_write_cb1
12461246   DEVCB_DEVICE_LINE(CENTRONICS, "centronics", centronics_strobe_w),
12471247   DEVCB_NULL,   //via_user_write_cb2,
1248   DEVCB_CPU_INPUT_LINE("main", M6502_IRQ_LINE)
1248   DEVCB_CPU_INPUT_LINE("maincpu", M6502_IRQ_LINE)
12491249};
12501250
12511251
r4347r4348
14351435      {
14361436         /* I'll pulse it because if I used hold-line I'm not sure
14371437         it would clear - to be checked */
1438         cpu_set_input_line(cputag_get_cpu(device->machine, "main"), INPUT_LINE_NMI,PULSE_LINE);
1438         cpu_set_input_line(cputag_get_cpu(device->machine, "maincpu"), INPUT_LINE_NMI,PULSE_LINE);
14391439      }
14401440   }
14411441
r4347r4348
20492049
20502050MACHINE_RESET( bbca )
20512051{
2052   UINT8 *ram = memory_region(machine, "main");
2052   UINT8 *ram = memory_region(machine, "maincpu");
20532053   memory_set_bankptr(machine, 1,ram);
20542054   memory_set_bankptr(machine, 3,ram);
20552055
r4347r4348
20812081
20822082MACHINE_RESET( bbcb )
20832083{
2084   UINT8 *ram = memory_region(machine, "main");
2084   UINT8 *ram = memory_region(machine, "maincpu");
20852085   bbc_DFSType=  (input_port_read(machine, "BBCCONFIG")>>0)&0x07;
20862086   bbc_SWRAMtype=(input_port_read(machine, "BBCCONFIG")>>3)&0x03;
20872087   bbc_RAMSize=  (input_port_read(machine, "BBCCONFIG")>>5)&0x01;
r4347r4348
21272127
21282128MACHINE_RESET( bbcbp )
21292129{
2130   memory_set_bankptr(machine, 1,memory_region(machine, "main"));
2131   memory_set_bankptr(machine, 2,memory_region(machine, "main")+0x03000);  /* bank 2 screen/shadow ram     from 3000 to 7fff */
2130   memory_set_bankptr(machine, 1,memory_region(machine, "maincpu"));
2131   memory_set_bankptr(machine, 2,memory_region(machine, "maincpu")+0x03000);  /* bank 2 screen/shadow ram     from 3000 to 7fff */
21322132   memory_set_bankptr(machine, 4,memory_region(machine, "user1"));         /* bank 4 is paged ROM or RAM   from 8000 to afff */
21332133   memory_set_bank(machine, 6, 0);
21342134   memory_set_bankptr(machine, 7,memory_region(machine, "user1")+0x40000); /* bank 7 points at the OS rom  from c000 to ffff */
r4347r4348
21572157
21582158MACHINE_RESET( bbcm )
21592159{
2160   memory_set_bankptr(machine, 1,memory_region(machine, "main"));         /* bank 1 regular lower ram      from 0000 to 2fff */
2161   memory_set_bankptr(machine, 2,memory_region(machine, "main")+0x3000);   /* bank 2 screen/shadow ram      from 3000 to 7fff */
2160   memory_set_bankptr(machine, 1,memory_region(machine, "maincpu"));         /* bank 1 regular lower ram      from 0000 to 2fff */
2161   memory_set_bankptr(machine, 2,memory_region(machine, "maincpu")+0x3000);   /* bank 2 screen/shadow ram      from 3000 to 7fff */
21622162   memory_set_bankptr(machine, 4,memory_region(machine, "user1"));         /* bank 4 is paged ROM or RAM   from 8000 to 8fff */
21632163   memory_set_bank(machine, 5, 0);
21642164   memory_set_bankptr(machine, 7,memory_region(machine, "user1")+0x40000); /* bank 6 OS rom of RAM         from c000 to dfff */
src/mess/machine/kc.c
r4347r4348
12341234   {
12351235      LOG(("no memory at ram0!\n"));
12361236
1237//      memory_set_bankptr(machine, 1,memory_region(machine, "main") + 0x013000);
1237//      memory_set_bankptr(machine, 1,memory_region(machine, "maincpu") + 0x013000);
12381238      /* ram is disabled */
12391239      memory_install_read8_handler(space, 0x0000, 0x3fff, 0, 0, SMH_NOP);
12401240      memory_install_write8_handler(space, 0x0000, 0x3fff, 0, 0, SMH_NOP);
r4347r4348
13031303      /* CAOS rom takes priority */
13041304      LOG(("CAOS rom 0x0c000\n"));
13051305
1306      memory_set_bankptr(machine, 5,memory_region(machine, "main") + 0x012000);
1306      memory_set_bankptr(machine, 5,memory_region(machine, "maincpu") + 0x012000);
13071307      rh = SMH_BANK5;
13081308   }
13091309   else if (kc85_pio_data[0] & (1<<7))
r4347r4348
13111311      /* BASIC takes next priority */
13121312           LOG(("BASIC rom 0x0c000\n"));
13131313
1314        memory_set_bankptr(machine, 5, memory_region(machine, "main") + 0x010000);
1314        memory_set_bankptr(machine, 5, memory_region(machine, "maincpu") + 0x010000);
13151315      rh = SMH_BANK5;
13161316   }
13171317   else
r4347r4348
13451345      /* enable CAOS rom in memory range 0x0e000-0x0ffff */
13461346      LOG(("CAOS rom 0x0e000\n"));
13471347      /* read will access the rom */
1348      memory_set_bankptr(machine, 6,memory_region(machine, "main") + 0x013000);
1348      memory_set_bankptr(machine, 6,memory_region(machine, "maincpu") + 0x013000);
13491349      rh = SMH_BANK6;
13501350   }
13511351   else
r4347r4348
14611461      /* BASIC takes next priority */
14621462      LOG(("BASIC rom 0x0c000\n"));
14631463
1464      memory_set_bankptr(machine, 4, memory_region(machine, "main") + 0x010000);
1464      memory_set_bankptr(machine, 4, memory_region(machine, "maincpu") + 0x010000);
14651465      rh = SMH_BANK4;
14661466   }
14671467   else
r4347r4348
14841484      /* enable CAOS rom in memory range 0x0e000-0x0ffff */
14851485      LOG(("CAOS rom 0x0e000\n"));
14861486
1487      memory_set_bankptr(machine, 5,memory_region(machine, "main") + 0x012000);
1487      memory_set_bankptr(machine, 5,memory_region(machine, "maincpu") + 0x012000);
14881488        rh = SMH_BANK5;
14891489   }
14901490   else
src/mess/devices/z80bin.c
r4347r4348
8484         image_seterror(image, IMAGE_ERROR_INVALIDIMAGE, message);
8585         return INIT_FAIL;
8686      }
87      memory_write_byte(cputag_get_address_space(image->machine,"main",ADDRESS_SPACE_PROGRAM), j, data);
87      memory_write_byte(cputag_get_address_space(image->machine,"maincpu",ADDRESS_SPACE_PROGRAM), j, data);
8888   }
8989
9090   return INIT_PASS;
r4347r4348
122122      else
123123      {
124124         if (autorun)
125            cpu_set_reg(cputag_get_cpu(image->machine, "main"), REG_GENPC, exec_addr);   
125            cpu_set_reg(cputag_get_cpu(image->machine, "maincpu"), REG_GENPC, exec_addr);   
126126      }
127127   }
128128
src/mess/drivers/wswan.c
r4347r4348
129129
130130static MACHINE_DRIVER_START( wswan )
131131   /* Basic machine hardware */
132   MDRV_CPU_ADD("main", V30MZ, 3072000)
132   MDRV_CPU_ADD("maincpu", V30MZ, 3072000)
133133   MDRV_CPU_PROGRAM_MAP(wswan_mem, 0)
134134   MDRV_CPU_IO_MAP(wswan_io, 0)
135135
r4347r4348
169169
170170static MACHINE_DRIVER_START( wscolor )
171171   MDRV_IMPORT_FROM(wswan)
172   MDRV_CPU_MODIFY("main")
172   MDRV_CPU_MODIFY("maincpu")
173173   MDRV_CPU_PROGRAM_MAP(wscolor_mem, 0)
174174   MDRV_MACHINE_START( wscolor )
175175   MDRV_PALETTE_LENGTH(4096)
r4347r4348
183183***************************************************************************/
184184
185185ROM_START( wswan )
186   ROM_REGION( 0x100000, "main", ROMREGION_ERASEFF )
186   ROM_REGION( 0x100000, "maincpu", ROMREGION_ERASEFF )
187187//  ROM_LOAD_OPTIONAL( "ws_bios.bin", 0x0000, 0x0001, NO_DUMP )
188188ROM_END
189189
190190ROM_START( wscolor )
191   ROM_REGION( 0x100000, "main", ROMREGION_ERASEFF )
191   ROM_REGION( 0x100000, "maincpu", ROMREGION_ERASEFF )
192192//  ROM_LOAD_OPTIONAL( "wsc_bios.bin", 0x0000, 0x0001, NO_DUMP )
193193ROM_END
194194
src/mess/drivers/comquest.c
r4347r4348
214214
215215static MACHINE_DRIVER_START( comquest )
216216   /* basic machine hardware */
217   MDRV_CPU_ADD("main", M6805, 4000000)      /* 4000000? */
218   /*MDRV_CPU_ADD("main", HD63705, 4000000)    instruction set looks like m6805/m6808 */
219   /*MDRV_CPU_ADD("main", M68705, 4000000) instruction set looks like m6805/m6808 */
217   MDRV_CPU_ADD("maincpu", M6805, 4000000)      /* 4000000? */
218   /*MDRV_CPU_ADD("maincpu", HD63705, 4000000)    instruction set looks like m6805/m6808 */
219   /*MDRV_CPU_ADD("maincpu", M68705, 4000000) instruction set looks like m6805/m6808 */
220220
221221/*
222222    8 bit bus, integrated io, serial io?,
r4347r4348
266266MACHINE_DRIVER_END
267267
268268ROM_START(comquest)
269//  ROM_REGION(0x10000,"main",0)
269//  ROM_REGION(0x10000,"maincpu",0)
270270//  ROM_REGION(0x80000,"user1",0)
271   ROM_REGION(0x100000,"main",0)
271   ROM_REGION(0x100000,"maincpu",0)
272272   ROM_LOAD("comquest.bin", 0x00000, 0x80000, CRC(2bf4b1a8) SHA1(8d1821cbde37cca2055b18df001438f7d138a8c1))
273273/*
274274000 +16kbyte graphics data? (first bytes: 80 0d 04 00 00 08 04 00 0f 02 04 01 00 10 04 01)
src/mess/drivers/zx.c
r4347r4348
341341/* Graphics Decode Information */
342342
343343static GFXDECODE_START( zx80 )
344   GFXDECODE_ENTRY( "main", 0x0e00, zx_char_layout, 0, 2 )
344   GFXDECODE_ENTRY( "maincpu", 0x0e00, zx_char_layout, 0, 2 )
345345GFXDECODE_END
346346
347347static GFXDECODE_START( zx81 )
348   GFXDECODE_ENTRY( "main", 0x1e00, zx_char_layout, 0, 2 )
348   GFXDECODE_ENTRY( "maincpu", 0x1e00, zx_char_layout, 0, 2 )
349349GFXDECODE_END
350350
351351static GFXDECODE_START( pc8300 )
r4347r4348
410410
411411static MACHINE_DRIVER_START( zx80 )
412412   // basic machine hardware
413   MDRV_CPU_ADD("main", Z80, ZX81_CPU_CLOCK)
413   MDRV_CPU_ADD("maincpu", Z80, ZX81_CPU_CLOCK)
414414   MDRV_CPU_PROGRAM_MAP(zx80_map, 0)
415415   MDRV_CPU_IO_MAP(zx80_io_map, 0)
416416   MDRV_SCREEN_ADD("screen", RASTER)
r4347r4348
445445static MACHINE_DRIVER_START( zx81 )
446446   MDRV_IMPORT_FROM(zx80)
447447
448   MDRV_CPU_MODIFY("main")
448   MDRV_CPU_MODIFY("maincpu")
449449   MDRV_CPU_IO_MAP(zx81_io_map, 0)
450450
451451   MDRV_GFXDECODE(zx81)
r4347r4348
462462static MACHINE_DRIVER_START( pc8300 )
463463   MDRV_IMPORT_FROM(zx81)
464464
465   MDRV_CPU_MODIFY("main")
465   MDRV_CPU_MODIFY("maincpu")
466466   MDRV_CPU_IO_MAP(pc8300_io_map, 0)
467467
468468   MDRV_MACHINE_RESET(pc8300)
r4347r4348
479479static MACHINE_DRIVER_START( pow3000 )
480480   MDRV_IMPORT_FROM(zx81)
481481
482   MDRV_CPU_MODIFY("main")
482   MDRV_CPU_MODIFY("maincpu")
483483   MDRV_CPU_IO_MAP(pow3000_io_map, 0)
484484
485485   MDRV_MACHINE_RESET(pow3000)
r4347r4348
491491/* ROMs */
492492
493493ROM_START(zx80)
494   ROM_REGION( 0x10000, "main",0 )
494   ROM_REGION( 0x10000, "maincpu",0 )
495495   ROM_SYSTEM_BIOS(0, "default", "BASIC")
496496   ROMX_LOAD( "zx80.rom",   0x0000, 0x1000, CRC(4c7fc597) SHA1(b6769a3197c77009e0933e038c15b43cf4c98c7a), ROM_BIOS(1) )
497497   ROM_SYSTEM_BIOS(1, "aszmic", "ASZMIC")
r4347r4348
499499ROM_END
500500
501501ROM_START(zx81)
502   ROM_REGION( 0x10000, "main",0 )
502   ROM_REGION( 0x10000, "maincpu",0 )
503503   ROM_SYSTEM_BIOS(0, "3rd", "3rd rev.")
504504   ROMX_LOAD( "zx81b.rom",   0x0000, 0x2000, CRC(522c37b8) SHA1(c6d8e06cb936989f6e1cc7a56d1f092da854a515), ROM_BIOS(1) )
505505   ROM_SYSTEM_BIOS(1, "1st", "1st rev.")
r4347r4348
513513ROM_END
514514
515515ROM_START(ts1000)
516   ROM_REGION( 0x10000, "main",0 )
516   ROM_REGION( 0x10000, "maincpu",0 )
517517   ROM_LOAD( "zx81a.rom", 0x0000, 0x2000, CRC(4b1dd6eb) SHA1(7b143ee964e9ada89d1f9e88f0bd48d919184cfc) )
518518ROM_END
519519
520520ROM_START(pc8300)
521   ROM_REGION( 0x10000, "main",0 )
521   ROM_REGION( 0x10000, "maincpu",0 )
522522   ROM_LOAD( "8300_org.rom", 0x0000, 0x2000, CRC(a350f2b1) SHA1(6a9be484556cc27a9cd9d71085d2027c6243333f) )
523523
524524   ROM_REGION( 0x200, "gfx1", 0 )
r4347r4348
526526ROM_END
527527
528528ROM_START(pow3000)
529   ROM_REGION( 0x10000, "main",0 )
529   ROM_REGION( 0x10000, "maincpu",0 )
530530   ROM_LOAD("pow3000.rom", 0x0000, 0x2000, CRC(8a49b2c3) SHA1(9b22daf2f3a991aa6a358ef95b091654c3ca1bdf) )
531531
532532   ROM_REGION( 0x200, "gfx1", 0 )
r4347r4348
534534ROM_END
535535
536536ROM_START(lambda)
537   ROM_REGION( 0x10000, "main",0 )
537   ROM_REGION( 0x10000, "maincpu",0 )
538538   ROM_LOAD("lambda.rom", 0x0000, 0x2000, CRC(8a49b2c3) SHA1(9b22daf2f3a991aa6a358ef95b091654c3ca1bdf) )
539539
540540   ROM_REGION( 0x200, "gfx1", 0 )
src/mess/drivers/dgn_beta.c
r4347r4348
316316
317317static MACHINE_DRIVER_START( dgnbeta )
318318   /* basic machine hardware */
319   MDRV_CPU_ADD("main", M6809E, DGNBETA_CPU_SPEED_HZ)        /* 2 MHz */
319   MDRV_CPU_ADD("maincpu", M6809E, DGNBETA_CPU_SPEED_HZ)        /* 2 MHz */
320320   MDRV_CPU_PROGRAM_MAP(dgnbeta_map,0)
321321
322322   /* both cpus in the beta share the same address/data busses */
r4347r4348
344344MACHINE_DRIVER_END
345345
346346ROM_START(dgnbeta)
347   ROM_REGION(0x4000,"main",0)
347   ROM_REGION(0x4000,"maincpu",0)
348348    ROM_SYSTEM_BIOS( 0, "bootrom", "Dragon beta OS9 boot rom (1984)" )
349349   ROMX_LOAD("beta_bt.rom"      ,0x0000   ,0x4000   ,CRC(4c54c1de) SHA1(141d9fcd2d187c305dff83fce2902a30072aed76), ROM_BIOS(1))
350350    ROM_SYSTEM_BIOS( 1, "testrom", "Dragon beta test rom (1984?)" )
src/mess/drivers/pdp1.c
r4347r4348
469469
470470   /* basic machine hardware */
471471   /* PDP1 CPU @ 200 kHz (no master clock, but the instruction and memory rate is 200 kHz) */
472   MDRV_CPU_ADD("main", PDP1, 1000000/*the CPU core uses microsecond counts*/)
472   MDRV_CPU_ADD("maincpu", PDP1, 1000000/*the CPU core uses microsecond counts*/)
473473   MDRV_CPU_CONFIG(pdp1_reset_param)
474474   MDRV_CPU_PROGRAM_MAP(pdp1_map, 0)
475475   MDRV_CPU_VBLANK_INT("screen", pdp1_interrupt)   /* dummy interrupt: handles input */
src/mess/drivers/homelab.c
r4347r4348
124124/* Machine driver */
125125static MACHINE_DRIVER_START( homelab )
126126/* basic machine hardware */
127   MDRV_CPU_ADD("main", Z80, 3000000)
127   MDRV_CPU_ADD("maincpu", Z80, 3000000)
128128   MDRV_CPU_PROGRAM_MAP(homelab2_mem, 0)
129129   MDRV_SCREEN_ADD("screen", RASTER)
130130   MDRV_SCREEN_REFRESH_RATE(50)
r4347r4348
143143static MACHINE_DRIVER_START( homelab3 )
144144/* basic machine hardware */
145145   MDRV_IMPORT_FROM(homelab)
146  MDRV_CPU_MODIFY("main")     
146  MDRV_CPU_MODIFY("maincpu")     
147147   MDRV_CPU_PROGRAM_MAP(homelab3_mem, 0)
148148   
149149   MDRV_SCREEN_MODIFY("screen")
r4347r4348
156156/* ROM definition */
157157
158158ROM_START( homelab2 )
159    ROM_REGION( 0x10000, "main", ROMREGION_ERASEFF )
159    ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
160160    ROM_LOAD( "hl2_1.rom", 0x0000, 0x0800, CRC(205365F7) SHA1(da93b65befd83513dc762663b234227ba804124d))
161161    ROM_LOAD( "hl2_2.rom", 0x0800, 0x0800, CRC(696AF3C1) SHA1(b53bc6ae2b75975618fc90e7181fa5d21409fce1))
162162    ROM_LOAD( "hl2_3.rom", 0x1000, 0x0800, CRC(69E57E8C) SHA1(e98510abb715dbf513e1b29fb6b09ab54e9483b7))
r4347r4348
166166ROM_END
167167
168168ROM_START( homelab3 )
169    ROM_REGION( 0x10000, "main", ROMREGION_ERASEFF )
169    ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
170170    ROM_LOAD( "hl3_1.rom", 0x0000, 0x1000, CRC(6B90A8EA) SHA1(8ac40ca889b8c26cdf74ca309fbafd70dcfdfbec))
171171    ROM_LOAD( "hl3_2.rom", 0x1000, 0x1000, CRC(BCAC3C24) SHA1(aff371d17f61cb60c464998e092f04d5d85c4d52))
172172    ROM_LOAD( "hl3_3.rom", 0x2000, 0x1000, CRC(AB1B4AB0) SHA1(ad74c7793f5dc22061a88ef31d3407267ad08719))
r4347r4348
176176ROM_END
177177
178178ROM_START( homelab4 )
179    ROM_REGION( 0x10000, "main", ROMREGION_ERASEFF )
179    ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
180180    ROM_LOAD( "hl4_1.rom", 0x0000, 0x1000, CRC(A549B2D4) SHA1(90fc5595da8431616aee56eb5143b9f04281e798))
181181    ROM_LOAD( "hl4_2.rom", 0x1000, 0x1000, CRC(151D33E8) SHA1(d32004bc1553f802b9d3266709552f7d5315fe44))
182182    ROM_LOAD( "hl4_3.rom", 0x2000, 0x1000, CRC(39571AB1) SHA1(8470cff2e3442101e6a0bc655358b3a6fc1ef944))
src/mess/drivers/cpschngr.c
r4347r4348
3434   memory_install_write16_handler(cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM), 0x800048, 0x800049, 0, 0, forgottn_dial_1_reset_w);
3535   memory_install_read16_handler (cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM), 0x800052, 0x800055, 0, 0, forgottn_dial_0_r);
3636   memory_install_read16_handler (cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM), 0x80005a, 0x80005d, 0, 0, forgottn_dial_1_r);
37   cps1_hack_dsw_r(cputag_get_address_space(machine,"main",ADDRESS_SPACE_PROGRAM), 0, 0);
37   cps1_hack_dsw_r(cputag_get_address_space(machine,"maincpu",ADDRESS_SPACE_PROGRAM), 0, 0);
3838   driver_init_sf2mdt(machine);
3939}
4040
r4347r4348
104104
105105
106106ROM_START( sfach )
107   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
107   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
108108   ROM_LOAD16_WORD_SWAP( "sfach23",        0x000000, 0x80000, CRC(02a1a853) SHA1(d92b9e774844fdcc9d9946b3e892b021e672d876) )
109109   ROM_LOAD16_WORD_SWAP( "sfza22",         0x080000, 0x80000, CRC(8d9b2480) SHA1(405305c1572908d00eab735f28676fbbadb4fac6) )
110110   ROM_LOAD16_WORD_SWAP( "sfzch21",        0x100000, 0x80000, CRC(5435225d) SHA1(6b1156fd82d0710e244ede39faaae0847c598376) )
r4347r4348
131131   ROM_REGION( 0x8000, "stars", 0 )
132132   ROM_COPY( "gfx", 0x000000, 0x000000, 0x8000 )   /* stars */
133133
134   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
134   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
135135   ROM_LOAD( "sfz09",         0x00000, 0x08000, CRC(c772628b) SHA1(ebc5b7c173caf1e151f733f23c1b20abec24e16d) )
136136   ROM_CONTINUE(              0x10000, 0x08000 )
137137
r4347r4348
141141ROM_END
142142
143143ROM_START( sfzbch )
144   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
144   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
145145   ROM_LOAD16_WORD_SWAP( "sfzbch23",       0x000000, 0x80000, CRC(53699f68) SHA1(d7f132faf8c31b5e79c32e6b0cce45377ec8d474) )
146146   ROM_LOAD16_WORD_SWAP( "sfza22",         0x080000, 0x80000, CRC(8d9b2480) SHA1(405305c1572908d00eab735f28676fbbadb4fac6) )
147147   ROM_LOAD16_WORD_SWAP( "sfzch21",        0x100000, 0x80000, CRC(5435225d) SHA1(6b1156fd82d0710e244ede39faaae0847c598376) )
r4347r4348
168168   ROM_REGION( 0x8000, "stars", 0 )
169169   ROM_COPY( "gfx", 0x000000, 0x000000, 0x8000 )   /* stars */
170170
171   ROM_REGION( 0x18000, "audio", 0 ) /* 64k for the audio CPU (+banks) */
171   ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */
172172   ROM_LOAD( "sfz09",         0x00000, 0x08000, CRC(c772628b) SHA1(ebc5b7c173caf1e151f733f23c1b20abec24e16d) )
173173   ROM_CONTINUE(              0x10000, 0x08000 )
174174
r4347r4348
178178ROM_END
179179
180180ROM_START( sfzch )
181   ROM_REGION( CODE_SIZE, "main",0 )      /* 68000 code */
181   ROM_REGION( CODE_SIZE, "maincpu",0 )      /* 68000 code */
182182   ROM_LOAD16_WORD_SWAP( "sfzch23",        0x000000, 0x80000, CRC(1140743f) SHA1(10bcedb5cca266f2aa3ed99ede6f9a64fc877539))
183183   ROM_LOAD16_WORD_SWAP( "sfza22",         0x080000, 0x80000, CRC(8d9b2480) SHA1(405305c1572908d00eab735f28676fbbadb4fac6))
184184   ROM_LOAD16_WORD_SWAP( "sfzch21",        0x100000, 0x80000, CRC(5435225d) SHA1(6b1156fd82d0710e244ede39faaae0847c598376))
r4347r4348
205205   ROM_REGION( 0x8000, "stars", 0 )
206206   ROM_COPY( "gfx", 0x000000, 0x000000, 0x8000 )
207207
208   ROM_REGION( 0x28000, "audio",0 ) /* 64k for the audio CPU (+banks) */
208   ROM_REGION( 0x28000, "audiocpu",0 ) /* 64k for the audio CPU (+banks) */
209209   ROM_LOAD( "sfz09",         0x00000, 0x08000, CRC(c772628b) SHA1(ebc5b7c173caf1e151f733f23c1b20abec24e16d))
210210   ROM_CONTINUE(              0x10000, 0x08000 )
211211
r4347r4348
215215ROM_END
216216
217217ROM_START( wofch )
218   ROM_REGION( CODE_SIZE, "main", 0 )      /* 68000 code */
218   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
219219   ROM_LOAD16_WORD_SWAP( "wofch_23.rom",  0x000000, 0x80000, CRC(4e0b8dee) SHA1(d2fb716d62b7a259f46bbc74c1976a18d56696ea) )
220220   ROM_LOAD16_WORD_SWAP( "wofch_22.rom",  0x080000, 0x80000, CRC(d0937a8d) SHA1(01d7be446e2e3ef8ca767f59c178240dfd52dd93) )
221221
r4347r4348
229229   ROMX_LOAD( "wofch_06.rom",   0x200004, 0x80000, CRC(cc9006c9) SHA1(cfcbec3a67052268a7739538aa28a6391fe5400e) , ROM_GROUPWORD | ROM_SKIP(6) )
230230   ROMX_LOAD( "tk208.bin",      0x200006, 0x80000, CRC(d4a19a02) SHA1(ff396b1d33d9b4842140f2c6d085fe05748e3244) , ROM_GROUPWORD | ROM_SKIP(6) )
231231
232   ROM_REGION( 0x28000, "audio", 0 ) /* QSound Z80 code */
232   ROM_REGION( 0x28000, "audiocpu", 0 ) /* QSound Z80 code */
233233   ROM_LOAD( "tk2_qa.rom",     0x00000, 0x08000, CRC(c9183a0d) SHA1(d8b1d41c572f08581f8ab9eb878de77d6ea8615d) )
234234   ROM_CONTINUE(               0x10000, 0x18000 )
235235
src/mess/drivers/jaguar.c
r4347r4348
455455static MACHINE_DRIVER_START( jaguar )
456456
457457   /* basic machine hardware */
458   MDRV_CPU_ADD("main", M68EC020, M68K_CLOCK/2)
458   MDRV_CPU_ADD("maincpu", M68EC020, M68K_CLOCK/2)
459459   MDRV_CPU_PROGRAM_MAP(jaguar_map,0)
460460
461461   MDRV_CPU_ADD("gpu", JAGUARGPU, JAGUAR_CLOCK/2)
r4347r4348
504504 *************************************/
505505
506506ROM_START( jaguar )
507   ROM_REGION( 0xe20000, "main", 0 )  /* 4MB for RAM at 0 */
507   ROM_REGION( 0xe20000, "maincpu", 0 )  /* 4MB for RAM at 0 */
508508   ROM_LOAD16_WORD( "jagboot.rom",          0xe00000, 0x020000, CRC(fb731aaa) SHA1(f8991b0c385f4e5002fa2a7e2f5e61e8c5213356))
509509   ROM_CART_LOAD("cart", 0x800000, 0x600000, ROM_NOMIRROR)
510510ROM_END
r4347r4348
528528{
529529   offs_t quickload_begin = 0x4000;
530530   quickload_size = MIN(quickload_size, 0x200000 - quickload_begin);
531   image_fread(image, &memory_region(image->machine, "main")[quickload_begin], quickload_size);
531   image_fread(image, &memory_region(image->machine, "maincpu")[quickload_begin], quickload_size);
532532   cpu_set_reg(image->machine->cpu[0], REG_GENPC, quickload_begin);
533533   return INIT_PASS;
534534}
src/mess/drivers/comxpl80.c
r4347r4348
197197
198198   // basic system hardware
199199
200   MDRV_CPU_ADD("main", M6805, 4000000) // CX005: some kind of MC6805/MC68HC05 clone
200   MDRV_CPU_ADD("maincpu", M6805, 4000000) // CX005: some kind of MC6805/MC68HC05 clone
201201   MDRV_CPU_PROGRAM_MAP(pl80_map, 0)
202202   MDRV_CPU_IO_MAP(pl80_io_map, 0)
203203MACHINE_DRIVER_END
r4347r4348
205205/* ROMs */
206206
207207ROM_START( comxpl80 )
208   ROM_REGION( 0x1000, "main", 0 )
208   ROM_REGION( 0x1000, "maincpu", 0 )
209209   ROM_LOAD( "pl80.pt6",      0x0080, 0x0e00, CRC(ae059e5b) SHA1(f25812606b0082d32eb603d0a702a2187089d332) )
210210
211211   ROM_REGION( 0x6000, "gfx1", ROMREGION_ERASEFF ) // Plotter fonts
src/mess/drivers/apple2gs.c
r4347r4348
151151
152152static MACHINE_DRIVER_START( apple2gs )
153153   MDRV_IMPORT_FROM( apple2e )
154   MDRV_CPU_REPLACE("main", G65816, APPLE2GS_14M/5)
154   MDRV_CPU_REPLACE("maincpu", G65816, APPLE2GS_14M/5)
155155
156156   MDRV_SCREEN_MODIFY("screen")
157157   MDRV_SCREEN_SIZE(704, 262)   // 640+32+32 for the borders
r4347r4348
195195   ROM_REGION(0x1000,"gfx1",0)
196196   ROM_LOAD ( "apple2gs.chr", 0x0000, 0x1000, CRC(91e53cd8) SHA1(34e2443e2ef960a36c047a09ed5a93f471797f89))
197197
198   ROM_REGION(0x40000,"main",0)
198   ROM_REGION(0x40000,"maincpu",0)
199199   ROM_LOAD("rom03", 0x0000, 0x40000, CRC(de7ddf29) SHA1(bc32bc0e8902946663998f56aea52be597d9e361))
200200ROM_END
201201
r4347r4348
203203   ROM_REGION(0x1000,"gfx1",0)
204204   ROM_LOAD ( "apple2gs.chr", 0x0000, 0x1000, CRC(91e53cd8) SHA1(34e2443e2ef960a36c047a09ed5a93f471797f89))
205205
206   ROM_REGION(0x20000,"main",0)
206   ROM_REGION(0x20000,"maincpu",0)
207207   ROM_LOAD("rom01", 0x0000, 0x20000, CRC(42f124b0) SHA1(e4fc7560b69d062cb2da5b1ffbe11cd1ca03cc37))
208208ROM_END
209209
r4347r4348
211211   ROM_REGION(0x1000,"gfx1",0)
212212   ROM_LOAD ( "apple2gs.chr", 0x0000, 0x1000, CRC(91e53cd8) SHA1(34e2443e2ef960a36c047a09ed5a93f471797f89))
213213
214   ROM_REGION(0x20000,"main",0)
214   ROM_REGION(0x20000,"maincpu",0)
215215   ROM_LOAD("rom0a.bin", 0x0000,  0x8000, CRC(9cc78238) SHA1(0ea82e10720a01b68722ab7d9f66efec672a44d3))
216216   ROM_LOAD("rom0b.bin", 0x8000,  0x8000, CRC(8baf2a79) SHA1(91beeb11827932fe10475252d8036a63a2edbb1c))
217217   ROM_LOAD("rom0c.bin", 0x10000, 0x8000, CRC(94c32caa) SHA1(4806d50d676b06f5213b181693fc1585956b98bb))
src/mess/drivers/hp48.c
r4347r4348
810810   The G+ model has always revision R.
811811 */
812812ROM_START ( hp48gx )
813   ROM_REGION( 0x80000, "main", 0 )
813   ROM_REGION( 0x80000, "maincpu", 0 )
814814   ROM_DEFAULT_BIOS("r")
815815
816816   /* in chronological order, from first revision, version r is default*/
r4347r4348
845845 */
846846
847847ROM_START ( hp48sx )
848   ROM_REGION( 0x40000, "main", 0 )
848   ROM_REGION( 0x40000, "maincpu", 0 )
849849   ROM_DEFAULT_BIOS("j")
850850
851851   /* in chronological order, from first revision, version j is default*/
r4347r4348
921921   MDRV_MACHINE_RESET ( hp48 )
922922
923923   /* cpu */
924   MDRV_CPU_ADD ( "main", SATURN, 3937007 ) /* almost 4 MHz */
924   MDRV_CPU_ADD ( "maincpu", SATURN, 3937007 ) /* almost 4 MHz */
925925   MDRV_CPU_PROGRAM_MAP ( hp48, 0 )
926926   MDRV_CPU_CONFIG( hp48_config )
927927 
r4347r4348
929929   MDRV_NVRAM_HANDLER( generic_0fill )
930930
931931   /* video */
932   MDRV_SCREEN_ADD( "main", RASTER )
932   MDRV_SCREEN_ADD( "maincpu", RASTER )
933933   MDRV_SCREEN_REFRESH_RATE( 64 )
934934   MDRV_SCREEN_VBLANK_TIME(0)
935935   MDRV_SCREEN_FORMAT( BITMAP_FORMAT_INDEXED16 )
r4347r4348
983983
984984static MACHINE_DRIVER_START ( hp48sx )
985985   MDRV_IMPORT_FROM    ( hp48_common )
986   MDRV_CPU_REPLACE    ( "main", SATURN, 2000000 )
986   MDRV_CPU_REPLACE    ( "maincpu", SATURN, 2000000 )
987987   MDRV_MACHINE_START  ( hp48sx )
988988   MDRV_DEFAULT_LAYOUT ( layout_hp48sx )
989989
r4347r4348
997997
998998static MACHINE_DRIVER_START ( hp48s )
999999   MDRV_IMPORT_FROM    ( hp48_common )
1000   MDRV_CPU_REPLACE    ( "main", SATURN, 2000000 )
1000   MDRV_CPU_REPLACE    ( "maincpu", SATURN, 2000000 )
10011001   MDRV_MACHINE_START  ( hp48s )
10021002   MDRV_DEFAULT_LAYOUT ( layout_hp48s )
10031003
src/mess/drivers/apple3.c
r4347r4348
3232
3333static MACHINE_DRIVER_START( apple3 )
3434   /* basic machine hardware */
35   MDRV_CPU_ADD("main", M6502, 2000000)        /* 2 MHz */
35   MDRV_CPU_ADD("maincpu", M6502, 2000000)        /* 2 MHz */
3636   MDRV_CPU_PROGRAM_MAP(apple3_map, 0)
3737   MDRV_CPU_PERIODIC_INT(apple3_interrupt, 192)
3838   MDRV_QUANTUM_TIME(HZ(60))
r4347r4348
145145INPUT_PORTS_END
146146
147147ROM_START(apple3)
148    ROM_REGION(0x1000,"main",0)
148    ROM_REGION(0x1000,"maincpu",0)
149149   ROM_LOAD( "apple3.rom", 0x0000, 0x1000, CRC(55e8eec9) SHA1(579ee4cd2b208d62915a0aa482ddc2744ff5e967))
150150ROM_END
151151
src/mess/drivers/3do.c
r4347r4348
142142
143143static MACHINE_DRIVER_START( 3do )
144144   /* Basic machine hardware */
145   MDRV_CPU_ADD( "main", ARM6, XTAL_50MHz/4 )
145   MDRV_CPU_ADD( "maincpu", ARM6, XTAL_50MHz/4 )
146146   MDRV_CPU_PROGRAM_MAP( 3do_mem, 0 )
147147
148148   MDRV_MACHINE_RESET( 3do )
r4347r4348
162162
163163static MACHINE_DRIVER_START( 3do_pal )
164164   /* Basic machine hardware */
165   MDRV_CPU_ADD("main", ARM6, XTAL_50MHz/4 )
165   MDRV_CPU_ADD("maincpu", ARM6, XTAL_50MHz/4 )
166166   MDRV_CPU_PROGRAM_MAP( 3do_mem, 0 )
167167
168168   MDRV_MACHINE_RESET( 3do )
src/mess/drivers/c65.c
r4347r4348
211211
212212static MACHINE_DRIVER_START( c65 )
213213   /* basic machine hardware */
214   MDRV_CPU_ADD("main", M4510, 3500000)  /* or VIC6567_CLOCK, */
214   MDRV_CPU_ADD("maincpu", M4510, 3500000)  /* or VIC6567_CLOCK, */
215215   MDRV_CPU_PROGRAM_MAP(c65_mem, 0)
216216   MDRV_CPU_VBLANK_INT("screen", c64_frame_interrupt)
217217   MDRV_CPU_PERIODIC_INT(vic3_raster_irq, VIC6567_HRETRACERATE)
r4347r4348
277277
278278
279279ROM_START( c65 )
280   ROM_REGION( 0x400000, "main", 0 )
280   ROM_REGION( 0x400000, "maincpu", 0 )
281281   ROM_SYSTEM_BIOS( 0, "910111", "V0.9.910111" )
282282   ROMX_LOAD( "910111.bin", 0x20000, 0x20000, CRC(c5d8d32e) SHA1(71c05f098eff29d306b0170e2c1cdeadb1a5f206), ROM_BIOS(1) )
283283   ROM_SYSTEM_BIOS( 1, "910523", "V0.9.910523" )
r4347r4348
291291ROM_END
292292
293293ROM_START( c64dx )
294   ROM_REGION( 0x400000, "main", 0 )
294   ROM_REGION( 0x400000, "maincpu", 0 )
295295   ROM_LOAD( "910429.bin", 0x20000, 0x20000, CRC(b025805c) SHA1(c3b05665684f74adbe33052a2d10170a1063ee7d) )
296296ROM_END
297297
src/mess/drivers/dai.c
r4347r4348
184184/* machine definition */
185185static MACHINE_DRIVER_START( dai )
186186   /* basic machine hardware */
187   MDRV_CPU_ADD("main", 8080, 2000000)
187   MDRV_CPU_ADD("maincpu", 8080, 2000000)
188188   MDRV_CPU_PROGRAM_MAP(dai_mem, 0)
189189   MDRV_CPU_IO_MAP(dai_io, 0)
190190   MDRV_QUANTUM_TIME(HZ(60))
r4347r4348
228228#define io_dai      io_NULL
229229
230230ROM_START(dai)
231   ROM_REGION(0x14000,"main",0)
231   ROM_REGION(0x14000,"maincpu",0)
232232   ROM_LOAD("dai.bin", 0xc000, 0x2000, CRC(ca71a7d5) SHA1(6bbe2336c717354beab2ae201debeb4fd055bdcb))
233233   ROM_LOAD("dai00.bin", 0x10000, 0x1000, CRC(fa7d39ac) SHA1(3d1824a1f273882f934249ef3cb1b38ef99de7b9))
234234   ROM_LOAD("dai01.bin", 0x11000, 0x1000, CRC(cb5809f2) SHA1(523656f0a9d98888cd3e2bd66886c589e9ae75b4))
src/mess/drivers/nc.c
r4347r4348
359359
360360         mem_bank = mem_bank & nc_membank_rom_mask;
361361
362         addr = (memory_region(machine, "main")+0x010000) + (mem_bank<<14);
362         addr = (memory_region(machine, "maincpu")+0x010000) + (mem_bank<<14);
363363
364364         memory_set_bankptr(machine, bank+1, addr);
365365
r4347r4348
16271627
16281628static MACHINE_DRIVER_START( nc100 )
16291629   /* basic machine hardware */
1630   MDRV_CPU_ADD("main", Z80, /*6000000*/ 4606000)        /* Russell Marks says this is more accurate */
1630   MDRV_CPU_ADD("maincpu", Z80, /*6000000*/ 4606000)        /* Russell Marks says this is more accurate */
16311631   MDRV_CPU_PROGRAM_MAP(nc_map, 0)
16321632   MDRV_CPU_IO_MAP(nc100_io, 0)
16331633   MDRV_QUANTUM_TIME(HZ(60))
r4347r4348
16771677static MACHINE_DRIVER_START( nc200 )
16781678   MDRV_IMPORT_FROM( nc100 )
16791679
1680   MDRV_CPU_MODIFY( "main" )
1680   MDRV_CPU_MODIFY( "maincpu" )
16811681   MDRV_CPU_IO_MAP(nc200_io, 0)
16821682
16831683   MDRV_MACHINE_START( nc200 )
r4347r4348
17121712***************************************************************************/
17131713
17141714ROM_START(nc100)
1715   ROM_REGION(((64*1024)+(256*1024)), "main",0)
1715   ROM_REGION(((64*1024)+(256*1024)), "maincpu",0)
17161716   ROM_SYSTEM_BIOS(0, "106", "ROM v1.06")
17171717    ROMX_LOAD("nc100a.rom", 0x010000, 0x040000, CRC(849884f9) SHA1(ff030dd334ca867d620ee4a94b142ef0d93b69b6), ROM_BIOS(1))
17181718   ROM_SYSTEM_BIOS(1, "100", "ROM v1.00")
r4347r4348
17201720ROM_END
17211721
17221722ROM_START(nc200)
1723        ROM_REGION(((64*1024)+(512*1024)), "main",0)
1723        ROM_REGION(((64*1024)+(512*1024)), "maincpu",0)
17241724        ROM_LOAD("nc200.rom", 0x010000, 0x080000, CRC(bb8180e7) SHA1(fb5c93b0a3e199202c6a12548d2617f7a09bae47))
17251725ROM_END
17261726
src/mess/drivers/mac.c
r4347r4348
137137
138138static MACHINE_DRIVER_START( mac512ke )
139139   /* basic machine hardware */
140   MDRV_CPU_ADD("main", M68000, 7833600)        /* 7.8336 MHz */
140   MDRV_CPU_ADD("maincpu", M68000, 7833600)        /* 7.8336 MHz */
141141   MDRV_CPU_PROGRAM_MAP(mac512ke_map, 0)
142142   MDRV_SCREEN_ADD("screen", RASTER)
143143   MDRV_SCREEN_REFRESH_RATE(60.15)
r4347r4348
174174
175175static MACHINE_DRIVER_START( macplus )
176176   MDRV_IMPORT_FROM( mac512ke )
177   MDRV_CPU_MODIFY( "main" )
177   MDRV_CPU_MODIFY( "maincpu" )
178178   MDRV_CPU_PROGRAM_MAP(macplus_map, 0)
179179
180180   MDRV_MACHINE_START(macscsi)
r4347r4348
194194static MACHINE_DRIVER_START( maclc )
195195   MDRV_IMPORT_FROM( macplus )
196196
197   MDRV_CPU_REPLACE("main", M68020, 7833600*2)
197   MDRV_CPU_REPLACE("maincpu", M68020, 7833600*2)
198198   MDRV_CPU_PROGRAM_MAP(maclc_map, 0)
199199
200200   MDRV_VIA6522_REMOVE("via6522_0")
src/mess/drivers/atari.c
r4347r4348
667667      DEVCB_INPUT_PORT("analog_7")
668668   },
669669   DEVCB_NULL,
670   DEVCB_MEMORY_HANDLER("main", PROGRAM, atari_serin_r),
671   DEVCB_MEMORY_HANDLER("main", PROGRAM, atari_serout_w),
670   DEVCB_MEMORY_HANDLER("maincpu", PROGRAM, atari_serin_r),
671   DEVCB_MEMORY_HANDLER("maincpu", PROGRAM, atari_serout_w),
672672   atari_interrupt_cb,
673673};
674674
r4347r4348
697697
698698static MACHINE_DRIVER_START( atari_common_nodac )
699699   /* basic machine hardware */
700   MDRV_CPU_ADD("main", M6510, FREQ_17_EXACT)
700   MDRV_CPU_ADD("maincpu", M6510, FREQ_17_EXACT)
701701
702702   /* video hardware */
703703   MDRV_SCREEN_ADD("screen", RASTER)
r4347r4348
728728static MACHINE_DRIVER_START( a400 )
729729   MDRV_IMPORT_FROM( atari_common )
730730
731   MDRV_CPU_MODIFY( "main" )
731   MDRV_CPU_MODIFY( "maincpu" )
732732   MDRV_CPU_PROGRAM_MAP(a400_mem, 0)
733733   MDRV_CPU_VBLANK_INT_HACK(a400_interrupt, TOTAL_LINES_60HZ)
734734
r4347r4348
745745static MACHINE_DRIVER_START( a400pal )
746746   MDRV_IMPORT_FROM( atari_common )
747747
748   MDRV_CPU_MODIFY( "main" )
748   MDRV_CPU_MODIFY( "maincpu" )
749749   MDRV_CPU_PROGRAM_MAP(a400_mem, 0)
750750   MDRV_CPU_VBLANK_INT_HACK(a400_interrupt, TOTAL_LINES_50HZ)
751751
r4347r4348
762762static MACHINE_DRIVER_START( a800 )
763763   MDRV_IMPORT_FROM( atari_common )
764764
765   MDRV_CPU_MODIFY( "main" )
765   MDRV_CPU_MODIFY( "maincpu" )
766766   MDRV_CPU_PROGRAM_MAP(a800_mem, 0)
767767   MDRV_CPU_VBLANK_INT_HACK(a800_interrupt, TOTAL_LINES_60HZ)
768768
r4347r4348
779779static MACHINE_DRIVER_START( a800pal )
780780   MDRV_IMPORT_FROM( atari_common )
781781
782   MDRV_CPU_MODIFY( "main" )
782   MDRV_CPU_MODIFY( "maincpu" )
783783   MDRV_CPU_PROGRAM_MAP(a800_mem, 0)
784784   MDRV_CPU_VBLANK_INT_HACK(a800_interrupt, TOTAL_LINES_50HZ)
785785
r4347r4348
796796static MACHINE_DRIVER_START( a800xl )
797797   MDRV_IMPORT_FROM( atari_common )
798798
799   MDRV_CPU_MODIFY( "main" )
799   MDRV_CPU_MODIFY( "maincpu" )
800800   MDRV_CPU_PROGRAM_MAP(a800xl_mem, 0)
801801   MDRV_CPU_VBLANK_INT_HACK(a800xl_interrupt, TOTAL_LINES_60HZ)
802802
r4347r4348
813813static MACHINE_DRIVER_START( a5200 )
814814   MDRV_IMPORT_FROM( atari_common_nodac )
815815
816   MDRV_CPU_MODIFY( "main" )
816   MDRV_CPU_MODIFY( "maincpu" )
817817   MDRV_CPU_PROGRAM_MAP(a5200_mem, 0)
818818   MDRV_CPU_VBLANK_INT_HACK(a5200_interrupt, TOTAL_LINES_60HZ)
819819
r4347r4348
832832
833833
834834ROM_START(a400)
835   ROM_REGION(0x14000,"main",0) /* 64K for the CPU + 2 * 8K for cartridges */
835   ROM_REGION(0x14000,"maincpu",0) /* 64K for the CPU + 2 * 8K for cartridges */
836836   ROM_LOAD("floatpnt.rom", 0xd800, 0x0800, CRC(6a5d766e) SHA1(01a6044f7a81d409c938e7dfde0a1af5832229d2))
837837   ROM_LOAD("atari400.rom", 0xe000, 0x2000, CRC(cb4db9af) SHA1(4e784f4e2530110366f7e5d257d0f050de4201b2))
838838ROM_END
839839
840840ROM_START(a400pal)
841   ROM_REGION(0x14000,"main",0) /* 64K for the CPU + 2 * 8K for cartridges */
841   ROM_REGION(0x14000,"maincpu",0) /* 64K for the CPU + 2 * 8K for cartridges */
842842   ROM_LOAD("floatpnt.rom", 0xd800, 0x0800, CRC(6a5d766e) SHA1(01a6044f7a81d409c938e7dfde0a1af5832229d2))
843843   ROM_LOAD("atari400.rom", 0xe000, 0x2000, CRC(cb4db9af) SHA1(4e784f4e2530110366f7e5d257d0f050de4201b2))
844844ROM_END
845845
846846ROM_START(a800)
847   ROM_REGION(0x14000,"main",0) /* 64K for the CPU + 2 * 8K for cartridges */
847   ROM_REGION(0x14000,"maincpu",0) /* 64K for the CPU + 2 * 8K for cartridges */
848848   ROM_LOAD("floatpnt.rom", 0xd800, 0x0800, CRC(6a5d766e) SHA1(01a6044f7a81d409c938e7dfde0a1af5832229d2))
849849   ROM_LOAD("atari800.rom", 0xe000, 0x2000, CRC(cb4db9af) SHA1(4e784f4e2530110366f7e5d257d0f050de4201b2))
850850ROM_END
851851
852852ROM_START(a800pal)
853   ROM_REGION(0x14000,"main",0) /* 64K for the CPU + 2 * 8K for cartridges */
853   ROM_REGION(0x14000,"maincpu",0) /* 64K for the CPU + 2 * 8K for cartridges */
854854   ROM_LOAD("floatpnt.rom", 0xd800, 0x0800, CRC(6a5d766e) SHA1(01a6044f7a81d409c938e7dfde0a1af5832229d2))
855855   ROM_LOAD("atari800.rom", 0xe000, 0x2000, CRC(cb4db9af) SHA1(4e784f4e2530110366f7e5d257d0f050de4201b2))
856856ROM_END
857857
858858ROM_START(a800xl)
859   ROM_REGION(0x18000,"main",0) /* 64K for the CPU + 16K + 2 * 8K for cartridges */
859   ROM_REGION(0x18000,"maincpu",0) /* 64K for the CPU + 16K + 2 * 8K for cartridges */
860860   ROM_LOAD("basic.rom",   0x10000, 0x2000, CRC(7d684184) SHA1(3693c9cb9bf3b41bae1150f7a8264992468fc8c0))
861861   ROM_LOAD("atarixl.rom", 0x14000, 0x4000, CRC(1f9cd270) SHA1(ae4f523ba08b6fd59f3cae515a2b2410bbd98f55))
862862ROM_END
863863
864864ROM_START(a5200)
865   ROM_REGION(0x14000,"main",0) /* 64K for the CPU + 16K for cartridges */
865   ROM_REGION(0x14000,"maincpu",0) /* 64K for the CPU + 16K for cartridges */
866866   ROM_LOAD("5200.rom", 0xf800, 0x0800, CRC(4248d3e3) SHA1(6ad7a1e8c9fad486fbec9498cb48bf5bc3adc530))
867867ROM_END
868868
869869ROM_START(a5200a)
870   ROM_REGION(0x14000,"main",0) /* 64K for the CPU + 16K for cartridges */
870   ROM_REGION(0x14000,"maincpu",0) /* 64K for the CPU + 16K for cartridges */
871871   ROM_LOAD("5200a.rom", 0xf800, 0x0800, CRC(c2ba2613) SHA1(1d2a3f00109d75d2d79fecb565775eb95b7d04d5))
872872ROM_END
873873
src/mess/drivers/adam.c
r4347r4348
4794790x3A000, 0x41fff -> Used to Write Protect ROMs
480480*/
481481   UINT8 *BankBase;
482   BankBase = &memory_region(machine, "main")[0x00000];
482   BankBase = &memory_region(machine, "maincpu")[0x00000];
483483
484484   switch (adam_lower_memory)
485485   {
r4347r4348
578578void adam_reset_pcb(running_machine *machine)
579579{
580580    int i;
581    memory_region(machine, "main")[adam_pcb] = 0x01;
581    memory_region(machine, "maincpu")[adam_pcb] = 0x01;
582582
583583   for (i = 0; i < 15; i++)
584      memory_region(machine, "main")[(adam_pcb+4+i*21)&0xFFFF]=i+1;
584      memory_region(machine, "maincpu")[(adam_pcb+4+i*21)&0xFFFF]=i+1;
585585}
586586
587587static const TMS9928a_interface tms9928a_interface =
r4347r4348
621621   adam_pcb=0xFEC0;
622622   adam_clear_keyboard_buffer();
623623
624   memset(&memory_region(machine, "main")[0x0000], 0xFF, 0x20000); /* Initializing RAM */
624   memset(&memory_region(machine, "maincpu")[0x0000], 0xFF, 0x20000); /* Initializing RAM */
625625   timer_pulse(machine, ATTOTIME_IN_MSEC(20), NULL, 0, adam_paddle_callback);
626626}
627627
628628static MACHINE_DRIVER_START( adam )
629629   /* Machine hardware */
630   MDRV_CPU_ADD("main", Z80, 3579545)       /* 3.579545 MHz */
630   MDRV_CPU_ADD("maincpu", Z80, 3579545)       /* 3.579545 MHz */
631631   MDRV_CPU_PROGRAM_MAP(adam_mem, 0)
632632   MDRV_CPU_IO_MAP(adam_io, 0)
633633
r4347r4348
6856850x42000, 0x47fff -> Low unused EOS ROM
686686*/
687687ROM_START (adam)
688   ROM_REGION( 0x42000, "main", 0)
688   ROM_REGION( 0x42000, "maincpu", 0)
689689   ROM_LOAD ("wp.rom", 0x20000, 0x8000, CRC(58d86a2a) SHA1(d4aec4efe1431e56fe52d83baf9118542c525255))
690690   ROM_LOAD ("os7.rom", 0x30000, 0x2000, CRC(3aa93ef3) SHA1(45bedc4cbdeac66c7df59e9e599195c778d86a92))
691691   ROM_LOAD ("eos.rom", 0x38000, 0x2000, CRC(05a37a34) SHA1(ad3c20ef444f10af7ae8eb75c81e500d9b1bba3d))
src/mess/drivers/cbmb.c
r4347r4348
326326
327327
328328static const mc6845_interface cbm600_crtc = {
329   "main",
329   "maincpu",
330330   8 /*?*/,
331331   NULL,
332332   cbm600_update_row,
r4347r4348
337337};
338338
339339static const mc6845_interface cbm700_crtc = {
340   "main",
340   "maincpu",
341341   9 /*?*/,
342342   NULL,
343343   cbm700_update_row,
r4347r4348
384384static MACHINE_DRIVER_START( cbm600 )
385385   MDRV_DRIVER_DATA(cbmb_state)
386386   /* basic machine hardware */
387   MDRV_CPU_ADD("main", M6509, 7833600)        /* 7.8336 MHz */
387   MDRV_CPU_ADD("maincpu", M6509, 7833600)        /* 7.8336 MHz */
388388   MDRV_CPU_PROGRAM_MAP(cbmb_readmem, cbmb_writemem)
389389
390390   MDRV_MACHINE_RESET( cbmb )
r4347r4348
462462static MACHINE_DRIVER_START( p500 )
463463   MDRV_DRIVER_DATA(cbmb_state)
464464   /* basic machine hardware */
465   MDRV_CPU_ADD("main", M6509, VIC6567_CLOCK)        /* 7.8336 MHz */
465   MDRV_CPU_ADD("maincpu", M6509, VIC6567_CLOCK)        /* 7.8336 MHz */
466466   MDRV_CPU_PROGRAM_MAP(p500_readmem, p500_writemem)
467467   MDRV_CPU_PERIODIC_INT(vic2_raster_irq, VIC6567_HRETRACERATE)
468468
r4347r4348
505505/* chargen: 8x16 chars for 8x8 size; 128 ascii, 128 ascii graphics; inversion logic in hardware */
506506
507507ROM_START( b500 )
508   ROM_REGION( 0x100000, "main", 0 )
508   ROM_REGION( 0x100000, "maincpu", 0 )
509509   ROM_LOAD( "901243-01.u59",  0xf8000, 0x2000, CRC(22822706) SHA1(901bbf59d8b8682b481be8b2de99b406fffa4bab) )
510510   ROM_LOAD( "901242-01a.u60", 0xfa000, 0x2000, CRC(ef13d595) SHA1(2fb72985d7d4ab69c5780179178828c931a9f5b0) )
511511   ROM_LOAD( "901244-01.u61",  0xfe000, 0x2000, CRC(93414213) SHA1(a54a593dbb420ae1ac39b0acde9348160f7840ff) )
r4347r4348
515515ROM_END
516516
517517ROM_START( b128 )
518   ROM_REGION( 0x100000, "main", 0 )
518   ROM_REGION( 0x100000, "maincpu", 0 )
519519   ROM_SYSTEM_BIOS( 0, "default", "BASIC 4.0 r" )
520520   ROMX_LOAD( "901243-04a.u59", 0xf8000, 0x2000, CRC(b0dcb56d) SHA1(08d333208060ee2ce84d4532028d94f71c016b96), ROM_BIOS(1) )
521521   ROMX_LOAD( "901242-04a.u60", 0xfa000, 0x2000, CRC(de04ea4f) SHA1(7c6de17d46a3343dc597d9b9519cf63037b31908), ROM_BIOS(1) )
r4347r4348
530530ROM_END
531531
532532ROM_START( b256 )
533   ROM_REGION( 0x100000, "main", 0 )
533   ROM_REGION( 0x100000, "maincpu", 0 )
534534   ROM_LOAD( "901241-03.u59", 0xf8000, 0x2000, CRC(5c1f3347) SHA1(2d46be2cd89594b718cdd0a86d51b6f628343f42) )
535535   ROM_LOAD( "901240-03.u60", 0xfa000, 0x2000, CRC(72aa44e1) SHA1(0d7f77746290afba8d0abeb87c9caab9a3ad89ce) )
536536   ROM_SYSTEM_BIOS( 0, "default", "BASIC 4.0 r" )
r4347r4348
548548
549549
550550ROM_START( cbm620hu )
551   ROM_REGION( 0x100000, "main", 0 )
551   ROM_REGION( 0x100000, "maincpu", 0 )
552552   ROM_LOAD( "610.u60", 0xf8000, 0x4000, CRC(8eed0d7e) SHA1(9d06c5c3c012204eaaef8b24b1801759b62bf57e) )
553553   ROM_LOAD( "kernhun.bin", 0xfe000, 0x2000, CRC(0ea8ca4d) SHA1(9977c9f1136ee9c04963e0b50ae0c056efa5663f) )
554554
r4347r4348
561561/* chargen: 8x16 chars for 9x14 size */
562562
563563ROM_START( b128hp )
564   ROM_REGION( 0x100000, "main", 0 )
564   ROM_REGION( 0x100000, "maincpu", 0 )
565565   ROM_SYSTEM_BIOS( 0, "default", "BASIC 4.0 r" )
566566   ROMX_LOAD( "901243-04a.u59", 0xf8000, 0x2000, CRC(b0dcb56d) SHA1(08d333208060ee2ce84d4532028d94f71c016b96), ROM_BIOS(1) )
567567   ROMX_LOAD( "901242-04a.u60", 0xfa000, 0x2000, CRC(de04ea4f) SHA1(7c6de17d46a3343dc597d9b9519cf63037b31908), ROM_BIOS(1) )
r4347r4348
576576ROM_END
577577
578578ROM_START( b256hp )
579   ROM_REGION( 0x100000, "main", 0 )
579   ROM_REGION( 0x100000, "maincpu", 0 )
580580   ROM_LOAD( "901241-03.u59", 0xf8000, 0x2000, CRC(5c1f3347) SHA1(2d46be2cd89594b718cdd0a86d51b6f628343f42) )
581581   ROM_LOAD( "901240-03.u60", 0xfa000, 0x2000, CRC(72aa44e1) SHA1(0d7f77746290afba8d0abeb87c9caab9a3ad89ce) )
582582   ROM_SYSTEM_BIOS( 0, "default", "BASIC 4.0 r" )
r4347r4348
594594
595595/* BX-256HP - only ROM loading added */
596596ROM_START( bx256hp )
597   ROM_REGION( 0x100000, "main", 0 )
597   ROM_REGION( 0x100000, "maincpu", 0 )
598598   ROM_LOAD( "901241-03.u59", 0xf8000, 0x2000, CRC(5c1f3347) SHA1(2d46be2cd89594b718cdd0a86d51b6f628343f42) )
599599   ROM_LOAD( "901240-03.u60", 0xfa000, 0x2000, CRC(72aa44e1) SHA1(0d7f77746290afba8d0abeb87c9caab9a3ad89ce) )
600600   ROM_SYSTEM_BIOS( 0, "default", "BASIC 4.0 r" )
r4347r4348
610610ROM_END
611611
612612ROM_START( cbm720se )
613   ROM_REGION( 0x100000, "main", 0 )
613   ROM_REGION( 0x100000, "maincpu", 0 )
614614   ROM_LOAD( "901241-03.u59", 0xf8000, 0x2000, CRC(5c1f3347) SHA1(2d46be2cd89594b718cdd0a86d51b6f628343f42) )
615615   ROM_LOAD( "901240-03.u60", 0xfa000, 0x2000, CRC(72aa44e1) SHA1(0d7f77746290afba8d0abeb87c9caab9a3ad89ce) )
616616   ROM_LOAD( "swe-901244-03.u61", 0xfe000, 0x2000, CRC(87bc142b) SHA1(fa711f6082741b05a9c80744f5aee68dc8c1dcf4) )
r4347r4348
620620ROM_END
621621
622622ROM_START( p500 )
623   ROM_REGION( 0x101000, "main", 0 )
623   ROM_REGION( 0x101000, "maincpu", 0 )
624624   ROM_SYSTEM_BIOS(0, "default", "BASIC 4.0 new" )
625625   ROMX_LOAD( "901236-02.bin", 0xf8000, 0x2000, CRC(c62ab16f) SHA1(f50240407bade901144f7e9f489fa9c607834eca), ROM_BIOS(1) )
626626   ROMX_LOAD( "901235-02.bin", 0xfa000, 0x2000, CRC(20b7df33) SHA1(1b9a55f12f8cf025754d8029cc5324b474c35841), ROM_BIOS(1) )
src/mess/drivers/ac1.c
r4347r4348
9696/* Machine driver */
9797static MACHINE_DRIVER_START( ac1 )
9898   /* basic machine hardware */
99   MDRV_CPU_ADD("main", Z80, XTAL_8MHz / 4)
99   MDRV_CPU_ADD("maincpu", Z80, XTAL_8MHz / 4)
100100   MDRV_CPU_PROGRAM_MAP(ac1_mem, 0)
101101   MDRV_CPU_IO_MAP(ac1_io, 0)
102102   MDRV_MACHINE_RESET( ac1 )
r4347r4348
129129   
130130/* ROM definition */
131131ROM_START( ac1 )
132   ROM_REGION( 0x10000, "main", ROMREGION_ERASEFF )
132   ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
133133   ROM_LOAD( "mon_v31_16.bin",  0x0000, 0x0800, CRC(1ba65e4d) SHA1(3382b8d03f31166a56aea49fd1ec1e82a7108300))
134134   ROM_LOAD( "minibasic.bin",   0x0800, 0x0800, CRC(06782639) SHA1(3fd57b3ae3f538374b0d794d8aa15d06bcaaddd8))
135135   ROM_REGION(0x0800, "gfx1",0)
r4347r4348
138138ROM_END
139139
140140ROM_START( ac1_32 )
141   ROM_REGION( 0x10000, "main", ROMREGION_ERASEFF )
141   ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
142142   ROM_LOAD( "mon_v31_32.bin",  0x0000, 0x0800, CRC(bea78b1a) SHA1(8a3e2ac2033aa0bb016be742cfea7e4b09c0813b))
143143   ROM_LOAD( "minibasic.bin",   0x0800, 0x0800, CRC(06782639) SHA1(3fd57b3ae3f538374b0d794d8aa15d06bcaaddd8))
144144   ROM_REGION(0x0800, "gfx1",0)
src/mess/drivers/sord.c
r4347r4348
584584
585585static MACHINE_DRIVER_START( sord_m5 )
586586   /* basic machine hardware */
587   MDRV_CPU_ADD("main", Z80, 3800000)
587   MDRV_CPU_ADD("maincpu", Z80, 3800000)
588588   MDRV_CPU_PROGRAM_MAP(sord_m5_mem, 0)
589589   MDRV_CPU_IO_MAP(sord_m5_io, 0)
590590   MDRV_CPU_VBLANK_INT("screen", sord_interrupt)
r4347r4348
624624static MACHINE_DRIVER_START( sord_m5_fd5 )
625625   MDRV_IMPORT_FROM( sord_m5 )
626626
627   MDRV_CPU_REPLACE("main", Z80, 3800000)
627   MDRV_CPU_REPLACE("maincpu", Z80, 3800000)
628628   MDRV_CPU_IO_MAP(srdm5fd5_io, 0)
629629
630630   MDRV_CPU_ADD("floppy", Z80, 3800000)
r4347r4348
645645***************************************************************************/
646646
647647ROM_START(sordm5)
648   ROM_REGION(0x010000, "main", 0)
648   ROM_REGION(0x010000, "maincpu", 0)
649649   ROM_LOAD("sordint.rom",0x0000, 0x02000, CRC(78848d39) SHA1(ac042c4ae8272ad6abe09ae83492ef9a0026d0b2))
650650   ROM_REGION(0x5000, "user1", 0)
651651   ROM_CART_LOAD("cart", 0x0000, 0x5000, ROM_NOMIRROR)
r4347r4348
653653
654654
655655ROM_START(srdm5fd5)
656   ROM_REGION(0x10000, "main", 0)
656   ROM_REGION(0x10000, "maincpu", 0)
657657   ROM_LOAD("sordint.rom",0x0000, 0x02000, CRC(78848d39) SHA1(ac042c4ae8272ad6abe09ae83492ef9a0026d0b2))
658658   ROM_REGION(0x10000, "floppy", 0)
659659   ROM_LOAD("sordfd5.rom",0x0000, 0x04000, NO_DUMP)
src/mess/drivers/mbee.c
r4347r4348
257257};
258258
259259static GFXDECODE_START( mbee )
260   GFXDECODE_ENTRY( "main", 0x11000, mbee_charlayout, 0, 1 )
260   GFXDECODE_ENTRY( "maincpu", 0x11000, mbee_charlayout, 0, 1 )
261261GFXDECODE_END
262262
263263static GFXDECODE_START( mbeeic )
264   GFXDECODE_ENTRY( "main", 0x11000, mbee_charlayout, 0, 4096 )
264   GFXDECODE_ENTRY( "maincpu", 0x11000, mbee_charlayout, 0, 4096 )
265265GFXDECODE_END
266266
267267static PALETTE_INIT( mbeeic )
r4347r4348
387387
388388static MACHINE_DRIVER_START( mbee )
389389   /* basic machine hardware */
390   MDRV_CPU_ADD("main", Z80, XTAL_12MHz / 6)         /* 2 MHz */
390   MDRV_CPU_ADD("maincpu", Z80, XTAL_12MHz / 6)         /* 2 MHz */
391391   MDRV_CPU_PROGRAM_MAP(mbee_mem, 0)
392392   MDRV_CPU_IO_MAP(mbee_ports, 0)
393393   MDRV_CPU_CONFIG(mbee_daisy_chain)
r4347r4348
430430
431431static MACHINE_DRIVER_START( mbeeic )
432432   /* basic machine hardware */
433   MDRV_CPU_ADD("main", Z80, 3375000)         /* 3.37500 MHz */
433   MDRV_CPU_ADD("maincpu", Z80, 3375000)         /* 3.37500 MHz */
434434   MDRV_CPU_PROGRAM_MAP(mbeeic_mem, 0)
435435   MDRV_CPU_IO_MAP(mbeeic_ports, 0)
436436   MDRV_CPU_CONFIG(mbee_daisy_chain)
r4347r4348
475475
476476static MACHINE_DRIVER_START( mbee56 )
477477   MDRV_IMPORT_FROM( mbeeic )
478   MDRV_CPU_MODIFY( "main" )
478   MDRV_CPU_MODIFY( "maincpu" )
479479   MDRV_CPU_PROGRAM_MAP(mbee56_mem, 0)
480480MACHINE_DRIVER_END
481481
482482static DRIVER_INIT( mbee )
483483{
484   UINT8 *RAM = memory_region(machine, "main");
484   UINT8 *RAM = memory_region(machine, "maincpu");
485485   memory_configure_bank(machine, 1, 0, 2, &RAM[0x0000], 0x8000);
486486   memory_configure_bank(machine, 2, 0, 2, &RAM[0x11000], 0x4000);
487487   memory_configure_bank(machine, 3, 0, 2, &RAM[0x11800], 0x4000);
r4347r4348
491491
492492static DRIVER_INIT( mbee56 )
493493{
494   UINT8 *RAM = memory_region(machine, "main");
494   UINT8 *RAM = memory_region(machine, "maincpu");
495495   memory_configure_bank(machine, 1, 0, 2, &RAM[0x0000], 0xe000);
496496   memory_configure_bank(machine, 2, 0, 2, &RAM[0x11000], 0x4000);
497497   memory_configure_bank(machine, 3, 0, 2, &RAM[0x11800], 0x4000);
r4347r4348
500500}
501501
502502ROM_START( mbee )
503   ROM_REGION(0x18000,"main",0)
503   ROM_REGION(0x18000,"maincpu",0)
504504   ROM_LOAD("bas510a.ic25",  0x8000, 0x1000, CRC(2ca47c36) SHA1(f36fd0afb3f1df26edc67919e78000b762b6cbcb) )
505505   ROM_LOAD("bas510b.ic27",  0x9000, 0x1000, CRC(a07a0c51) SHA1(dcbdd9df78b4b6b2972de2e4050dabb8ae9c3f5a) )
506506   ROM_LOAD("bas510c.ic28",  0xa000, 0x1000, CRC(906ac00f) SHA1(9b46458e5755e2c16cdb191a6a70df6de9fe0271) )
r4347r4348
517517ROM_END
518518
519519ROM_START( mbeeic )
520   ROM_REGION(0x18000,"main",0)
520   ROM_REGION(0x18000,"maincpu",0)
521521   ROM_LOAD("bas522a.rom",   0x8000, 0x2000, CRC(7896a696) SHA1(a158f7803296766160e1f258dfc46134735a9477))
522522   ROM_LOAD("bas522b.rom",   0xa000, 0x2000, CRC(b21d9679) SHA1(332844433763331e9483409cd7da3f90ac58259d))
523523   ROM_LOAD("edasm.rom",     0xc000, 0x2000, CRC(1af1b3a9) SHA1(d035a997c2dbbb3918b3395a3a5a1076aa203ee5))
r4347r4348
531531ROM_END
532532
533533ROM_START( mbeepc85 )
534   ROM_REGION(0x18000,"main",0)
534   ROM_REGION(0x18000,"maincpu",0)
535535   ROM_LOAD("bas522a.rom",   0x8000, 0x2000, CRC(7896a696) SHA1(a158f7803296766160e1f258dfc46134735a9477))
536536   ROM_LOAD("bas522b.rom",   0xa000, 0x2000, CRC(b21d9679) SHA1(332844433763331e9483409cd7da3f90ac58259d))
537537   ROM_LOAD("wbee12.rom",    0xc000, 0x2000, CRC(0fc21cb5) SHA1(33b3995988fc51ddef1568e160dfe699867adbd5))
r4347r4348
544544ROM_END
545545
546546ROM_START( mbeepc )
547   ROM_REGION(0x18000,"main",0)
547   ROM_REGION(0x18000,"maincpu",0)
548548   ROM_LOAD("bas522a.rom",   0x8000, 0x2000, CRC(7896a696) SHA1(a158f7803296766160e1f258dfc46134735a9477))
549549   ROM_LOAD("bas522b.rom",   0xa000, 0x2000, CRC(b21d9679) SHA1(332844433763331e9483409cd7da3f90ac58259d))
550550   /* This telcom rom is banked between its 2 halves, hooked to port 0A -  not emulated yet */
r4347r4348
558558ROM_END
559559
560560ROM_START( mbee56 )
561   ROM_REGION(0x18000,"main",0)
561   ROM_REGION(0x18000,"maincpu",0)
562562   ROM_LOAD("56kb.rom",      0xe000, 0x1000, CRC(28211224) SHA1(b6056339402a6b2677b0e6c57bd9b78a62d20e4f))
563563   ROM_LOAD("charrom.bin",   0x11000, 0x1000, CRC(1f9fcee4) SHA1(e57ac94e03638075dde68a0a8c834a4f84ba47b0))
564564   ROM_RELOAD( 0x17000, 0x1000 )
r4347r4348
576576
577577static Z80BIN_EXECUTE( mbee )
578578{
579   const device_config *cpu = cputag_get_cpu(machine, "main");
580   const address_space *space = cputag_get_address_space(machine, "main", ADDRESS_SPACE_PROGRAM);
579   const device_config *cpu = cputag_get_cpu(machine, "maincpu");
580   const address_space *space = cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM);
581581
582582   memory_write_word_16le(space, 0xa6, execute_address);         /* fix the EXEC command */
583583
r4347r4348
594594
595595static QUICKLOAD_LOAD( mbee )
596596{
597   const device_config *cpu = cputag_get_cpu(image->machine, "main");
598   const address_space *space = cputag_get_address_space(image->machine, "main", ADDRESS_SPACE_PROGRAM);
597   const device_config *cpu = cputag_get_cpu(image->machine, "maincpu");
598   const address_space *space = cputag_get_address_space(image->machine, "maincpu", ADDRESS_SPACE_PROGRAM);
599599   UINT16 i, j;
600600   UINT8 data, sw = input_port_read(image->machine, "CONFIG") & 1;   /* reading the dipswitch: 1 = autorun */
601601
src/mess/drivers/pentagon.c
r4347r4348
2222         ROMSelection = ((spectrum_128_port_7ffd_data>>4) & 0x01) ? 1 : 0;
2323         betadisk_disable();
2424         memory_install_write8_handler(space, 0x0000, 0x3fff, 0, 0, SMH_UNMAP);
25         memory_set_bankptr(space->machine, 1, memory_region(space->machine, "main") + 0x010000 + (ROMSelection<<14));
25         memory_set_bankptr(space->machine, 1, memory_region(space->machine, "maincpu") + 0x010000 + (ROMSelection<<14));
2626      }   
2727   } else if (((pc & 0xff00) == 0x3d00) && (ROMSelection==1))
2828   {
r4347r4348
3232   }
3333   if((address>=0x0000) && (address<=0x3fff)) {
3434      memory_install_write8_handler(space, 0x0000, 0x3fff, 0, 0, SMH_UNMAP);
35      direct->raw = direct->decrypted =  memory_region(space->machine, "main") + 0x010000 + (ROMSelection<<14);
35      direct->raw = direct->decrypted =  memory_region(space->machine, "maincpu") + 0x010000 + (ROMSelection<<14);
3636      memory_set_bankptr(space->machine, 1, direct->raw);
3737      return ~0;
3838   }
r4347r4348
5555      ROMSelection = ((spectrum_128_port_7ffd_data>>4) & 0x01) ;
5656   }
5757   /* rom 0 is 128K rom, rom 1 is 48 BASIC */
58   memory_set_bankptr(machine, 1, memory_region(machine, "main") + 0x010000 + (ROMSelection<<14));
58   memory_set_bankptr(machine, 1, memory_region(machine, "maincpu") + 0x010000 + (ROMSelection<<14));
5959}
6060
6161static WRITE8_HANDLER(pentagon_port_7ffd_w)
r4347r4348
111111
112112static MACHINE_DRIVER_START( pentagon )
113113   MDRV_IMPORT_FROM( spectrum_128 )
114   MDRV_CPU_MODIFY("main")
114   MDRV_CPU_MODIFY("maincpu")
115115   MDRV_CPU_IO_MAP(pentagon_io, 0)
116116   MDRV_MACHINE_RESET( pentagon )
117117     
r4347r4348
127127***************************************************************************/
128128
129129ROM_START(pentagon)
130   ROM_REGION(0x020000, "main", 0)
130   ROM_REGION(0x020000, "maincpu", 0)
131131   ROM_LOAD("128p-0.rom", 0x010000, 0x4000, CRC(124ad9e0) SHA1(d07fcdeca892ee80494d286ea9ea5bf3928a1aca) )
132132   ROM_LOAD("128p-1.rom", 0x014000, 0x4000, CRC(b96a36be) SHA1(80080644289ed93d71a1103992a154cc9802b2fa) )
133133   ROM_LOAD("gluck.rom",  0x018000, 0x4000, CRC(ca321d79) SHA1(015eb96dafb273d4f4512c467e9b43c305fd1bc4) )
src/mess/drivers/pokemini.c
r4347r4348
5454
5555static MACHINE_DRIVER_START( pokemini )
5656   /* basic machine hardware */
57   MDRV_CPU_ADD( "main", MINX, 4000000 )
57   MDRV_CPU_ADD( "maincpu", MINX, 4000000 )
5858   MDRV_CPU_PROGRAM_MAP( pokemini_mem_map, 0 )
5959
6060   MDRV_QUANTUM_TIME(HZ(60))
r4347r4348
9898}
9999
100100ROM_START( pokemini )
101   ROM_REGION( 0x200000, "main", 0 )
101   ROM_REGION( 0x200000, "maincpu", 0 )
102102   ROM_LOAD( "bios.min", 0x0000, 0x1000, CRC(aed3c14d) SHA1(daad4113713ed776fbd47727762bca81ba74915f) )
103103ROM_END
104104
src/mess/drivers/coco.c
r4347r4348
6464   AM_RANGE(0xff90, 0xffbf) AM_NOP
6565   AM_RANGE(0xffc0, 0xffdf) AM_DEVWRITE(SAM6883, "sam", sam6883_w)
6666   AM_RANGE(0xffe0, 0xffef) AM_NOP
67   AM_RANGE(0xfff0, 0xffff) AM_ROM AM_REGION("main", 0x3ff0)
67   AM_RANGE(0xfff0, 0xffff) AM_ROM AM_REGION("maincpu", 0x3ff0)
6868ADDRESS_MAP_END
6969
7070
r4347r4348
9191   AM_RANGE(0xff90, 0xffbf) AM_NOP
9292   AM_RANGE(0xffc0, 0xffdf) AM_DEVWRITE(SAM6883, "sam", sam6883_w)
9393   AM_RANGE(0xffe0, 0xffef) AM_NOP
94   AM_RANGE(0xfff0, 0xffff) AM_ROM AM_REGION("main", 0x3ff0)
94   AM_RANGE(0xfff0, 0xffff) AM_ROM AM_REGION("maincpu", 0x3ff0)
9595ADDRESS_MAP_END
9696
9797
r4347r4348
122122   AM_RANGE(0xffb0, 0xffbf) AM_READWRITE(SMH_BANK10,         coco3_palette_w)
123123   AM_RANGE(0xffc0, 0xffdf) AM_DEVWRITE(SAM6883_GIME, "sam", sam6883_w)
124124   AM_RANGE(0xffe0, 0xffef) AM_NOP
125   AM_RANGE(0xfff0, 0xffff) AM_ROM AM_REGION("main", 0x7ff0)
125   AM_RANGE(0xfff0, 0xffff) AM_ROM AM_REGION("maincpu", 0x7ff0)
126126ADDRESS_MAP_END
127127
128128
r4347r4348
151151   AM_RANGE(0xff90, 0xffbf) AM_NOP
152152   AM_RANGE(0xffc0, 0xffdf) AM_DEVWRITE(SAM6883, "sam", sam6883_w)
153153   AM_RANGE(0xffe0, 0xffef) AM_NOP
154   AM_RANGE(0xfff0, 0xffff) AM_ROM AM_REGION("main", 0x3ff0)
154   AM_RANGE(0xfff0, 0xffff) AM_ROM AM_REGION("maincpu", 0x3ff0)
155155ADDRESS_MAP_END
156156
157157/*
r4347r4348
187187   AM_RANGE(0xffe0, 0xffe1) AM_NOP
188188   AM_RANGE(0xffe2, 0xffe2) AM_READWRITE(plus_reg_r,plus_reg_w)   /* Dragon plus control / status reg */
189189   AM_RANGE(0xffe3, 0xffef) AM_NOP
190   AM_RANGE(0xfff0, 0xffff) AM_ROM AM_REGION("main", 0x3ff0)
190   AM_RANGE(0xfff0, 0xffff) AM_ROM AM_REGION("maincpu", 0x3ff0)
191191ADDRESS_MAP_END
192192
193193/*
r4347r4348
648648{
649649   AY8910_LEGACY_OUTPUT,
650650   AY8910_DEFAULT_LOADS,
651   DEVCB_MEMORY_HANDLER("main", PROGRAM, dgnalpha_psg_porta_read),   /* portA read */
651   DEVCB_MEMORY_HANDLER("maincpu", PROGRAM, dgnalpha_psg_porta_read),   /* portA read */
652652   DEVCB_NULL,                   /* portB read */
653   DEVCB_MEMORY_HANDLER("main", PROGRAM, dgnalpha_psg_porta_write),   /* portA write */
653   DEVCB_MEMORY_HANDLER("maincpu", PROGRAM, dgnalpha_psg_porta_write),   /* portA write */
654654   DEVCB_NULL                  /* portB write */
655655};
656656
r4347r4348
672672
673673static MACHINE_DRIVER_START( dragon32 )
674674   /* basic machine hardware */
675   MDRV_CPU_ADD("main", M6809E, COCO_CPU_SPEED_HZ * 4)        /* 0,894886 MHz */
675   MDRV_CPU_ADD("maincpu", M6809E, COCO_CPU_SPEED_HZ * 4)        /* 0,894886 MHz */
676676   MDRV_CPU_PROGRAM_MAP(dragon_map, 0)
677677   MDRV_SCREEN_ADD("screen", RASTER)
678678   MDRV_SCREEN_REFRESH_RATE(M6847_PAL_FRAMES_PER_SECOND)
r4347r4348
708708
709709static MACHINE_DRIVER_START( dragon64 )
710710   /* basic machine hardware */
711   MDRV_CPU_ADD("main", M6809E, COCO_CPU_SPEED_HZ * 4)        /* 0,894886 MHz */
711   MDRV_CPU_ADD("maincpu", M6809E, COCO_CPU_SPEED_HZ * 4)        /* 0,894886 MHz */
712712   MDRV_CPU_PROGRAM_MAP(d64_map, 0)
713713
714714   MDRV_MACHINE_START( dragon64 )
r4347r4348
748748
749749static MACHINE_DRIVER_START( d64plus )
750750   /* basic machine hardware */
751   MDRV_CPU_ADD("main", M6809E, COCO_CPU_SPEED_HZ * 4)        /* 0,894886 MHz */
751   MDRV_CPU_ADD("maincpu", M6809E, COCO_CPU_SPEED_HZ * 4)        /* 0,894886 MHz */
752752   MDRV_CPU_PROGRAM_MAP(d64_plus_map, 0)
753753
754754   MDRV_MACHINE_START( dragon64 )
r4347r4348
788788
789789static MACHINE_DRIVER_START( dgnalpha )
790790   /* basic machine hardware */
791   MDRV_CPU_ADD("main", M6809E, COCO_CPU_SPEED_HZ * 4)        /* 0,894886 MHz */
791   MDRV_CPU_ADD("maincpu", M6809E, COCO_CPU_SPEED_HZ * 4)        /* 0,894886 MHz */
792792   MDRV_CPU_PROGRAM_MAP(dgnalpha_map, 0)
793793
794794   MDRV_MACHINE_START( dgnalpha )
r4347r4348
834834
835835static MACHINE_DRIVER_START( tanodr64 )
836836   /* basic machine hardware */
837   MDRV_CPU_ADD("main", M6809E, COCO_CPU_SPEED_HZ * 4)        /* 0,894886 MHz */
837   MDRV_CPU_ADD("maincpu", M6809E, COCO_CPU_SPEED_HZ * 4)        /* 0,894886 MHz */
838838   MDRV_CPU_PROGRAM_MAP(d64_map, 0)
839839
840840   MDRV_MACHINE_START( tanodr64 )
r4347r4348
874874
875875static MACHINE_DRIVER_START( coco )
876876   /* basic machine hardware */
877   MDRV_CPU_ADD("main", M6809E, COCO_CPU_SPEED_HZ * 4)        /* 0,894886 MHz */
877   MDRV_CPU_ADD("maincpu", M6809E, COCO_CPU_SPEED_HZ * 4)        /* 0,894886 MHz */
878878   MDRV_CPU_PROGRAM_MAP(coco_map, 0)
879879
880880   MDRV_MACHINE_START( coco )
r4347r4348
912912
913913static MACHINE_DRIVER_START( coco2 )
914914   /* basic machine hardware */
915   MDRV_CPU_ADD("main", M6809E, COCO_CPU_SPEED_HZ * 4)        /* 0,894886 MHz */
915   MDRV_CPU_ADD("maincpu", M6809E, COCO_CPU_SPEED_HZ * 4)        /* 0,894886 MHz */
916916   MDRV_CPU_PROGRAM_MAP(coco_map, 0)
917917
918918   MDRV_MACHINE_START( coco2 )
r4347r4348
950950
951951static MACHINE_DRIVER_START( coco2b )
952952   /* basic machine hardware */
953   MDRV_CPU_ADD("main", M6809E, COCO_CPU_SPEED_HZ * 4)        /* 0,894886 MHz */
953   MDRV_CPU_ADD("maincpu", M6809E, COCO_CPU_SPEED_HZ * 4)        /* 0,894886 MHz */
954954   MDRV_CPU_PROGRAM_MAP(coco_map, 0)
955955
956956   MDRV_MACHINE_START( coco2 )
r4347r4348
988988
989989static MACHINE_DRIVER_START( coco3 )
990990   /* basic machine hardware */
991   MDRV_CPU_ADD("main", M6809E, COCO_CPU_SPEED_HZ * 4)        /* 0,894886 MHz */
991   MDRV_CPU_ADD("maincpu", M6809E, COCO_CPU_SPEED_HZ * 4)        /* 0,894886 MHz */
992992   MDRV_CPU_PROGRAM_MAP(coco3_map, 0)
993993
994994   MDRV_MACHINE_START( coco3 )
r4347r4348
10501050
10511051static MACHINE_DRIVER_START( coco3h )
10521052   MDRV_IMPORT_FROM( coco3 )
1053   MDRV_CPU_REPLACE( "main", HD6309, COCO_CPU_SPEED_HZ)
1053   MDRV_CPU_REPLACE( "maincpu", HD6309, COCO_CPU_SPEED_HZ)
10541054MACHINE_DRIVER_END
10551055
10561056/***************************************************************************
r4347r4348
10601060***************************************************************************/
10611061
10621062ROM_START(dragon32)
1063   ROM_REGION(0xC000, "main",0)
1063   ROM_REGION(0xC000, "maincpu",0)
10641064   ROM_LOAD(           "d32.rom",      0x0000,  0x4000, CRC(e3879310) SHA1(f2dab125673e653995a83bf6b793e3390ec7f65a))
10651065
10661066   ROM_REGION(0x4000,"cart",0)
r4347r4348
10691069ROM_END
10701070
10711071ROM_START(dragon64)
1072   ROM_REGION(0x10000,"main",0)
1072   ROM_REGION(0x10000,"maincpu",0)
10731073   ROM_LOAD(           "d64_1.rom",    0x0000,  0x4000, CRC(60a4634c) SHA1(f119506eaa3b4b70b9aa0dd83761e8cbe043d042))
10741074   ROM_LOAD(           "d64_2.rom",    0x8000,  0x4000, CRC(17893a42) SHA1(e3c8986bb1d44269c4587b04f1ca27a70b0aaa2e))
10751075
r4347r4348
10791079ROM_END
10801080
10811081ROM_START(d64plus)
1082   ROM_REGION(0x10000,"main",0)
1082   ROM_REGION(0x10000,"maincpu",0)
10831083   ROM_LOAD(           "d64_1.rom",    0x0000,  0x4000, CRC(60a4634c) SHA1(f119506eaa3b4b70b9aa0dd83761e8cbe043d042))
10841084   ROM_LOAD(           "d64_2.rom",    0x8000,  0x4000, CRC(17893a42) SHA1(e3c8986bb1d44269c4587b04f1ca27a70b0aaa2e))
10851085
r4347r4348
10891089ROM_END
10901090
10911091ROM_START(tanodr64)
1092   ROM_REGION(0x10000,"main",0)
1092   ROM_REGION(0x10000,"maincpu",0)
10931093   ROM_LOAD(           "d64_1.rom",    0x0000,  0x4000, CRC(60a4634c) SHA1(f119506eaa3b4b70b9aa0dd83761e8cbe043d042))
10941094   ROM_LOAD(           "d64_2.rom",    0x8000,  0x4000, CRC(17893a42) SHA1(e3c8986bb1d44269c4587b04f1ca27a70b0aaa2e))
10951095
r4347r4348
10991099ROM_END
11001100
11011101ROM_START(dgnalpha)
1102   ROM_REGION(0xC000,"main",1)
1102   ROM_REGION(0xC000,"maincpu",1)
11031103   ROM_LOAD(           "alpha_bt.rom",    0x2000,  0x2000, CRC(c3dab585) SHA1(4a5851aa66eb426e9bb0bba196f1e02d48156068))
11041104   ROM_LOAD(           "alpha_ba.rom",    0x8000,  0x4000, CRC(84f68bf9) SHA1(1983b4fb398e3dd9668d424c666c5a0b3f1e2b69))
11051105
r4347r4348
11101110ROM_END
11111111
11121112ROM_START(coco)
1113   ROM_REGION(0x8000,"main",0)
1113   ROM_REGION(0x8000,"maincpu",0)
11141114   ROM_LOAD(         "bas10.rom",   0x2000, 0x2000, CRC(00b50aaa) SHA1(1f08455cd48ce6a06132aea15c4778f264e19539))
11151115
11161116   ROM_REGION(0x4000,"cart",0)
r4347r4348
11191119ROM_END
11201120
11211121ROM_START(cocoe)
1122   ROM_REGION(0x8000,"main",0)
1122   ROM_REGION(0x8000,"maincpu",0)
11231123   ROM_LOAD(         "bas11.rom",   0x2000, 0x2000, CRC(6270955a) SHA1(cecb7c24ff1e0ab5836e4a7a8eb1b8e01f1fded3))
11241124   ROM_LOAD(           "extbas10.rom",   0x0000, 0x2000, CRC(6111a086) SHA1(8aa58f2eb3e8bcfd5470e3e35e2b359e9a72848e))
11251125
r4347r4348
11291129ROM_END
11301130
11311131ROM_START(coco2)
1132   ROM_REGION(0x8000,"main",0)
1132   ROM_REGION(0x8000,"maincpu",0)
11331133   ROM_LOAD(         "bas12.rom",   0x2000, 0x2000, CRC(54368805) SHA1(0f14dc46c647510eb0b7bd3f53e33da07907d04f))
11341134   ROM_LOAD(         "extbas11.rom",   0x0000, 0x2000, CRC(a82a6254) SHA1(ad927fb4f30746d820cb8b860ebb585e7f095dea))
11351135
r4347r4348
11391139ROM_END
11401140
11411141ROM_START(coco2b)
1142   ROM_REGION(0x8000,"main",0)
1142   ROM_REGION(0x8000,"maincpu",0)
11431143   ROM_LOAD(         "bas13.rom",   0x2000, 0x2000, CRC(d8f4d15e) SHA1(28b92bebe35fa4f026a084416d6ea3b1552b63d3))
11441144   ROM_LOAD(         "extbas11.rom",   0x0000, 0x2000, CRC(a82a6254) SHA1(ad927fb4f30746d820cb8b860ebb585e7f095dea))
11451145
r4347r4348
11491149ROM_END
11501150
11511151ROM_START(coco3)
1152   ROM_REGION(0x8000,"main",0)
1152   ROM_REGION(0x8000,"maincpu",0)
11531153   ROM_LOAD(         "coco3.rom",   0x0000, 0x8000, CRC(b4c88d6c) SHA1(e0d82953fb6fd03768604933df1ce8bc51fc427d))
11541154
11551155   ROM_REGION(0x8000,"cart",0)
r4347r4348
11611161ROM_END
11621162
11631163ROM_START(coco3p)
1164   ROM_REGION(0x8000,"main",0)
1164   ROM_REGION(0x8000,"maincpu",0)
11651165   ROM_LOAD(         "coco3p.rom",   0x0000, 0x8000, CRC(ff050d80) SHA1(631e383068b1f52a8f419f4114b69501b21cf379))
11661166
11671167   ROM_REGION(0x8000,"cart",0)
r4347r4348
11731173ROM_END
11741174
11751175ROM_START(cp400)
1176   ROM_REGION(0x8000,"main",0)
1176   ROM_REGION(0x8000,"maincpu",0)
11771177   ROM_LOAD("cp400bas.rom",  0x0000, 0x4000, CRC(878396a5) SHA1(292c545da3c77978e043b00a3dbc317201d18c3b))
11781178
11791179   ROM_REGION(0x4000,"cart",0)
src/mess/drivers/nes.c
r4347r4348
163163
164164static const nes_interface nes_apu_interface =
165165{
166   "main"
166   "maincpu"
167167};
168168
169169
170170ROM_START( nes )
171    ROM_REGION( 0x10000, "main",0 )  /* Main RAM + program banks */
171    ROM_REGION( 0x10000, "maincpu",0 )  /* Main RAM + program banks */
172172   ROM_FILL( 0x0000, 0x10000, 0x00 )
173173    ROM_REGION( 0x2000,  "gfx1",0 )  /* VROM */
174174   ROM_FILL( 0x0000, 0x2000, 0x00 )
r4347r4348
179179ROM_END
180180
181181ROM_START( nespal )
182    ROM_REGION( 0x10000, "main",0 )  /* Main RAM + program banks */
182    ROM_REGION( 0x10000, "maincpu",0 )  /* Main RAM + program banks */
183183   ROM_FILL( 0x0000, 0x10000, 0x00 )
184184    ROM_REGION( 0x2000,  "gfx1",0 )  /* VROM */
185185   ROM_FILL( 0x0000, 0x2000, 0x00 )
r4347r4348
190190ROM_END
191191
192192ROM_START( famicom )
193    ROM_REGION( 0x10000, "main",0 )  /* Main RAM + program banks */
193    ROM_REGION( 0x10000, "maincpu",0 )  /* Main RAM + program banks */
194194    ROM_LOAD_OPTIONAL ("disksys.rom", 0xe000, 0x2000, CRC(5e607dcf) SHA1(57fe1bdee955bb48d357e463ccbf129496930b62))
195195
196196    ROM_REGION( 0x2000,  "gfx1",0 )  /* VROM */
r4347r4348
202202ROM_END
203203
204204ROM_START( famitwin )
205    ROM_REGION( 0x10000, "main",0 )  /* Main RAM + program banks */
205    ROM_REGION( 0x10000, "maincpu",0 )  /* Main RAM + program banks */
206206    ROM_LOAD_OPTIONAL ("disksyst.rom", 0xe000, 0x2000, CRC(4df24a6c) SHA1(e4e41472c454f928e53eb10e0509bf7d1146ecc1))
207207
208208    ROM_REGION( 0x2000,  "gfx1",0 )  /* VROM */
r4347r4348
215215
216216static MACHINE_DRIVER_START( nes )
217217   /* basic machine hardware */
218   MDRV_CPU_ADD("main", N2A03, NTSC_CLOCK)
218   MDRV_CPU_ADD("maincpu", N2A03, NTSC_CLOCK)
219219   MDRV_CPU_PROGRAM_MAP(nes_map, 0)
220220   MDRV_SCREEN_ADD("screen", RASTER)
221221   MDRV_SCREEN_REFRESH_RATE(60.098)
r4347r4348
254254   MDRV_IMPORT_FROM( nes )
255255
256256   /* basic machine hardware */
257   MDRV_CPU_REPLACE("main", N2A03, PAL_CLOCK)
257   MDRV_CPU_REPLACE("maincpu", N2A03, PAL_CLOCK)
258258
259259   /* video hardware */
260260   MDRV_SCREEN_MODIFY("screen")
src/mess/drivers/ti99_8.c
r4347r4348
426426static MACHINE_DRIVER_START(ti99_8_60hz)
427427   /* basic machine hardware */
428428   /* TMS9995-MP9537 CPU @ 10.7 MHz */
429   MDRV_CPU_ADD("main", TMS9995, 10738635)
429   MDRV_CPU_ADD("maincpu", TMS9995, 10738635)
430430   MDRV_CPU_CONFIG(ti99_8_processor_config)
431431   MDRV_CPU_PROGRAM_MAP(ti99_8_memmap, 0)
432432   MDRV_CPU_IO_MAP(ti99_8_readcru, ti99_8_writecru)
r4347r4348
472472static MACHINE_DRIVER_START(ti99_8_50hz)
473473   /* basic machine hardware */
474474   /* TMS9995-MP9537 CPU @ 10.7 MHz */
475   MDRV_CPU_ADD("main", TMS9995, 10738635)
475   MDRV_CPU_ADD("maincpu", TMS9995, 10738635)
476476   MDRV_CPU_CONFIG(ti99_8_processor_config)
477477   MDRV_CPU_PROGRAM_MAP(ti99_8_memmap, 0)
478478   MDRV_CPU_IO_MAP(ti99_8_readcru, ti99_8_writecru)
r4347r4348
519519*/
520520ROM_START(ti99_8)
521521   /*CPU memory space*/
522   ROM_REGION(region_cpu1_len_8,"main",0)
522   ROM_REGION(region_cpu1_len_8,"maincpu",0)
523523   ROM_LOAD("998rom.bin", 0x0000, 0x8000, NO_DUMP)      /* system ROMs */
524524
525525   /*GROM memory space*/
src/mess/drivers/pocketc.c
r4347r4348
721721
722722static MACHINE_DRIVER_START( pc1401 )
723723   /* basic machine hardware */
724   MDRV_CPU_ADD("main", SC61860, 192000)        /* 7.8336 MHz */
724   MDRV_CPU_ADD("maincpu", SC61860, 192000)        /* 7.8336 MHz */
725725   MDRV_CPU_PROGRAM_MAP(pc1401_mem, 0)
726726   MDRV_CPU_CONFIG(config)
727727
r4347r4348
765765
766766static MACHINE_DRIVER_START( pc1251 )
767767   MDRV_IMPORT_FROM( pc1401 )
768   MDRV_CPU_MODIFY( "main" )
768   MDRV_CPU_MODIFY( "maincpu" )
769769   MDRV_CPU_PROGRAM_MAP( pc1251_mem, 0 )
770770   MDRV_CPU_CONFIG( pc1251_config )
771771
r4347r4348
793793
794794static MACHINE_DRIVER_START( pc1350 )
795795   MDRV_IMPORT_FROM( pc1401 )
796   MDRV_CPU_MODIFY( "main" )
796   MDRV_CPU_MODIFY( "maincpu" )
797797   MDRV_CPU_PROGRAM_MAP( pc1350_mem, 0 )
798798   MDRV_CPU_CONFIG( pc1350_config )
799799
r4347r4348
823823
824824static MACHINE_DRIVER_START( pc1403 )
825825   MDRV_IMPORT_FROM( pc1401 )
826   MDRV_CPU_REPLACE( "main", SC61860, 256000 )
826   MDRV_CPU_REPLACE( "maincpu", SC61860, 256000 )
827827   MDRV_CPU_PROGRAM_MAP( pc1403_mem, 0 )
828828   MDRV_CPU_CONFIG( pc1403_config )
829829
r4347r4348
846846
847847
848848ROM_START(pc1401)
849   ROM_REGION(0x10000,"main",0)
849   ROM_REGION(0x10000,"maincpu",0)
850850   /* SC61860A08 5H 13LD cpu with integrated rom*/
851851   ROM_LOAD("sc61860.a08", 0x0000, 0x2000, CRC(44bee438) SHA1(c5106bc8d848be1b49494ace30a26eeb1cc5e504))
852852/* 5S1 SC613256 D30
r4347r4348
858858#define rom_pc1402 rom_pc1401
859859
860860ROM_START(pc1251)
861   ROM_REGION(0x10000,"main",0)
861   ROM_REGION(0x10000,"maincpu",0)
862862   /* sc61860a13 6c 13 ld */
863863   ROM_LOAD("cpu1251.rom", 0x0000, 0x2000, CRC(f7287aca) SHA1(19bfa778e3e05ea06bdca15cd9dfbba9b971340e))
864864   ROM_LOAD("bas1251.rom", 0x4000, 0x4000, CRC(93ecb629) SHA1(0fe0ad419053ee7814600b0be320dd2e8eb2ec92))
r4347r4348
868868#define rom_trs80pc3 rom_pc1251
869869
870870ROM_START(pc1350)
871   ROM_REGION(0x10000,"main",0)
871   ROM_REGION(0x10000,"maincpu",0)
872872   /* sc61860a13 6c 13 ld */
873873   ROM_LOAD("cpu.rom", 0x0000, 0x2000, CRC(79a924bc) SHA1(2eaef0d53d85863ca70a41c8e1eddc5915136b99))
874874   ROM_LOAD("basic.rom", 0x8000, 0x8000, CRC(158b28e2) SHA1(b63b37dd510b3c4d9f16d224f87ae2efb3bcc51f))
r4347r4348
876876ROM_END
877877
878878ROM_START(pc1403)
879   ROM_REGION(0x10000,"main",0)
879   ROM_REGION(0x10000,"maincpu",0)
880880    ROM_LOAD("introm.bin", 0x0000, 0x2000, CRC(588c500b) SHA1(2fed9ebede27e20a8ee4b4b03b9f8cd7808ada5c))
881881   ROM_REGION(0x10000,"user1",0)
882882    ROM_LOAD("extrom08.bin", 0x0000, 0x4000, CRC(1fa65140) SHA1(f22a9f114486f69733fc43dfec26fb210643aeff))
src/mess/drivers/mk1.c
r4347r4348
177177
178178static MACHINE_DRIVER_START( mk1 )
179179   /* basic machine hardware */
180   MDRV_CPU_ADD( "main", F8, MAIN_CLOCK )        /* MK3850 */
180   MDRV_CPU_ADD( "maincpu", F8, MAIN_CLOCK )        /* MK3850 */
181181   MDRV_CPU_PROGRAM_MAP( mk1_mem, 0 )
182182   MDRV_CPU_IO_MAP( mk1_io, 0 )
183183   MDRV_QUANTUM_TIME(HZ(60))
r4347r4348
192192
193193
194194ROM_START( mk1 )
195   ROM_REGION(0x10000,"main",0)
195   ROM_REGION(0x10000,"maincpu",0)
196196   ROM_LOAD("82c210-1", 0x0000, 0x800, CRC(278f7bf3) SHA1(b384c95ba691d52dfdddd35987a71e9746a46170))
197197ROM_END
198198
src/mess/drivers/gb.c
r4347r4348
549549
550550static MACHINE_DRIVER_START( gameboy )
551551   /* basic machine hardware */
552   MDRV_CPU_ADD("main", LR35902, 4194304)         /* 4.194304 MHz */
552   MDRV_CPU_ADD("maincpu", LR35902, 4194304)         /* 4.194304 MHz */
553553   MDRV_CPU_PROGRAM_MAP(gb_map, 0)
554554   MDRV_CPU_CONFIG(dmg_cpu_reset)
555555   MDRV_CPU_VBLANK_INT("screen", gb_scanline_interrupt)   /* 1 dummy int each frame */
r4347r4348
589589
590590static MACHINE_DRIVER_START( supergb )
591591   MDRV_IMPORT_FROM(gameboy)
592   MDRV_CPU_REPLACE("main", LR35902, 4295454)   /* 4.295454 MHz */
592   MDRV_CPU_REPLACE("maincpu", LR35902, 4295454)   /* 4.295454 MHz */
593593   MDRV_CPU_PROGRAM_MAP(sgb_map, 0)
594594
595   MDRV_CPU_MODIFY("main")
595   MDRV_CPU_MODIFY("maincpu")
596596   MDRV_CPU_CONFIG(sgb_cpu_reset)
597597
598598   MDRV_MACHINE_RESET( sgb )
r4347r4348
611611
612612static MACHINE_DRIVER_START( gbpocket )
613613   MDRV_IMPORT_FROM(gameboy)
614   MDRV_CPU_MODIFY("main")
614   MDRV_CPU_MODIFY("maincpu")
615615   MDRV_CPU_CONFIG(mgb_cpu_reset)
616616   MDRV_MACHINE_RESET( gbpocket )
617617   MDRV_PALETTE_INIT(gbp)
r4347r4348
622622
623623static MACHINE_DRIVER_START( gbcolor )
624624   MDRV_IMPORT_FROM(gameboy)
625   MDRV_CPU_MODIFY("main")
625   MDRV_CPU_MODIFY("maincpu")
626626   MDRV_CPU_PROGRAM_MAP( gbc_map, 0 )
627627   MDRV_CPU_CONFIG(cgb_cpu_reset)
628628
r4347r4348
641641
642642static MACHINE_DRIVER_START( megaduck )
643643   /* basic machine hardware */
644   MDRV_CPU_ADD("main", LR35902, 4194304)         /* 4.194304 MHz */
644   MDRV_CPU_ADD("maincpu", LR35902, 4194304)         /* 4.194304 MHz */
645645   MDRV_CPU_PROGRAM_MAP( megaduck_map, 0 )
646646   MDRV_CPU_VBLANK_INT("screen", gb_scanline_interrupt)   /* 1 int each scanline ! */
647647   MDRV_CPU_CONFIG(megaduck_cpu_reset)
r4347r4348
682682***************************************************************************/
683683
684684ROM_START( gameboy )
685   ROM_REGION( 0x0100, "main", 0 )
685   ROM_REGION( 0x0100, "maincpu", 0 )
686686   ROM_LOAD( "dmg_boot.bin", 0x0000, 0x0100, CRC(59c8598e) SHA1(4ed31ec6b0b175bb109c0eb5fd3d193da823339f) )
687687ROM_END
688688
689689ROM_START( supergb )
690   ROM_REGION( 0x10000, "main", ROMREGION_ERASEFF )
690   ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
691691/*  ROM_LOAD( "sgb_boot.bin", 0x0000, 0x0100, NO_DUMP ) */
692692ROM_END
693693
694694ROM_START( gbpocket )
695   ROM_REGION( 0x10000, "main", ROMREGION_ERASEFF )
695   ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
696696/*  ROM_LOAD( "gbp_boot.bin", 0x0000, 0x0100, NO_DUMP ) */
697697ROM_END
698698
699699ROM_START( gbcolor )
700   ROM_REGION( 0x10000, "main", ROMREGION_ERASEFF )
700   ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
701701/*  ROM_LOAD( "gbc_boot.bin", 0x0000, 0x0100, NO_DUMP ) */
702702ROM_END
703703
704704
705705ROM_START( megaduck )
706   ROM_REGION( 0x10000, "main", ROMREGION_ERASEFF )
706   ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
707707ROM_END
708708
709709/*    YEAR  NAME      PARENT   COMPAT   MACHINE   INPUT    INIT  CONFIG   COMPANY     FULLNAME */
src/mess/drivers/palm.c
r4347r4348
177177static MACHINE_DRIVER_START( palm )
178178
179179    /* basic machine hardware */
180    MDRV_CPU_ADD( "main", M68000, 32768*506 )        /* 16.580608 MHz */
180    MDRV_CPU_ADD( "maincpu", M68000, 32768*506 )        /* 16.580608 MHz */
181181    MDRV_CPU_PROGRAM_MAP( palm_map, 0 )
182    MDRV_SCREEN_ADD( "main", RASTER )
182    MDRV_SCREEN_ADD( "maincpu", RASTER )
183183    MDRV_SCREEN_REFRESH_RATE( 60 )
184184    MDRV_SCREEN_VBLANK_TIME( ATTOSECONDS_IN_USEC(1260) )
185185    MDRV_QUANTUM_TIME( HZ(60) )
src/mess/drivers/z88.c
r4347r4348
184184
185185   /* special case */
186186   if (read_addr == NULL)
187      read_addr = &memory_region(machine, "main")[start];
187      read_addr = &memory_region(machine, "maincpu")[start];
188188
189189   /* determine the proper pointers to use */
190190   read_handler  = (read_addr != NULL)  ? (read8_space_func)  (STATIC_BANK1 + (FPTR)(bank_base - 1 + 0)) : SMH_UNMAP;
r4347r4348
254254      }
255255      else
256256      {
257         read_addr = memory_region(machine, "main") + 0x010000 + (block << 14);
257         read_addr = memory_region(machine, "maincpu") + 0x010000 + (block << 14);
258258         write_addr = NULL;
259259      }
260260   }
r4347r4348
270270      if ((z88_blink.com & (1<<2))==0)
271271      {
272272         /* yes */
273         read_addr = memory_region(machine, "main") + 0x010000;
273         read_addr = memory_region(machine, "maincpu") + 0x010000;
274274         write_addr = NULL;
275275      }
276276      else
r4347r4348
726726
727727static MACHINE_DRIVER_START( z88 )
728728   /* basic machine hardware */
729   MDRV_CPU_ADD("main", Z80, 3276800)
729   MDRV_CPU_ADD("maincpu", Z80, 3276800)
730730   MDRV_CPU_PROGRAM_MAP(z88_mem, 0)
731731   MDRV_CPU_IO_MAP(z88_io, 0)
732732   MDRV_QUANTUM_TIME(HZ(60))
r4347r4348
760760***************************************************************************/
761761
762762ROM_START(z88)
763    ROM_REGION(((64*1024)+(128*1024)), "main",0)
763    ROM_REGION(((64*1024)+(128*1024)), "maincpu",0)
764764    ROM_LOAD("z88v400.rom", 0x010000, 0x020000, CRC(1356d440) SHA1(23c63ceced72d0a9031cba08d2ebc72ca336921d))
765765ROM_END
766766
src/mess/drivers/concept.c
r4347r4348
3838#include "machine/wd17xx.h"
3939
4040static ADDRESS_MAP_START(concept_memmap, ADDRESS_SPACE_PROGRAM, 16)
41   AM_RANGE(0x000000, 0x000007) AM_ROM AM_REGION("main", 0x010000)    /* boot ROM mirror */
41   AM_RANGE(0x000000, 0x000007) AM_ROM AM_REGION("maincpu", 0x010000)    /* boot ROM mirror */
4242   AM_RANGE(0x000008, 0x000fff) AM_RAM                              /* static RAM */
43   AM_RANGE(0x010000, 0x011fff) AM_ROM AM_REGION("main", 0x010000)   /* boot ROM */
43   AM_RANGE(0x010000, 0x011fff) AM_ROM AM_REGION("maincpu", 0x010000)   /* boot ROM */
4444   AM_RANGE(0x020000, 0x021fff) AM_ROM                              /* macsbugs ROM (optional) */
4545   AM_RANGE(0x030000, 0x03ffff) AM_READWRITE(concept_io_r,concept_io_w)   /* I/O space */
4646
r4347r4348
6464/* concept machine */
6565static MACHINE_DRIVER_START( concept )
6666   /* basic machine hardware */
67   MDRV_CPU_ADD("main", M68000, 8182000)        /* 16.364 MHz / 2 */
67   MDRV_CPU_ADD("maincpu", M68000, 8182000)        /* 16.364 MHz / 2 */
6868   MDRV_CPU_PROGRAM_MAP(concept_memmap, 0)
6969   MDRV_CPU_VBLANK_INT("screen", concept_interrupt)
7070
r4347r4348
243243
244244
245245ROM_START( concept )
246   ROM_REGION16_BE(0x100000,"main",0)   /* 68k rom and ram */
246   ROM_REGION16_BE(0x100000,"maincpu",0)   /* 68k rom and ram */
247247
248248   // concept boot ROM
249249#if 0
src/mess/drivers/pcw16.c
r4347r4348
430430      {
431431         /* lower 4 banks are write protected. Use the rom
432432            loaded */
433         mem_ptr = &memory_region(machine, "main")[0x010000];
433         mem_ptr = &memory_region(machine, "maincpu")[0x010000];
434434      }
435435      else
436436      {
r4347r4348
13791379
13801380static const pc_lpt_interface pcw16_lpt_config =
13811381{
1382   DEVCB_CPU_INPUT_LINE("main", 0)
1382   DEVCB_CPU_INPUT_LINE("maincpu", 0)
13831383};
13841384
13851385
13861386static MACHINE_DRIVER_START( pcw16 )
13871387   /* basic machine hardware */
1388   MDRV_CPU_ADD("main", Z80, 16000000)
1388   MDRV_CPU_ADD("maincpu", Z80, 16000000)
13891389   MDRV_CPU_PROGRAM_MAP(pcw16_map, 0)
13901390   MDRV_CPU_IO_MAP(pcw16_io, 0)
13911391   MDRV_QUANTUM_TIME(HZ(60))
r4347r4348
14371437/* the lower 64k of the flash-file memory is write protected. This contains the boot
14381438    rom. The boot rom is also on the OS rescue disc. Handy! */
14391439ROM_START(pcw16)
1440   ROM_REGION((0x010000+524288), "main",0)
1440   ROM_REGION((0x010000+524288), "maincpu",0)
14411441   ROM_LOAD("pcw045.sys",0x10000, 524288, CRC(c642f498) SHA1(8a5c05de92e7b2c5acdfb038217503ad363285b5))
14421442ROM_END
14431443
src/mess/drivers/kim1.c
r4347r4348
324324
325325static MACHINE_DRIVER_START( kim1 )
326326   /* basic machine hardware */
327   MDRV_CPU_ADD("main", M6502, 1000000)        /* 1 MHz */
327   MDRV_CPU_ADD("maincpu", M6502, 1000000)        /* 1 MHz */
328328   MDRV_CPU_PROGRAM_MAP(kim1_map, 0)
329329   MDRV_QUANTUM_TIME(HZ(60))
330330
r4347r4348
348348
349349
350350ROM_START(kim1)
351   ROM_REGION(0x10000,"main",0)
351   ROM_REGION(0x10000,"maincpu",0)
352352   ROM_LOAD("6530-003.bin",    0x1800, 0x0400, CRC(a2a56502) SHA1(60b6e48f35fe4899e29166641bac3e81e3b9d220))
353353   ROM_LOAD("6530-002.bin",    0x1c00, 0x0400, CRC(2b08e923) SHA1(054f7f6989af3a59462ffb0372b6f56f307b5362))
354354ROM_END
src/mess/drivers/ti990_4.c
r4347r4348
8989
9090static WRITE8_HANDLER ( ckon_ckof_callback )
9191{
92   const device_config *maincpu = cputag_get_cpu(space->machine, "main");
92   const device_config *maincpu = cputag_get_cpu(space->machine, "maincpu");
9393   ti990_ckon_ckof_callback(maincpu, (offset & 0x1000) ? 1 : 0);
9494}
9595
r4347r4348
218218static MACHINE_DRIVER_START(ti990_4)
219219   /* basic machine hardware */
220220   /* TMS9900 CPU @ 3.0(???) MHz */
221   MDRV_CPU_ADD("main", TMS9900, 3000000)
221   MDRV_CPU_ADD("maincpu", TMS9900, 3000000)
222222   MDRV_CPU_PROGRAM_MAP(ti990_4_memmap, 0)
223223   MDRV_CPU_IO_MAP(ti990_4_readcru, ti990_4_writecru)
224224   MDRV_CPU_PERIODIC_INT(ti990_4_line_interrupt, 120/*or TIME_IN_HZ(100) in Europe*/)
r4347r4348
270270*/
271271ROM_START(ti990_4)
272272   /*CPU memory space*/
273   ROM_REGION16_BE(0x10000, "main",0)
273   ROM_REGION16_BE(0x10000, "maincpu",0)
274274
275275#if 0
276276   /* ROM set 945121-5: "733 ASR ROM loader with self test (prototyping)"
src/mess/drivers/glasgow.c
r4347r4348
530530
531531static MACHINE_DRIVER_START(glasgow )
532532   /* basic machine hardware */
533   MDRV_CPU_ADD("main", M68000, 12000000)
533   MDRV_CPU_ADD("maincpu", M68000, 12000000)
534534   MDRV_CPU_PROGRAM_MAP(glasgow_mem, 0)
535535   MDRV_MACHINE_START(glasgow)
536536   MDRV_MACHINE_RESET(glasgow)
r4347r4348
548548   MDRV_IMPORT_FROM( glasgow )
549549
550550   /* basic machine hardware */
551   MDRV_CPU_MODIFY("main")
551   MDRV_CPU_MODIFY("maincpu")
552552   MDRV_CPU_PROGRAM_MAP(amsterd_mem, 0)
553553MACHINE_DRIVER_END
554554
r4347r4348
557557   MDRV_IMPORT_FROM( glasgow )
558558
559559   /* basic machine hardware */
560   MDRV_CPU_REPLACE("main", M68020, 14000000)
560   MDRV_CPU_REPLACE("maincpu", M68020, 14000000)
561561   MDRV_CPU_PROGRAM_MAP(dallas32_mem, 0)
562562   MDRV_MACHINE_START( dallas32 )
563563MACHINE_DRIVER_END
r4347r4348
568568***************************************************************************/
569569
570570ROM_START( glasgow )
571   ROM_REGION( 0x10000, "main", 0 )
571   ROM_REGION( 0x10000, "maincpu", 0 )
572572   //ROM_LOAD("glasgow.rom", 0x000000, 0x10000, CRC(3e73eff3) )
573573   ROM_LOAD16_BYTE("me3_3_1u.410",0x00000, 0x04000,CRC(bc8053ba) SHA1(57ea2d5652bfdd77b17d52ab1914de974bd6be12))
574574   ROM_LOAD16_BYTE("me3_1_1l.410",0x00001, 0x04000,CRC(d5263c39) SHA1(1bef1cf3fd96221eb19faecb6ec921e26ac10ac4))
r4347r4348
577577ROM_END
578578
579579ROM_START( amsterd )
580   ROM_REGION16_BE( 0x1000000, "main", 0 )
580   ROM_REGION16_BE( 0x1000000, "maincpu", 0 )
581581   //ROM_LOAD16_BYTE("output.bin", 0x000000, 0x10000, CRC(3e73eff3) )
582582   ROM_LOAD16_BYTE("amsterda-u.bin",0x00000, 0x05a00,CRC(16cefe29) SHA1(9f8c2896e92fbfd47159a59cb5e87706092c86f4))
583583   ROM_LOAD16_BYTE("amsterda-l.bin",0x00001, 0x05a00,CRC(c859dfde) SHA1(b0bca6a8e698c322a8c597608db6735129d6cdf0))
r4347r4348
585585
586586
587587ROM_START( dallas )
588   ROM_REGION16_BE( 0x1000000, "main", 0 )
588   ROM_REGION16_BE( 0x1000000, "maincpu", 0 )
589589   ROM_LOAD16_BYTE("dal_g_pr.dat",0x00000, 0x04000,CRC(66deade9) SHA1(07ec6b923f2f053172737f1fc94aec84f3ea8da1))
590590   ROM_LOAD16_BYTE("dal_g_pl.dat",0x00001, 0x04000,CRC(c5b6171c) SHA1(663167a3839ed7508ecb44fd5a1b2d3d8e466763))
591591   ROM_LOAD16_BYTE("dal_g_br.dat",0x08000, 0x04000,CRC(e24d7ec7) SHA1(a936f6fcbe9bfa49bf455f2d8a8243d1395768c1))
r4347r4348
593593ROM_END
594594
595595ROM_START( dallas16 )
596   ROM_REGION16_BE( 0x1000000, "main", 0 )
596   ROM_REGION16_BE( 0x1000000, "maincpu", 0 )
597597   ROM_LOAD16_BYTE("dallas-u.bin",0x00000, 0x06f00,CRC(8c1462b4) SHA1(8b5f5a774a835446d08dceacac42357b9e74cfe8))
598598   ROM_LOAD16_BYTE("dallas-l.bin",0x00001, 0x06f00,CRC(f0d5bc03) SHA1(4b1b9a71663d5321820b4cf7da205e5fe5d3d001))
599599ROM_END
600600
601601ROM_START( roma )
602   ROM_REGION16_BE( 0x1000000, "main", 0 )
602   ROM_REGION16_BE( 0x1000000, "maincpu", 0 )
603603   ROM_LOAD("roma32.bin", 0x000000, 0x10000, CRC(587d03bf) SHA1(504e9ff958084700076d633f9c306fc7baf64ffd))
604604ROM_END
605605
606606ROM_START( dallas32 )
607   ROM_REGION( 0x10000, "main", 0 )
607   ROM_REGION( 0x10000, "maincpu", 0 )
608608   ROM_LOAD("dallas32.epr", 0x000000, 0x10000, CRC(83b9ff3f) SHA1(97bf4cb3c61f8ec328735b3c98281bba44b30a28) )
609609ROM_END
610610
611611ROM_START( roma32 )
612   ROM_REGION( 0x10000, "main", 0 )
612   ROM_REGION( 0x10000, "maincpu", 0 )
613613   ROM_LOAD("roma32.bin", 0x000000, 0x10000, CRC(587d03bf) SHA1(504e9ff958084700076d633f9c306fc7baf64ffd) )
614614ROM_END
615615
src/mess/drivers/msx.c
r4347r4348
10091009{
10101010   AY8910_LEGACY_OUTPUT,
10111011   AY8910_DEFAULT_LOADS,
1012   DEVCB_MEMORY_HANDLER("main", PROGRAM, msx_psg_port_a_r),
1013   DEVCB_MEMORY_HANDLER("main", PROGRAM, msx_psg_port_b_r),
1014   DEVCB_MEMORY_HANDLER("main", PROGRAM, msx_psg_port_a_w),
1015   DEVCB_MEMORY_HANDLER("main", PROGRAM, msx_psg_port_b_w)
1012   DEVCB_MEMORY_HANDLER("maincpu", PROGRAM, msx_psg_port_a_r),
1013   DEVCB_MEMORY_HANDLER("maincpu", PROGRAM, msx_psg_port_b_r),
1014   DEVCB_MEMORY_HANDLER("maincpu", PROGRAM, msx_psg_port_a_w),
1015   DEVCB_MEMORY_HANDLER("maincpu", PROGRAM, msx_psg_port_b_w)
10161016};
10171017
10181018static VIDEO_START( msx2 )
r4347r4348
10511051
10521052static MACHINE_DRIVER_START( msx )
10531053   /* basic machine hardware */
1054   MDRV_CPU_ADD("main", Z80, 3579545)        /* 3.579545 MHz */
1054   MDRV_CPU_ADD("maincpu", Z80, 3579545)        /* 3.579545 MHz */
10551055   MDRV_CPU_PROGRAM_MAP(readmem,writemem)
10561056   MDRV_CPU_IO_MAP(readport,writeport)
10571057   MDRV_CPU_VBLANK_INT("screen", msx_interrupt)
r4347r4348
11101110
11111111static MACHINE_DRIVER_START( msx2 )
11121112   /* basic machine hardware */
1113   MDRV_CPU_ADD("main", Z80, 3579545)        /* 3.579545 MHz */
1113   MDRV_CPU_ADD("maincpu", Z80, 3579545)        /* 3.579545 MHz */
11141114   MDRV_CPU_PROGRAM_MAP(readmem, writemem)
11151115   MDRV_CPU_IO_MAP(readport2,writeport2)
11161116   MDRV_CPU_VBLANK_INT_HACK(msx2_interrupt, 262)
r4347r4348
11841184/* MSX */
11851185
11861186ROM_START (msx)
1187   ROM_REGION (0x8000, "main", 0)
1187   ROM_REGION (0x8000, "maincpu", 0)
11881188   ROM_LOAD ("msx.rom", 0x0000, 0x8000, CRC(8205795e) SHA1(829c00c3114f25b3dae5157c0a238b52a3ac37db))
11891189ROM_END
11901190
r4347r4348
11981198/* MSX - Al Alamiah AX-170 */
11991199
12001200ROM_START (ax170)
1201   ROM_REGION (0x10000, "main", 0)
1201   ROM_REGION (0x10000, "maincpu", 0)
12021202   ROM_LOAD ("ax170bios.rom", 0x0000, 0x8000, CRC(bd95c436) SHA1(5e094fca95ab8e91873ee372a3f1239b9a48a48d))
12031203   ROM_LOAD ("ax170arab.rom", 0x8000, 0x8000, CRC(339cd1aa) SHA1(0287b2ec897b9196788cd9f10c99e1487d7adbbb))
12041204ROM_END
r4347r4348
12141214/* MSX - Canon V-10 */
12151215
12161216ROM_START (canonv10)
1217   ROM_REGION (0x8000, "main", 0)
1217   ROM_REGION (0x8000, "maincpu", 0)
12181218   ROM_LOAD ("v10bios.rom", 0x0000, 0x8000, CRC(e9ccd789) SHA1(8963fc041975f31dc2ab1019cfdd4967999de53e))
12191219ROM_END
12201220
r4347r4348
12271227
12281228/* MSX - Canon V-20 */
12291229ROM_START (canonv20)
1230   ROM_REGION (0x8000, "main", 0)
1230   ROM_REGION (0x8000, "maincpu", 0)
12311231   ROM_LOAD ("v20bios.rom", 0x0000, 0x8000, CRC(e9ccd789) SHA1(8963fc041975f31dc2ab1019cfdd4967999de53e))
12321232ROM_END
12331233
r4347r4348
12411241/* MSX - Daewoo DPC-100 */
12421242
12431243ROM_START (dpc100)
1244   ROM_REGION (0xc000, "main", 0)
1244   ROM_REGION (0xc000, "maincpu", 0)
12451245   ROM_LOAD ("100bios.rom", 0x0000, 0x8000, CRC(3ab0cd3b) SHA1(171b587bd5a947a13f3114120b6e7baca3b57d78))
12461246   ROM_LOAD ("100han.rom", 0x8000, 0x4000, CRC(97478efb) SHA1(4421fa2504cbce18f7c84b5ea97f04e017007f07))
12471247ROM_END
r4347r4348
12571257/* MSX - Daewoo DPC-180 */
12581258
12591259ROM_START (dpc180)
1260   ROM_REGION (0xc000, "main", 0)
1260   ROM_REGION (0xc000, "maincpu", 0)
12611261   ROM_LOAD ("180bios.rom", 0x0000, 0x8000, CRC(3ab0cd3b) SHA1(171b587bd5a947a13f3114120b6e7baca3b57d78))
12621262   ROM_LOAD ("180han.rom", 0x8000, 0x4000, CRC(97478efb) SHA1(4421fa2504cbce18f7c84b5ea97f04e017007f07))
12631263ROM_END
r4347r4348
12731273/* MSX - Daewoo DPC-200 */
12741274
12751275ROM_START (dpc200)
1276   ROM_REGION (0xc000, "main", 0)
1276   ROM_REGION (0xc000, "maincpu", 0)
12771277   ROM_LOAD ("200bios.rom", 0x0000, 0x8000, CRC(3ab0cd3b) SHA1(171b587bd5a947a13f3114120b6e7baca3b57d78))
12781278   ROM_LOAD ("200han.rom", 0x8000, 0x4000, CRC(97478efb) SHA1(4421fa2504cbce18f7c84b5ea97f04e017007f07))
12791279ROM_END
r4347r4348
12891289/* MSX - Goldstar FC-200 */
12901290
12911291ROM_START (gsfc200)
1292   ROM_REGION (0x8000, "main", 0)
1292   ROM_REGION (0x8000, "maincpu", 0)
12931293   ROM_LOAD ("fc200bios.rom.u5a", 0x0000, 0x4000, CRC(61f473fb) SHA1(c425750bbb2ae1d278216b45029d303e37d8df2f))
12941294   ROM_LOAD ("fc200bios.rom.u5b", 0x4000, 0x4000, CRC(1a99b1a1) SHA1(e18f72271b64693a2a2bc226e1b9ebd0448e07c0))
12951295ROM_END
r4347r4348
13041304/* MSX - Gradiente Expert 1.0 */
13051305
13061306ROM_START (expert10)
1307   ROM_REGION (0x8000, "main",0)
1307   ROM_REGION (0x8000, "maincpu",0)
13081308   ROM_LOAD ("expbios.rom", 0x0000, 0x8000, CRC(07610d77) SHA1(ef3e010eb57e4476700a3bbff9d2119ab3acdf62))
13091309ROM_END
13101310
r4347r4348
13171317
13181318/* MSX - Gradiente Expert 1.1 */
13191319ROM_START (expert11)
1320   ROM_REGION (0xc000, "main",0)
1320   ROM_REGION (0xc000, "maincpu",0)
13211321   ROM_LOAD ("expbios11.rom", 0x0000, 0x8000, CRC(efb4b972) SHA1(d6720845928ee848cfa88a86accb067397685f02))
13221322ROM_END
13231323
r4347r4348
13301330
13311331/* MSX - Gradiente Expert 1.3 */
13321332ROM_START (expert13)
1333   ROM_REGION (0x8000, "main",0)
1333   ROM_REGION (0x8000, "maincpu",0)
13341334   ROM_LOAD ("expbios13.rom", 0x0000, 0x8000, CRC(5638bc38) SHA1(605f5af3f358c6811f54e0173bad908614a198c0))
13351335ROM_END
13361336
r4347r4348
13431343
13441344/* MSX - Gradiente Expert DDPlus */
13451345ROM_START (expertdp)
1346   ROM_REGION (0xc000, "main",0)
1346   ROM_REGION (0xc000, "maincpu",0)
13471347   ROM_LOAD ("eddpbios.rom", 0x0000, 0x8000, CRC(efb4b972) SHA1(d6720845928ee848cfa88a86accb067397685f02))
13481348   ROM_LOAD ("eddpdisk.rom", 0x8000, 0x4000, CRC(549f1d90) SHA1(f1525de4e0b60a6687156c2a96f8a8b2044b6c56))
13491349ROM_END
r4347r4348
13591359/* MSX - Gradiente Expert Plus */
13601360
13611361ROM_START (expertpl)
1362   ROM_REGION (0xc000, "main",0)
1362   ROM_REGION (0xc000, "maincpu",0)
13631363   ROM_LOAD ("exppbios.rom", 0x0000, 0x8000, CRC(efb4b972) SHA1(d6720845928ee848cfa88a86accb067397685f02))
13641364   ROM_LOAD ("exppdemo.rom", 0x8000, 0x4000, CRC(a9bbef64) SHA1(d4cea8c815f3eeabe0c6a1c845f902ec4318bf6b))
13651365ROM_END
r4347r4348
13751375/* MSX - JVC HC-7GB */
13761376
13771377ROM_START (jvchc7gb)
1378   ROM_REGION (0x8000, "main", 0)
1378   ROM_REGION (0x8000, "maincpu", 0)
13791379   ROM_LOAD ("hc7gbbios.rom", 0x0000, 0x8000, CRC(e9ccd789) SHA1(8963fc041975f31dc2ab1019cfdd4967999de53e))
13801380ROM_END
13811381
r4347r4348
13891389/* MSX - Mitsubishi ML-F80 */
13901390
13911391ROM_START (mlf80)
1392   ROM_REGION (0x8000, "main", 0)
1392   ROM_REGION (0x8000, "maincpu", 0)
13931393   ROM_LOAD ("mlf80bios.rom", 0x0000, 0x8000, CRC(e9ccd789) SHA1(8963fc041975f31dc2ab1019cfdd4967999de53e))
13941394ROM_END
13951395
r4347r4348
14031403/* MSX - Mitsubishi ML-FX1 */
14041404
14051405ROM_START (mlfx1)
1406   ROM_REGION (0x8000, "main", 0)
1406   ROM_REGION (0x8000, "maincpu", 0)
14071407   ROM_LOAD ("mlfx1bios.rom", 0x0000, 0x8000, CRC(62867dce) SHA1(0cbe0df4af45e8f531e9c761403ac9e71808f20c))
14081408ROM_END
14091409
r4347r4348
14171417/* MSX - National CF-1200 */
14181418
14191419ROM_START (cf1200)
1420   ROM_REGION (0x8000, "main", 0)
1420   ROM_REGION (0x8000, "maincpu", 0)
14211421   ROM_LOAD ("1200bios.rom", 0x0000, 0x8000, CRC(5ad03407) SHA1(c7a2c5baee6a9f0e1c6ee7d76944c0ab1886796c))
14221422ROM_END
14231423
r4347r4348
14311431/* MSX - National CF-2000 */
14321432
14331433ROM_START (cf2000)
1434   ROM_REGION (0x8000, "main", 0)
1434   ROM_REGION (0x8000, "maincpu", 0)
14351435   ROM_LOAD ("2000bios.rom", 0x0000, 0x8000, CRC(ee229390) SHA1(302afb5d8be26c758309ca3df611ae69cced2821))
14361436ROM_END
14371437
r4347r4348
14441444
14451445/* MSX - National CF-2700 */
14461446ROM_START (cf2700)
1447   ROM_REGION (0x8000, "main", 0)
1447   ROM_REGION (0x8000, "maincpu", 0)
14481448   ROM_LOAD ("2700bios.rom.ic32", 0x0000, 0x8000, CRC(5ad03407) SHA1(c7a2c5baee6a9f0e1c6ee7d76944c0ab1886796c))
14491449ROM_END
14501450
r4347r4348
14581458/* MSX - National CF-3000 */
14591459
14601460ROM_START (cf3000)
1461   ROM_REGION (0x8000, "main", 0)
1461   ROM_REGION (0x8000, "maincpu", 0)
14621462   ROM_LOAD ("3000bios.rom", 0x0000, 0x8000, CRC(5ad03407) SHA1(c7a2c5baee6a9f0e1c6ee7d76944c0ab1886796c))
14631463ROM_END
14641464
r4347r4348
14711471
14721472/* MSX - National CF-3300 */
14731473ROM_START (cf3300)
1474   ROM_REGION (0xc000, "main", 0)
1474   ROM_REGION (0xc000, "maincpu", 0)
14751475   ROM_LOAD ("3300bios.rom", 0x0000, 0x8000, CRC(5ad03407) SHA1(c7a2c5baee6a9f0e1c6ee7d76944c0ab1886796c))
14761476   ROM_LOAD ("3300disk.rom", 0x8000, 0x4000, CRC(549f1d90) SHA1(f1525de4e0b60a6687156c2a96f8a8b2044b6c56))
14771477ROM_END
r4347r4348
14871487/* MSX - National FS-1300 */
14881488
14891489ROM_START (fs1300)
1490   ROM_REGION (0x8000, "main", 0)
1490   ROM_REGION (0x8000, "maincpu", 0)
14911491   ROM_LOAD ("1300bios.rom", 0x0000, 0x8000, CRC(5ad03407) SHA1(c7a2c5baee6a9f0e1c6ee7d76944c0ab1886796c))
14921492ROM_END
14931493
r4347r4348
15001500
15011501/* MSX - National FS-4000 */
15021502ROM_START (fs4000)
1503   ROM_REGION (0x38000 ,"main", 0)
1503   ROM_REGION (0x38000 ,"maincpu", 0)
15041504   ROM_LOAD ("4000bios.rom", 0x0000, 0x8000, CRC(071135e0) SHA1(df48902f5f12af8867ae1a87f255145f0e5e0774))
15051505   ROM_LOAD ("4000word.rom", 0x8000, 0x8000, CRC(950b6c87) SHA1(931d6318774bd495a32ec3dabf8d0edfc9913324))
15061506   ROM_LOAD ("4000kdr.rom", 0x10000, 0x8000, CRC(ebaa5a1e) SHA1(77bd67d5d10d459d343e79eafcd8e17eb0f209dd))
r4347r4348
15201520/* MSX - Philips NMS-801 */
15211521
15221522ROM_START (nms801)
1523   ROM_REGION (0x8000, "main", 0)
1523   ROM_REGION (0x8000, "maincpu", 0)
15241524   ROM_LOAD ("801bios.rom", 0x0000, 0x8000, CRC(fa089461) SHA1(21329398c0f350e330b353f45f21aa7ba338fc8d))
15251525ROM_END
15261526
r4347r4348
15341534/* MSX - Philips VG-8020-00 */
15351535
15361536ROM_START (vg802000)
1537   ROM_REGION (0x8000, "main", 0)
1537   ROM_REGION (0x8000, "maincpu", 0)
15381538   ROM_LOAD ("8020-00bios.rom", 0x0000, 0x8000, CRC(8205795e) SHA1(829c00c3114f25b3dae5157c0a238b52a3ac37db))
15391539ROM_END
15401540
r4347r4348
15481548/* MSX - Philips VG-8020-20 */
15491549
15501550ROM_START (vg802020)
1551   ROM_REGION (0x8000, "main", 0)
1551   ROM_REGION (0x8000, "maincpu", 0)
15521552   ROM_LOAD ("8020-20bios.rom", 0x0000, 0x8000, CRC(A317E6B4) SHA1(E998F0C441F4F1800EF44E42CD1659150206CF79))
15531553ROM_END
15541554
r4347r4348
15621562/* MSX - Pioneer PX-7 */
15631563
15641564ROM_START (piopx7)
1565   ROM_REGION (0xc000, "main", 0)
1565   ROM_REGION (0xc000, "maincpu", 0)
15661566   ROM_LOAD ("ym2301.ic12", 0x0000, 0x8000, CRC(e9ccd789) SHA1(8963fc041975f31dc2ab1019cfdd4967999de53e))
15671567   ROM_LOAD ("pd5031.ic13", 0x8000, 0x2000, CRC(91e0df72) SHA1(4f0102cdc27216fd9bcdb9663db728d2ccd8ca6d))
15681568   ROM_FILL( 0xa000, 0x2000, 0x6E )
r4347r4348
15791579/* MSX - Sanyo MPC-100 */
15801580
15811581ROM_START (mpc100)
1582   ROM_REGION (0x8000, "main", 0)
1582   ROM_REGION (0x8000, "maincpu", 0)
15831583   ROM_LOAD ("mpc100bios.rom", 0x0000, 0x8000, CRC(e9ccd789) SHA1(8963fc041975f31dc2ab1019cfdd4967999de53e))
15841584ROM_END
15851585
r4347r4348
15931593/* MSX - Sharp Epcom HotBit 1.1 */
15941594
15951595ROM_START (hotbit11)
1596   ROM_REGION (0x8000, "main",0)
1596   ROM_REGION (0x8000, "maincpu",0)
15971597   ROM_LOAD ("hotbit11.rom", 0x0000, 0x8000, CRC(b6942694) SHA1(663f8c512d04d213fa616b0db5eefe3774012a4b))
15981598ROM_END
15991599
r4347r4348
16071607/* MSX - Sharp Epcom HotBit 1.2 */
16081608
16091609ROM_START (hotbit12)
1610   ROM_REGION (0x8000, "main",0)
1610   ROM_REGION (0x8000, "maincpu",0)
16111611   ROM_LOAD ("hotbit12.rom", 0x0000, 0x8000, CRC(f59a4a0c) SHA1(9425815446d468058705bae545ffa13646744a87))
16121612ROM_END
16131613
r4347r4348
16211621/* MSX - Sharp Epcom HotBit 1.3b */
16221622
16231623ROM_START (hotbi13b)
1624   ROM_REGION (0x8000, "main",0)
1624   ROM_REGION (0x8000, "maincpu",0)
16251625   ROM_LOAD ("hotbit13b.rom", 0x0000, 0x8000, CRC(7a19820e) SHA1(e0c2bfb078562d15acabc5831020a2370ea87052))
16261626ROM_END
16271627
r4347r4348
16351635/* MSX - Sharp Epcom HotBit 1.3p */
16361636
16371637ROM_START (hotbi13p)
1638   ROM_REGION (0x8000, "main",0)
1638   ROM_REGION (0x8000, "maincpu",0)
16391639   ROM_LOAD ("hotbit13p.rom", 0x0000, 0x8000, CRC(150e239c) SHA1(942f9507d206cd8156f15601fe8032fcf0e3875b))
16401640ROM_END
16411641
r4347r4348
16491649/* MSX - Sony HB-10P */
16501650
16511651ROM_START (hb10p)
1652   ROM_REGION (0x10000, "main", 0)
1652   ROM_REGION (0x10000, "maincpu", 0)
16531653   ROM_LOAD ("10pbios.rom", 0x0000, 0x8000, CRC(0f488dd8) SHA1(5e7c8eab238712d1e18b0219c0f4d4dae180420d))
16541654ROM_END
16551655
r4347r4348
16631663/* MSX - Sony HB-20P */
16641664
16651665ROM_START (hb20p)
1666   ROM_REGION (0x10000, "main", 0)
1666   ROM_REGION (0x10000, "maincpu", 0)
16671667   ROM_LOAD ("20pbios.rom", 0x0000, 0x8000, CRC(21af423f) SHA1(365c93d7652c9f727221689bcc348652832a7b7a))
16681668ROM_END
16691669
r4347r4348
16771677/* MSX - Sony HB-201 */
16781678
16791679ROM_START (hb201)
1680   ROM_REGION (0x10000, "main", 0)
1680   ROM_REGION (0x10000, "maincpu", 0)
16811681   ROM_LOAD ("201bios.rom.ic9", 0x0000, 0x8000, CRC(ee229390) SHA1(302afb5d8be26c758309ca3df611ae69cced2821))
16821682   ROM_LOAD ("201note.rom.ic8", 0x8000, 0x4000, CRC(74567244) SHA1(0f4f09f1a6ef7535b243afabfb44a3a0eb0498d9))
16831683   ROM_FILL( 0xc000, 0x4000, 0xff )
r4347r4348
16941694/* MSX - Sony HB-201P */
16951695
16961696ROM_START (hb201p)
1697   ROM_REGION (0xc000, "main", 0)
1697   ROM_REGION (0xc000, "maincpu", 0)
16981698   ROM_LOAD ("201pbios.rom.ic9", 0x0000, 0x8000, CRC(0f488dd8) SHA1(5e7c8eab238712d1e18b0219c0f4d4dae180420d))
16991699   ROM_LOAD ("201pnote.rom.ic8", 0x8000, 0x4000, CRC(1ff9b6ec) SHA1(e84d3ec7a595ee36b50e979683c84105c1871857))
17001700ROM_END
r4347r4348
17101710/* MSX - Sony HB-501P */
17111711
17121712ROM_START (hb501p)
1713   ROM_REGION (0x8000, "main", 0)
1713   ROM_REGION (0x8000, "maincpu", 0)
17141714   ROM_LOAD ("501pbios.rom", 0x0000, 0x8000, CRC(0f488dd8) SHA1(5e7c8eab238712d1e18b0219c0f4d4dae180420d))
17151715ROM_END
17161716
r4347r4348
17241724/* MSX - Sony HB-55D */
17251725
17261726ROM_START (hb55d)
1727   ROM_REGION (0xc000, "main", 0)
1727   ROM_REGION (0xc000, "maincpu", 0)
17281728   ROM_LOAD ("55dbios.rom", 0x0000, 0x8000, CRC(7e2b32dd) SHA1(38a645febd0e0fe86d594f27c2d14be995acc730))
17291729   ROM_LOAD ("55dnote.rom", 0x8000, 0x4000, CRC(8aae0494) SHA1(97ce59892573cac3c440efff6d74c8a1c29a5ad3))
17301730ROM_END
r4347r4348
17401740/* MSX - Sony HB-55P */
17411741
17421742ROM_START (hb55p)
1743   ROM_REGION (0xc000, "main", 0)
1743   ROM_REGION (0xc000, "maincpu", 0)
17441744   ROM_LOAD ("55pbios.ic42", 0x0000, 0x4000, CRC(24c198be) SHA1(7f8c94cb8913db32a696dec80ffc78e46693f1b7))
17451745   ROM_LOAD ("55pbios.ic43", 0x4000, 0x4000, CRC(e516e7e5) SHA1(05fedd4b9bfcf4949020c79d32c4c3f03a54fb62))
17461746   ROM_LOAD ("55pnote.ic44", 0x8000, 0x4000, CRC(492b12f8) SHA1(b262aedc71b445303f84efe5e865cbb71fd7d952))
r4347r4348
17571757/* MSX - Sony HB-75D */
17581758
17591759ROM_START (hb75d)
1760   ROM_REGION (0xc000, "main", 0)
1760   ROM_REGION (0xc000, "maincpu", 0)
17611761   ROM_LOAD ("75dbios.rom", 0x0000, 0x8000, CRC(7e2b32dd) SHA1(38a645febd0e0fe86d594f27c2d14be995acc730))
17621762   ROM_LOAD ("75dnote.rom", 0x8000, 0x4000, CRC(8aae0494) SHA1(97ce59892573cac3c440efff6d74c8a1c29a5ad3))
17631763ROM_END
r4347r4348
17731773/* MSX - Sony HB-75P */
17741774
17751775ROM_START (hb75p)
1776   ROM_REGION (0xc000, "main", 0)
1776   ROM_REGION (0xc000, "maincpu", 0)
17771777   ROM_LOAD ("75pbios.ic42", 0x0000, 0x4000, CRC(24c198be) SHA1(7f8c94cb8913db32a696dec80ffc78e46693f1b7))
17781778   ROM_LOAD ("75pbios.ic43", 0x4000, 0x4000, CRC(e516e7e5) SHA1(05fedd4b9bfcf4949020c79d32c4c3f03a54fb62))
17791779   ROM_LOAD ("75pnote.ic44", 0x8000, 0x4000, CRC(492b12f8) SHA1(b262aedc71b445303f84efe5e865cbb71fd7d952))
r4347r4348
17901790/* MSX - Spectravideo SVI-728 */
17911791
17921792ROM_START (svi728)
1793   ROM_REGION (0xc000, "main", 0)
1793   ROM_REGION (0xc000, "maincpu", 0)
17941794   ROM_LOAD ("728bios.rom", 0x0000, 0x8000, CRC(1ce9246c) SHA1(ea6a82cf8c6e65eb30b98755c8577cde8d9186c0))
17951795   ROM_LOAD ("707disk.rom", 0x8000, 0x4000, CRC(f9978853) SHA1(6aa856cc56eb98863c9da7a566571605682b5c6b))
17961796ROM_END
r4347r4348
18061806/* MSX - Spectravideo SVI-738 */
18071807
18081808ROM_START (svi738)
1809   ROM_REGION (0x10000, "main", 0)
1809   ROM_REGION (0x10000, "maincpu", 0)
18101810   ROM_LOAD ("738bios.rom", 0x0000, 0x8000, CRC(ad007d62) SHA1(c53b3f2c00f31683914f7452f3f4d94ae2929c0d))
18111811   ROM_LOAD ("738disk.rom", 0x8000, 0x4000, CRC(acd27a36) SHA1(99a40266bc296cef1d432cb0caa8df1a7e570be4))
18121812   ROM_LOAD ("738232c.rom", 0xc000, 0x2000, CRC(3353dcc6) SHA1(4e9384c9d137f0ab65ffc5a78f04cd8c9df6c8b7))
r4347r4348
18251825/* MSX - Spectravideo SVI-738 Swedish */
18261826
18271827ROM_START (svi738sw)
1828   ROM_REGION (0x10000, "main", 0)
1828   ROM_REGION (0x10000, "maincpu", 0)
18291829   ROM_LOAD ("738sebios.rom", 0x0000, 0x8000, CRC(c8ccdaa0) SHA1(87f4d0fa58cfe9cef818a3185df2735e6da6168c))
18301830   ROM_LOAD ("738sedisk.rom", 0x8000, 0x4000, CRC(fb884df4) SHA1(6d3a530ae822ec91f6444c681c9b08b9efadc7e7))
18311831   ROM_LOAD ("738se232c.rom", 0xc000, 0x2000, CRC(3353dcc6) SHA1(4e9384c9d137f0ab65ffc5a78f04cd8c9df6c8b7))
r4347r4348
18451845/* MSX - Talent DPC-200 */
18461846
18471847ROM_START (tadpc200)
1848   ROM_REGION (0x8000, "main", 0)
1848   ROM_REGION (0x8000, "maincpu", 0)
18491849   ROM_LOAD ("dpc200bios.rom", 0x0000, 0x8000, CRC(8205795e) SHA1(829c00c3114f25b3dae5157c0a238b52a3ac37db))
18501850ROM_END
18511851
r4347r4348
18601860/* MSX - Talent DPC-200A */
18611861
18621862ROM_START (tadpc20a)
1863   ROM_REGION (0x8000, "main", 0)
1863   ROM_REGION (0x8000, "maincpu", 0)
18641864   ROM_LOAD ("dpc200abios.rom", 0x0000, 0x8000, CRC(8205795e) SHA1(829c00c3114f25b3dae5157c0a238b52a3ac37db))
18651865ROM_END
18661866
r4347r4348
18751875/* The BIOS on the Toshiba HX-10 is inside a big 64pin Toshiba chip label TCX-1007 */
18761876
18771877ROM_START (hx10)
1878   ROM_REGION (0x8000, "main",0)
1878   ROM_REGION (0x8000, "maincpu",0)
18791879   ROM_LOAD ("tcx-1007.ic15", 0x0000, 0x8000, CRC(5486b711) SHA1(4dad9de7c28b452351cc12910849b51bd9a37ab3))
18801880ROM_END
18811881
r4347r4348
18891889/* MSX - Toshiba HX-10S */
18901890
18911891ROM_START (hx10s)
1892   ROM_REGION (0x8000, "main",0)
1892   ROM_REGION (0x8000, "maincpu",0)
18931893   ROM_LOAD ("hx10sbios.rom", 0x0000, 0x8000, CRC(5486b711) SHA1(4dad9de7c28b452351cc12910849b51bd9a37ab3))
18941894ROM_END
18951895
r4347r4348
19031903/* MSX - Toshiba HX-20 */
19041904
19051905ROM_START (hx20)
1906   ROM_REGION (0x10000, "main",0)
1906   ROM_REGION (0x10000, "maincpu",0)
19071907   ROM_LOAD ("hx20bios.rom", 0x0000, 0x8000, CRC(8205795e) SHA1(829c00c3114f25b3dae5157c0a238b52a3ac37db))
19081908   ROM_LOAD ("hx20word.rom", 0x8000, 0x8000, CRC(39b3e1c0) SHA1(9f7cfa932bd7dfd0d9ecaadc51655fb557c2e125))
19091909ROM_END
r4347r4348
19201920/* MSX - Yamaha CX5M */
19211921
19221922ROM_START (cx5m)
1923   ROM_REGION (0x10000, "main",0)
1923   ROM_REGION (0x10000, "maincpu",0)
19241924   ROM_LOAD ("cx5mbios.rom", 0x0000, 0x8000, CRC(e2242b53) SHA1(706dd67036baeec7127e4ccd8c8db8f6ce7d0e4c))
19251925   ROM_LOAD ("sfg05m.rom",       0x8000, 0x8000, CRC(6c2545c9) SHA1(bc4b242647116f4886bb92e86421f97b1be51938))
19261926ROM_END
r4347r4348
19361936/* MSX - Yamaha CX5M-128 */
19371937
19381938ROM_START (cx5m128)
1939   ROM_REGION (0x18000, "main",0)
1939   ROM_REGION (0x18000, "maincpu",0)
19401940   ROM_LOAD ("cx5m128bios.rom", 0x0000, 0x8000, CRC(507b2caa) SHA1(0dde59e8d98fa524961cd37b0e100dbfb42cf576))
19411941   ROM_LOAD ("cx5m128ext.rom",  0x8000, 0x4000, CRC(feada82e) SHA1(48b0c2ff1f1e407cc44394219f7b3878efaa919f))
19421942   ROM_LOAD ("sfg05.rom",       0xc000, 0x8000, CRC(2425c279) SHA1(d956167e234f60ad916120437120f86fc8c3c321))
r4347r4348
19561956/* MSX - Yamaha CX5MII */
19571957
19581958ROM_START (cx5m2)
1959   ROM_REGION (0x14000, "main",0)
1959   ROM_REGION (0x14000, "maincpu",0)
19601960   ROM_LOAD ("cx5m2bios.rom", 0x0000, 0x8000, CRC(507b2caa) SHA1(0dde59e8d98fa524961cd37b0e100dbfb42cf576))
19611961   ROM_LOAD ("cx5m2ext.rom",  0x8000, 0x4000, CRC(feada82e) SHA1(48b0c2ff1f1e407cc44394219f7b3878efaa919f))
19621962   ROM_LOAD ("sfg05.rom",        0xc000, 0x8000, CRC(2425c279) SHA1(d956167e234f60ad916120437120f86fc8c3c321))
r4347r4348
19741974/* MSX - Yamaha YIS303 */
19751975
19761976ROM_START (yis303)
1977   ROM_REGION (0x14000, "main",0)
1977   ROM_REGION (0x14000, "maincpu",0)
19781978   ROM_LOAD ("yis303bios.rom", 0x0000, 0x8000, CRC(e2242b53) SHA1(706dd67036baeec7127e4ccd8c8db8f6ce7d0e4c))
19791979   ROM_FILL( 0x8000, 0xc000, 0xff )
19801980ROM_END
r4347r4348
19901990/* MSX - Yamaha YIS503 */
19911991
19921992ROM_START (yis503)
1993   ROM_REGION (0x10000, "main",0)
1993   ROM_REGION (0x10000, "maincpu",0)
19941994   ROM_LOAD ("yis503bios.rom", 0x0000, 0x8000, CRC(e2242b53) SHA1(706dd67036baeec7127e4ccd8c8db8f6ce7d0e4c))
19951995   ROM_FILL( 0x8000, 0x8000, 0xff )
19961996ROM_END
r4347r4348
20062006/* MSX - Yamaha YIS503II */
20072007
20082008ROM_START (yis503ii)
2009   ROM_REGION (0x8000, "main",0)
2009   ROM_REGION (0x8000, "maincpu",0)
20102010   ROM_LOAD ("yis503iibios.rom", 0x0000, 0x8000, CRC(e2242b53) SHA1(706dd67036baeec7127e4ccd8c8db8f6ce7d0e4c))
20112011ROM_END
20122012
r4347r4348
20202020/* MSX - Yamaha YIS503IIR Russian */
20212021
20222022ROM_START (y503iir)
2023   ROM_REGION (0xe000, "main",0)
2023   ROM_REGION (0xe000, "maincpu",0)
20242024   ROM_LOAD ("yis503iirbios.rom",  0x0000, 0x8000, CRC(225a4f9e) SHA1(5173ac403e26c462f904f85c9ef5e7b1e19253e7))
20252025   ROM_LOAD ("yis503iirdisk.rom", 0x8000, 0x4000, CRC(9eb7e24d) SHA1(3a481c7b7e4f0406a55952bc5b9f8cf9d699376c))
20262026   ROM_LOAD ("yis503iirnet.rom",  0xc000, 0x2000, CRC(0731db3f) SHA1(264fbb2de69fdb03f87dc5413428f6aa19511a7f))
r4347r4348
20382038/* MSX - Yamaha YIS503IIR Estonian */
20392039
20402040ROM_START (y503iir2)
2041   ROM_REGION (0xe000, "main",0)
2041   ROM_REGION (0xe000, "maincpu",0)
20422042   ROM_LOAD ("yis503ii2bios.rom",  0x0000, 0x8000, CRC(1548cee3) SHA1(42c7fff25b1bd90776ac0aea971241aedce8947d))
20432043   ROM_LOAD ("yis503iirdisk.rom", 0x8000, 0x4000, CRC(9eb7e24d) SHA1(3a481c7b7e4f0406a55952bc5b9f8cf9d699376c))
20442044   ROM_LOAD ("yis503iirnet.rom",  0xc000, 0x2000, CRC(0731db3f) SHA1(264fbb2de69fdb03f87dc5413428f6aa19511a7f))
r4347r4348
20562056/* MSX - Yamaha YIS503M */
20572057
20582058ROM_START (yis503m)
2059   ROM_REGION (0x10000, "main",0)
2059   ROM_REGION (0x10000, "maincpu",0)
20602060   ROM_LOAD ("yis503mbios.rom", 0x0000, 0x8000, CRC(e2242b53) SHA1(706dd67036baeec7127e4ccd8c8db8f6ce7d0e4c))
20612061   ROM_LOAD ("sfg05.rom",          0x8000, 0x8000, CRC(6c2545c9) SHA1(bc4b242647116f4886bb92e86421f97b1be51938))
20622062ROM_END
r4347r4348
20722072/* MSX - Yashica YC-64 */
20732073
20742074ROM_START (yc64)
2075   ROM_REGION (0x8000, "main",0)
2075   ROM_REGION (0x8000, "maincpu",0)
20762076   ROM_LOAD ("yc64bios.rom", 0x0000, 0x8000, CRC(e9ccd789) SHA1(8963fc041975f31dc2ab1019cfdd4967999de53e))
20772077ROM_END
20782078
r4347r4348
20882088/* MSX2 */
20892089
20902090ROM_START (msx2)
2091   ROM_REGION (0x20000, "main",0)
2091   ROM_REGION (0x20000, "maincpu",0)
20922092   ROM_LOAD ("msx2.rom", 0x0000, 0x8000, CRC(f05ed518) SHA1(5e1a4bd6826b29302a1eb88c340477e7cbd0b50a))
20932093   ROM_LOAD ("msx2ext.rom", 0x8000, 0x4000, CRC(95db2959) SHA1(e7905d16d2ccd57a013c122dc432106cd59ef52c))
20942094   ROM_LOAD_OPTIONAL ("disk.rom", 0xc000, 0x4000, CRC(b7c58fad) SHA1(bc517b4a248c3a1338c5efc937b0128b6a783808))
r4347r4348
21082108/* MSX2 - Al Alamiah AX-350 */
21092109
21102110ROM_START (ax350)
2111   ROM_REGION (0x44000, "main", 0)
2111   ROM_REGION (0x44000, "maincpu", 0)
21122112   ROM_LOAD ("ax350bios.rom",  0x0000,  0x8000, CRC(ea306155) SHA1(35195ab67c289a0b470883464df66bc6ea5b00d3))
21132113   ROM_LOAD ("ax350ext.rom",   0x8000,  0x4000, CRC(7c7540b7) SHA1(ebb76f9061e875365023523607db610f2eda1d26))
21142114   /* 0x0c000 - 0x1ffff reserved for optional disk and fmpac roms from msx2 parent set */
r4347r4348
21352135/* MSX2 - Al Alamiah AX-370 */
21362136
21372137ROM_START (ax370)
2138   ROM_REGION (0x44000, "main", 0)
2138   ROM_REGION (0x44000, "maincpu", 0)
21392139   ROM_LOAD ("ax370bios.rom",  0x0000,  0x8000, CRC(ea306155) SHA1(35195ab67c289a0b470883464df66bc6ea5b00d3))
21402140   ROM_LOAD ("ax370ext.rom",   0x8000,  0x4000, CRC(7c7540b7) SHA1(ebb76f9061e875365023523607db610f2eda1d26))
21412141   /* 0x0c000 - 0x1ffff reserved for optional disk and fmpac roms from msx2 parent set */
r4347r4348
21622162/* MSX2 - Daewoo CPC-300 */
21632163
21642164ROM_START (cpc300)
2165   ROM_REGION (0x30000, "main", 0)
2165   ROM_REGION (0x30000, "maincpu", 0)
21662166   ROM_LOAD ("300bios.rom", 0x0000, 0x8000, CRC(53850907) SHA1(affa3c5cd8db79a1450ad8a7f405a425b251653d))
21672167   /* 0x0c000 - 0x1ffff reserved for optional disk and fmpac roms from msx2 parent set */
21682168   ROM_FILL (0xc000, 0x14000, 0)
r4347r4348
21832183/* MSX2 - Daewoo CPC-300E */
21842184
21852185ROM_START (cpc300e)
2186   ROM_REGION (0x30000, "main", 0)
2186   ROM_REGION (0x30000, "maincpu", 0)
21872187   ROM_LOAD ("300ebios.rom", 0x0000, 0x8000, CRC(53850907) SHA1(affa3c5cd8db79a1450ad8a7f405a425b251653d))
21882188   /* 0x0c000 - 0x1ffff reserved for optional disk and fmpac roms from msx2 parent set */
21892189   ROM_FILL (0xc000, 0x14000, 0)
r4347r4348
22032203
22042204/* MSX2 - Daewoo CPC-400 */
22052205ROM_START (cpc400)
2206   ROM_REGION (0x50000, "main", 0)
2206   ROM_REGION (0x50000, "maincpu", 0)
22072207   ROM_LOAD ("400bios.rom", 0x0000, 0x8000, CRC(53850907) SHA1(affa3c5cd8db79a1450ad8a7f405a425b251653d))
22082208   ROM_LOAD ("400disk.rom", 0x8000, 0x4000, CRC(5fa517df) SHA1(914f6ccb25d78621186001f2f5e2aaa2d628cd0c))
22092209   /* 0x0c000 - 0x1ffff reserved for optional disk and fmpac roms from msx2 parent set */
r4347r4348
22282228/* MSX2 - Daewoo CPC-400S */
22292229
22302230ROM_START (cpc400s)
2231   ROM_REGION (0x50000, "main", 0)
2231   ROM_REGION (0x50000, "maincpu", 0)
22322232   ROM_LOAD ("400sbios.rom", 0x0000, 0x8000, CRC(53850907) SHA1(affa3c5cd8db79a1450ad8a7f405a425b251653d))
22332233   ROM_LOAD ("400sdisk.rom", 0x8000, 0x4000, CRC(5fa517df) SHA1(914f6ccb25d78621186001f2f5e2aaa2d628cd0c))
22342234   /* 0x0c000 - 0x1ffff reserved for optional disk and fmpac roms from msx2 parent set */
r4347r4348
22532253/* MSX2 - Gradiente Expert 2.0 */
22542254
22552255ROM_START (expert20)
2256   ROM_REGION (0x28000, "main", 0)
2256   ROM_REGION (0x28000, "maincpu", 0)
22572257   ROM_LOAD ("exp20bios.rom", 0x0000, 0x8000, CRC(6BACDCE4) SHA1(9c43106dba3ae2829e9a11dffa9d000ed6d6454c))
22582258   ROM_LOAD ("exp20ext.rom",  0x8000, 0x4000, CRC(08CED880) SHA1(4f2a7e0172f0214f025f23845f6e053d0ffd28e8))
22592259   /* 0x0c000 - 0x1ffff reserved for optional disk and fmpac roms from msx2 parent set */
r4347r4348
22772277/* MSX2 - National FS-4500 */
22782278
22792279ROM_START (fs4500)
2280   ROM_REGION (0x94000, "main",0)
2280   ROM_REGION (0x94000, "maincpu",0)
22812281   ROM_LOAD ("4500bios.rom", 0x0000, 0x8000, CRC(9b3e7b97) SHA1(0081ea0d25bc5cd8d70b60ad8cfdc7307812c0fd))
22822282   ROM_LOAD ("4500ext.rom", 0x8000, 0x4000, CRC(4a48779c) SHA1(b8e30d604d319d511cbfbc61e5d8c38fbb9c5a33))
22832283   /* 0x0c000 - 0x1ffff reserved for optional disk and fmpac roms from msx2 parent set */
r4347r4348
23122312/* MSX2 - National FS-4600 */
23132313
23142314ROM_START (fs4600)
2315   ROM_REGION (0x170000, "main",0)
2315   ROM_REGION (0x170000, "maincpu",0)
23162316   ROM_LOAD ("4600bios.rom", 0x0000, 0x8000, CRC(9b3e7b97) SHA1(0081ea0d25bc5cd8d70b60ad8cfdc7307812c0fd))
23172317   ROM_LOAD ("4600ext.rom", 0x8000, 0x4000, CRC(43e7a7fc) SHA1(0fbd45ef3dd7bb82d4c31f1947884f411f1ca344))
23182318   ROM_LOAD ("4600disk.rom", 0xc000, 0x4000, CRC(ae4e65b7) SHA1(073feb8bb645d935e099afaf61e6f04f52adee42))
r4347r4348
23452345/* MSX2 - National FS-4700 */
23462346
23472347ROM_START (fs4700)
2348   ROM_REGION (0x94000, "main",0)
2348   ROM_REGION (0x94000, "maincpu",0)
23492349   ROM_LOAD ("4700bios.rom", 0x0000, 0x8000, CRC(9b3e7b97) SHA1(0081ea0d25bc5cd8d70b60ad8cfdc7307812c0fd))
23502350   ROM_LOAD ("4700ext.rom", 0x8000, 0x4000, CRC(4a48779c) SHA1(b8e30d604d319d511cbfbc61e5d8c38fbb9c5a33))
23512351   ROM_LOAD ("4700disk.rom", 0xc000, 0x4000, CRC(1e7d6512) SHA1(78cd7f847e77fd8cd51a647efb2725ba93f4c471))
r4347r4348
23822382/* MSX2 - National FS-5000 */
23832383
23842384ROM_START (fs5000)
2385   ROM_REGION (0x50000, "main",0)
2385   ROM_REGION (0x50000, "maincpu",0)
23862386   ROM_LOAD ("5000bios.rom", 0x0000, 0x8000, CRC(a44ea707) SHA1(59967765d6e9328909dee4dac1cbe4cf9d47d315))
23872387   ROM_LOAD ("5000ext.rom", 0x8000, 0x4000, CRC(43e7a7fc) SHA1(0fbd45ef3dd7bb82d4c31f1947884f411f1ca344))
23882388   ROM_LOAD ("5000disk.rom", 0xc000, 0x4000, CRC(ae4e65b7) SHA1(073feb8bb645d935e099afaf61e6f04f52adee42))
r4347r4348
24122412/* MSX2 - National FS-5500F1/F2*/
24132413
24142414ROM_START (fs5500)
2415   ROM_REGION (0x50000, "main",0)
2415   ROM_REGION (0x50000, "maincpu",0)
24162416   ROM_LOAD ("5500bios.rom", 0x0000, 0x8000, CRC(5bf38e13) SHA1(44e0dd215b2a9f0770dd76fb49187c05b083eed9))
24172417   ROM_LOAD ("5500ext.rom", 0x8000, 0x4000, CRC(3c42c367) SHA1(4be8371f3b03e70ddaca495958345f3c4f8e2d36))
24182418   ROM_LOAD ("5500disk.rom", 0xc000, 0x4000, CRC(1e7d6512) SHA1(78cd7f847e77fd8cd51a647efb2725ba93f4c471))
r4347r4348
24422442/* MSX2 - Panasonic FS-A1 */
24432443
24442444ROM_START (fsa1)
2445   ROM_REGION (0x30000, "main",0)
2445   ROM_REGION (0x30000, "maincpu",0)
24462446   ROM_LOAD ("a1bios.rom", 0x0000, 0x8000, CRC(9b3e7b97) SHA1(0081ea0d25bc5cd8d70b60ad8cfdc7307812c0fd))
24472447   ROM_LOAD ("a1ext.rom", 0x8000, 0x4000, CRC(43e7a7fc) SHA1(0fbd45ef3dd7bb82d4c31f1947884f411f1ca344))
24482448   /* 0x0c000 - 0x1ffff reserved for optional disk and fmpac roms from msx2 parent set */
r4347r4348
24642464/* MSX2 - Panasonic FS-A1 (a) */
24652465
24662466ROM_START (fsa1a)
2467   ROM_REGION (0x30000, "main",0)
2467   ROM_REGION (0x30000, "maincpu",0)
24682468   ROM_LOAD ("a1bios.rom", 0x0000, 0x8000, CRC(9b3e7b97) SHA1(0081ea0d25bc5cd8d70b60ad8cfdc7307812c0fd))
24692469   ROM_LOAD ("a1ext.rom", 0x8000, 0x4000, CRC(43e7a7fc) SHA1(0fbd45ef3dd7bb82d4c31f1947884f411f1ca344))
24702470   /* 0x0c000 - 0x1ffff reserved for optional disk and fmpac roms from msx2 parent set */
r4347r4348
24862486/* MSX2 - Panasonic FS-A1F */
24872487
24882488ROM_START (fsa1f)
2489   ROM_REGION (0x50000, "main",0)
2489   ROM_REGION (0x50000, "maincpu",0)
24902490   ROM_LOAD ("a1fbios.rom", 0x0000, 0x8000, CRC(9b3e7b97) SHA1(0081ea0d25bc5cd8d70b60ad8cfdc7307812c0fd))
24912491   ROM_LOAD ("a1fext.rom", 0x8000, 0x4000, CRC(43e7a7fc) SHA1(0fbd45ef3dd7bb82d4c31f1947884f411f1ca344))
24922492   ROM_LOAD ("a1fdisk.rom", 0xc000, 0x4000, CRC(e25cacca) SHA1(607cfca605eaf82e3efa33459d6583efb7ecc13b))
r4347r4348
25132513/* MSX2 - Panasonic FS-A1FM */
25142514
25152515ROM_START (fsa1fm)
2516   ROM_REGION (0x180000, "main",0)
2516   ROM_REGION (0x180000, "maincpu",0)
25172517   ROM_LOAD ("a1fmbios.rom", 0x0000, 0x8000, CRC(9b3e7b97) SHA1(0081ea0d25bc5cd8d70b60ad8cfdc7307812c0fd))
25182518   ROM_LOAD ("a1fmext.rom", 0x8000, 0x4000, CRC(ad295b5d) SHA1(d552319a19814494e3016de4b8f010e8f7b97e02))
25192519   ROM_LOAD ("a1fmdisk.rom", 0xc000, 0x4000, CRC(e25cacca) SHA1(607cfca605eaf82e3efa33459d6583efb7ecc13b))
r4347r4348
25412541/* MSX2 - Panasonic FS-A1MK2 */
25422542
25432543ROM_START (fsa1mk2)
2544   ROM_REGION (0x34000, "main",0)
2544   ROM_REGION (0x34000, "maincpu",0)
25452545   ROM_LOAD ("a1mkbios.rom", 0x0000, 0x8000, CRC(9b3e7b97) SHA1(0081ea0d25bc5cd8d70b60ad8cfdc7307812c0fd))
25462546   ROM_LOAD ("a1mk2ext.rom", 0x8000, 0x4000, CRC(43e7a7fc) SHA1(0fbd45ef3dd7bb82d4c31f1947884f411f1ca344))
25472547   /* 0x0c000 - 0x1ffff reserved for optional disk and fmpac roms from msx2 parent set */
r4347r4348
25662566/* MSX2 - Philips NMS-8220 - 2 possible sets (/00 /16) */
25672567
25682568ROM_START (nms8220)
2569   ROM_REGION (0x20000, "main", 0)
2569   ROM_REGION (0x20000, "maincpu", 0)
25702570   ROM_LOAD ("8220bios.rom.u14", 0x0000, 0x8000, BAD_DUMP CRC(6cdaf3a5) SHA1(6103b39f1e38d1aa2d84b1c3219c44f1abb5436e))
25712571   ROM_LOAD ("8220ext.rom.u14", 0x8000, 0x4000, BAD_DUMP CRC(06e4f5e6) SHA1(f5eb0a396097572589f2a6efeed045044e9425e4))
25722572   ROM_LOAD ("8220pen.rom.u13", 0xc000, 0x4000, CRC(3d38c53e) SHA1(cb754aed85b3e97a7d3c5894310df7ca18f89f41))
r4347r4348
25872587/* MSX2 - Philips NMS-8220 (a) */
25882588
25892589ROM_START (nms8220a)
2590   ROM_REGION (0x20000, "main", 0)
2590   ROM_REGION (0x20000, "maincpu", 0)
25912591   ROM_LOAD ("8220bios.rom.u14", 0x0000, 0x8000, BAD_DUMP CRC(6cdaf3a5) SHA1(6103b39f1e38d1aa2d84b1c3219c44f1abb5436e))
25922592   ROM_LOAD ("8220ext.rom.u14", 0x8000, 0x4000, BAD_DUMP CRC(06e4f5e6) SHA1(f5eb0a396097572589f2a6efeed045044e9425e4))
25932593   ROM_LOAD ("8220pena.rom.u13", 0xc000, 0x4000, CRC(17817b5a) SHA1(5df95d033ae70b107697b69470126ce1b7ae9eb5))
r4347r4348
26082608/* MSX2 - Philips NMS-8245 - 2 possible sets (/00 /16) */
26092609
26102610ROM_START (nms8245)
2611   ROM_REGION (0x40000, "main", 0)
2611   ROM_REGION (0x40000, "maincpu", 0)
26122612   /* 0x10000 - 0x1ffff reserved for optional fmpac rom from msx2 parent set */
26132613   ROM_FILL (0x10000, 0x10000, 0)
26142614   ROM_LOAD ("nms8245.u7", 0x20000, 0x20000, BAD_DUMP CRC(0c827d5f) SHA1(064e706cb1f12b99b329944ceeedc0efc3b2d9be))
r4347r4348
26272627/* MSX2 - Philips NMS-8245F */
26282628
26292629ROM_START (nms8245f)
2630   ROM_REGION (0x40000, "main", 0)
2630   ROM_REGION (0x40000, "maincpu", 0)
26312631   /* 0x10000 - 0x1ffff reserved for optional fmpac rom from msx2 parent set */
26322632   ROM_FILL (0x10000, 0x10000, 0)
26332633   ROM_LOAD ("nms8245.u7", 0x20000, 0x20000, BAD_DUMP CRC(0c827d5f) SHA1(064e706cb1f12b99b329944ceeedc0efc3b2d9be))
r4347r4348
26472647/* Labels taken from an NMS-8250/00 */
26482648
26492649ROM_START (nms8250)
2650   ROM_REGION (0x20000, "main", 0)
2650   ROM_REGION (0x20000, "maincpu", 0)
26512651   ROM_LOAD ("d23c256eac.ic119", 0x0000, 0x8000, CRC(6cdaf3a5) SHA1(6103b39f1e38d1aa2d84b1c3219c44f1abb5436e))
26522652   ROM_LOAD ("d23128ec.ic118", 0x8000, 0x4000, CRC(66237ecf) SHA1(5c1f9c7fb655e43d38e5dd1fcc6b942b2ff68b02))
26532653   ROM_LOAD ("jq00014.ic117", 0xc000, 0x04000, CRC(ca3307d3) SHA1(c3efedda7ab947a06d9345f7b8261076fa7ceeef))
r4347r4348
26682668/* MSX2 - Philips NMS-8255 */
26692669
26702670ROM_START (nms8255)
2671   ROM_REGION (0x20000, "main", 0)
2671   ROM_REGION (0x20000, "maincpu", 0)
26722672   ROM_LOAD ("8255bios.rom.ic119", 0x0000, 0x8000, CRC(6cdaf3a5) SHA1(6103b39f1e38d1aa2d84b1c3219c44f1abb5436e))
26732673   ROM_LOAD ("8255ext.rom.ic118", 0x8000, 0x4000, CRC(66237ecf) SHA1(5c1f9c7fb655e43d38e5dd1fcc6b942b2ff68b02))
26742674   ROM_LOAD ("8255disk.rom.ic117", 0xc000, 0x04000, CRC(ca3307d3) SHA1(c3efedda7ab947a06d9345f7b8261076fa7ceeef))
r4347r4348
26892689/* MSX2 - Philips NMS-8280 - 2 possible sets (/00 /16) */
26902690
26912691ROM_START (nms8280)
2692   ROM_REGION (0x20000, "main", 0)
2692   ROM_REGION (0x20000, "maincpu", 0)
26932693   ROM_LOAD ("8280bios.rom.ic119", 0x0000, 0x8000, CRC(6cdaf3a5) SHA1(6103b39f1e38d1aa2d84b1c3219c44f1abb5436e))
26942694   ROM_LOAD ("8280ext.rom.ic118", 0x8000, 0x4000, CRC(66237ecf) SHA1(5c1f9c7fb655e43d38e5dd1fcc6b942b2ff68b02))
26952695   ROM_LOAD ("8280disk.rom.ic117", 0xc000, 0x04000, CRC(ca3307d3) SHA1(c3efedda7ab947a06d9345f7b8261076fa7ceeef))
r4347r4348
27102710/* MSX2 - Philips NMS-8280G */
27112711
27122712ROM_START (nms8280g)
2713   ROM_REGION (0x20000, "main", 0)
2713   ROM_REGION (0x20000, "maincpu", 0)
27142714   ROM_LOAD ("8280gbios.rom.ic119", 0x0000, 0x8000, CRC(8fa060e2) SHA1(b17d9bea0eb16a1aa2d0ccbd7c9488da9f57698e))
27152715   ROM_LOAD ("8280gext.rom.ic118", 0x8000, 0x4000, CRC(41e36d03) SHA1(4ab7b2030d022f5486abaab22aaeaf8aa23e05f3))
27162716   ROM_LOAD ("8280gdisk.rom.ic117", 0xc000, 0x04000, CRC(d0beebb8) SHA1(d1001f93c87ff7fb389e418e33bf7bc81bdbb65f))
r4347r4348
27312731/* MSX2 - Philips VG-8230 (u11 - exp, u12 - basic, u13 - disk */
27322732
27332733ROM_START (vg8230)
2734   ROM_REGION (0x20000, "main", 0)
2734   ROM_REGION (0x20000, "maincpu", 0)
27352735   ROM_LOAD ("8230bios.rom.u12", 0x0000, 0x8000, CRC(b31c851d) SHA1(0de3c802057560560a03d7965fcc4cff69f8575c))
27362736   ROM_LOAD ("8230ext.rom.u11", 0x8000, 0x4000, CRC(8f84f783) SHA1(3288894e1be6af705871499b23c85732dbc40993))
27372737   ROM_LOAD ("8230disk.rom.u13", 0xc000, 0x4000, CRC(77c4e5bc) SHA1(849f93867ff7846b27f84d0be418569faf058ac2))
r4347r4348
27522752/* MSX2 - Philips VG-8235 3 psosible basic and ext roms (/00 /02 /19) */
27532753
27542754ROM_START (vg8235)
2755   ROM_REGION (0x20000, "main", 0)
2755   ROM_REGION (0x20000, "maincpu", 0)
27562756   ROM_LOAD ("8235bios.rom.u48", 0x0000, 0x8000, CRC(6cdaf3a5) SHA1(6103b39f1e38d1aa2d84b1c3219c44f1abb5436e))
27572757   ROM_LOAD ("8235ext.rom.u49", 0x8000, 0x4000, CRC(66237ecf) SHA1(5c1f9c7fb655e43d38e5dd1fcc6b942b2ff68b02))
27582758   ROM_LOAD ("8235disk.rom.u50", 0xc000, 0x4000, CRC(51daeb25) SHA1(8954e59aa79310c7b719ecf0cde1e82fb731dcd1))
r4347r4348
27732773/* MSX2 - Philips VG-8235F */
27742774
27752775ROM_START (vg8235f)
2776   ROM_REGION (0x20000, "main", 0)
2776   ROM_REGION (0x20000, "maincpu", 0)
27772777   ROM_LOAD ("8235fbios.rom.u48", 0x0000, 0x8000, CRC(c0577a50) SHA1(3926cdd91fa89657a811463e48cfbdb350676e51))
27782778   ROM_LOAD ("8235fext.rom.u49", 0x8000, 0x4000, CRC(e235d5c8) SHA1(792e6b2814ab783d06c7576c1e3ccd6a9bbac34a))
27792779   ROM_LOAD ("8235fdisk.rom.u50", 0xc000, 0x4000, CRC(77c4e5bc) SHA1(849f93867ff7846b27f84d0be418569faf058ac2))
r4347r4348
27942794/* MSX2 - Philips VG-8240 */
27952795
27962796ROM_START (vg8240)
2797   ROM_REGION (0x20000, "main", 0)
2797   ROM_REGION (0x20000, "maincpu", 0)
27982798   ROM_LOAD ("8240bios.rom", 0x0000, 0x8000, CRC(6cdaf3a5) SHA1(6103b39f1e38d1aa2d84b1c3219c44f1abb5436e))
27992799   ROM_LOAD ("8240ext.rom", 0x8000, 0x4000, CRC(66237ecf) SHA1(5c1f9c7fb655e43d38e5dd1fcc6b942b2ff68b02))
28002800   ROM_LOAD ("8240disk.rom", 0xc000, 0x4000, CRC(ca3307d3) SHA1(c3efedda7ab947a06d9345f7b8261076fa7ceeef))
r4347r4348
28152815/* MSX2 - Sanyo Wavy PHC-23 */
28162816
28172817ROM_START (phc23)
2818   ROM_REGION (0x20000, "main",0)
2818   ROM_REGION (0x20000, "maincpu",0)
28192819   ROM_LOAD ("23bios.rom", 0x0000, 0x8000, CRC(ba81b3dd) SHA1(4ce41fcc1a603411ec4e99556409c442078f0ecf))
28202820   ROM_LOAD ("23ext.rom", 0x8000, 0x4000, CRC(90ca25b5) SHA1(fd9fa78bac25aa3c0792425b21d14e364cf7eea4))
28212821   /* 0x0c000 - 0x1ffff reserved for optional disk and fmpac roms from msx2 parent set */
r4347r4348
28332833/* MSX2 - Sharp Epcom HotBit 2.0 */
28342834
28352835ROM_START (hotbit20)
2836   ROM_REGION (0x28000, "main", 0)
2836   ROM_REGION (0x28000, "maincpu", 0)
28372837   ROM_LOAD ("hb2bios.rom", 0x0000, 0x8000, CRC(0160e8c9) SHA1(d0cfc35f22b150a1cb10decae4841dfe63b78251))
28382838   ROM_LOAD ("hb2ext.rom",  0x8000, 0x4000, CRC(08ced880) SHA1(4f2a7e0172f0214f025f23845f6e053d0ffd28e8))
28392839   /* 0x0c000 - 0x1ffff reserved for optional disk and fmpac roms from msx2 parent set */
r4347r4348
28562856/* MSX2 - Sony HB-F1 */
28572857
28582858ROM_START (hbf1)
2859   ROM_REGION (0x34000, "main",0)
2859   ROM_REGION (0x34000, "maincpu",0)
28602860   ROM_LOAD ("f1bios.rom", 0x0000, 0x8000, CRC(9b3e7b97) SHA1(0081ea0d25bc5cd8d70b60ad8cfdc7307812c0fd))
28612861   ROM_LOAD ("f1ext.rom", 0x8000, 0x4000, CRC(4a48779c) SHA1(b8e30d604d319d511cbfbc61e5d8c38fbb9c5a33))
28622862   /* 0x0c000 - 0x1ffff reserved for optional disk and fmpac roms from msx2 parent set */
r4347r4348
28802880/* MSX2 - Sony HB-F1II */
28812881
28822882ROM_START (hbf12)
2883   ROM_REGION (0x34000, "main",0)
2883   ROM_REGION (0x34000, "maincpu",0)
28842884   ROM_LOAD ("f12bios.rom", 0x0000, 0x8000, CRC(9b3e7b97) SHA1(0081ea0d25bc5cd8d70b60ad8cfdc7307812c0fd))
28852885   ROM_LOAD ("f12ext.rom", 0x8000, 0x4000, CRC(43e7a7fc) SHA1(0fbd45ef3dd7bb82d4c31f1947884f411f1ca344))
28862886   /* 0x0c000 - 0x1ffff reserved for optional disk and fmpac roms from msx2 parent set */
r4347r4348
29052905/* MSX2 - Sony HB-F1XD */
29062906
29072907ROM_START (hbf1xd)
2908   ROM_REGION (0x20000, "main",0)
2908   ROM_REGION (0x20000, "maincpu",0)
29092909   ROM_LOAD ("f1xdbios.rom.ic27", 0x0000, 0x8000, BAD_DUMP CRC(ba81b3dd) SHA1(4ce41fcc1a603411ec4e99556409c442078f0ecf))
29102910   ROM_LOAD ("f1xdext.rom.ic27", 0x8000, 0x4000, BAD_DUMP CRC(43e7a7fc) SHA1(0fbd45ef3dd7bb82d4c31f1947884f411f1ca344))
29112911   ROM_LOAD ("f1xddisk.rom.ic27", 0xc000, 0x4000, BAD_DUMP CRC(54c73ad6) SHA1(12f2cc79b3d09723840bae774be48c0d721ec1c6))
r4347r4348
29262926/* MSX2 - Sony HB-F1XDMK2 */
29272927
29282928ROM_START (hbf1xdm2)
2929   ROM_REGION (0x20000, "main",0)
2929   ROM_REGION (0x20000, "maincpu",0)
29302930   ROM_LOAD ("f1m2bios.rom.ic27", 0x0000, 0x8000, BAD_DUMP CRC(ba81b3dd) SHA1(4ce41fcc1a603411ec4e99556409c442078f0ecf))
29312931   ROM_LOAD ("f1m2ext.rom.ic27", 0x8000, 0x4000, BAD_DUMP CRC(43e7a7fc) SHA1(0fbd45ef3dd7bb82d4c31f1947884f411f1ca344))
29322932   ROM_LOAD ("f1m2disk.rom.ic27", 0xc000, 0x4000, BAD_DUMP CRC(54c73ad6) SHA1(12f2cc79b3d09723840bae774be48c0d721ec1c6))
r4347r4348
29472947/* MSX2 - Sony HB-F500 */
29482948
29492949ROM_START (hbf500)
2950   ROM_REGION (0x40000, "main", 0)
2950   ROM_REGION (0x40000, "maincpu", 0)
29512951   ROM_LOAD ("f500bios.rom", 0x0000, 0x8000, CRC(9b3e7b97) SHA1(0081ea0d25bc5cd8d70b60ad8cfdc7307812c0fd))
29522952   ROM_LOAD ("f500ext.rom", 0x8000, 0x4000, CRC(4a48779c) SHA1(b8e30d604d319d511cbfbc61e5d8c38fbb9c5a33))
29532953   ROM_LOAD ("f500disk.rom", 0xc000, 0x4000, CRC(f7f5b0ea) SHA1(e93b8da1e8dddbb3742292b0e5e58731b90e9313))
r4347r4348
29702970/* MSX2 - Sony HB-F500P */
29712971
29722972ROM_START (hbf500p)
2973   ROM_REGION (0x20000, "main", 0)
2973   ROM_REGION (0x20000, "maincpu", 0)
29742974   ROM_LOAD ("500pbios.rom.ic41", 0x0000, 0x8000, CRC(b31c851d) SHA1(0de3c802057560560a03d7965fcc4cff69f8575c))
29752975   ROM_LOAD ("500pext.ic47", 0x8000, 0x8000, CRC(cdd4824a) SHA1(505031f1e8396a6e0cb11c1540e6e7f6999d1191))
29762976   /* 0x10000 - 0x1ffff reserved for optional fmpac roms from msx2 parent set */
r4347r4348
29912991/* MSX2 - Sony HB-F700D */
29922992
29932993ROM_START (hbf700d)
2994   ROM_REGION (0x20000, "main", 0)
2994   ROM_REGION (0x20000, "maincpu", 0)
29952995   ROM_LOAD ("700dbios.rom.ic5", 0x0000, 0x8000, CRC(e975aa79) SHA1(cef16eb95502ba6ab2265fcafcedde470a101541))
29962996   ROM_LOAD ("700dext.ic6", 0x8000, 0x8000, CRC(100cf756) SHA1(317722fa36c2ed31c07c5218b43490fd5badf1f8))
29972997   /* 0x10000 - 0x1ffff reserved for optional fmpac roms from msx2 parent set */
r4347r4348
30113011/* MSX2 - Sony HB-F700F */
30123012
30133013ROM_START (hbf700f)
3014   ROM_REGION (0x20000, "main", 0)
3014   ROM_REGION (0x20000, "maincpu", 0)
30153015   ROM_LOAD ("700fbios.ic5", 0x0000, 0x8000, CRC(440dae3c) SHA1(fedd9b682d056ddd1e9b3d281723e12f859b2e69))
30163016   ROM_LOAD ("700fext.ic6", 0x8000, 0x8000, CRC(7c8b07b1) SHA1(ecacb20ba0a9bbd25e8c0f128d64dd66f8cd8bee))
30173017   /* 0x10000 - 0x1ffff reserved for optional fmpac roms from msx2 parent set */
r4347r4348
30313031/* MSX2 - Sony HB-F700P */
30323032
30333033ROM_START (hbf700p)
3034   ROM_REGION (0x20000, "main", 0)
3034   ROM_REGION (0x20000, "maincpu", 0)
30353035   ROM_LOAD ("700pbios.rom.ic5", 0x0000, 0x8000, CRC(b31c851d) SHA1(0de3c802057560560a03d7965fcc4cff69f8575c))
30363036   ROM_LOAD ("700pext.ic6", 0x8000, 0x8000, CRC(63e1bffc) SHA1(496698a60432490dc1306c8cc1d4a6ded275261a))
30373037   /* 0x10000 - 0x1ffff reserved for optional fmpac roms from msx2 parent set */
r4347r4348
30513051/* MSX2 - Sony HB-F700S */
30523052
30533053ROM_START (hbf700s)
3054   ROM_REGION (0x20000, "main", 0)
3054   ROM_REGION (0x20000, "maincpu", 0)
30553055   ROM_LOAD ("700sbios.rom.ic5", 0x0000, 0x8000, CRC(c2b889a5) SHA1(4811956f878c3e03da46317f787cdc4bebc86f47))
30563056   ROM_LOAD ("700sext.ic6", 0x8000, 0x8000, CRC(28d1badf) SHA1(ae3ed88a2d7034178e08f7bdf5409f462bf67fc9))
30573057   /* 0x10000 - 0x1ffff reserved for optional fmpac roms from msx2 parent set */
r4347r4348
30703070
30713071/* MSX2 - Sony HB-F900 */
30723072ROM_START (hbf900)
3073   ROM_REGION (0x44000, "main", 0)
3073   ROM_REGION (0x44000, "maincpu", 0)
30743074   ROM_LOAD ("f900bios.rom", 0x0000, 0x8000, CRC(9b3e7b97) SHA1(0081ea0d25bc5cd8d70b60ad8cfdc7307812c0fd))
30753075   ROM_LOAD ("f900ext.rom", 0x8000, 0x4000, CRC(43e7a7fc) SHA1(0fbd45ef3dd7bb82d4c31f1947884f411f1ca344))
30763076   ROM_LOAD ("f900disk.rom", 0xc000, 0x4000, CRC(f83d0ea6) SHA1(fc760d1d7b16370abc7eea39955f230b95b37df6))
r4347r4348
30943094
30953095/* MSX2 - Sony HB-F900 (a) */
30963096ROM_START (hbf900a)
3097   ROM_REGION (0x44000, "main", 0)
3097   ROM_REGION (0x44000, "maincpu", 0)
30983098   ROM_LOAD ("f900bios.rom", 0x0000, 0x8000, CRC(9b3e7b97) SHA1(0081ea0d25bc5cd8d70b60ad8cfdc7307812c0fd))
30993099   ROM_LOAD ("f900ext.rom", 0x8000, 0x4000, CRC(43e7a7fc) SHA1(0fbd45ef3dd7bb82d4c31f1947884f411f1ca344))
31003100   ROM_LOAD ("f900disa.rom", 0xc000, 0x4000, CRC(54c73ad6) SHA1(12f2cc79b3d09723840bae774be48c0d721ec1c6))
r4347r4348
31193119/* MSX2 - Sony HB-F9P */
31203120
31213121ROM_START (hbf9p)
3122   ROM_REGION (0x28000, "main", 0)
3122   ROM_REGION (0x28000, "maincpu", 0)
31233123   ROM_LOAD ("f9pbios.rom.ic11", 0x0000, 0x8000, CRC(b31c851d) SHA1(0de3c802057560560a03d7965fcc4cff69f8575c))
31243124   ROM_LOAD ("f9pfirm1.ic12", 0x8000, 0x8000, CRC(524f67aa) SHA1(41a186afced50ca6312cb5b6c4adb684faca6232))
31253125   /* 0x10000 - 0x1ffff reserved for optional fmpac roms from msx2 parent set */
r4347r4348
31423142
31433143/* MSX2 - Sony HB-F9S */
31443144ROM_START (hbf9s)
3145   ROM_REGION (0x28000, "main", 0)
3145   ROM_REGION (0x28000, "maincpu", 0)
31463146   ROM_LOAD ("f9sbios.ic11", 0x0000, 0x8000, CRC(c2b889a5) SHA1(4811956f878c3e03da46317f787cdc4bebc86f47))
31473147   ROM_LOAD ("f9sfirm1.ic12", 0x8000, 0x8000, CRC(cf39620b) SHA1(1166a93d7185ba024bdf2bfa9a30e1c447fb6db1))
31483148   /* 0x10000 - 0x1ffff reserved for optional fmpac roms from msx2 parent set */
r4347r4348
31703170
31713171/* MSX2 - Sony HB-G900AP */
31723172ROM_START (hbg900ap)
3173   ROM_REGION (0x28000, "main", 0)
3173   ROM_REGION (0x28000, "maincpu", 0)
31743174   ROM_LOAD ("g900bios.rom", 0x0000, 0x8000, CRC(b31c851d) SHA1(0de3c802057560560a03d7965fcc4cff69f8575c))
31753175   ROM_LOAD ("g900ext.rom", 0x8000, 0x4000, CRC(8f84f783) SHA1(3288894e1be6af705871499b23c85732dbc40993))
31763176   ROM_LOAD ("g900disk.rom", 0xc000, 0x4000, CRC(54c73ad6) SHA1(12f2cc79b3d09723840bae774be48c0d721ec1c6))
r4347r4348
31963196/* MSX2 - Sony HB-G900P - 3x 32KB ROMs */
31973197
31983198ROM_START (hbg900p)
3199   ROM_REGION (0x28000, "main", 0)
3199   ROM_REGION (0x28000, "maincpu", 0)
32003200   ROM_LOAD ("g900bios.rom", 0x0000, 0x8000, CRC(b31c851d) SHA1(0de3c802057560560a03d7965fcc4cff69f8575c))
32013201   ROM_LOAD ("g900ext.rom", 0x8000, 0x4000, CRC(8f84f783) SHA1(3288894e1be6af705871499b23c85732dbc40993))
32023202   ROM_LOAD ("g900disk.rom", 0xc000, 0x4000, CRC(54c73ad6) SHA1(12f2cc79b3d09723840bae774be48c0d721ec1c6))
r4347r4348
32203220
32213221/* MSX2 - Talent TPC-310 */
32223222ROM_START (tpc310)
3223   ROM_REGION (0x2c000, "main", 0)
3223   ROM_REGION (0x2c000, "maincpu", 0)
32243224   ROM_LOAD ("tpc310bios.rom",  0x0000, 0x8000, CRC(8cd3e845) SHA1(7bba23669b7abfb6a142f9e1735b847d6e4e8267))
32253225   ROM_LOAD ("tpc310ext.rom",   0x8000, 0x4000, CRC(094a9e7a) SHA1(39dfc46260f99b670916b1e55f67a5d4136e6e54))
32263226   ROM_LOAD ("dpf550disk.rom",  0xc000, 0x4000, CRC(347b1b44) SHA1(c1d83c559e1e6a6da961eafa55aab105681c634c))
r4347r4348
32453245/* MSX2 - Toshiba HX-23 */
32463246
32473247ROM_START (hx23)
3248   ROM_REGION (0x30000, "main", 0)
3248   ROM_REGION (0x30000, "maincpu", 0)
32493249   ROM_LOAD ("hx23bios.rom",  0x0000, 0x8000, CRC(6cdaf3a5) SHA1(6103b39f1e38d1aa2d84b1c3219c44f1abb5436e))
32503250   ROM_LOAD ("hx23ext.rom",   0x8000, 0x4000, CRC(06e4f5e6) SHA1(f5eb0a396097572589f2a6efeed045044e9425e4))
32513251   /* 0xc000 - 0x1ffff reserved for optional fmpac roms from msx2 parent set */
r4347r4348
32683268/* MSX2 - Toshiba HX-23F */
32693269
32703270ROM_START (hx23f)
3271   ROM_REGION (0x30000, "main", 0)
3271   ROM_REGION (0x30000, "maincpu", 0)
32723272   ROM_LOAD ("hx23fbios.rom",  0x0000, 0x8000, CRC(6cdaf3a5) SHA1(6103b39f1e38d1aa2d84b1c3219c44f1abb5436e))
32733273   ROM_LOAD ("hx23fext.rom",   0x8000, 0x4000, CRC(06e4f5e6) SHA1(f5eb0a396097572589f2a6efeed045044e9425e4))
32743274   /* 0xc000 - 0x1ffff reserved for optional fmpac roms from msx2 parent set */
r4347r4348
32903290/* MSX2 - Yamaha CX7M */
32913291
32923292ROM_START (cx7m)
3293   ROM_REGION (0x28000, "main", 0)
3293   ROM_REGION (0x28000, "maincpu", 0)
32943294   ROM_LOAD ("cx7mbios.rom",  0x0000, 0x8000, CRC(6cdaf3a5) SHA1(6103b39f1e38d1aa2d84b1c3219c44f1abb5436e))
32953295   ROM_LOAD ("cx7mext.rom",   0x8000, 0x4000, CRC(66237ecf) SHA1(5c1f9c7fb655e43d38e5dd1fcc6b942b2ff68b02))
32963296   /* 0xc000 - 0x1ffff reserved for optional fmpac roms from msx2 parent set */
r4347r4348
33113311/* MSX2 - Yamaha CX7M-128 */
33123312
33133313ROM_START (cx7m128)
3314   ROM_REGION (0x2c000, "main", 0)
3314   ROM_REGION (0x2c000, "maincpu", 0)
33153315   ROM_LOAD ("cx7mbios.rom",  0x0000, 0x8000, CRC(6cdaf3a5) SHA1(6103b39f1e38d1aa2d84b1c3219c44f1abb5436e))
33163316   ROM_LOAD ("cx7mext.rom",   0x8000, 0x4000, CRC(66237ecf) SHA1(5c1f9c7fb655e43d38e5dd1fcc6b942b2ff68b02))
33173317   /* 0xc000 - 0x1ffff reserved for optional fmpac roms from msx2 parent set */
r4347r4348
33363336/* MSX2+ */
33373337
33383338ROM_START (msx2p)
3339   ROM_REGION (0x48000, "main",0)
3339   ROM_REGION (0x48000, "maincpu",0)
33403340   ROM_LOAD ("msx2p.rom", 0x0000, 0x8000, CRC(00870134) SHA1(e2fbd56e42da637609d23ae9df9efd1b4241b18a))
33413341   ROM_LOAD ("msx2pext.rom", 0x8000, 0x4000, CRC(b8ba44d3) SHA1(fe0254cbfc11405b79e7c86c7769bd6322b04995))
33423342   ROM_LOAD_OPTIONAL ("disk.rom", 0xc000, 0x4000, CRC(b7c58fad) SHA1(bc517b4a248c3a1338c5efc937b0128b6a783808))
r4347r4348
33603360/* MSX2+ - Panasonic FS-A1FX */
33613361
33623362ROM_START (fsa1fx)
3363   ROM_REGION (0x50000, "main",0)
3363   ROM_REGION (0x50000, "maincpu",0)
33643364   ROM_LOAD ("a1fxbios.rom", 0x0000, 0x8000, CRC(19771608) SHA1(e90f80a61d94c617850c415e12ad70ac41e66bb7))
33653365   ROM_LOAD ("a1fxext.rom", 0x8000, 0x4000, CRC(b8ba44d3) SHA1(fe0254cbfc11405b79e7c86c7769bd6322b04995))
33663366   ROM_LOAD ("a1fxdisk.rom", 0xc000, 0x4000, CRC(2bda0184) SHA1(2a0d228afde36ac7c5d3c2aac9c7c664dd071a8c))
r4347r4348
33873387/* MSX2+ - Panasonic FS-A1WSX */
33883388
33893389ROM_START (fsa1wsx)
3390   ROM_REGION (0x270000, "main",0)
3390   ROM_REGION (0x270000, "maincpu",0)
33913391   ROM_LOAD ("a1wsbios.rom", 0x0000, 0x8000, CRC(358ec547) SHA1(f4433752d3bf876bfefb363c749d4d2e08a218b6))
33923392   ROM_LOAD ("a1wsext.rom", 0x8000, 0x4000, CRC(b8ba44d3) SHA1(fe0254cbfc11405b79e7c86c7769bd6322b04995))
33933393   ROM_LOAD ("a1wsdisk.rom", 0xc000, 0x4000, CRC(ac7d92b4) SHA1(b7068e2aab02072852ca249596b7550ac632c4c2))
r4347r4348
34173417/* MSX2+ - Panasonic FS-A1WX */
34183418
34193419ROM_START (fsa1wx)
3420   ROM_REGION (0x270000, "main",0)
3420   ROM_REGION (0x270000, "maincpu",0)
34213421   ROM_LOAD ("a1wxbios.rom", 0x0000, 0x8000, CRC(19771608) SHA1(e90f80a61d94c617850c415e12ad70ac41e66bb7))
34223422   ROM_LOAD ("a1wxext.rom", 0x8000, 0x4000, CRC(b8ba44d3) SHA1(fe0254cbfc11405b79e7c86c7769bd6322b04995))
34233423   ROM_LOAD ("a1wxdisk.rom", 0xc000, 0x4000, CRC(2bda0184) SHA1(2a0d228afde36ac7c5d3c2aac9c7c664dd071a8c))
r4347r4348
34463446
34473447/* MSX2+ - Panasonic FS-A1WX (a) */
34483448ROM_START (fsa1wxa)
3449   ROM_REGION (0x270000, "main",0)
3449   ROM_REGION (0x270000, "maincpu",0)
34503450   ROM_LOAD ("a1wxbios.rom", 0x0000, 0x8000, CRC(19771608) SHA1(e90f80a61d94c617850c415e12ad70ac41e66bb7))
34513451   ROM_LOAD ("a1wxext.rom", 0x8000, 0x4000, CRC(b8ba44d3) SHA1(fe0254cbfc11405b79e7c86c7769bd6322b04995))
34523452   ROM_LOAD ("a1wxdisk.rom", 0xc000, 0x4000, CRC(2bda0184) SHA1(2a0d228afde36ac7c5d3c2aac9c7c664dd071a8c))
r4347r4348
34763476/* MSX2+ - Sanyo Wavy PHC-35J */
34773477
34783478ROM_START (phc35j)
3479   ROM_REGION (0x48000, "main",0)
3479   ROM_REGION (0x48000, "maincpu",0)
34803480   ROM_LOAD ("35jbios.rom", 0x0000, 0x8000, CRC(358ec547) SHA1(f4433752d3bf876bfefb363c749d4d2e08a218b6))
34813481   ROM_LOAD ("35jext.rom", 0x8000, 0x4000, CRC(b8ba44d3) SHA1(fe0254cbfc11405b79e7c86c7769bd6322b04995))
34823482   /* 0x0c000 - 0x1ffff reserved for optional disk and fmpac roms from msx2p parent set */
r4347r4348
34993499/* MSX2+ - Sanyo Wavy PHC-70FD1 */
35003500
35013501ROM_START (phc70fd)
3502   ROM_REGION (0x50000, "main",0)
3502   ROM_REGION (0x50000, "maincpu",0)
35033503   ROM_LOAD ("70fdbios.rom", 0x0000, 0x8000, CRC(19771608) SHA1(e90f80a61d94c617850c415e12ad70ac41e66bb7))
35043504   ROM_LOAD ("70fdext.rom", 0x8000, 0x4000, CRC(b8ba44d3) SHA1(fe0254cbfc11405b79e7c86c7769bd6322b04995))
35053505   ROM_LOAD ("70fddisk.rom", 0xc000, 0x4000, CRC(db7f1125) SHA1(9efa744be8355675e7bfdd3976bbbfaf85d62e1d))
r4347r4348
35273527
35283528/* MSX2+ - Sanyo Wavy PHC-70FD2 */
35293529ROM_START (phc70fd2)
3530   ROM_REGION (0x70000, "main",0)
3530   ROM_REGION (0x70000, "maincpu",0)
35313531   ROM_LOAD ("70f2bios.rom", 0x0000, 0x8000, CRC(19771608) SHA1(e90f80a61d94c617850c415e12ad70ac41e66bb7))
35323532   ROM_LOAD ("70f2ext.rom", 0x8000, 0x4000, CRC(b8ba44d3) SHA1(fe0254cbfc11405b79e7c86c7769bd6322b04995))
35333533   ROM_LOAD ("70f2disk.rom", 0xc000, 0x4000, CRC(db7f1125) SHA1(9efa744be8355675e7bfdd3976bbbfaf85d62e1d))
r4347r4348
35563556/* MSX2+ - Sony HB-F1XDJ */
35573557
35583558ROM_START (hbf1xdj)
3559   ROM_REGION (0x170000, "main",0)
3559   ROM_REGION (0x170000, "maincpu",0)
35603560   ROM_LOAD ("f1xjbios.rom", 0x0000, 0x8000, CRC(00870134) SHA1(e2fbd56e42da637609d23ae9df9efd1b4241b18a))
35613561   ROM_LOAD ("f1xjext.rom", 0x8000, 0x4000, CRC(b8ba44d3) SHA1(fe0254cbfc11405b79e7c86c7769bd6322b04995))
35623562   ROM_LOAD ("f1xjdisk.rom", 0xc000, 0x4000, CRC(a21f5266) SHA1(c1bb307a570ab833e3bfcc4a58a4f4e12dc1df0f))
r4347r4348
35863586/* MSX2+ - Sony HB-F1XV */
35873587
35883588ROM_START (hbf1xv)
3589   ROM_REGION (0x170000, "main",0)
3589   ROM_REGION (0x170000, "maincpu",0)
35903590   ROM_LOAD ("f1xvbios.rom", 0x0000, 0x8000, CRC(2c7ed27b) SHA1(174c9254f09d99361ff7607630248ff9d7d8d4d6))
35913591   ROM_LOAD ("f1xvext.rom", 0x8000, 0x4000, CRC(b8ba44d3) SHA1(fe0254cbfc11405b79e7c86c7769bd6322b04995))
35923592   ROM_LOAD ("f1xvdisk.rom", 0xc000, 0x4000, CRC(04e4e533) SHA1(5a4e7dbbfb759109c7d2a3b38bda9c60bf6ffef5))
src/mess/drivers/gamecom.c
r4347r4348
9090
9191static MACHINE_DRIVER_START( gamecom )
9292   /* basic machine hardware */
93   MDRV_CPU_ADD( "main", SM8500, XTAL_11_0592MHz/2 )   /* actually it's an sm8521 microcontroller containing an sm8500 cpu */
93   MDRV_CPU_ADD( "maincpu", SM8500, XTAL_11_0592MHz/2 )   /* actually it's an sm8521 microcontroller containing an sm8500 cpu */
9494   MDRV_CPU_PROGRAM_MAP( gamecom_mem_map, 0 )
9595   MDRV_CPU_CONFIG( gamecom_cpu_config )
9696
r4347r4348
131131MACHINE_DRIVER_END
132132
133133ROM_START( gamecom )
134   ROM_REGION( 0x2000, "main", 0 )
134   ROM_REGION( 0x2000, "maincpu", 0 )
135135   ROM_LOAD( "internal.bin", 0x1000,  0x1000, CRC(a0cec361) SHA1(03368237e8fed4a8724f3b4a1596cf4b17c96d33) )
136136   ROM_REGION( 0x40000, "user1", 0 )
137137   ROM_LOAD( "external.bin", 0x00000, 0x40000, CRC(e235a589) SHA1(97f782e72d738f4d7b861363266bf46b438d9b50) )
src/mess/drivers/radio86.c
r4347r4348
282282/* Machine driver */
283283static MACHINE_DRIVER_START( radio86 )
284284   /* basic machine hardware */
285   MDRV_CPU_ADD("main",8080, XTAL_16MHz / 9)
285   MDRV_CPU_ADD("maincpu",8080, XTAL_16MHz / 9)
286286   MDRV_CPU_PROGRAM_MAP(radio86_mem, 0)
287287   MDRV_CPU_IO_MAP(radio86_io, 0)
288288   MDRV_MACHINE_RESET( radio86 )
r4347r4348
316316static MACHINE_DRIVER_START( radio16 )
317317     /* basic machine hardware */
318318     MDRV_IMPORT_FROM(radio86)
319     MDRV_CPU_MODIFY("main")
319     MDRV_CPU_MODIFY("maincpu")
320320     MDRV_CPU_PROGRAM_MAP(radio86_16_mem, 0)
321321MACHINE_DRIVER_END
322322
323323static MACHINE_DRIVER_START( radiorom )
324324     /* basic machine hardware */
325325     MDRV_IMPORT_FROM(radio86)
326     MDRV_CPU_MODIFY("main")
326     MDRV_CPU_MODIFY("maincpu")
327327     MDRV_CPU_PROGRAM_MAP(radio86rom_mem, 0)
328328   
329329   MDRV_PPI8255_ADD( "ppi8255_2", radio86_ppi8255_interface_2 )
r4347r4348
332332static MACHINE_DRIVER_START( radioram )
333333     /* basic machine hardware */
334334     MDRV_IMPORT_FROM(radio86)
335     MDRV_CPU_MODIFY("main")
335     MDRV_CPU_MODIFY("maincpu")
336336     MDRV_CPU_PROGRAM_MAP(radio86ram_mem, 0)
337337
338338   MDRV_PPI8255_ADD( "ppi8255_2", radio86_ppi8255_interface_2 )
r4347r4348
341341static MACHINE_DRIVER_START( rk7007 )
342342     /* basic machine hardware */
343343     MDRV_IMPORT_FROM(radio86)
344     MDRV_CPU_MODIFY("main")
344     MDRV_CPU_MODIFY("maincpu")
345345     MDRV_CPU_IO_MAP(rk7007_io, 0)
346346
347347   MDRV_PPI8255_ADD( "ms7007", rk7007_ppi8255_interface )
r4347r4348
350350static MACHINE_DRIVER_START( rk700716 )
351351     /* basic machine hardware */
352352     MDRV_IMPORT_FROM(radio16)
353     MDRV_CPU_MODIFY("main")
353     MDRV_CPU_MODIFY("maincpu")
354354     MDRV_CPU_IO_MAP(rk7007_io, 0)
355355   
356356   MDRV_PPI8255_ADD( "ms7007", rk7007_ppi8255_interface )   
r4347r4348
359359
360360/* ROM definition */
361361ROM_START( radio86 )
362   ROM_REGION( 0x10000, "main", ROMREGION_ERASEFF )
362   ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
363363   ROM_LOAD( "bios.rom", 0xf800, 0x0800, CRC(bf1ceea5) SHA1(8f3d472203e550e9854dd79e1f44628635581ed0))
364   ROM_COPY( "main", 0xf800, 0xf000, 0x0800 )
364   ROM_COPY( "maincpu", 0xf800, 0xf000, 0x0800 )
365365   ROM_REGION(0x0800, "gfx1",0)
366366   ROM_LOAD ("radio86.fnt", 0x0000, 0x0400, CRC(7666bd5e) SHA1(8652787603bee9b4da204745e3b2aa07a4783dfc))
367367ROM_END
368368
369369ROM_START( radio4k )
370   ROM_REGION( 0x10000, "main", ROMREGION_ERASEFF )
370   ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
371371   ROM_LOAD( "bios4k.rom", 0xf000, 0x1000, CRC(2ac9d864) SHA1(296716c6cddc9dd31d500ba421aa807c45757cfd))
372372   ROM_REGION(0x0800, "gfx1",0)
373373   ROM_LOAD ("radio86.fnt", 0x0000, 0x0400, CRC(7666bd5e) SHA1(8652787603bee9b4da204745e3b2aa07a4783dfc))
374374ROM_END
375375
376376ROM_START( spektr01 )
377   ROM_REGION( 0x10000, "main", ROMREGION_ERASEFF )   
377   ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )   
378378   ROM_LOAD( "spektr001.rom", 0xf800, 0x0800, CRC(5a38e6d5) SHA1(799c3bbe2a9f08f3aba55379cc093329048350ff))
379   ROM_COPY( "main", 0xf800, 0xf000, 0x0800 )
379   ROM_COPY( "maincpu", 0xf800, 0xf000, 0x0800 )
380380   ROM_REGION(0x0800, "gfx1",0)
381381   ROM_LOAD ("radio86.fnt", 0x0000, 0x0400, CRC(7666bd5e) SHA1(8652787603bee9b4da204745e3b2aa07a4783dfc))
382382ROM_END
383383
384384ROM_START( radio16 )
385   ROM_REGION( 0x10000, "main", ROMREGION_ERASEFF )
385   ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
386386   ROM_LOAD( "rk86.16k", 0xf800, 0x0800, CRC(fd8a4caf) SHA1(90d6af571049a7c8748eac03541e921eac3f70c5))
387   ROM_COPY( "main", 0xf800, 0xf000, 0x0800 )
387   ROM_COPY( "maincpu", 0xf800, 0xf000, 0x0800 )
388388   ROM_REGION(0x0800, "gfx1",0)
389389   ROM_LOAD ("radio86.fnt", 0x0000, 0x0400, CRC(7666bd5e) SHA1(8652787603bee9b4da204745e3b2aa07a4783dfc))
390390ROM_END
391391
392392ROM_START( radiorom )
393   ROM_REGION( 0x18000, "main", ROMREGION_ERASEFF )
393   ROM_REGION( 0x18000, "maincpu", ROMREGION_ERASEFF )
394394   ROM_LOAD( "radiorom.rom", 0xf800, 0x0800, CRC(B5CDEAB7) SHA1(1c80d72082f2fb2190b575726cb82d86ae0ee7d8))
395   ROM_COPY( "main", 0xf800, 0xf000, 0x0800 )
395   ROM_COPY( "maincpu", 0xf800, 0xf000, 0x0800 )
396396   ROM_LOAD( "romdisk.rk", 0x10000, 0x8000, CRC(6B16FC04) SHA1(8c09322ae184f4d900f1032d20b5cf3eb2f1a24b))
397397   ROM_REGION(0x0800, "gfx1",0)
398398   ROM_LOAD ("radio86.fnt", 0x0000, 0x0400, CRC(7666bd5e) SHA1(8652787603bee9b4da204745e3b2aa07a4783dfc))
399399ROM_END
400400
401401ROM_START( radioram )
402   ROM_REGION( 0x20000, "main", ROMREGION_ERASEFF )
402   ROM_REGION( 0x20000, "maincpu", ROMREGION_ERASEFF )
403403   ROM_LOAD( "r86-1.bin", 0xf800, 0x0800, CRC(7E7AB7CB) SHA1(fedb00b6b8fbe1167faba3e4611b483f800e6934))
404404   ROM_LOAD( "r86-2.bin", 0xe000, 0x0800, CRC(955F0616) SHA1(d2b9f960558bdcb60074091fc79d1ad56c313586))
405405   ROM_LOAD( "romdisk.bin", 0x10000, 0x10000, CRC(43C0279B) SHA1(bc1dfd9bdbce39460616e2158f5d96279d0af3cf))
r4347r4348
408408ROM_END
409409
410410ROM_START( rk7007 )
411   ROM_REGION( 0x10000, "main", ROMREGION_ERASEFF )
411   ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
412412   ROM_LOAD( "ms7007.rom", 0xf800, 0x0800, CRC(002811DC) SHA1(4529eb72198c49af77fbcd7833bcd06a1cf9b1ac))
413   ROM_COPY( "main", 0xf800, 0xf000, 0x0800 )
413   ROM_COPY( "maincpu", 0xf800, 0xf000, 0x0800 )
414414   ROM_REGION(0x0800, "gfx1",0)
415415   ROM_LOAD ("radio86.fnt", 0x0000, 0x0400, CRC(7666bd5e) SHA1(8652787603bee9b4da204745e3b2aa07a4783dfc))
416416ROM_END
417417
418418ROM_START( rk700716 )
419   ROM_REGION( 0x10000, "main", ROMREGION_ERASEFF )
419   ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
420420   ROM_LOAD( "ms7007.16k", 0xf800, 0x0800, CRC(5268D7B6) SHA1(efd69d8456b8cf8b37f33237153c659725608528))
421   ROM_COPY( "main", 0xf800, 0xf000, 0x0800 )
421   ROM_COPY( "maincpu", 0xf800, 0xf000, 0x0800 )
422422   ROM_REGION(0x0800, "gfx1",0)
423423   ROM_LOAD ("radio86.fnt", 0x0000, 0x0400, CRC(7666bd5e) SHA1(8652787603bee9b4da204745e3b2aa07a4783dfc))
424424ROM_END
src/mess/drivers/mz700.c
r4347r4348
265265
266266static MACHINE_DRIVER_START(mz700)
267267   /* basic machine hardware */
268   MDRV_CPU_ADD("main", Z80, 3500000)
268   MDRV_CPU_ADD("maincpu", Z80, 3500000)
269269   MDRV_CPU_PROGRAM_MAP(mz700_mem, 0)
270270   MDRV_CPU_IO_MAP(mz700_io, 0)
271271
r4347r4348
302302
303303static MACHINE_DRIVER_START(mz800)
304304   /* basic machine hardware */
305   MDRV_CPU_ADD("main", Z80, 3500000)
305   MDRV_CPU_ADD("maincpu", Z80, 3500000)
306306   MDRV_CPU_PROGRAM_MAP(mz800_mem, 0)
307307   MDRV_CPU_IO_MAP(mz800_io, 0)
308308
r4347r4348
338338
339339
340340ROM_START(mz700)
341   ROM_REGION(0x18000,"main",0)
341   ROM_REGION(0x18000,"maincpu",0)
342342      ROM_LOAD("1z-013a.rom", 0x10000, 0x1000, CRC(4c6c6b7b) SHA1(ef8f7399e86c1dc638a5cb83efdb73369c2b5735))
343343   ROM_REGION(0x01000,"gfx1",0)
344344      ROM_LOAD("mz700fon.int",0x00000, 0x1000, CRC(42b9e8fb) SHA1(5128ad179a702f8e0bd9910a58bad8fbe4c20167))
345345ROM_END
346346
347347ROM_START(mz700j)
348   ROM_REGION(0x18000,"main",0)
348   ROM_REGION(0x18000,"maincpu",0)
349349      ROM_LOAD("1z-013a.rom", 0x10000, 0x1000, CRC(4c6c6b7b) SHA1(ef8f7399e86c1dc638a5cb83efdb73369c2b5735))
350350   ROM_REGION(0x01000,"gfx1",0)
351351      ROM_LOAD("mz700fon.jap",0x00000, 0x1000, CRC(425eedf5) SHA1(bd2cc750f2d2f63e50a59786668509e81a276e32))
352352ROM_END
353353
354354ROM_START(mz800)
355   ROM_REGION(0x18000,"main",0)
355   ROM_REGION(0x18000,"maincpu",0)
356356      ROM_LOAD("mz800h.rom",  0x10000, 0x2000, BAD_DUMP CRC(0c281675) SHA1(0adb6201f114f96f06a50de07d1c1ca2bcb4cf43))
357357   ROM_REGION(0x10000,"user1", ROMREGION_ERASEFF)
358358      /* RAMDISK */
src/mess/drivers/b2m.c
r4347r4348
166166/* Machine driver */
167167static MACHINE_DRIVER_START( b2m )
168168    /* basic machine hardware */
169    MDRV_CPU_ADD("main", 8080, 2000000)
169    MDRV_CPU_ADD("maincpu", 8080, 2000000)
170170    MDRV_CPU_PROGRAM_MAP(b2m_mem, 0)
171171    MDRV_CPU_IO_MAP(b2m_io, 0)
172172    MDRV_CPU_VBLANK_INT("screen", b2m_vblank_interrupt)
r4347r4348
210210
211211static MACHINE_DRIVER_START( b2mrom )
212212    MDRV_IMPORT_FROM(b2m)
213    MDRV_CPU_MODIFY("main")       
213    MDRV_CPU_MODIFY("maincpu")       
214214     MDRV_CPU_IO_MAP(b2m_rom_io, 0)
215215MACHINE_DRIVER_END
216216 
r4347r4348
234234/* ROM definition */
235235
236236ROM_START( b2m )
237    ROM_REGION( 0x12000, "main", ROMREGION_ERASEFF )
237    ROM_REGION( 0x12000, "maincpu", ROMREGION_ERASEFF )
238238    ROM_LOAD( "b2m.rom", 0x10000, 0x2000, CRC(3f3214d6) SHA1(dd93e7fbabf14d1aed6777fe1ccfe0a3ca8fcaf2) )
239239ROM_END
240240
241241ROM_START( b2mrom )
242    ROM_REGION( 0x22000, "main", ROMREGION_ERASEFF )
242    ROM_REGION( 0x22000, "maincpu", ROMREGION_ERASEFF )
243243    ROM_LOAD( "bios2.rom",  0x10000, 0x2000, CRC(c22a98b7) SHA1(7de91e653bf4b191ded62cf21532578268e4a2c1) )
244244    ROM_LOAD( "ramdos.sys", 0x12000, 0x60c0, CRC(91ed6df0) SHA1(4fd040f2647a6b7930c330c75560a035027d0606) )
245245ROM_END
src/mess/drivers/vectrex.c
r4347r4348
9090   AY8910_DEFAULT_LOADS,
9191   DEVCB_INPUT_PORT("BUTTONS"),
9292   DEVCB_NULL,
93   DEVCB_MEMORY_HANDLER("main", PROGRAM, vectrex_psg_port_w),
93   DEVCB_MEMORY_HANDLER("maincpu", PROGRAM, vectrex_psg_port_w),
9494   DEVCB_NULL
9595};
9696
9797static MACHINE_DRIVER_START(vectrex)
9898   /* basic machine hardware */
99   MDRV_CPU_ADD("main", M6809, XTAL_6MHz / 4)
99   MDRV_CPU_ADD("maincpu", M6809, XTAL_6MHz / 4)
100100   MDRV_CPU_PROGRAM_MAP(vectrex_map, 0)
101101
102102   MDRV_SCREEN_ADD("screen", VECTOR)
r4347r4348
129129MACHINE_DRIVER_END
130130
131131ROM_START(vectrex)
132   ROM_REGION(0x10000,"main", 0)
132   ROM_REGION(0x10000,"maincpu", 0)
133133   ROM_LOAD("system.img", 0xe000, 0x2000, CRC(ba13fb57) SHA1(65d07426b520ddd3115d40f255511e0fd2e20ae7))
134134ROM_END
135135
r4347r4348
199199
200200static MACHINE_DRIVER_START(raaspec)
201201   MDRV_IMPORT_FROM(vectrex)
202   MDRV_CPU_MODIFY("main")
202   MDRV_CPU_MODIFY("maincpu")
203203   MDRV_CPU_PROGRAM_MAP(raaspec_map, 0)
204204   MDRV_NVRAM_HANDLER(generic_0fill)
205205
r4347r4348
213213MACHINE_DRIVER_END
214214
215215ROM_START(raaspec)
216   ROM_REGION(0x10000,"main", 0)
216   ROM_REGION(0x10000,"maincpu", 0)
217217   ROM_LOAD("spectrum.bin", 0x0000, 0x8000, CRC(20af7f3f) SHA1(7ce85db8dd32687ad7629631ae113820371faf7c))
218218   ROM_LOAD("system.img", 0xe000, 0x2000, CRC(ba13fb57) SHA1(65d07426b520ddd3115d40f255511e0fd2e20ae7))
219219ROM_END
src/mess/drivers/aim65.c
r4347r4348
176176   DEVCB_NULL,
177177   DEVCB_NULL,
178178   DEVCB_HANDLER(aim65_printer_on),
179   DEVCB_CPU_INPUT_LINE("main", M6502_IRQ_LINE)
179   DEVCB_CPU_INPUT_LINE("maincpu", M6502_IRQ_LINE)
180180};
181181
182182/* user via interface */
r4347r4348
184184{
185185   DEVCB_NULL, DEVCB_NULL, DEVCB_NULL, DEVCB_NULL, DEVCB_NULL, DEVCB_NULL,
186186   DEVCB_NULL, DEVCB_NULL, DEVCB_NULL, DEVCB_NULL, DEVCB_NULL, DEVCB_NULL,
187   DEVCB_CPU_INPUT_LINE("main", M6502_IRQ_LINE)
187   DEVCB_CPU_INPUT_LINE("maincpu", M6502_IRQ_LINE)
188188};
189189
190190/******************************************************************************
r4347r4348
193193
194194static MACHINE_DRIVER_START( aim65 )
195195   /* basic machine hardware */
196   MDRV_CPU_ADD("main", M6502, AIM65_CLOCK) /* 1 MHz */
196   MDRV_CPU_ADD("maincpu", M6502, AIM65_CLOCK) /* 1 MHz */
197197   MDRV_CPU_PROGRAM_MAP(aim65_mem, 0)
198198
199199   MDRV_MACHINE_START(aim65)
r4347r4348
233233
234234
235235ROM_START( aim65 )
236   ROM_REGION(0x10000, "main", 0)
236   ROM_REGION(0x10000, "maincpu", 0)
237237   ROM_CART_LOAD("cart1", 0xb000, 0x1000, ROM_OPTIONAL)
238238   ROM_CART_LOAD("cart2", 0xc000, 0x1000, ROM_OPTIONAL)
239239   ROM_CART_LOAD("cart3", 0xd000, 0x1000, ROM_OPTIONAL)
src/mess/drivers/arcadia.c
r4347r4348
443443
444444static DEVICE_IMAGE_LOAD( arcadia_cart )
445445{
446   UINT8 *rom = memory_region(image->machine, "main");
446   UINT8 *rom = memory_region(image->machine, "maincpu");
447447   int size;
448448
449449   memset(rom, 0, 0x8000);
450450   size = image_length(image);
451451
452   if (size > memory_region_length(image->machine, "main"))
453      size = memory_region_length(image->machine, "main");
452   if (size > memory_region_length(image->machine, "maincpu"))
453      size = memory_region_length(image->machine, "maincpu");
454454
455455   if (image_fread(image, rom, size) != size)
456456      return INIT_FAIL;
r4347r4348
504504
505505static MACHINE_DRIVER_START( arcadia )
506506   /* basic machine hardware */
507   MDRV_CPU_ADD("main", S2650, 3580000/4)        /* 0.895 MHz */
507   MDRV_CPU_ADD("maincpu", S2650, 3580000/4)        /* 0.895 MHz */
508508   MDRV_CPU_PROGRAM_MAP(arcadia_mem, 0)
509509   MDRV_CPU_IO_MAP(arcadia_io, 0)
510510   MDRV_CPU_PERIODIC_INT(arcadia_video_line, 262*60)
r4347r4348
538538
539539
540540ROM_START(arcadia)
541   ROM_REGION(0x8000,"main", ROMREGION_ERASEFF)
541   ROM_REGION(0x8000,"maincpu", ROMREGION_ERASEFF)
542542   ROM_REGION(0x100,"gfx1", ROMREGION_ERASEFF)
543543ROM_END
544544
545545ROM_START(vcg)
546   ROM_REGION(0x8000,"main", ROMREGION_ERASEFF)
546   ROM_REGION(0x8000,"maincpu", ROMREGION_ERASEFF)
547547   ROM_REGION(0x100,"gfx1", ROMREGION_ERASEFF)
548548ROM_END
549549
r4347r4348
563563   // this is here to allow developement of some simple testroutines
564564   // for a real console
565565   {
566       UINT8 *rom=memory_region(machine, "main");
566       UINT8 *rom=memory_region(machine, "maincpu");
567567       /* this is a simple routine to display all rom characters
568568           on the display for a snapshot */
569569       static const UINT8 prog[]={ // address 0 of course
src/mess/drivers/tm990189.c
r4347r4348
755755static MACHINE_DRIVER_START(tm990_189)
756756   /* basic machine hardware */
757757   /* TMS9980 CPU @ 2.0 MHz */
758   MDRV_CPU_ADD("main", TMS9980, 2000000)
758   MDRV_CPU_ADD("maincpu", TMS9980, 2000000)
759759   MDRV_CPU_CONFIG(reset_params)
760760   MDRV_CPU_PROGRAM_MAP(tm990_189_memmap, 0)
761761   MDRV_CPU_IO_MAP(tm990_189_readcru, tm990_189_writecru)
r4347r4348
803803static MACHINE_DRIVER_START(tm990_189_v)
804804   /* basic machine hardware */
805805   /* TMS9980 CPU @ 2.0 MHz */
806   MDRV_CPU_ADD("main", TMS9980, 2000000)
806   MDRV_CPU_ADD("maincpu", TMS9980, 2000000)
807807   MDRV_CPU_CONFIG(reset_params)
808808   MDRV_CPU_PROGRAM_MAP(tm990_189_v_memmap, 0)
809809   MDRV_CPU_IO_MAP(tm990_189_readcru, tm990_189_writecru)
r4347r4348
845845*/
846846ROM_START(990189)
847847   /*CPU memory space*/
848   ROM_REGION(0x4000, "main",0)
848   ROM_REGION(0x4000, "maincpu",0)
849849
850850   /* extra ROM */
851851   ROM_LOAD("990-469.u32", 0x0800, 0x0800, CRC(08df7edb) SHA1(fa9751fd2e3e5d7ae03819fc9c7099e2ddd9fb53))
r4347r4348
858858
859859ROM_START(990189v)
860860   /*CPU memory space*/
861   ROM_REGION(0x4000, "main",0)
861   ROM_REGION(0x4000, "maincpu",0)
862862
863863   /* extra ROM */
864864   ROM_LOAD("990-469.u32", 0x0800, 0x0800, CRC(08df7edb) SHA1(fa9751fd2e3e5d7ae03819fc9c7099e2ddd9fb53))
src/mess/drivers/dc.c
r4347r4348
8181
8282static ADDRESS_MAP_START( dc_map, ADDRESS_SPACE_PROGRAM, 64 )
8383   AM_RANGE(0x00000000, 0x001fffff) AM_ROM   AM_WRITENOP            // BIOS
84   AM_RANGE(0x00200000, 0x0021ffff) AM_ROM AM_REGION("main", 0x200000)   // flash
84   AM_RANGE(0x00200000, 0x0021ffff) AM_ROM AM_REGION("maincpu", 0x200000)   // flash
8585   AM_RANGE(0x005f6800, 0x005f69ff) AM_READWRITE( dc_sysctrl_r, dc_sysctrl_w )
8686   AM_RANGE(0x005f6c00, 0x005f6cff) AM_READWRITE( dc_maple_r, dc_maple_w )
8787   AM_RANGE(0x005f7000, 0x005f70ff) AM_READWRITE( dc_gdrom_r, dc_gdrom_w )
r4347r4348
100100   AM_RANGE(0x10000000, 0x107fffff) AM_WRITE( ta_fifo_poly_w )
101101   AM_RANGE(0x10800000, 0x10ffffff) AM_WRITE( ta_fifo_yuv_w )
102102   AM_RANGE(0x11000000, 0x11ffffff) AM_RAM AM_SHARE(2)   // another mirror of texture memory
103   AM_RANGE(0xa0000000, 0xa01fffff) AM_ROM AM_REGION("main", 0)
103   AM_RANGE(0xa0000000, 0xa01fffff) AM_ROM AM_REGION("maincpu", 0)
104104ADDRESS_MAP_END
105105
106106static ADDRESS_MAP_START( dc_port, ADDRESS_SPACE_IO, 64 )
r4347r4348
140140
141141static MACHINE_DRIVER_START( dc )
142142   /* basic machine hardware */
143   MDRV_CPU_ADD("main", SH4, CPU_CLOCK)
143   MDRV_CPU_ADD("maincpu", SH4, CPU_CLOCK)
144144   MDRV_CPU_CONFIG(sh4cpu_config)
145145   MDRV_CPU_PROGRAM_MAP(dc_map,0)
146146   MDRV_CPU_IO_MAP(dc_port,0)
147147   MDRV_CPU_VBLANK_INT("screen", dc_dispatch_vblank)
148148
149   MDRV_CPU_ADD("sound", ARM7, ((XTAL_33_8688MHz*2)/3)/8)   // AICA bus clock is 2/3rds * 33.8688.  ARM7 gets 1 bus cycle out of each 8.
149   MDRV_CPU_ADD("soundcpu", ARM7, ((XTAL_33_8688MHz*2)/3)/8)   // AICA bus clock is 2/3rds * 33.8688.  ARM7 gets 1 bus cycle out of each 8.
150150   MDRV_CPU_PROGRAM_MAP(dc_audio_map, 0)
151151
152152   MDRV_MACHINE_RESET( dc_console )
r4347r4348
167167MACHINE_DRIVER_END
168168
169169ROM_START(dc)
170   ROM_REGION(0x220000, "main", 0)
170   ROM_REGION(0x220000, "maincpu", 0)
171171        ROM_LOAD( "dc101d_us.bin", 0x000000, 0x200000, CRC(89f2b1a1) SHA1(8951d1bb219ab2ff8583033d2119c899cc81f18c) )   // BIOS
172172        ROM_LOAD( "dcus_ntsc.bin", 0x200000, 0x020000, CRC(c611b498) SHA1(94d44d7f9529ec1642ba3771ed3c5f756d5bc872) )   // Flash
173173ROM_END
174174
175175ROM_START( dceu )
176   ROM_REGION(0x220000, "main", 0)
176   ROM_REGION(0x220000, "maincpu", 0)
177177        ROM_LOAD( "dc101d_eu.bin", 0x000000, 0x200000, CRC(a2564fad) SHA1(edc5d3d70a93c935703d26119b37731fd317d2bf) )   // BIOS
178178        ROM_LOAD( "dceu_pal.bin", 0x200000, 0x020000, CRC(b7e5aeeb) SHA1(11e02433e13b793ec7ffe0ae2356750bb8a575b4) )   // Flash
179179ROM_END
180180
181181ROM_START( dcjp )
182   ROM_REGION(0x220000, "main", 0)
182   ROM_REGION(0x220000, "maincpu", 0)
183183        ROM_LOAD( "dc1004jp.bin", 0x000000, 0x200000, CRC(5454841f) SHA1(1ea132c0fbbf07ef76789eadc07908045c089bd6) )   // BIOS
184184        /* ROM_LOAD( "dcjp_ntsc.bad", 0x200000, 0x020000, BAD_DUMP CRC(307a7035) SHA1(1411423a9d071340ea52c56e19c1aafc4e1309ee) )      // Hacked Flash */
185185        ROM_LOAD( "dcjp_ntsc.bin", 0x200000, 0x020000, CRC(5F92BF76) SHA1(BE78B834F512AB2CF3D67B96E377C9F3093FF82A) )  // Flash
186186ROM_END
187187
188188ROM_START( dcdev )
189   ROM_REGION(0x220000, "main", 0)
189   ROM_REGION(0x220000, "maincpu", 0)
190190        ROM_LOAD( "hkt-0120.bin", 0x000000, 0x200000, CRC(2186E0E5) SHA1(6BD18FB83F8FDB56F1941E079580E5DD672A6DAD) )      // BIOS
191191        ROM_LOAD( "hkt-0120-flash.bin", 0x200000, 0x020000, CRC(7784C304) SHA1(31EF57F550D8CD13E40263CBC657253089E53034) )   // Flash
192192ROM_END
src/mess/drivers/thomson.c
r4347r4348
453453
454454
455455ROM_START ( to7 )
456     ROM_REGION ( 0x24800, "main", 0 )
456     ROM_REGION ( 0x24800, "maincpu", 0 )
457457     ROM_LOAD ( "to7.rom", 0xe800, 0x1800,
458458      CRC(0e7826da)
459459      MD5(5bf18521bf35293de942645f690b2845)
r4347r4348
463463ROM_END
464464
465465ROM_START ( t9000 )
466     ROM_REGION ( 0x24800, "main", 0 )
466     ROM_REGION ( 0x24800, "maincpu", 0 )
467467     ROM_LOAD ( "t9000.rom", 0xe800, 0x1800,
468468      CRC(daa8cfbf)
469469      MD5(b3007f26e7b621c1a4f0fd2c287f80b9)
r4347r4348
672672     MDRV_MACHINE_RESET ( to7 )
673673
674674/* cpu */
675     MDRV_CPU_ADD ( "main", M6809, 1000000 )
675     MDRV_CPU_ADD ( "maincpu", M6809, 1000000 )
676676     MDRV_CPU_PROGRAM_MAP ( to7, 0 )
677677
678678/* video */
r4347r4348
827827/* ------------ ROMS ------------ */
828828
829829ROM_START ( to770 )
830     ROM_REGION ( 0x24800, "main", 0 )
830     ROM_REGION ( 0x24800, "maincpu", 0 )
831831     ROM_LOAD ( "to770.rom", 0xe800, 0x1800, /* BIOS */
832832      CRC(89518862)
833833      MD5(61402c35b75faeb4b74b815f323fff3d)
r4347r4348
837837ROM_END
838838
839839ROM_START ( to770a )
840     ROM_REGION ( 0x24800, "main", 0 )
840     ROM_REGION ( 0x24800, "maincpu", 0 )
841841     ROM_LOAD ( "to770a.rom", 0xe800, 0x1800,
842842      CRC(378ea808)
843843      MD5(6b63aa135107beee243967a2da0e5453)
r4347r4348
916916     MDRV_MACHINE_START ( to770 )
917917     MDRV_MACHINE_RESET ( to770 )
918918
919     MDRV_CPU_MODIFY( "main" )
919     MDRV_CPU_MODIFY( "maincpu" )
920920     MDRV_CPU_PROGRAM_MAP ( to770, 0 )
921921
922922     MDRV_MC6846_MODIFY( "mc6846", to770_timer )
r4347r4348
10241024/* ------------ ROMS ------------ */
10251025
10261026ROM_START ( mo5 )
1027     ROM_REGION ( 0x24800, "main", 0 )
1027     ROM_REGION ( 0x24800, "maincpu", 0 )
10281028     ROM_LOAD ( "mo5.rom", 0xf000, 0x1000,
10291029      CRC(f0ea9140)
10301030      MD5(ab3533a7132f90933acce80e256ae459)
r4347r4348
10371037ROM_END
10381038
10391039ROM_START ( mo5e )
1040     ROM_REGION ( 0x24800, "main", 0 )
1040     ROM_REGION ( 0x24800, "maincpu", 0 )
10411041     ROM_LOAD ( "mo5e.rom", 0xf000, 0x1000,
10421042      CRC(6520213a)
10431043      MD5(434c42b96c31a341e13085048cdc8eae)
r4347r4348
11131113     MDRV_MACHINE_START ( mo5 )
11141114     MDRV_MACHINE_RESET ( mo5 )
11151115
1116     MDRV_CPU_MODIFY( "main" )
1116     MDRV_CPU_MODIFY( "maincpu" )
11171117     MDRV_CPU_PROGRAM_MAP ( mo5, 0 )
11181118
11191119     MDRV_CASSETTE_MODIFY( "cassette", mo5_cassette_config )
r4347r4348
12521252 */
12531253
12541254ROM_START ( to9 )
1255     ROM_REGION ( 0x44800, "main", 0 )
1255     ROM_REGION ( 0x44800, "maincpu", 0 )
12561256     ROM_LOAD ( "to9.rom", 0xe000, 0x2000, /* BIOS & floppy controller */
12571257      CRC(f9278bf7)
12581258      MD5(507f0c482462b70b816fd23cf6791179)
r4347r4348
14671467     MDRV_MACHINE_START ( to9 )
14681468     MDRV_MACHINE_RESET ( to9 )
14691469
1470     MDRV_CPU_MODIFY( "main" )
1470     MDRV_CPU_MODIFY( "maincpu" )
14711471     MDRV_CPU_PROGRAM_MAP ( to9, 0 )
14721472
14731473   MDRV_CENTRONICS_REMOVE("centronics")
r4347r4348
15801580/* ------------ ROMS ------------ */
15811581
15821582ROM_START ( to8 )
1583     ROM_REGION ( 0x38800, "main", 0 )
1583     ROM_REGION ( 0x38800, "maincpu", 0 )
15841584
15851585     /* BIOS & floppy */
15861586     ROM_LOAD ( "to8-0.rom", 0x30000, 0x2000,
r4347r4348
16161616ROM_END
16171617
16181618ROM_START ( to8d )
1619     ROM_REGION ( 0x38800, "main", 0 )
1619     ROM_REGION ( 0x38800, "maincpu", 0 )
16201620
16211621     /* BIOS & floppy */
16221622     ROM_LOAD ( "to8d-0.rom", 0x30000, 0x2000,
r4347r4348
17041704     MDRV_MACHINE_START ( to8 )
17051705     MDRV_MACHINE_RESET ( to8 )
17061706
1707     MDRV_CPU_MODIFY( "main" )
1707     MDRV_CPU_MODIFY( "maincpu" )
17081708     MDRV_CPU_PROGRAM_MAP ( to8, 0 )
17091709
17101710   MDRV_CENTRONICS_REMOVE("centronics")
r4347r4348
17981798/* ------------ ROMS ------------ */
17991799
18001800ROM_START ( to9p )
1801     ROM_REGION ( 0x38800, "main", 0 )
1801     ROM_REGION ( 0x38800, "maincpu", 0 )
18021802
18031803     /* BIOS & floppy */
18041804     ROM_LOAD ( "to9p-0.rom", 0x30000, 0x2000,
r4347r4348
18621862     MDRV_MACHINE_START ( to9p )
18631863     MDRV_MACHINE_RESET ( to9p )
18641864
1865     MDRV_CPU_MODIFY( "main" )
1865     MDRV_CPU_MODIFY( "maincpu" )
18661866     MDRV_CPU_PROGRAM_MAP ( to9p, 0 )
18671867
18681868   MDRV_CENTRONICS_REMOVE("centronics")
r4347r4348
19681968/* ------------ ROMS ------------ */
19691969
19701970ROM_START ( mo6 )
1971     ROM_REGION ( 0x34800, "main", 0 )
1971     ROM_REGION ( 0x34800, "maincpu", 0 )
19721972
19731973     /* BIOS */
19741974     ROM_LOAD ( "mo6-0.rom", 0x23000, 0x1000,
r4347r4348
20032003ROM_END
20042004
20052005ROM_START ( pro128 )
2006     ROM_REGION ( 0x34800, "main", 0 )
2006     ROM_REGION ( 0x34800, "maincpu", 0 )
20072007
20082008     /* BIOS */
20092009     ROM_LOAD ( "pro128-0.rom", 0x23000, 0x1000,
r4347r4348
22112211     MDRV_MACHINE_START ( mo6 )
22122212     MDRV_MACHINE_RESET ( mo6 )
22132213
2214     MDRV_CPU_MODIFY( "main" )
2214     MDRV_CPU_MODIFY( "maincpu" )
22152215     MDRV_CPU_PROGRAM_MAP ( mo6, 0 )
22162216
22172217     MDRV_MC6846_REMOVE( "mc6846" )
r4347r4348
23002300/* ------------ ROMS ------------ */
23012301
23022302ROM_START ( mo5nr )
2303     ROM_REGION ( 0x34800, "main", 0 )
2303     ROM_REGION ( 0x34800, "maincpu", 0 )
23042304
23052305     /* BIOS */
23062306     ROM_LOAD ( "mo5nr-0.rom", 0x23000, 0x1000,
r4347r4348
24452445     MDRV_MACHINE_START ( mo5nr )
24462446     MDRV_MACHINE_RESET ( mo5nr )
24472447
2448     MDRV_CPU_MODIFY( "main" )
2448     MDRV_CPU_MODIFY( "maincpu" )
24492449     MDRV_CPU_PROGRAM_MAP ( mo5nr, 0 )
24502450
24512451     MDRV_MC6846_REMOVE( "mc6846" )
src/mess/drivers/pasogo.c
r4347r4348
145145
146146      if (log)
147147         logerror("%.5x vg230 %02x read %.2x\n",(int) cpu_get_pc(space->cpu),vg230.index,data);
148      //   data=memory_region(machine, "main")[0x4000+offset];
148      //   data=memory_region(machine, "maincpu")[0x4000+offset];
149149   }
150150   else
151151   {     
r4347r4348
159159   int log=TRUE;
160160   if (offset&1)
161161   {
162      //   memory_region(machine, "main")[0x4000+offset]=data;
162      //   memory_region(machine, "maincpu")[0x4000+offset]=data;
163163      vg230.data[vg230.index]=data;
164164      switch (vg230.index)
165165      {
r4347r4348
269269      {
270270      case 0: /*external*/
271271      case 1: /*ram*/
272      memory_set_bankptr( space->machine, ems.index+1, memory_region(space->machine, "main") + (ems.mapper[ems.index].address&0xfffff) );
272      memory_set_bankptr( space->machine, ems.index+1, memory_region(space->machine, "maincpu") + (ems.mapper[ems.index].address&0xfffff) );
273273      break;
274274      case 3: /* rom 1 */
275275      case 4: /* pc card a */
r4347r4348
365365static VIDEO_UPDATE( pasogo )
366366{
367367   static int width=-1, height=-1;
368   UINT8 *rom = memory_region(screen->machine, "main")+0xb8000;
368   UINT8 *rom = memory_region(screen->machine, "maincpu")+0xb8000;
369369   UINT16 c[]={ 3, 0 };
370370   int x,y;
371371//   plot_box(bitmap, 0, 0, 64/*bitmap->width*/, bitmap->height, 0);
r4347r4348
483483}
484484
485485static MACHINE_DRIVER_START( pasogo )
486   MDRV_CPU_ADD("main", I80188/*V30HL in vadem vg230*/, 10000000/*?*/)
486   MDRV_CPU_ADD("maincpu", I80188/*V30HL in vadem vg230*/, 10000000/*?*/)
487487   MDRV_CPU_PROGRAM_MAP(pasogo_mem, 0)
488488   MDRV_CPU_IO_MAP( pasogo_io, 0 )
489489   MDRV_CPU_VBLANK_INT("screen", pasogo_interrupt)
r4347r4348
517517
518518
519519ROM_START(pasogo)
520   ROM_REGION(0x100000,"main", ROMREGION_ERASEFF) // 1 megabyte dram?
520   ROM_REGION(0x100000,"maincpu", ROMREGION_ERASEFF) // 1 megabyte dram?
521521//   ROM_LOAD("gmaster.bin", 0x0000, 0x1000, CRC(05cc45e5) SHA1(05d73638dea9657ccc2791c0202d9074a4782c1e) )
522522//   ROM_CART_LOAD(0, "bin", 0x8000, 0x8000, 0)
523523   ROM_REGION(0x100000,"user1", ROMREGION_ERASEFF)
r4347r4348
529529   vg230_init(machine);
530530   memset(&ems, 0, sizeof(ems));
531531   memory_set_bankptr( machine, 27, memory_region(machine, "user1") + 0x00000 );
532   memory_set_bankptr( machine, 28, memory_region(machine, "main") + 0xb8000/*?*/ );
532   memory_set_bankptr( machine, 28, memory_region(machine, "maincpu") + 0xb8000/*?*/ );
533533}
534534
535535/*    YEAR      NAME            PARENT  MACHINE   INPUT     INIT               
src/mess/drivers/lisa.c
r4347r4348
9191/* Lisa1 and Lisa 2 machine */
9292static MACHINE_DRIVER_START( lisa )
9393   /* basic machine hardware */
94   MDRV_CPU_ADD("main", M68000, 5093760)        /* 20.37504 MHz / 4 */
94   MDRV_CPU_ADD("maincpu", M68000, 5093760)        /* 20.37504 MHz / 4 */
9595   MDRV_CPU_PROGRAM_MAP(lisa_map, 0)
9696   MDRV_CPU_VBLANK_INT("screen", lisa_interrupt)
9797
r4347r4348
283283
284284
285285ROM_START( lisa2 )
286   ROM_REGION16_BE(0x204000,"main",0)   /* 68k rom and ram */
286   ROM_REGION16_BE(0x204000,"maincpu",0)   /* 68k rom and ram */
287287   ROM_LOAD16_BYTE( "booth.hi", 0x000000, 0x2000, CRC(adfd4516) SHA1(97a89ce1218b8aa38f69f92f6f363f435c887914))
288288   ROM_LOAD16_BYTE( "booth.lo", 0x000001, 0x2000, CRC(546d6603) SHA1(2a81e4d483f50ae8a2519621daeb7feb440a3e4d))
289289
r4347r4348
295295ROM_END
296296
297297ROM_START( lisa210 )
298   ROM_REGION16_BE(0x204000,"main", 0)   /* 68k rom and ram */
298   ROM_REGION16_BE(0x204000,"maincpu", 0)   /* 68k rom and ram */
299299   ROM_LOAD16_BYTE( "booth.hi", 0x000000, 0x2000, CRC(adfd4516) SHA1(97a89ce1218b8aa38f69f92f6f363f435c887914))
300300   ROM_LOAD16_BYTE( "booth.lo", 0x000001, 0x2000, CRC(546d6603) SHA1(2a81e4d483f50ae8a2519621daeb7feb440a3e4d))
301301
r4347r4348
312312ROM_END
313313
314314ROM_START( macxl )
315   ROM_REGION16_BE(0x204000,"main", 0)   /* 68k rom and ram */
315   ROM_REGION16_BE(0x204000,"maincpu", 0)   /* 68k rom and ram */
316316   ROM_LOAD16_BYTE( "boot3a.hi", 0x000000, 0x2000, CRC(80add605) SHA1(82215688b778d8c712a8186235f7981e3dc4dd7f))
317317   ROM_LOAD16_BYTE( "boot3a.lo", 0x000001, 0x2000, CRC(edf5222f) SHA1(b0388ee8dbbc51a2d628473dc29b65ce913fcd76))
318318
src/mess/drivers/sym1.c
r4347r4348
122122
123123static MACHINE_DRIVER_START( sym1 )
124124   /* basic machine hardware */
125   MDRV_CPU_ADD("main", M6502, SYM1_CLOCK)  /* 1 MHz */
125   MDRV_CPU_ADD("maincpu", M6502, SYM1_CLOCK)  /* 1 MHz */
126126   MDRV_CPU_PROGRAM_MAP(sym1_map, 0)
127127   MDRV_MACHINE_RESET(sym1)
128128
r4347r4348
150150
151151
152152ROM_START( sym1 )
153   ROM_REGION(0x10000, "main", 0)
153   ROM_REGION(0x10000, "maincpu", 0)
154154//  ROM_LOAD("basicv11", 0xc000, 0x2000, CRC(075b0bbd))
155155   ROM_LOAD("sym1", 0x8000, 0x1000, CRC(7a4b1e12) SHA1(cebdf815105592658cfb7af262f2101d2aeab786) )
156156ROM_END
src/mess/drivers/lynx.c
r4347r4348
6363
6464static MACHINE_DRIVER_START( lynx )
6565   /* basic machine hardware */
66   MDRV_CPU_ADD("main", M65SC02, 4000000)        /* vti core, integrated in vlsi, stz, but not bbr bbs */
66   MDRV_CPU_ADD("maincpu", M65SC02, 4000000)        /* vti core, integrated in vlsi, stz, but not bbr bbs */
6767   MDRV_CPU_PROGRAM_MAP(lynx_mem, 0)
6868   MDRV_CPU_VBLANK_INT("screen", lynx_frame_int)
6969   MDRV_QUANTUM_TIME(HZ(60))
r4347r4348
116116*/
117117
118118ROM_START(lynx)
119   ROM_REGION(0x200,"main", 0)
119   ROM_REGION(0x200,"maincpu", 0)
120120   ROM_SYSTEM_BIOS( 0, "default",   "rom save" )
121121   ROMX_LOAD( "lynx.bin",  0x00000, 0x200, CRC(e1ffecb6) SHA1(de60f2263851bbe10e5801ef8f6c357a4bc077e6), ROM_BIOS(1))
122122   ROM_SYSTEM_BIOS( 1, "a", "alternate rom save" )
r4347r4348
128128ROM_END
129129
130130ROM_START(lynx2)
131   ROM_REGION(0x200,"main", 0)
131   ROM_REGION(0x200,"maincpu", 0)
132132   ROM_LOAD("lynx2.bin", 0, 0x200, NO_DUMP)
133133
134134   ROM_REGION(0x100,"gfx1", ROMREGION_ERASE00)
r4347r4348
140140static QUICKLOAD_LOAD( lynx )
141141{
142142   UINT8 *data = NULL;
143   UINT8 *rom = memory_region(image->machine, "main");
143   UINT8 *rom = memory_region(image->machine, "maincpu");
144144   UINT8 header[10]; // 80 08 dw Start dw Len B S 9 3
145145   UINT16 start, length;
146146   int i;
r4347r4348
162162      return INIT_FAIL;
163163
164164   for (i = 0; i < length; i++)
165      memory_write_byte(cputag_get_address_space(image->machine,"main",ADDRESS_SPACE_PROGRAM), start + i, data[i]);
165      memory_write_byte(cputag_get_address_space(image->machine,"maincpu",ADDRESS_SPACE_PROGRAM), start + i, data[i]);
166166
167167   rom[0x1fc] = start & 0xff;
168168   rom[0x1fd] = start >> 8;
src/mess/drivers/aquarius.c
r4347r4348
182182
183183   */
184184
185   UINT8 *ROM = memory_region(space->machine, "main") + 0xc000;
185   UINT8 *ROM = memory_region(space->machine, "maincpu") + 0xc000;
186186   UINT16 addr;
187187
188188   scrambler = data;
r4347r4348
388388static DEVICE_IMAGE_LOAD( aquarius_cart )
389389{
390390   int size = image_length(image);
391   UINT8 *ptr = memory_region(image->machine, "main") + 0xc000;
391   UINT8 *ptr = memory_region(image->machine, "maincpu") + 0xc000;
392392
393393   if (image_fread(image, ptr, size) != size)
394394   {
r4347r4348
419419
420420static MACHINE_DRIVER_START( aquarius )
421421   /* basic machine hardware */
422   MDRV_CPU_ADD("main", Z80, XTAL_3_579545MHz) // ???
422   MDRV_CPU_ADD("maincpu", Z80, XTAL_3_579545MHz) // ???
423423   MDRV_CPU_PROGRAM_MAP(aquarius_mem, 0)
424424   MDRV_CPU_IO_MAP(aquarius_io, 0)
425425   MDRV_CPU_VBLANK_INT("screen", aquarius_interrupt)
r4347r4348
466466/* ROMs */
467467
468468ROM_START( aquarius )
469   ROM_REGION( 0x10000, "main", 0 )
469   ROM_REGION( 0x10000, "maincpu", 0 )
470470//   ROM_LOAD( "aquarius.u2", 0x0000, 0x2000, CRC(5cfa5b42) SHA1(02c8ee11e911d1aa346812492d14284b6870cb3e) )
471471   ROM_LOAD( "aq2.u2", 0x0000, 0x2000, CRC(a2d15bcf) SHA1(ca6ef55e9ead41453efbf5062d6a60285e9661a6) )
472472   
src/mess/drivers/cgenie.c
r4347r4348
384384{
385385   AY8910_LEGACY_OUTPUT,
386386   AY8910_DEFAULT_LOADS,
387   DEVCB_MEMORY_HANDLER("main", PROGRAM, cgenie_psg_port_a_r),
388   DEVCB_MEMORY_HANDLER("main", PROGRAM, cgenie_psg_port_b_r),
389   DEVCB_MEMORY_HANDLER("main", PROGRAM, cgenie_psg_port_a_w),
390   DEVCB_MEMORY_HANDLER("main", PROGRAM, cgenie_psg_port_b_w)
387   DEVCB_MEMORY_HANDLER("maincpu", PROGRAM, cgenie_psg_port_a_r),
388   DEVCB_MEMORY_HANDLER("maincpu", PROGRAM, cgenie_psg_port_b_r),
389   DEVCB_MEMORY_HANDLER("maincpu", PROGRAM, cgenie_psg_port_a_w),
390   DEVCB_MEMORY_HANDLER("maincpu", PROGRAM, cgenie_psg_port_b_w)
391391};
392392
393393
r4347r4348
400400
401401static MACHINE_DRIVER_START( cgenie )
402402   /* basic machine hardware */
403   MDRV_CPU_ADD("main", Z80, 2216800)        /* 2,2168 MHz */
403   MDRV_CPU_ADD("maincpu", Z80, 2216800)        /* 2,2168 MHz */
404404   MDRV_CPU_PROGRAM_MAP(cgenie_mem, 0)
405405   MDRV_CPU_IO_MAP(cgenie_io, 0)
406406   MDRV_CPU_VBLANK_INT("screen", cgenie_frame_interrupt)
r4347r4348
449449***************************************************************************/
450450
451451ROM_START (cgenie)
452   ROM_REGION(0x13000,"main",0)
452   ROM_REGION(0x13000,"maincpu",0)
453453   ROM_LOAD ("cgenie.rom",  0x00000, 0x4000, CRC(d359ead7) SHA1(d8c2fc389ad38c45fba0ed556a7d91abac5463f4))
454454   ROM_LOAD ("cgdos.rom",   0x10000, 0x2000, CRC(2a96cf74) SHA1(6dcac110f87897e1ee7521aefbb3d77a14815893))
455455   ROM_CART_LOAD("cart", 0x12000, 0x1000, ROM_NOMIRROR | ROM_OPTIONAL)
src/mess/drivers/scorpion.c
r4347r4348
213213         ROMSelection = ((spectrum_128_port_7ffd_data>>4) & 0x01) ? 1 : 0;
214214      }         
215215      memory_install_write8_handler(space, 0x0000, 0x3fff, 0, 0, SMH_UNMAP);
216      memory_set_bankptr(machine, 1, memory_region(machine, "main") + 0x010000 + (ROMSelection<<14));     
216      memory_set_bankptr(machine, 1, memory_region(machine, "maincpu") + 0x010000 + (ROMSelection<<14));     
217217   }
218218   
219219   
r4347r4348
227227         ROMSelection = ((spectrum_128_port_7ffd_data>>4) & 0x01) ? 1 : 0;
228228         betadisk_disable();
229229         memory_install_write8_handler(space, 0x0000, 0x3fff, 0, 0, SMH_UNMAP);
230         memory_set_bankptr(space->machine, 1, memory_region(space->machine, "main") + 0x010000 + (ROMSelection<<14));
230         memory_set_bankptr(space->machine, 1, memory_region(space->machine, "maincpu") + 0x010000 + (ROMSelection<<14));
231231      }   
232232   } else if (((pc & 0xff00) == 0x3d00) && (ROMSelection==1))
233233   {
r4347r4348
237237   }
238238   if((address>=0x0000) && (address<=0x3fff)) {
239239      memory_install_write8_handler(space, 0x0000, 0x3fff, 0, 0, SMH_UNMAP);
240      direct->raw = direct->decrypted =  memory_region(space->machine, "main") + 0x010000 + (ROMSelection<<14);
240      direct->raw = direct->decrypted =  memory_region(space->machine, "maincpu") + 0x010000 + (ROMSelection<<14);
241241      memory_set_bankptr(space->machine, 1, direct->raw);
242242      return ~0;
243243   }
r4347r4348
320320
321321static MACHINE_DRIVER_START( scorpion )
322322   MDRV_IMPORT_FROM( spectrum_128 )
323   MDRV_CPU_MODIFY("main")
323   MDRV_CPU_MODIFY("maincpu")
324324   MDRV_CPU_IO_MAP(scorpion_io, 0)
325325   MDRV_MACHINE_RESET( scorpion )
326326   
r4347r4348
336336***************************************************************************/
337337
338338ROM_START(scorpion)
339   ROM_REGION(0x020000, "main", 0)
339   ROM_REGION(0x020000, "maincpu", 0)
340340   ROM_LOAD("scorp0.rom", 0x010000, 0x4000, CRC(0eb40a09) SHA1(477114ff0fe1388e0979df1423602b21248164e5) )
341341   ROM_LOAD("scorp1.rom", 0x014000, 0x4000, CRC(9d513013) SHA1(367b5a102fb663beee8e7930b8c4acc219c1f7b3) )
342342   ROM_LOAD("scorp2.rom", 0x018000, 0x4000, CRC(fd0d3ce1) SHA1(07783ee295274d8ff15d935bfd787c8ac1d54900) )
src/mess/drivers/specpls3.c
r4347r4348
253253
254254         /* rom 0 is editor, rom 1 is syntax, rom 2 is DOS, rom 3 is 48 BASIC */
255255
256         ChosenROM = memory_region(machine, "main") + 0x010000 + (ROMSelection<<14);
256         ChosenROM = memory_region(machine, "maincpu") + 0x010000 + (ROMSelection<<14);
257257
258258         memory_set_bankptr(machine, 1, ChosenROM);
259259         memory_install_write8_handler(space, 0x0000, 0x3fff, 0, 0, SMH_UNMAP);
r4347r4348
363363
364364static MACHINE_DRIVER_START( spectrum_plus3 )
365365   MDRV_IMPORT_FROM( spectrum_128 )
366   MDRV_CPU_MODIFY("main")
366   MDRV_CPU_MODIFY("maincpu")
367367   MDRV_CPU_IO_MAP(spectrum_plus3_io, 0)
368368   MDRV_SCREEN_MODIFY("screen")
369369   MDRV_SCREEN_REFRESH_RATE(50.01)
r4347r4348
380380***************************************************************************/
381381
382382ROM_START(specpl2a)
383   ROM_REGION(0x20000,"main",0)
383   ROM_REGION(0x20000,"maincpu",0)
384384   ROM_LOAD("p2a41_0.rom",0x10000,0x4000, CRC(30c9f490) SHA1(62ec15a4af56cd1d206d0bd7011eac7c889a595d))
385385   ROM_LOAD("p2a41_1.rom",0x14000,0x4000, CRC(a7916b3f) SHA1(1a7812c383a3701e90e88d1da086efb0c033ac72))
386386   ROM_LOAD("p2a41_2.rom",0x18000,0x4000, CRC(c9a0b748) SHA1(8df145d10ff78f98138682ea15ebccb2874bf759))
r4347r4348
389389ROM_END
390390
391391ROM_START(specpls3)
392   ROM_REGION(0x20000,"main",0)
392   ROM_REGION(0x20000,"maincpu",0)
393393   ROM_SYSTEM_BIOS( 0, "en", "English v4.0" )
394394   ROMX_LOAD("pl3-0.rom",0x10000,0x4000, CRC(17373da2) SHA1(e319ed08b4d53a5e421a75ea00ea02039ba6555b), ROM_BIOS(1))
395395   ROMX_LOAD("pl3-1.rom",0x14000,0x4000, CRC(f1d1d99e) SHA1(c9969fc36095a59787554026a9adc3b87678c794), ROM_BIOS(1))
r4347r4348
412412ROM_END
413413
414414ROM_START(specpl3e)
415   ROM_REGION(0x20000,"main",0)
415   ROM_REGION(0x20000,"maincpu",0)
416416   ROM_SYSTEM_BIOS( 0, "en", "English" )
417417   ROMX_LOAD("roma-en.rom",0x10000,0x8000, CRC(2d533344) SHA1(5ff2dae32eb745d87e0b54c595d1d20a866f316f), ROM_BIOS(1))
418418   ROMX_LOAD("romb-en.rom",0x18000,0x8000, CRC(ef8d5d92) SHA1(983aa53aa76e25a3af123c896016bacf6829b72b), ROM_BIOS(1))
r4347r4348
423423ROM_END
424424
425425ROM_START(sp3e8bit)
426   ROM_REGION(0x20000,"main",0)
426   ROM_REGION(0x20000,"maincpu",0)
427427   ROM_SYSTEM_BIOS( 0, "en", "English" )
428428   ROMX_LOAD("3e8biten.rom",0x10000,0x10000, CRC(beee3bf6) SHA1(364ec903916282d5401901c5fb0cb93a142038b3), ROM_BIOS(1))
429429   ROM_SYSTEM_BIOS( 1, "sp", "Spanish" )
r4347r4348
432432ROM_END
433433
434434ROM_START(sp3ezcf)
435   ROM_REGION(0x20000,"main",0)
435   ROM_REGION(0x20000,"maincpu",0)
436436   ROM_SYSTEM_BIOS( 0, "en", "English" )
437437   ROMX_LOAD("3ezcfen.rom",0x10000,0x10000, CRC(43993f11) SHA1(27cbfbe8b5ef9eec6056026fa0b84fe158ba2f45), ROM_BIOS(1))
438438   ROM_SYSTEM_BIOS( 1, "sp", "Spanish" )
r4347r4348
441441ROM_END
442442
443443ROM_START(sp3eata)
444   ROM_REGION(0x20000,"main",0)
444   ROM_REGION(0x20000,"maincpu",0)
445445   ROM_SYSTEM_BIOS( 0, "en", "English" )
446446   ROMX_LOAD("3ezxaen.rom",0x10000,0x10000, CRC(dfb676dc) SHA1(37618bc66ae33dbf686be8a92867e4a9144b65dc), ROM_BIOS(1))
447447   ROM_SYSTEM_BIOS( 1, "sp", "Spanish" )
src/mess/drivers/pmd85.c
r4347r4348
543543/* machine definition */
544544static MACHINE_DRIVER_START( pmd85 )
545545   /* basic machine hardware */
546   MDRV_CPU_ADD("main", 8080, 2000000)      /* 2.048MHz ??? */
546   MDRV_CPU_ADD("maincpu", 8080, 2000000)      /* 2.048MHz ??? */
547547   MDRV_CPU_PROGRAM_MAP(pmd85_mem, 0)
548548   MDRV_CPU_IO_MAP(pmd85_io_map, 0)
549549   MDRV_QUANTUM_TIME(HZ(60))
r4347r4348
591591
592592static MACHINE_DRIVER_START( pmd852a )
593593   MDRV_IMPORT_FROM( pmd851 )
594   MDRV_CPU_MODIFY("main")
594   MDRV_CPU_MODIFY("maincpu")
595595   MDRV_CPU_PROGRAM_MAP(pmd852a_mem, 0)
596596MACHINE_DRIVER_END
597597
598598static MACHINE_DRIVER_START( pmd853 )
599599   MDRV_IMPORT_FROM( pmd851 )
600   MDRV_CPU_MODIFY("main")
600   MDRV_CPU_MODIFY("maincpu")
601601   MDRV_CPU_PROGRAM_MAP(pmd853_mem, 0)
602602MACHINE_DRIVER_END
603603
604604static MACHINE_DRIVER_START( alfa )
605605   MDRV_IMPORT_FROM( pmd85 )
606   MDRV_CPU_MODIFY("main")
606   MDRV_CPU_MODIFY("maincpu")
607607   MDRV_CPU_PROGRAM_MAP(alfa_mem, 0)
608608
609609   MDRV_PPI8255_ADD( "ppi8255_0", alfa_ppi8255_interface[0] )
r4347r4348
616616
617617static MACHINE_DRIVER_START( mato )
618618   MDRV_IMPORT_FROM( pmd85 )
619   MDRV_CPU_MODIFY("main")
619   MDRV_CPU_MODIFY("maincpu")
620620   MDRV_CPU_PROGRAM_MAP(mato_mem, 0)
621621   MDRV_CPU_IO_MAP(mato_io_map, 0)
622622
r4347r4348
628628
629629static MACHINE_DRIVER_START( c2717 )
630630   MDRV_IMPORT_FROM( pmd851 )
631   MDRV_CPU_MODIFY("main")
631   MDRV_CPU_MODIFY("maincpu")
632632   MDRV_CPU_PROGRAM_MAP(c2717_mem, 0)
633633MACHINE_DRIVER_END
634634
635635
636636ROM_START(pmd851)
637   ROM_REGION(0x11000,"main",0)
637   ROM_REGION(0x11000,"maincpu",0)
638638   ROM_LOAD("pmd85-1.bin", 0x10000, 0x1000, CRC(ef50b416) SHA1(afa3ec0d03228adc5287a4cba905ce7ad0497dff))
639639   ROM_REGION(0x2400,"user1",0)
640640   ROM_LOAD_OPTIONAL("pmd85-1.bas", 0x0000, 0x2400, CRC(4fc37d45) SHA1(3bd0f92f37a3f2ee539916dc75508bda37433a72))
641641ROM_END
642642
643643ROM_START(pmd852)
644   ROM_REGION(0x11000,"main",0)
644   ROM_REGION(0x11000,"maincpu",0)
645645   ROM_LOAD("pmd85-2.bin", 0x10000, 0x1000, CRC(d4786f63) SHA1(6facdf37bb012714244b012a0c4bd715a956e42b))
646646   ROM_REGION(0x2400,"user1",0)
647647   ROM_LOAD_OPTIONAL("pmd85-2.bas", 0x0000, 0x2400, CRC(fc4a3ebf) SHA1(3bfc0e9a5cd5187da573b5d539d7246358125a88))
648648ROM_END
649649
650650ROM_START(pmd852a)
651   ROM_REGION(0x11000,"main",0)
651   ROM_REGION(0x11000,"maincpu",0)
652652   ROM_LOAD("pmd85-2a.bin", 0x10000, 0x1000, CRC(5a9a961b) SHA1(7363341596367d08b9a98767c6585ce18dfd03af))
653653   ROM_REGION(0x2400,"user1",0)
654654   ROM_LOAD_OPTIONAL("pmd85-2a.bas", 0x0000, 0x2400, CRC(6ff379ad) SHA1(edcaf2420cac9771596ead5c86c41116b228eca3))
655655ROM_END
656656
657657ROM_START(pmd852b)
658   ROM_REGION(0x11000,"main",0)
658   ROM_REGION(0x11000,"maincpu",0)
659659   ROM_LOAD("pmd85-2a.bin", 0x10000, 0x1000, CRC(5a9a961b) SHA1(7363341596367d08b9a98767c6585ce18dfd03af))
660660   ROM_REGION(0x2400,"user1",0)
661661   ROM_LOAD_OPTIONAL("pmd85-2a.bas", 0x0000, 0x2400, CRC(6ff379ad) SHA1(edcaf2420cac9771596ead5c86c41116b228eca3))
662662ROM_END
663663
664664ROM_START(pmd853)
665   ROM_REGION(0x12000,"main",0)
665   ROM_REGION(0x12000,"maincpu",0)
666666   ROM_LOAD("pmd85-3.bin", 0x10000, 0x2000, CRC(83e22c47) SHA1(5f131e27ae3ec8907adbe5cd228c67d131066084))
667667   ROM_REGION(0x2800,"user1",0)
668668   ROM_LOAD_OPTIONAL("pmd85-3.bas", 0x0000, 0x2800, CRC(1e30e91d) SHA1(d086040abf4c0a7e5da8cf4db7d1668a1d9309a4))
669669ROM_END
670670
671671ROM_START(alfa)
672   ROM_REGION(0x13400,"main",0)
672   ROM_REGION(0x13400,"maincpu",0)
673673   ROM_LOAD("alfa.bin", 0x10000, 0x1000, CRC(e425eedb) SHA1(db93b5de1e16b5ae71be08feb083a2ac15759495))
674674   ROM_LOAD("alfa.bas", 0x11000, 0x2400, CRC(9a73bfd2) SHA1(74314d989846f64e715f64deb84cb177fa62f4a9))
675675ROM_END
676676
677677ROM_START(mato)
678   ROM_REGION(0x14000,"main",0)
678   ROM_REGION(0x14000,"maincpu",0)
679679   ROM_SYSTEM_BIOS(0, "default", "BASIC")
680680   ROMX_LOAD("mato.bin",  0x10000, 0x4000, CRC(574110a6) SHA1(4ff2cd4b07a1a700c55f92e5b381c04f758fb461), ROM_BIOS(1))
681681   ROM_SYSTEM_BIOS(1, "ru", "Russian")
r4347r4348
693693ROM_END
694694
695695ROM_START(c2717)
696   ROM_REGION(0x14000,"main",0)
696   ROM_REGION(0x14000,"maincpu",0)
697697   ROM_LOAD("c2717.rom", 0x10000, 0x4000, CRC(da1703b1) SHA1(9fb93e6cae8b551064c7175bf3b4e3113429ce73))
698698ROM_END
699699
src/mess/drivers/apexc.c
r4347r4348
5353   if (apexc_cylinder.fd)
5454   {   /* load RAM contents */
5555
56      image_fread(apexc_cylinder.fd, memory_region(image->machine, "main"), /*0x8000*/0x1000);
56      image_fread(apexc_cylinder.fd, memory_region(image->machine, "maincpu"), /*0x8000*/0x1000);
5757#ifdef LSB_FIRST
5858      {   /* fix endianness */
5959         UINT32 *RAM;
6060         int i;
6161
62         RAM = (UINT32 *) memory_region(image->machine, "main");
62         RAM = (UINT32 *) memory_region(image->machine, "maincpu");
6363
6464         for (i=0; i < /*0x2000*/0x0400; i++)
6565            RAM[i] = BIG_ENDIANIZE_INT32(RAM[i]);
r4347r4348
8484         UINT32 *RAM;
8585         int i;
8686
87         RAM = (UINT32 *) memory_region(image->machine, "main");
87         RAM = (UINT32 *) memory_region(image->machine, "maincpu");
8888
8989         for (i=0; i < /*0x2000*/0x0400; i++)
9090            RAM[i] = BIG_ENDIANIZE_INT32(RAM[i]);
9191      }
9292#endif
9393      /* write */
94      image_fwrite(apexc_cylinder.fd, memory_region(image->machine, "main"), /*0x8000*/0x1000);
94      image_fwrite(apexc_cylinder.fd, memory_region(image->machine, "maincpu"), /*0x8000*/0x1000);
9595   }
9696}
9797
r4347r4348
797797
798798   /* basic machine hardware */
799799   /* APEXC CPU @ 2.0 kHz (memory word clock frequency) */
800   MDRV_CPU_ADD("main", APEXC, 2000)
800   MDRV_CPU_ADD("maincpu", APEXC, 2000)
801801   /*MDRV_CPU_CONFIG(NULL)*/
802802   MDRV_CPU_PROGRAM_MAP(apexc_mem_map, 0)
803803   MDRV_CPU_IO_MAP(apexc_io_map, 0)
r4347r4348
826826
827827ROM_START(apexc)
828828   /*CPU memory space*/
829   ROM_REGION32_BE(0x10000, "main", ROMREGION_ERASEFF)
829   ROM_REGION32_BE(0x10000, "maincpu", ROMREGION_ERASEFF)
830830      /* Note this computer has no ROM... */
831831
832832   ROM_REGION(apexcfontdata_size, "gfx1", ROMREGION_ERASEFF)
src/mess/drivers/x68k.c
r4347r4348
20942094
20952095static DRIVER_INIT( x68000 )
20962096{
2097   unsigned char* rom = memory_region(machine, "main");
2097   unsigned char* rom = memory_region(machine, "maincpu");
20982098   unsigned char* user2 = memory_region(machine, "user2");
20992099   x68k_gvram = auto_malloc(0x200000);
21002100   memset(x68k_gvram,0,0x200000);
r4347r4348
21352135
21362136static MACHINE_DRIVER_START( x68000 )
21372137   /* basic machine hardware */
2138   MDRV_CPU_ADD("main", M68000, 10000000)  /* 10 MHz */
2138   MDRV_CPU_ADD("maincpu", M68000, 10000000)  /* 10 MHz */
21392139   MDRV_CPU_PROGRAM_MAP(x68k_map, 0)
21402140   MDRV_CPU_VBLANK_INT("screen", x68k_vsync_irq)
21412141   MDRV_QUANTUM_TIME(HZ(60))
r4347r4348
22052205SYSTEM_CONFIG_END
22062206
22072207ROM_START( x68000 )
2208   ROM_REGION16_BE(0x1000000, "main", 0)  // 16MB address space
2208   ROM_REGION16_BE(0x1000000, "maincpu", 0)  // 16MB address space
22092209   ROM_DEFAULT_BIOS("ipl10")
22102210   ROM_LOAD( "cgrom.dat",  0xf00000, 0xc0000, CRC(9f3195f1) SHA1(8d72c5b4d63bb14c5dbdac495244d659aa1498b6) )
22112211   ROM_SYSTEM_BIOS(0, "ipl10",  "IPL-ROM V1.0 (87/05/07)")
src/mess/drivers/kramermc.c
r4347r4348
106106/* Machine driver */
107107static MACHINE_DRIVER_START( kramermc )
108108   /* basic machine hardware */
109   MDRV_CPU_ADD("main", Z80, 1500000)
109   MDRV_CPU_ADD("maincpu", Z80, 1500000)
110110   MDRV_CPU_PROGRAM_MAP(kramermc_mem, 0)
111111   MDRV_CPU_IO_MAP(kramermc_io, 0)
112112   MDRV_MACHINE_RESET( kramermc )
r4347r4348
131131
132132/* ROM definition */
133133ROM_START( kramermc )
134   ROM_REGION( 0x10000, "main", ROMREGION_ERASEFF )
134   ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
135135   ROM_LOAD( "io-mon.kmc",   0x0000, 0x0400, CRC(ba230fc8) SHA1(197d4ede31ee8768dd4a17854ee21c468e98b3d6) )
136136   ROM_LOAD( "debugger.kmc", 0x0400, 0x0400, CRC(5ea3d9e1) SHA1(42e5ced4f965124ae50ec7ac9861d6b668cfab99) )
137137   ROM_LOAD( "reass.kmc",    0x0800, 0x0400, CRC(7cc8e605) SHA1(3319a96aad710441af30dace906b9725e07ca92c) )
src/mess/drivers/spectrum.c
r4347r4348
451451
452452MACHINE_DRIVER_START( spectrum )
453453   /* basic machine hardware */
454   MDRV_CPU_ADD("main", Z80, 3500000)        /* 3.5 MHz */
454   MDRV_CPU_ADD("maincpu", Z80, 3500000)        /* 3.5 MHz */
455455   MDRV_CPU_PROGRAM_MAP(spectrum_mem, 0)
456456   MDRV_CPU_IO_MAP(spectrum_io, 0)
457457   MDRV_CPU_VBLANK_INT("screen", spec_interrupt)
r4347r4348
498498***************************************************************************/
499499
500500ROM_START(spectrum)
501   ROM_REGION(0x10000,"main",0)
501   ROM_REGION(0x10000,"maincpu",0)
502502   ROM_SYSTEM_BIOS(0, "en", "English")
503503   ROMX_LOAD("spectrum.rom", 0x0000, 0x4000, CRC(ddee531f) SHA1(5ea7c2b824672e914525d1d5c419d71b84a426a2), ROM_BIOS(1))
504504   ROM_SYSTEM_BIOS(1, "sp", "Spanish")
r4347r4348
541541ROM_END
542542
543543ROM_START(specide)
544   ROM_REGION(0x10000,"main",0)
544   ROM_REGION(0x10000,"maincpu",0)
545545   ROM_LOAD("zxide.rom", 0x0000, 0x4000, CRC(bd48db54) SHA1(54c2aa958902b5395c260770a0b25c7ba5685de9))
546546   ROM_CART_LOAD("cart", 0x0000, 0x4000, ROM_NOCLEAR | ROM_NOMIRROR | ROM_OPTIONAL)
547547ROM_END
548548
549549ROM_START(spec80k)
550   ROM_REGION(0x10000,"main",0)
550   ROM_REGION(0x10000,"maincpu",0)
551551   ROM_LOAD("80-lec.rom", 0x0000, 0x4000, CRC(5b5c92b1) SHA1(bb7a77d66e95d2e28ebb610e543c065e0d428619))
552552   ROM_CART_LOAD("cart", 0x0000, 0x4000, ROM_NOCLEAR | ROM_NOMIRROR | ROM_OPTIONAL)
553553ROM_END
554554
555555ROM_START(tk90x)
556   ROM_REGION(0x10000,"main",0)
556   ROM_REGION(0x10000,"maincpu",0)
557557   ROM_LOAD("tk90x.rom",0x0000,0x4000, CRC(3e785f6f) SHA1(9a943a008be13194fb006bddffa7d22d2277813f))
558558   ROM_CART_LOAD("cart", 0x0000, 0x4000, ROM_NOCLEAR | ROM_NOMIRROR | ROM_OPTIONAL)
559559ROM_END
560560
561561ROM_START(tk95)
562   ROM_REGION(0x10000,"main",0)
562   ROM_REGION(0x10000,"maincpu",0)
563563   ROM_LOAD("tk95.rom",0x0000,0x4000, CRC(17368e07) SHA1(94edc401d43b0e9a9cdc1d35de4b6462dc414ab3))
564564   ROM_CART_LOAD("cart", 0x0000, 0x4000, ROM_NOCLEAR | ROM_NOMIRROR | ROM_OPTIONAL)
565565ROM_END
566566
567567ROM_START(inves)
568   ROM_REGION(0x10000,"main",0)
568   ROM_REGION(0x10000,"maincpu",0)
569569   ROM_LOAD("inves.rom",0x0000,0x4000, CRC(8ff7a4d1) SHA1(d020440638aff4d39467128413ef795677be9c23))
570570   ROM_CART_LOAD("cart", 0x0000, 0x4000, ROM_NOCLEAR | ROM_NOMIRROR | ROM_OPTIONAL)
571571ROM_END
572572
573573/* Romanian clones */
574574ROM_START(hc85)
575   ROM_REGION(0x10000,"main",0)
575   ROM_REGION(0x10000,"maincpu",0)
576576   ROM_LOAD("hc85.rom",0x0000,0x4000, CRC(3ab60fb5) SHA1(a4189db0bcdf8b39ed782b398828efb408fc4817))
577577   ROM_CART_LOAD("cart", 0x0000, 0x4000, ROM_NOCLEAR | ROM_NOMIRROR | ROM_OPTIONAL)
578578ROM_END
579579
580580ROM_START(hc90)
581   ROM_REGION(0x10000,"main",0)
581   ROM_REGION(0x10000,"maincpu",0)
582582   ROM_LOAD("hc90.rom",0x0000,0x4000, CRC(78c14d9a) SHA1(25ef81905bed90497a749770170c24632efb2039))
583583   ROM_CART_LOAD("cart", 0x0000, 0x4000, ROM_NOCLEAR | ROM_NOMIRROR | ROM_OPTIONAL)
584584ROM_END
585585
586586ROM_START(hc91)
587   ROM_REGION(0x10000,"main",0)
587   ROM_REGION(0x10000,"maincpu",0)
588588   ROM_LOAD("hc91.rom",0x0000,0x4000, CRC(8bf53761) SHA1(967d5179ba2823e9c8dd9ddfb0430465aaddb554))
589589   ROM_CART_LOAD("cart", 0x0000, 0x4000, ROM_NOCLEAR | ROM_NOMIRROR | ROM_OPTIONAL)
590590ROM_END
591591
592592ROM_START(cip03)
593   ROM_REGION(0x10000,"main",0)
593   ROM_REGION(0x10000,"maincpu",0)
594594   ROM_LOAD("cip03.rom",0x0000,0x4000, CRC(c7d0cd3c) SHA1(811055b44fc74076137e2bf8db206b2a70287cc2))
595595   ROM_CART_LOAD("cart", 0x0000, 0x4000, ROM_NOCLEAR | ROM_NOMIRROR | ROM_OPTIONAL)
596596ROM_END
597597
598598ROM_START(jet)
599   ROM_REGION(0x10000,"main",0)
599   ROM_REGION(0x10000,"maincpu",0)
600600   ROM_LOAD("jet.rom",0x0000,0x4000, CRC(e56a7d11) SHA1(e76be9ee71bae6aa1c2ff969276fb599ed68cb50))
601601   ROM_CART_LOAD("cart", 0x0000, 0x4000, ROM_NOCLEAR | ROM_NOMIRROR | ROM_OPTIONAL)
602602ROM_END
r4347r4348
606606/* TODO: need to add memory handling for 80K RAM */
607607
608608ROM_START(dgama87)
609   ROM_REGION(0x10000,"main",0)
609   ROM_REGION(0x10000,"maincpu",0)
610610   ROM_LOAD("dgama87.rom",0x0000,0x4000, CRC(43104909) SHA1(f62d1f3f35fda467cae468e890995614f6ec2357))
611611   ROM_CART_LOAD("cart", 0x0000, 0x4000, ROM_NOCLEAR | ROM_NOMIRROR | ROM_OPTIONAL)
612612ROM_END
613613
614614ROM_START(dgama88)
615   ROM_REGION(0x10000,"main",0)
615   ROM_REGION(0x10000,"maincpu",0)
616616   ROM_LOAD("dgama88.rom",0x0000,0x4000, CRC(4ec7e078) SHA1(09a91f85e82efa7f974d1b88c69636a02063d563))
617617   ROM_CART_LOAD("cart", 0x0000, 0x4000, ROM_NOCLEAR | ROM_NOMIRROR | ROM_OPTIONAL)
618618ROM_END
619619
620620ROM_START(dgama89)
621   ROM_REGION(0x10000,"main",0)
621   ROM_REGION(0x10000,"maincpu",0)
622622   ROM_SYSTEM_BIOS(0, "default", "Original")
623623   ROMX_LOAD("dgama89.rom",0x0000,0x4000, CRC(45c29401) SHA1(8466a9da0169666210ccff5d43376d70bae0ae9b), ROM_BIOS(1))
624624   ROM_SYSTEM_BIOS(1, "g81", "Gama 81")
r4347r4348
631631ROM_END
632632
633633ROM_START(didakt90)
634   ROM_REGION(0x10000,"main",0)
634   ROM_REGION(0x10000,"maincpu",0)
635635   ROM_LOAD("didakt90.rom",0x0000,0x4000, CRC(76f2db1e) SHA1(daee355a8ee58bc406873c1dd81eecb6161dd4bd))
636636   ROM_CART_LOAD("cart", 0x0000, 0x4000, ROM_NOCLEAR | ROM_NOMIRROR | ROM_OPTIONAL)
637637ROM_END
638638
639639ROM_START(didakm91)
640   ROM_REGION(0x10000,"main",0)
640   ROM_REGION(0x10000,"maincpu",0)
641641   ROM_LOAD("didakm91.rom",0x0000,0x4000, CRC(beab69b8) SHA1(71d4d1a05fb936f616bcb05c3a276f79343ecd4d))
642642   ROM_CART_LOAD("cart", 0x0000, 0x4000, ROM_NOCLEAR | ROM_NOMIRROR | ROM_OPTIONAL)
643643ROM_END
644644
645645ROM_START(didaktk)
646   ROM_REGION(0x10000,"main",0)
646   ROM_REGION(0x10000,"maincpu",0)
647647   ROM_LOAD("didaktk.rom",0x0000,0x4000, CRC(8ec8a625) SHA1(cba35517d33a5c97e3d9110f12a417c6c5cdeca8))
648648   ROM_CART_LOAD("cart", 0x0000, 0x4000, ROM_NOCLEAR | ROM_NOMIRROR | ROM_OPTIONAL)
649649ROM_END
650650
651651ROM_START(didakm93)
652   ROM_REGION(0x10000,"main",0)
652   ROM_REGION(0x10000,"maincpu",0)
653653   ROM_LOAD("didakm93.rom",0x0000,0x4000, CRC(ec274b1b) SHA1(a3470d8d1a996ee2a1ffff8bd8044da6e907e07e))
654654   ROM_CART_LOAD("cart", 0x0000, 0x4000, ROM_NOCLEAR | ROM_NOMIRROR | ROM_OPTIONAL)
655655ROM_END
656656
657657ROM_START(mistrum)
658   ROM_REGION(0x10000,"main",0)
658   ROM_REGION(0x10000,"maincpu",0)
659659   ROM_LOAD("mistrum.rom",0x0000,0x4000, CRC(d496103e) SHA1(cca1c5b059dc3a29ca4282e8621e34a65efaa1a3))
660660   ROM_CART_LOAD("cart", 0x0000, 0x4000, ROM_NOCLEAR | ROM_NOMIRROR | ROM_OPTIONAL)
661661ROM_END
r4347r4348
663663/* Russian clones */
664664
665665ROM_START(blitz)
666   ROM_REGION(0x10000,"main",0)
666   ROM_REGION(0x10000,"maincpu",0)
667667   ROM_LOAD("blitz.rom",0x0000,0x4000, CRC(91e535a8) SHA1(14f09d45dc3803cbdb05c33adb28eb12dbad9dd0))
668668   ROM_CART_LOAD("cart", 0x0000, 0x4000, ROM_NOCLEAR | ROM_NOMIRROR | ROM_OPTIONAL)
669669ROM_END
670670
671671ROM_START(byte)
672   ROM_REGION(0x10000,"main",0)
672   ROM_REGION(0x10000,"maincpu",0)
673673   ROM_LOAD("byte.rom",0x0000,0x4000, CRC(c13ba473) SHA1(99f40727185abbb2413f218d69df021ae2e99e45))
674674   ROM_CART_LOAD("cart", 0x0000, 0x4000, ROM_NOCLEAR | ROM_NOMIRROR | ROM_OPTIONAL)
675675ROM_END
676676
677677ROM_START(orizon)
678   ROM_REGION(0x10000,"main",0)
678   ROM_REGION(0x10000,"maincpu",0)
679679   ROM_LOAD("orizon.rom",0x0000,0x4000, CRC(ed4d9787) SHA1(3e8b29862e06be03344393c320a64a109fd9aff5))
680680   ROM_CART_LOAD("cart", 0x0000, 0x4000, ROM_NOCLEAR | ROM_NOMIRROR | ROM_OPTIONAL)
681681ROM_END
682682
683683ROM_START(quorum48)
684   ROM_REGION(0x10000,"main",0)
684   ROM_REGION(0x10000,"maincpu",0)
685685   ROM_LOAD("quorum48.rom",0x0000,0x4000, CRC(48085b0e) SHA1(8e01581643f7bdfa773f68207a6437911b631e53))
686686   ROM_CART_LOAD("cart", 0x0000, 0x4000, ROM_NOCLEAR | ROM_NOMIRROR | ROM_OPTIONAL)
687687ROM_END
688688
689689ROM_START(magic6)
690   ROM_REGION(0x10000,"main",0)
690   ROM_REGION(0x10000,"maincpu",0)
691691   ROM_LOAD("magic6.rom",0x0000,0x4000, CRC(cb63ae06) SHA1(533ad1f50534e6bdeec50eb5a9a4976c3d010dc7))
692692   ROM_CART_LOAD("cart", 0x0000, 0x4000, ROM_NOCLEAR | ROM_NOMIRROR | ROM_OPTIONAL)
693693ROM_END
694694
695695ROM_START(compani1)
696   ROM_REGION(0x10000,"main",0)
696   ROM_REGION(0x10000,"maincpu",0)
697697   ROM_LOAD("compani1.rom",0x0000,0x4000, CRC(bcfa6068) SHA1(40074b55c91a947698598e9d6ac5b8495e8cc840))
698698   ROM_CART_LOAD("cart", 0x0000, 0x4000, ROM_NOCLEAR | ROM_NOMIRROR | ROM_OPTIONAL)
699699ROM_END
src/mess/drivers/ondra.c
r4347r4348
119119/* Machine driver */
120120static MACHINE_DRIVER_START( ondra )
121121   /* basic machine hardware */
122   MDRV_CPU_ADD("main", Z80, 2000000)
122   MDRV_CPU_ADD("maincpu", Z80, 2000000)
123123   MDRV_CPU_PROGRAM_MAP(ondra_mem, 0)
124124   MDRV_CPU_IO_MAP(ondra_io, 0)
125125   MDRV_CPU_VBLANK_INT("screen", ondra_interrupt)
r4347r4348
155155/* ROM definition */
156156
157157ROM_START( ondrat )
158    ROM_REGION( 0x14000, "main", ROMREGION_ERASEFF )
158    ROM_REGION( 0x14000, "maincpu", ROMREGION_ERASEFF )
159159    ROM_LOAD( "tesla_a.rom", 0x10000, 0x0800, CRC(6d56b815) SHA1(7feb4071d5142e4c2f891747b75fa4d48ccad262) )
160    ROM_COPY( "main", 0x10000, 0x10800, 0x0800 )
161    ROM_COPY( "main", 0x10000, 0x11000, 0x0800 )
162    ROM_COPY( "main", 0x10000, 0x11800, 0x0800 )
160    ROM_COPY( "maincpu", 0x10000, 0x10800, 0x0800 )
161    ROM_COPY( "maincpu", 0x10000, 0x11000, 0x0800 )
162    ROM_COPY( "maincpu", 0x10000, 0x11800, 0x0800 )
163163   ROM_LOAD( "tesla_b.rom", 0x12000, 0x0800, CRC(5f145eaa) SHA1(c1eac68b13fedc4d0d6f98b15e2a5397f0139dc3) )
164    ROM_COPY( "main", 0x10000, 0x12800, 0x0800 )
165    ROM_COPY( "main", 0x10000, 0x13000, 0x0800 )
166    ROM_COPY( "main", 0x10000, 0x13800, 0x0800 )
164    ROM_COPY( "maincpu", 0x10000, 0x12800, 0x0800 )
165    ROM_COPY( "maincpu", 0x10000, 0x13000, 0x0800 )
166    ROM_COPY( "maincpu", 0x10000, 0x13800, 0x0800 )
167167ROM_END
168168
169169ROM_START( ondrav )
170    ROM_REGION( 0x14000, "main", ROMREGION_ERASEFF )
170    ROM_REGION( 0x14000, "maincpu", ROMREGION_ERASEFF )
171171    ROM_LOAD( "vili_a.rom", 0x10000, 0x0800, CRC(76932657) SHA1(1f3700f670f158e4bed256aed751e2c1331a28e8) )
172    ROM_COPY( "main", 0x10000, 0x10800, 0x0800 )
173    ROM_COPY( "main", 0x10000, 0x11000, 0x0800 )
174    ROM_COPY( "main", 0x10000, 0x11800, 0x0800 )
172    ROM_COPY( "maincpu", 0x10000, 0x10800, 0x0800 )
173    ROM_COPY( "maincpu", 0x10000, 0x11000, 0x0800 )
174    ROM_COPY( "maincpu", 0x10000, 0x11800, 0x0800 )
175175    ROM_LOAD( "vili_b.rom", 0x12000, 0x0800, CRC(03a6073f) SHA1(66f198e63f473e09350bcdbb10fe0cf440111bec) )
176    ROM_COPY( "main", 0x10000, 0x12800, 0x0800 )
177    ROM_COPY( "main", 0x10000, 0x13000, 0x0800 )
178    ROM_COPY( "main", 0x10000, 0x13800, 0x0800 )
176    ROM_COPY( "maincpu", 0x10000, 0x12800, 0x0800 )
177    ROM_COPY( "maincpu", 0x10000, 0x13000, 0x0800 )
178    ROM_COPY( "maincpu", 0x10000, 0x13800, 0x0800 )
179179ROM_END
180180
181181/* Driver */
src/mess/drivers/mpf1.c
r4347r4348
450450
451451static MACHINE_DRIVER_START( mpf1 )
452452   // basic machine hardware
453   MDRV_CPU_ADD("main", Z80, 3579500/2)   // 1.79 MHz
453   MDRV_CPU_ADD("maincpu", Z80, 3579500/2)   // 1.79 MHz
454454   MDRV_CPU_PROGRAM_MAP(mpf1_map, 0)
455455   MDRV_CPU_IO_MAP(mpf1_io_map, 0)
456456
r4347r4348
471471/* ROMs */
472472
473473ROM_START( mpf1 )
474    ROM_REGION( 0x10000, "main", 0 )
474    ROM_REGION( 0x10000, "maincpu", 0 )
475475    ROM_LOAD( "mpf.u6", 0x0000, 0x1000, CRC(b60249ce) SHA1(78e0e8874d1497fabfdd6378266d041175e3797f) )
476476ROM_END
477477
478478ROM_START( mpf1b )
479    ROM_REGION( 0x10000, "main", 0 )
479    ROM_REGION( 0x10000, "maincpu", 0 )
480480    ROM_LOAD( "c55167.u6", 0x0000, 0x1000, CRC(28b06dac) SHA1(99cfbab739d71a914c39302d384d77bddc4b705b) )
481481    ROM_LOAD( "basic.u7",  0x2000, 0x1000, CRC(d276ed6b) SHA1(a45fb98961be5e5396988498c6ed589a35398dcf) )
482482ROM_END
src/mess/drivers/astrocde.c
r4347r4348
148148
149149static MACHINE_DRIVER_START( astrocde )
150150   /* basic machine hardware */
151   MDRV_CPU_ADD("main", Z80, ASTROCADE_CLOCK/4)        /* 1.789 MHz */
151   MDRV_CPU_ADD("maincpu", Z80, ASTROCADE_CLOCK/4)        /* 1.789 MHz */
152152   MDRV_CPU_PROGRAM_MAP(astrocade_mem, 0)
153153   MDRV_CPU_IO_MAP(astrocade_io, 0)
154154
r4347r4348
180180 *************************************/
181181
182182ROM_START( astrocde )
183    ROM_REGION( 0x10000, "main", 0 )
183    ROM_REGION( 0x10000, "maincpu", 0 )
184184    ROM_LOAD( "astro.bin",  0x0000, 0x2000, CRC(ebc77f3a) SHA1(b902c941997c9d150a560435bf517c6a28137ecc))
185185    ROM_CART_LOAD("cart", 0x2000, 0x2000, ROM_OPTIONAL)
186186ROM_END
187187
188188ROM_START( astrocdw )
189    ROM_REGION( 0x10000, "main", 0 )
189    ROM_REGION( 0x10000, "maincpu", 0 )
190190    ROM_LOAD( "bioswhit.bin",  0x0000, 0x2000, CRC(6eb53e79) SHA1(d84341feec1a0a0e8aa6151b649bc3cf6ef69fbf))
191191    ROM_CART_LOAD("cart", 0x2000, 0x2000, ROM_OPTIONAL)
192192ROM_END
src/mess/drivers/kaypro.c
r4347r4348
237237
238238static MACHINE_DRIVER_START( kaypro )
239239   /* basic machine hardware */
240   MDRV_CPU_ADD("main", Z80, 4000000)        /* 4 MHz */
240   MDRV_CPU_ADD("maincpu", Z80, 4000000)        /* 4 MHz */
241241   MDRV_CPU_PROGRAM_MAP(kaypro_mem, 0)
242242   MDRV_CPU_IO_MAP(kaypro_io, 0)
243243   MDRV_CPU_VBLANK_INT("screen", kaypro_interrupt)
r4347r4348
262262
263263
264264ROM_START (kaypro)
265    ROM_REGION(0x10000,"main",ROMREGION_ERASEFF) /* 64K for the Z80 */
265    ROM_REGION(0x10000,"maincpu",ROMREGION_ERASEFF) /* 64K for the Z80 */
266266    /* totally empty :) */
267267
268268    ROM_REGION(0x04000,"gfx1",0)  /* 4 * 4K font ram */
src/mess/drivers/super80.c
r4347r4348
245245      for (x=0; x<32; x++)
246246      {
247247         if (screen_on)
248            code = memory_read_byte(cputag_get_address_space(screen->machine,"main",ADDRESS_SPACE_PROGRAM), vidpg + x + (y<<5));
248            code = memory_read_byte(cputag_get_address_space(screen->machine,"maincpu",ADDRESS_SPACE_PROGRAM), vidpg + x + (y<<5));
249249
250250         drawgfx(bitmap, screen->machine->gfx[0], code & mask, 0, 0, 0, x*8, y*10,
251251            cliprect, TRANSPARENCY_NONE, 0);
r4347r4348
280280      {
281281         if (screen_on)
282282         {
283            code = memory_read_byte(cputag_get_address_space(screen->machine,"main",ADDRESS_SPACE_PROGRAM), vidpg + x + (y<<5));      /* get character to display */
283            code = memory_read_byte(cputag_get_address_space(screen->machine,"maincpu",ADDRESS_SPACE_PROGRAM), vidpg + x + (y<<5));      /* get character to display */
284284
285            if (!(options & 0x40)) col = memory_read_byte(cputag_get_address_space(screen->machine,"main",ADDRESS_SPACE_PROGRAM), 0xfe00 + x + (y<<5));   /* byte of colour to display */
285            if (!(options & 0x40)) col = memory_read_byte(cputag_get_address_space(screen->machine,"maincpu",ADDRESS_SPACE_PROGRAM), 0xfe00 + x + (y<<5));   /* byte of colour to display */
286286         }
287287
288288         drawgfx(bitmap, screen->machine->gfx[cgen], code, col, 0, 0, x*8, y*10,
r4347r4348
360360      irq_counter++;
361361   else
362362   {
363      cputag_set_input_line(device->machine, "main", 0, state );
363      cputag_set_input_line(device->machine, "maincpu", 0, state );
364364      if (state) irq_counter=0;
365365   }
366366}
r4347r4348
938938GFXDECODE_END
939939
940940static GFXDECODE_START( super80v )
941   GFXDECODE_ENTRY( "main", 0xf000, super80v_charlayout, 0, 256 )
941   GFXDECODE_ENTRY( "maincpu", 0xf000, super80v_charlayout, 0, 256 )
942942GFXDECODE_END
943943
944944/**************************** BASIC MACHINE CONSTRUCTION ***********************************************************/
r4347r4348
999999
10001000static DEVICE_IMAGE_LOAD( super80_cart )
10011001{
1002   image_fread(image, memory_region(image->machine, "main") + 0xc000, 0x3000);
1002   image_fread(image, memory_region(image->machine, "maincpu") + 0xc000, 0x3000);
10031003
10041004   return INIT_PASS;
10051005}
r4347r4348
10131013
10141014static MACHINE_DRIVER_START( super80 )
10151015   /* basic machine hardware */
1016   MDRV_CPU_ADD("main", Z80, MASTER_CLOCK/6)      /* 2 MHz */
1016   MDRV_CPU_ADD("maincpu", Z80, MASTER_CLOCK/6)      /* 2 MHz */
10171017   MDRV_CPU_PROGRAM_MAP(super80_map, 0)
10181018   MDRV_CPU_IO_MAP(super80_io, 0)
10191019   MDRV_CPU_CONFIG(super80_daisy_chain)
r4347r4348
10591059
10601060static MACHINE_DRIVER_START( super80m )
10611061   MDRV_IMPORT_FROM(super80)
1062   MDRV_CPU_MODIFY("main")
1062   MDRV_CPU_MODIFY("maincpu")
10631063   MDRV_CPU_PROGRAM_MAP(super80m_map, 0)
10641064
10651065   MDRV_GFXDECODE(super80m)
r4347r4348
10711071
10721072static MACHINE_DRIVER_START( super80v )
10731073   /* basic machine hardware */
1074   MDRV_CPU_ADD("main", Z80, MASTER_CLOCK/6)      /* 2 MHz */
1074   MDRV_CPU_ADD("maincpu", Z80, MASTER_CLOCK/6)      /* 2 MHz */
10751075   MDRV_CPU_PROGRAM_MAP(super80v_map, 0)
10761076   MDRV_CPU_IO_MAP(super80v_io, 0)
10771077   MDRV_CPU_CONFIG(super80_daisy_chain)
r4347r4348
11141114
11151115static MACHINE_DRIVER_START( super80r )
11161116   MDRV_IMPORT_FROM(super80v)
1117   MDRV_CPU_MODIFY("main")
1117   MDRV_CPU_MODIFY("maincpu")
11181118   MDRV_CPU_IO_MAP(super80r_io, 0)
11191119MACHINE_DRIVER_END
11201120
11211121static void driver_init_common( running_machine *machine )
11221122{
1123   UINT8 *RAM = memory_region(machine, "main");
1123   UINT8 *RAM = memory_region(machine, "maincpu");
11241124   memory_configure_bank(machine, 1, 0, 2, &RAM[0x0000], 0xc000);
11251125   timer_pulse(machine, ATTOTIME_IN_HZ(200000),NULL,0,super80_timer);   /* timer for keyboard and cassette */
11261126}
r4347r4348
11411141
11421142static DRIVER_INIT( super80v )
11431143{
1144   pcgram = memory_region(machine, "main")+0xf000;
1145   videoram = memory_region(machine, "main")+0x18000;
1146   colorram = memory_region(machine, "main")+0x1C000;
1144   pcgram = memory_region(machine, "maincpu")+0xf000;
1145   videoram = memory_region(machine, "maincpu")+0x18000;
1146   colorram = memory_region(machine, "maincpu")+0x1C000;
11471147   driver_init_common(machine);
11481148}
11491149
r4347r4348
11511151/**************************** ROMS *****************************************************************/
11521152
11531153ROM_START( super80 )
1154   ROM_REGION(0x10000, "main", 0)
1154   ROM_REGION(0x10000, "maincpu", 0)
11551155   ROM_LOAD("super80.u26",   0xc000, 0x1000, CRC(6a6a9664) SHA1(2c4fcd943aa9bf7419d58fbc0e28ffb89ef22e0b) )
11561156   ROM_LOAD("super80.u33",   0xd000, 0x1000, CRC(cf8020a8) SHA1(2179a61f80372cd49e122ad3364773451531ae85) )
11571157   ROM_LOAD("super80.u42",   0xe000, 0x1000, CRC(a1c6cb75) SHA1(d644ca3b399c1a8902f365c6095e0bbdcea6733b) )
r4347r4348
11611161ROM_END
11621162
11631163ROM_START( super80d )
1164   ROM_REGION(0x10000, "main", 0)
1164   ROM_REGION(0x10000, "maincpu", 0)
11651165   ROM_SYSTEM_BIOS(0, "super80d", "V2.2")
11661166   ROMX_LOAD("super80d.u26", 0xc000, 0x1000, CRC(cebd2613) SHA1(87b94cc101a5948ce590211c68272e27f4cbe95a), ROM_BIOS(1))
11671167   ROM_SYSTEM_BIOS(1, "super80f", "MDS (original)")
r4347r4348
11771177ROM_END
11781178
11791179ROM_START( super80e )
1180   ROM_REGION(0x10000, "main", 0)
1180   ROM_REGION(0x10000, "maincpu", 0)
11811181   ROM_LOAD("super80e.u26",  0xc000, 0x1000, CRC(bdc668f8) SHA1(3ae30b3cab599fca77d5e461f3ec1acf404caf07) )
11821182   ROM_LOAD("super80.u33",     0xd000, 0x1000, CRC(cf8020a8) SHA1(2179a61f80372cd49e122ad3364773451531ae85) )
11831183   ROM_LOAD("super80.u42",     0xe000, 0x1000, CRC(a1c6cb75) SHA1(d644ca3b399c1a8902f365c6095e0bbdcea6733b) )
r4347r4348
11871187ROM_END
11881188
11891189ROM_START( super80m )
1190   ROM_REGION(0x10000, "main", 0)
1190   ROM_REGION(0x10000, "maincpu", 0)
11911191   ROM_LOAD("s80-8r0.u26",     0xc000, 0x1000, CRC(48d410d8) SHA1(750d984abc013a3344628300288f6d1ba140a95f) )
11921192   ROM_LOAD("s80-8r0.u33",   0xd000, 0x1000, CRC(9765793e) SHA1(4951b127888c1f3153004cc9fb386099b408f52c) )
11931193   ROM_LOAD("s80-8r0.u42",   0xe000, 0x1000, CRC(5f65d94b) SHA1(fe26b54dec14e1c4911d996c9ebd084a38dcb691) )
r4347r4348
12011201ROM_END
12021202
12031203ROM_START( super80r )
1204   ROM_REGION( 0x20000, "main", 0 )
1204   ROM_REGION( 0x20000, "maincpu", 0 )
12051205   ROM_SYSTEM_BIOS(0, "super80r", "MCE (original)")
12061206   ROMX_LOAD("super80r.u26", 0xc000, 0x1000, CRC(01bb6406) SHA1(8e275ecf5141b93f86e45ff8a735b965ea3e8d44), ROM_BIOS(1))
12071207   ROM_SYSTEM_BIOS(1, "super80s", "MCE (upgraded)")
r4347r4348
12131213ROM_END
12141214
12151215ROM_START( super80v )
1216   ROM_REGION( 0x20000, "main", 0 )
1216   ROM_REGION( 0x20000, "maincpu", 0 )
12171217   ROM_LOAD("s80-v37v.u26",  0xc000, 0x1000, CRC(01e0c0dd) SHA1(ef66af9c44c651c65a21d5bda939ffa100078c08) )
12181218   ROM_LOAD("s80-v37.u33",   0xd000, 0x1000, CRC(812ad777) SHA1(04f355bea3470a7d9ea23bb2811f6af7d81dc400) )
12191219   ROM_LOAD("s80-v37.u42",   0xe000, 0x1000, CRC(e02e736e) SHA1(57b0264c805da99234ab5e8e028fca456851a4f9) )
src/mess/drivers/n64.c
r4347r4348
121121
122122static MACHINE_DRIVER_START( n64 )
123123   /* basic machine hardware */
124   MDRV_CPU_ADD("main", R4600BE, 93750000)
124   MDRV_CPU_ADD("maincpu", R4600BE, 93750000)
125125   MDRV_CPU_CONFIG(config)
126126   MDRV_CPU_PROGRAM_MAP(n64_map, 0)
127127   MDRV_CPU_VBLANK_INT("screen", n64_vblank)
r4347r4348
160160MACHINE_DRIVER_END
161161
162162ROM_START( n64)
163    ROM_REGION( 0x800000, "main", ROMREGION_ERASEFF )      /* dummy region for R4300 */
163    ROM_REGION( 0x800000, "maincpu", ROMREGION_ERASEFF )      /* dummy region for R4300 */
164164    ROM_REGION32_BE( 0x800, "user1", 0 )
165165    ROM_LOAD( "pifdata.bin", 0x0000, 0x0800, CRC(5ec82be9) SHA1(9174eadc0f0ea2654c95fd941406ab46b9dc9bdd) )
166166    ROM_REGION32_BE( 0x4000000, "user2", ROMREGION_ERASEFF)
src/mess/drivers/geneve.c
r4347r4348
470470static MACHINE_DRIVER_START(geneve_60hz)
471471   /* basic machine hardware */
472472   /* TMS9995 CPU @ 12.0 MHz */
473   MDRV_CPU_ADD("main", TMS9995, 12000000)
473   MDRV_CPU_ADD("maincpu", TMS9995, 12000000)
474474   MDRV_CPU_PROGRAM_MAP(memmap, 0)
475475   MDRV_CPU_IO_MAP(readcru, writecru)
476476   MDRV_CPU_VBLANK_INT_HACK(geneve_hblank_interrupt, 262)   /* 262.5 in 60Hz, 312.5 in 50Hz */
r4347r4348
529529
530530ROM_START(geneve)
531531   /*CPU memory space*/
532   ROM_REGION(region_cpu1_len_geneve, "main", 0)
532   ROM_REGION(region_cpu1_len_geneve, "maincpu", 0)
533533   ROM_LOAD("genbt100.bin", offset_rom_geneve, 0x4000, CRC(8001e386) SHA1(b44618b54dabac3882543e18555d482b299e0109)) /* CPU ROMs */
534534   ROM_LOAD_OPTIONAL("genbt090.bin", offset_altrom_geneve, 0x4000, CRC(b2e20df9) SHA1(2d5d09177afe97d63ceb3ad59b498b1c9e2153f7)) /* CPU ROMs */
535535
r4347r4348
550550
551551ROM_START(genmod)
552552   /*CPU memory space*/
553   ROM_REGION(region_cpu1_len_geneve, "main", 0)
553   ROM_REGION(region_cpu1_len_geneve, "maincpu", 0)
554554   ROM_LOAD("gnmbt100.bin", offset_rom_geneve, 0x4000, CRC(19b89479) SHA1(6ef297eda78dc705946f6494e9d7e95e5216ec47)) /* CPU ROMs */
555555
556556   /*DSR ROM space*/
src/mess/drivers/px4.c
r4347r4348
8080      if (px4->isr & INT0_7508)
8181      {
8282         px4->isr &= ~INT0_7508;
83         cputag_set_input_line_and_vector(machine, "main", 0, ASSERT_LINE, 0xf0);
83         cputag_set_input_line_and_vector(machine, "maincpu", 0, ASSERT_LINE, 0xf0);
8484      }
8585      else if (px4->isr & INT1_ART)
86         cputag_set_input_line_and_vector(machine, "main", 0, ASSERT_LINE, 0xf2);
86         cputag_set_input_line_and_vector(machine, "maincpu", 0, ASSERT_LINE, 0xf2);
8787      else if (px4->isr & INT2_ICF)
88         cputag_set_input_line_and_vector(machine, "main", 0, ASSERT_LINE, 0xf4);
88         cputag_set_input_line_and_vector(machine, "maincpu", 0, ASSERT_LINE, 0xf4);
8989      else if (px4->isr & INT3_OVF)
90         cputag_set_input_line_and_vector(machine, "main", 0, ASSERT_LINE, 0xf6);
90         cputag_set_input_line_and_vector(machine, "maincpu", 0, ASSERT_LINE, 0xf6);
9191      else if (px4->isr & INT4_EXT)
92         cputag_set_input_line_and_vector(machine, "main", 0, ASSERT_LINE, 0xf8);
92         cputag_set_input_line_and_vector(machine, "maincpu", 0, ASSERT_LINE, 0xf8);
9393   }
9494   else
9595   {
96      cputag_set_input_line(machine, "main", 0, CLEAR_LINE);
96      cputag_set_input_line(machine, "maincpu", 0, CLEAR_LINE);
9797   }
9898}
9999
r4347r4348
833833
834834static MACHINE_DRIVER_START( px4 )
835835   /* basic machine hardware */
836   MDRV_CPU_ADD("main", Z80, XTAL_7_3728MHz/2)   /* uPD70008 */
836   MDRV_CPU_ADD("maincpu", Z80, XTAL_7_3728MHz/2)   /* uPD70008 */
837837   MDRV_CPU_PROGRAM_MAP(px4_mem, 0)
838838   MDRV_CPU_IO_MAP(px4_io, 0)
839839
src/mess/drivers/tx0.c
r4347r4348
320320static MACHINE_DRIVER_START(tx0_64kw)
321321   /* basic machine hardware */
322322   /* TX0 CPU @ approx. 167 kHz (no master clock, but the memory cycle time is approximately 6usec) */
323   MDRV_CPU_ADD("main", TX0_64KW, 166667)
323   MDRV_CPU_ADD("maincpu", TX0_64KW, 166667)
324324   MDRV_CPU_CONFIG(tx0_reset_param)
325325   MDRV_CPU_PROGRAM_MAP(tx0_64kw_map, 0)
326326   /* dummy interrupt: handles input */
r4347r4348
352352   /* basic machine hardware */
353353   /* TX0 CPU @ approx. 167 kHz (no master clock, but the memory cycle time is
354354    approximately 6usec) */
355   MDRV_CPU_MODIFY("main")
355   MDRV_CPU_MODIFY("maincpu")
356356   MDRV_CPU_CONFIG(tx0_reset_param)
357357   MDRV_CPU_PROGRAM_MAP(tx0_8kw_map, 0)
358358   /*MDRV_CPU_PORTS(readport, writeport)*/
r4347r4348
360360
361361ROM_START(tx0_64kw)
362362   /*CPU memory space*/
363   ROM_REGION(0x10000 * sizeof(UINT32),"main",ROMREGION_ERASEFF)
363   ROM_REGION(0x10000 * sizeof(UINT32),"maincpu",ROMREGION_ERASEFF)
364364      /* Note this computer has no ROM... */
365365
366366   ROM_REGION(tx0_fontdata_size, "gfx1", ROMREGION_ERASEFF)
r4347r4348
369369
370370ROM_START(tx0_8kw)
371371   /*CPU memory space*/
372   ROM_REGION(0x2000 * sizeof(UINT32),"main",ROMREGION_ERASEFF)
372   ROM_REGION(0x2000 * sizeof(UINT32),"maincpu",ROMREGION_ERASEFF)
373373      /* Note this computer has no ROM... */
374374
375375   ROM_REGION(tx0_fontdata_size, "gfx1", ROMREGION_ERASEFF)
src/mess/drivers/ip22.c
r4347r4348
15041504};
15051505
15061506static MACHINE_DRIVER_START( ip225015 )
1507   MDRV_CPU_ADD( "main", R5000BE, 50000000*3 )
1507   MDRV_CPU_ADD( "maincpu", R5000BE, 50000000*3 )
15081508   MDRV_CPU_CONFIG( config )
15091509   MDRV_CPU_PROGRAM_MAP( ip225015_map, 0 )
15101510   MDRV_CPU_VBLANK_INT("screen", ip22_vbl)
r4347r4348
15421542
15431543static MACHINE_DRIVER_START( ip224613 )
15441544   MDRV_IMPORT_FROM( ip225015 )
1545   MDRV_CPU_REPLACE( "main", R4600BE, 133333333 )
1545   MDRV_CPU_REPLACE( "maincpu", R4600BE, 133333333 )
15461546MACHINE_DRIVER_END
15471547
15481548static MACHINE_DRIVER_START( ip244415 )
15491549   MDRV_IMPORT_FROM( ip225015 )
1550   MDRV_CPU_REPLACE( "main", R4600BE, 150000000 )
1550   MDRV_CPU_REPLACE( "maincpu", R4600BE, 150000000 )
15511551MACHINE_DRIVER_END
15521552
15531553ROM_START( ip225015 )
src/mess/drivers/c128.c
r4347r4348
579579
580580static MACHINE_DRIVER_START( c128 )
581581   /* basic machine hardware */
582   MDRV_CPU_ADD("main", Z80, VIC6567_CLOCK)
582   MDRV_CPU_ADD("maincpu", Z80, VIC6567_CLOCK)
583583   MDRV_CPU_PROGRAM_MAP( c128_z80_mem, 0 )
584584   MDRV_CPU_IO_MAP( c128_z80_io, 0 )
585585   MDRV_CPU_VBLANK_INT("screen", c64_frame_interrupt)
r4347r4348
637637
638638static MACHINE_DRIVER_START( c128pal )
639639   MDRV_IMPORT_FROM( c128 )
640   MDRV_CPU_REPLACE( "main", Z80, VIC6569_CLOCK )
640   MDRV_CPU_REPLACE( "maincpu", Z80, VIC6569_CLOCK )
641641   MDRV_CPU_REPLACE( "m8502", M8502, VIC6569_CLOCK )
642642   MDRV_SCREEN_MODIFY("screen")
643643   MDRV_SCREEN_REFRESH_RATE(VIC6569_VRETRACERATE)
r4347r4348
670670
671671
672672ROM_START( c128 )
673   ROM_REGION( 0x132800, "main", 0 )
673   ROM_REGION( 0x132800, "maincpu", 0 )
674674   ROM_SYSTEM_BIOS( 0, "default", "rev. 1" )
675675   ROMX_LOAD( "318018-04.bin", 0x100000, 0x4000, CRC(9f9c355b) SHA1(d53a7884404f7d18ebd60dd3080c8f8d71067441), ROM_BIOS(1) )         // BASIC lo
676676   ROMX_LOAD( "318019-04.bin", 0x104000, 0x4000, CRC(6e2c91a7) SHA1(c4fb4a714e48a7bf6c28659de0302183a0e0d6c0), ROM_BIOS(1) )         // BASIC hi
r4347r4348
697697      6526A-1 CIAs
698698      ?prototype? 2568R1X VDC w/ 1186 datecode
699699   */
700   ROM_REGION( 0x132800, "main", 0 )
700   ROM_REGION( 0x132800, "maincpu", 0 )
701701   ROM_LOAD( "252343-03.u34", 0x100000, 0x8000, CRC(bc07ed87) SHA1(0eec437994a3f2212343a712847213a8a39f4a7b) )         // BASIC lo + hi, "252343-03 // U34"
702702   ROM_LOAD( "252343-04.u32", 0x108000, 0x8000, CRC(cc6bdb69) SHA1(36286b2e8bea79f7767639fd85e12c5447c7041b) )         // C64 OS ROM + Kernal, "252343-04 // US // U32"
703703   ROM_LOAD( "390059-01.u18", 0x120000, 0x2000, CRC(6aaaafe6) SHA1(29ed066d513f2d5c09ff26d9166ba23c2afb2b3f) )         // Character, "MOS // (C)1985 CBM // 390059-01 // M468613 8547H"
r4347r4348
711711/* See notes at the top of the driver about PAL dumps */
712712
713713ROM_START( c128ger )
714   ROM_REGION( 0x132800, "main", 0 )
714   ROM_REGION( 0x132800, "maincpu", 0 )
715715   ROM_SYSTEM_BIOS( 0, "default", "rev. 1" )
716716   ROMX_LOAD( "318018-04.bin", 0x100000, 0x4000, CRC(9f9c355b) SHA1(d53a7884404f7d18ebd60dd3080c8f8d71067441), ROM_BIOS(1) )         // BASIC lo
717717   ROMX_LOAD( "318019-04.bin", 0x104000, 0x4000, CRC(6e2c91a7) SHA1(c4fb4a714e48a7bf6c28659de0302183a0e0d6c0), ROM_BIOS(1) )         // BASIC hi
r4347r4348
730730ROM_END
731731
732732ROM_START( c128fin )
733   ROM_REGION( 0x132800, "main", 0 )
733   ROM_REGION( 0x132800, "maincpu", 0 )
734734   ROM_LOAD( "318018-04.bin", 0x100000, 0x4000, BAD_DUMP CRC(9f9c355b) SHA1(d53a7884404f7d18ebd60dd3080c8f8d71067441) )         // BASIC lo
735735   ROM_LOAD( "318019-04.bin", 0x104000, 0x4000, BAD_DUMP CRC(6e2c91a7) SHA1(c4fb4a714e48a7bf6c28659de0302183a0e0d6c0) )         // BASIC hi
736736   ROM_LOAD( "251913-01.bin", 0x108000, 0x4000, BAD_DUMP CRC(0010ec31) SHA1(765372a0e16cbb0adf23a07b80f6b682b39fbf88) )         // C64 OS ROM
r4347r4348
751751ROM_END
752752
753753ROM_START( c128fra )
754   ROM_REGION( 0x132800, "main", 0 )
754   ROM_REGION( 0x132800, "maincpu", 0 )
755755   ROM_LOAD( "318018-04.bin", 0x100000, 0x4000, BAD_DUMP CRC(9f9c355b) SHA1(d53a7884404f7d18ebd60dd3080c8f8d71067441) )         // BASIC lo
756756   ROM_LOAD( "318019-04.bin", 0x104000, 0x4000, BAD_DUMP CRC(6e2c91a7) SHA1(c4fb4a714e48a7bf6c28659de0302183a0e0d6c0) )         // BASIC hi
757757   ROM_LOAD( "251913-01.bin", 0x108000, 0x4000, BAD_DUMP CRC(0010ec31) SHA1(765372a0e16cbb0adf23a07b80f6b682b39fbf88) )         // C64 OS ROM
r4347r4348
767767
768768
769769ROM_START( c128nor )
770   ROM_REGION( 0x132800, "main", 0 )
770   ROM_REGION( 0x132800, "maincpu", 0 )
771771   ROM_LOAD( "318018-04.bin", 0x100000, 0x4000, BAD_DUMP CRC(9f9c355b) SHA1(d53a7884404f7d18ebd60dd3080c8f8d71067441) )         // BASIC lo
772772   ROM_LOAD( "318019-04.bin", 0x104000, 0x4000, BAD_DUMP CRC(6e2c91a7) SHA1(c4fb4a714e48a7bf6c28659de0302183a0e0d6c0) )         // BASIC hi
773773   ROM_LOAD( "251913-01.bin", 0x108000, 0x4000, BAD_DUMP CRC(0010ec31) SHA1(765372a0e16cbb0adf23a07b80f6b682b39fbf88) )         // C64 OS ROM
r4347r4348
785785
786786/* C128D Board is basically the same as C128 + a second board for the disk drive */
787787ROM_START( c128d )
788   ROM_REGION( 0x132800, "main", 0 )
788   ROM_REGION( 0x132800, "maincpu", 0 )
789789   ROM_LOAD( "318018-04.bin", 0x100000, 0x4000, CRC(9f9c355b) SHA1(d53a7884404f7d18ebd60dd3080c8f8d71067441) )         // BASIC lo
790790   ROM_LOAD( "318019-04.bin", 0x104000, 0x4000, CRC(6e2c91a7) SHA1(c4fb4a714e48a7bf6c28659de0302183a0e0d6c0) )         // BASIC hi
791791   ROM_LOAD( "251913-01.bin", 0x108000, 0x4000, CRC(0010ec31) SHA1(765372a0e16cbb0adf23a07b80f6b682b39fbf88) )         // C64 OS ROM
r4347r4348
802802
803803/* This BIOS is exactly the same as C128 rev. 1, but on two ROMs only */
804804ROM_START( c128dcr )
805   ROM_REGION( 0x132800, "main", 0 )
805   ROM_REGION( 0x132800, "maincpu", 0 )
806806   ROM_LOAD( "318022-02.bin", 0x100000, 0x8000, CRC(af1ae1e8) SHA1(953dcdf5784a6b39ef84dd6fd968c7a03d8d6816) )         // BASIC lo + hi
807807   ROM_LOAD( "318023-02.bin", 0x108000, 0x8000, CRC(eedc120a) SHA1(f98c5a986b532c78bb68df9ec6dbcf876913b99f) )         // C64 OS ROM + Kernal
808808   ROM_LOAD( "390059-01.bin", 0x120000, 0x2000, CRC(6aaaafe6) SHA1(29ed066d513f2d5c09ff26d9166ba23c2afb2b3f) )         // Character
r4347r4348
817817/* See notes at the top of the driver about PAL dumps */
818818
819819ROM_START( c128drde )
820   ROM_REGION( 0x132800, "main", 0 )
820   ROM_REGION( 0x132800, "maincpu", 0 )
821821   ROM_LOAD( "318022-02.bin", 0x100000, 0x8000, CRC(af1ae1e8) SHA1(953dcdf5784a6b39ef84dd6fd968c7a03d8d6816) )         // BASIC lo + hi
822822   ROM_LOAD( "318077-01.bin", 0x108000, 0x8000, CRC(eb6e2c8f) SHA1(6b3d891fedabb5335f388a5d2a71378472ea60f4) )         // C64 OS ROM + Kernal Ger
823823   ROM_LOAD( "315079-01.bin", 0x120000, 0x2000, CRC(fe5a2db1) SHA1(638f8aff51c2ac4f99a55b12c4f8c985ef4bebd3) )
r4347r4348
830830
831831
832832ROM_START( c128drsw )
833   ROM_REGION( 0x132800, "main", 0 )
833   ROM_REGION( 0x132800, "maincpu", 0 )
834834   ROM_LOAD( "318022-02.bin", 0x100000, 0x8000, CRC(af1ae1e8) SHA1(953dcdf5784a6b39ef84dd6fd968c7a03d8d6816) )         // BASIC lo + hi
835835   ROM_LOAD( "318034-01.bin", 0x108000, 0x8000, CRC(cb4e1719) SHA1(9b0a0cef56d00035c611e07170f051ee5e63aa3a) )         // C64 OS ROM + Kernal Sw/Fi
836836   ROM_LOAD( "325181-01.bin", 0x120000, 0x2000, CRC(7a70d9b8) SHA1(aca3f7321ee7e6152f1f0afad646ae41964de4fb) )
r4347r4348
843843
844844
845845ROM_START( c128drit )
846   ROM_REGION( 0x132800, "main", 0 )
846   ROM_REGION( 0x132800, "maincpu", 0 )
847847   ROM_LOAD( "318022-01.bin", 0x100000, 0x8000, CRC(e857df90) SHA1(5c2d7bbda2c3f9a926bd76ad19dc0c8c733c41cd) )         // BASIC lo + hi - based on BASIC rev.0
848848   ROM_LOAD( "251913-01.bin", 0x108000, 0x4000, BAD_DUMP CRC(0010ec31) SHA1(765372a0e16cbb0adf23a07b80f6b682b39fbf88) )         // C64 OS ROM
849849   ROM_LOAD( "editor.italian.bin", 0x10c000, 0x1000, BAD_DUMP CRC(8df58148) SHA1(39add4c0adda7a64f68a09ae8742599091228017) )
src/mess/drivers/lviv.c
r4347r4348
425425/* machine definition */
426426static MACHINE_DRIVER_START( lviv )
427427   /* basic machine hardware */
428   MDRV_CPU_ADD("main", 8080, 2500000)
428   MDRV_CPU_ADD("maincpu", 8080, 2500000)
429429   MDRV_CPU_PROGRAM_MAP(lviv_mem, 0)
430430   MDRV_CPU_IO_MAP(io_map, 0)
431431   MDRV_QUANTUM_TIME(HZ(60))
r4347r4348
465465
466466
467467ROM_START(lviv)
468   ROM_REGION(0x14000,"main",0)
468   ROM_REGION(0x14000,"maincpu",0)
469469   ROM_SYSTEM_BIOS( 0, "lviv", "Lviv/L'vov" )
470470   ROMX_LOAD("lviv.bin", 0x10000, 0x4000, CRC(44a347d9) SHA1(74e067493b2b7d9ab17333202009a1a4f5e460fd), ROM_BIOS(1))
471471   ROM_SYSTEM_BIOS( 1, "lviva", "Lviv/L'vov (alternate)" )
src/mess/drivers/exidy.c
r4347r4348
330330
331331static MACHINE_RESET( exidyd )
332332{
333   const address_space *space = cputag_get_address_space(machine, "main", ADDRESS_SPACE_PROGRAM);
333   const address_space *space = cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM);
334334
335335   /* Initialize cassette interface */
336336   cass_data.output.length = 0;
r4347r4348
763763
764764static MACHINE_DRIVER_START( exidy )
765765   /* basic machine hardware */
766   MDRV_CPU_ADD("main", Z80, 12638000/6)
766   MDRV_CPU_ADD("maincpu", Z80, 12638000/6)
767767   MDRV_CPU_PROGRAM_MAP(exidy_mem, 0)
768768   MDRV_CPU_IO_MAP(exidy_io, 0)
769769
r4347r4348
813813static MACHINE_DRIVER_START( exidyd )
814814   MDRV_IMPORT_FROM( exidy )
815815
816   MDRV_CPU_MODIFY("main")
816   MDRV_CPU_MODIFY("maincpu")
817817   MDRV_CPU_PROGRAM_MAP(exidyd_mem, 0)
818818
819819   MDRV_MACHINE_START( exidyd )
r4347r4348
822822
823823static DRIVER_INIT( exidy )
824824{
825   UINT8 *RAM = memory_region(machine, "main");
825   UINT8 *RAM = memory_region(machine, "maincpu");
826826   memory_configure_bank(machine, 1, 0, 2, &RAM[0x0000], 0xe000);
827827}
828828
r4347r4348
833833***************************************************************************/
834834
835835ROM_START(exidy)
836   ROM_REGION( 0x10000, "main", 0 )
836   ROM_REGION( 0x10000, "maincpu", 0 )
837837   ROM_LOAD("exmo1-1.dat", 0xe000, 0x0800, CRC(ac924f67) SHA1(72fcad6dd1ed5ec0527f967604401284d0e4b6a1) ) /* monitor roms */
838838   ROM_LOAD("exmo1-2.dat", 0xe800, 0x0800, CRC(ead1d0f6) SHA1(c68bed7344091bca135e427b4793cc7d49ca01be) )
839839   ROM_LOAD("exchr-1.dat", 0xf800, 0x0400, CRC(4a7e1cdd) SHA1(2bf07a59c506b6e0c01ec721fb7b747b20f5dced) ) /* char rom */
r4347r4348
845845ROM_END
846846
847847ROM_START(exidyd)
848   ROM_REGION( 0x10000, "main", 0 )
848   ROM_REGION( 0x10000, "maincpu", 0 )
849849   ROM_LOAD("exmo1-1.dat", 0xe000, 0x0800, CRC(ac924f67) SHA1(72fcad6dd1ed5ec0527f967604401284d0e4b6a1) ) /* monitor roms */
850850   ROM_LOAD("exmo1-2.dat", 0xe800, 0x0800, CRC(ead1d0f6) SHA1(c68bed7344091bca135e427b4793cc7d49ca01be) )
851851   ROM_LOAD("exchr-1.dat", 0xf800, 0x0400, CRC(4a7e1cdd) SHA1(2bf07a59c506b6e0c01ec721fb7b747b20f5dced) ) /* char rom */
r4347r4348
857857
858858static Z80BIN_EXECUTE( exidy )
859859{
860   const address_space *space = cputag_get_address_space(machine, "main", ADDRESS_SPACE_PROGRAM);
860   const address_space *space = cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM);
861861
862862   if ((execute_address >= 0xc000) && (execute_address <= 0xdfff) && (memory_read_byte(space, 0xdffa) != 0xc3))
863863      return;               /* can't run a program if the cartridge isn't in */
r4347r4348
891891      if ((execute_address != 0xc858) && autorun)
892892         memory_write_word_16le(space, 0xf028, execute_address);
893893
894      cpu_set_reg(cputag_get_cpu(machine, "main"), REG_GENPC, 0xf01f);
894      cpu_set_reg(cputag_get_cpu(machine, "maincpu"), REG_GENPC, 0xf01f);
895895   }
896896   else
897897   {
898898      if (autorun)
899         cpu_set_reg(cputag_get_cpu(machine, "main"), REG_GENPC, execute_address);
899         cpu_set_reg(cputag_get_cpu(machine, "maincpu"), REG_GENPC, execute_address);
900900   }
901901}
902902
src/mess/drivers/pc8801.c
r4347r4348
471471ADDRESS_MAP_END
472472
473473ROM_START (pc88srl)
474   ROM_REGION(0x18000,"main",0)
474   ROM_REGION(0x18000,"maincpu",0)
475475   ROM_LOAD ("n80.rom", 0x00000, 0x8000, CRC(27e1857d) SHA1(5b922ed9de07d2a729bdf1da7b57c50ddf08809a))
476476   ROM_LOAD ("n88.rom", 0x08000, 0x8000, CRC(a0fc0473) SHA1(3b31fc68fa7f47b21c1a1cb027b86b9e87afbfff))
477477   ROM_LOAD ("n88_0.rom", 0x10000, 0x2000, CRC(710a63ec) SHA1(d239c26ad7ac5efac6e947b0e9549b1534aa970d))
r4347r4348
486486ROM_END
487487
488488ROM_START (pc88srh)
489   ROM_REGION(0x18000,"main",0)
489   ROM_REGION(0x18000,"maincpu",0)
490490   ROM_LOAD ("n80.rom", 0x00000, 0x8000, CRC(27e1857d) SHA1(5b922ed9de07d2a729bdf1da7b57c50ddf08809a))
491491   ROM_LOAD ("n88.rom", 0x08000, 0x8000, CRC(a0fc0473) SHA1(3b31fc68fa7f47b21c1a1cb027b86b9e87afbfff))
492492   ROM_LOAD ("n88_0.rom", 0x10000, 0x2000, CRC(710a63ec) SHA1(d239c26ad7ac5efac6e947b0e9549b1534aa970d))
r4347r4348
520520   /* basic machine hardware */
521521
522522   /* main CPU */
523   MDRV_CPU_ADD("main", Z80, 4000000)        /* 4 MHz */
523   MDRV_CPU_ADD("maincpu", Z80, 4000000)        /* 4 MHz */
524524   MDRV_CPU_PROGRAM_MAP(pc8801_mem, 0)
525525   MDRV_CPU_IO_MAP(pc88sr_io, 0)
526526   MDRV_CPU_VBLANK_INT("screen", pc8801_interrupt)
src/mess/drivers/p2000t.c
r4347r4348
215215/* Machine definition */
216216static MACHINE_DRIVER_START( p2000t )
217217   /* basic machine hardware */
218   MDRV_CPU_ADD("main", Z80, 2500000)
218   MDRV_CPU_ADD("maincpu", Z80, 2500000)
219219   MDRV_CPU_PROGRAM_MAP(p2000t_mem, 0)
220220   MDRV_CPU_IO_MAP(p2000t_io, 0)
221221   MDRV_CPU_VBLANK_INT("screen", p2000_interrupt)
r4347r4348
233233/* Machine definition */
234234static MACHINE_DRIVER_START( p2000m )
235235   /* basic machine hardware */
236   MDRV_CPU_ADD("main", Z80, 2500000)
236   MDRV_CPU_ADD("maincpu", Z80, 2500000)
237237   MDRV_CPU_PROGRAM_MAP(p2000m_mem, 0)
238238   MDRV_CPU_IO_MAP(p2000t_io, 0)
239239   MDRV_CPU_VBLANK_INT("screen", p2000_interrupt)
r4347r4348
261261
262262
263263ROM_START(p2000t)
264   ROM_REGION(0x10000, "main",0)
264   ROM_REGION(0x10000, "maincpu",0)
265265   ROM_LOAD("p2000.rom", 0x0000, 0x1000, CRC(650784a3) SHA1(4dbb28adad30587f2ea536ba116898d459faccac))
266266   ROM_LOAD("basic.rom", 0x1000, 0x4000, CRC(9d9d38f9) SHA1(fb5100436c99634a2592a10dff867f85bcff7aec))
267267   ROM_REGION(0x01000, "gfx1",0)
r4347r4348
269269ROM_END
270270
271271ROM_START(p2000m)
272   ROM_REGION(0x10000, "main",0)
272   ROM_REGION(0x10000, "maincpu",0)
273273   ROM_LOAD("p2000.rom", 0x0000, 0x1000, CRC(650784a3) SHA1(4dbb28adad30587f2ea536ba116898d459faccac))
274274   ROM_LOAD("basic.rom", 0x1000, 0x4000, CRC(9d9d38f9) SHA1(fb5100436c99634a2592a10dff867f85bcff7aec))
275275   ROM_REGION(0x01000, "gfx1",0)
src/mess/drivers/spec128.c
r4347r4348
219219
220220   /* rom 0 is 128K rom, rom 1 is 48 BASIC */
221221
222   ChosenROM = memory_region(machine, "main") + 0x010000 + (ROMSelection<<14);
222   ChosenROM = memory_region(machine, "maincpu") + 0x010000 + (ROMSelection<<14);
223223
224224   memory_set_bankptr(machine, 1, ChosenROM);
225225
r4347r4348
270270MACHINE_DRIVER_START( spectrum_128 )
271271   MDRV_IMPORT_FROM( spectrum )
272272
273   MDRV_CPU_REPLACE("main", Z80, 3500000)        /* 3.5 MHz */
273   MDRV_CPU_REPLACE("maincpu", Z80, 3500000)        /* 3.5 MHz */
274274   MDRV_CPU_PROGRAM_MAP(spectrum_128_mem, 0)
275275   MDRV_CPU_IO_MAP(spectrum_128_io, 0)
276276
r4347r4348
300300
301301
302302ROM_START(spec128)
303   ROM_REGION(0x18000,"main",0)
303   ROM_REGION(0x18000,"maincpu",0)
304304   ROM_SYSTEM_BIOS( 0, "en", "English" )
305305   ROMX_LOAD("zx128_0.rom",0x10000,0x4000, CRC(e76799d2) SHA1(4f4b11ec22326280bdb96e3baf9db4b4cb1d02c5), ROM_BIOS(1))
306306   ROMX_LOAD("zx128_1.rom",0x14000,0x4000, CRC(b96a36be) SHA1(80080644289ed93d71a1103992a154cc9802b2fa), ROM_BIOS(1))   
r4347r4348
311311ROM_END
312312
313313ROM_START(specpls2)
314   ROM_REGION(0x18000,"main",0)
314   ROM_REGION(0x18000,"maincpu",0)
315315   ROM_SYSTEM_BIOS( 0, "en", "English" )
316316   ROMX_LOAD("zxp2_0.rom",0x10000,0x4000, CRC(5d2e8c66) SHA1(72703f9a3e734f3c23ec34c0727aae4ccbef9a91), ROM_BIOS(1))
317317   ROMX_LOAD("zxp2_1.rom",0x14000,0x4000, CRC(98b1320b) SHA1(de8b0d2d0379cfe7c39322a086ca6da68c7f23cb), ROM_BIOS(1))
r4347r4348
330330ROM_END
331331
332332ROM_START(hc128)
333   ROM_REGION(0x18000,"main",0)
333   ROM_REGION(0x18000,"maincpu",0)
334334   ROM_LOAD("zx128_0.rom",0x10000,0x4000, CRC(e76799d2) SHA1(4f4b11ec22326280bdb96e3baf9db4b4cb1d02c5))
335335   ROM_LOAD("hc128.rom",  0x14000,0x4000, CRC(0241e960) SHA1(cea0d14391b9e571460a816088a1c00ecb24afa3))   
336336   ROM_CART_LOAD("cart", 0x10000, 0x4000, ROM_NOCLEAR | ROM_NOMIRROR | ROM_OPTIONAL)
337337ROM_END
338338
339339ROM_START(hc2000)
340   ROM_REGION(0x18000,"main",0)
340   ROM_REGION(0x18000,"maincpu",0)
341341   ROM_SYSTEM_BIOS( 0, "v1", "Version 1" )
342342   ROMX_LOAD("zx128_0.rom",0x10000,0x4000, CRC(e76799d2) SHA1(4f4b11ec22326280bdb96e3baf9db4b4cb1d02c5), ROM_BIOS(1))
343343   ROMX_LOAD("hc2000.v1",  0x14000,0x4000, CRC(453c1a5a) SHA1(f8139fc38478691cf44944dc83fd6e70b0f002fb), ROM_BIOS(1))   
src/mess/drivers/timex.c
r4347r4348
225225
226226   DOCK = timex_cart_data;
227227
228   ExROM = memory_region(machine, "main") + 0x014000;
228   ExROM = memory_region(machine, "maincpu") + 0x014000;
229229
230230   if (ts2068_port_f4_data & 0x01)
231231   {
r4347r4348
257257   }
258258   else
259259   {
260      ChosenROM = memory_region(machine, "main") + 0x010000;
260      ChosenROM = memory_region(machine, "maincpu") + 0x010000;
261261      memory_set_bankptr(machine, 1, ChosenROM);
262262      rh = SMH_BANK1;
263263      wh = SMH_UNMAP;
r4347r4348
296296   }
297297   else
298298   {
299      ChosenROM = memory_region(machine, "main") + 0x012000;
299      ChosenROM = memory_region(machine, "maincpu") + 0x012000;
300300      memory_set_bankptr(machine, 2, ChosenROM);
301301      rh = SMH_BANK2;
302302      wh = SMH_UNMAP;
r4347r4348
607607
608608static MACHINE_DRIVER_START( ts2068 )
609609   MDRV_IMPORT_FROM( spectrum_128 )
610   MDRV_CPU_REPLACE("main", Z80, XTAL_14_112MHz/4)        /* From Schematic; 3.528 MHz */
610   MDRV_CPU_REPLACE("maincpu", Z80, XTAL_14_112MHz/4)        /* From Schematic; 3.528 MHz */
611611   MDRV_CPU_PROGRAM_MAP(ts2068_mem, 0)
612612   MDRV_CPU_IO_MAP(ts2068_io, 0)
613613
r4347r4348
646646
647647static MACHINE_DRIVER_START( tc2048 )
648648   MDRV_IMPORT_FROM( spectrum )
649   MDRV_CPU_MODIFY("main")
649   MDRV_CPU_MODIFY("maincpu")
650650   MDRV_CPU_PROGRAM_MAP(tc2048_mem, 0)
651651   MDRV_CPU_IO_MAP(tc2048_io, 0)
652652
r4347r4348
673673***************************************************************************/
674674
675675ROM_START(tc2048)
676   ROM_REGION(0x10000,"main",0)
676   ROM_REGION(0x10000,"maincpu",0)
677677   ROM_LOAD("tc2048.rom",0x0000,0x4000, CRC(f1b5fa67) SHA1(febb2d495b6eda7cdcb4074935d6e9d9f328972d))
678678   ROM_CART_LOAD("cart", 0x0000, 0x4000, ROM_NOCLEAR | ROM_NOMIRROR | ROM_OPTIONAL)
679679ROM_END
680680
681681ROM_START(ts2068)
682   ROM_REGION(0x16000,"main",0)
682   ROM_REGION(0x16000,"maincpu",0)
683683   ROM_LOAD("ts2068_h.rom",0x10000,0x4000, CRC(bf44ec3f) SHA1(1446cb2780a9dedf640404a639fa3ae518b2d8aa))
684684   ROM_LOAD("ts2068_x.rom",0x14000,0x2000, CRC(ae16233a) SHA1(7e265a2c1f621ed365ea23bdcafdedbc79c1299c))
685685ROM_END
686686
687687ROM_START(uk2086)
688   ROM_REGION(0x16000,"main",0)
688   ROM_REGION(0x16000,"maincpu",0)
689689   ROM_LOAD("uk2086_h.rom",0x10000,0x4000, CRC(5ddc0ca2) SHA1(1d525fe5cdc82ab46767f665ad735eb5363f1f51))
690690   ROM_LOAD("ts2068_x.rom",0x14000,0x2000, CRC(ae16233a) SHA1(7e265a2c1f621ed365ea23bdcafdedbc79c1299c))
691691ROM_END
src/mess/drivers/pet.c
r4347r4348
600600GFXDECODE_END
601601
602602static const mc6845_interface crtc_pet40 = {
603   "main",
603   "maincpu",
604604   8,
605605   NULL,
606606   pet40_update_row,
r4347r4348
611611};
612612
613613static const mc6845_interface crtc_pet80 = {
614   "main",
614   "maincpu",
615615   16,
616616   NULL,
617617   pet80_update_row,
r4347r4348
651651static MACHINE_DRIVER_START( pet_general )
652652   MDRV_DRIVER_DATA(pet_state)
653653   /* basic machine hardware */
654   MDRV_CPU_ADD("main", M6502, 7833600)        /* 7.8336 MHz */
654   MDRV_CPU_ADD("maincpu", M6502, 7833600)        /* 7.8336 MHz */
655655   MDRV_CPU_PROGRAM_MAP(pet_mem, 0)
656656   MDRV_CPU_VBLANK_INT("screen", pet_frame_interrupt)
657657
r4347r4348
695695
696696static MACHINE_DRIVER_START( pet40 )
697697   MDRV_IMPORT_FROM( pet )
698   MDRV_CPU_MODIFY( "main" )
698   MDRV_CPU_MODIFY( "maincpu" )
699699   MDRV_CPU_PROGRAM_MAP( pet40_mem, 0 )
700700
701701   MDRV_MC6845_ADD("crtc", MC6845, XTAL_17_73447MHz/3   /* This is a wild guess and mostly likely incorrect */, crtc_pet40)
r4347r4348
717717
718718static MACHINE_DRIVER_START( pet80 )
719719   MDRV_IMPORT_FROM( pet )
720   MDRV_CPU_MODIFY( "main" )
720   MDRV_CPU_MODIFY( "maincpu" )
721721   MDRV_CPU_PROGRAM_MAP( pet80_mem, 0 )
722722
723723    /* video hardware */
r4347r4348
745745
746746static MACHINE_DRIVER_START( superpet )
747747   MDRV_IMPORT_FROM( pet80 )
748   MDRV_CPU_MODIFY( "main" )
748   MDRV_CPU_MODIFY( "maincpu" )
749749   MDRV_CPU_PROGRAM_MAP( superpet_mem, 0 )
750750
751751   /* m6809 cpu */
r4347r4348
790790*/
791791
792792ROM_START( pet2001 )
793   ROM_REGION( 0x10000, "main", 0 )
793   ROM_REGION( 0x10000, "maincpu", 0 )
794794   ROM_SYSTEM_BIOS( 0, "basic1", "BASIC 1r" )
795795   ROMX_LOAD( "901447-09.h1", 0xc000, 0x800, CRC(03cf16d0) SHA1(1330580c0614d3556a389da4649488ba04a60908), ROM_BIOS(1) )
796796   ROM_SYSTEM_BIOS( 1, "basic1o", "BASIC 1" )
r4347r4348
814814
815815/* BASIC 2 */
816816ROM_START( pet2001n )
817   ROM_REGION( 0x10000, "main", 0 )
817   ROM_REGION( 0x10000, "maincpu", 0 )
818818   ROM_LOAD( "901465-01.ud6", 0xc000, 0x1000, CRC(63a7fe4a) SHA1(3622111f486d0e137022523657394befa92bde44) )   // BASIC 2
819819   ROM_LOAD( "901465-02.ud7", 0xd000, 0x1000, CRC(ae4cb035) SHA1(1bc0ebf27c9bb62ad71bca40313e874234cab6ac) )   // BASIC 2
820820   ROM_LOAD( "901447-24.ud8", 0xe000, 0x800,  CRC(e459ab32) SHA1(5e5502ce32f5a7e387d65efe058916282041e54b) )   // Screen Editor (40 columns, no CRTC, Normal Keyb)
r4347r4348
826826
827827/* BASIC 2 - Business Keyboard (Number keys, etc.) */
828828ROM_START( pet2001b )
829   ROM_REGION( 0x10000, "main", 0 )
829   ROM_REGION( 0x10000, "maincpu", 0 )
830830   ROM_LOAD( "901465-01.ud6", 0xc000, 0x1000, CRC(63a7fe4a) SHA1(3622111f486d0e137022523657394befa92bde44) )   // BASIC 2
831831   ROM_LOAD( "901465-02.ud7", 0xd000, 0x1000, CRC(ae4cb035) SHA1(1bc0ebf27c9bb62ad71bca40313e874234cab6ac) )   // BASIC 2
832832   ROM_LOAD( "901474-01.ud8", 0xe000, 0x800,  CRC(05db957e) SHA1(174ace3a8c0348cd21d39cc864e2adc58b0101a9) )   // Screen Editor (40 columns, no CRTC, Business Keyb)
r4347r4348
841841
842842/* BASIC 4, but 40 columns only and no CRTC */
843843ROM_START( pet40on )
844   ROM_REGION( 0x10000, "main", 0 )
844   ROM_REGION( 0x10000, "maincpu", 0 )
845845   ROM_SYSTEM_BIOS( 0, "basic4", "BASIC 4r" )
846846   ROMX_LOAD( "901465-23.ud5", 0xb000, 0x1000, CRC(ae3deac0) SHA1(975ee25e28ff302879424587e5fb4ba19f403adc), ROM_BIOS(1) )   // BASIC 4
847847   ROM_SYSTEM_BIOS( 1, "basic4o", "BASIC 4" )
r4347r4348
857857
858858/* BASIC 4, but 40 columns only and no CRTC - Business Keyboard (Number keys, etc.) */
859859ROM_START( pet40ob )
860   ROM_REGION( 0x10000, "main", 0 )
860   ROM_REGION( 0x10000, "maincpu", 0 )
861861   ROM_SYSTEM_BIOS( 0, "basic4", "BASIC 4r" )
862862   ROMX_LOAD( "901465-23.ud5", 0xb000, 0x1000, CRC(ae3deac0) SHA1(975ee25e28ff302879424587e5fb4ba19f403adc), ROM_BIOS(1) )
863863   ROM_SYSTEM_BIOS( 1, "basic4o", "BASIC 4" )
r4347r4348
880880
881881/* 40 columns - 60 Hz */
882882ROM_START( pet40n )
883   ROM_REGION( 0x10000, "main", 0 )
883   ROM_REGION( 0x10000, "maincpu", 0 )
884884   ROM_LOAD( "901465-23.ud10", 0xb000, 0x1000, CRC(ae3deac0) SHA1(975ee25e28ff302879424587e5fb4ba19f403adc) )   // BASIC 4
885885   ROM_LOAD( "901465-20.ud9", 0xc000, 0x1000, CRC(0fc17b9c) SHA1(242f98298931d21eaacb55fe635e44b7fc192b0a) )   // BASIC 4
886886   ROM_LOAD( "901465-21.ud8", 0xd000, 0x1000, CRC(36d91855) SHA1(1bb236c72c726e8fb029c68f9bfa5ee803faf0a8) )   // BASIC 4
r4347r4348
893893
894894/* 40 columns - 50 Hz */
895895ROM_START( cbm40n )
896   ROM_REGION( 0x10000, "main", 0 )
896   ROM_REGION( 0x10000, "maincpu", 0 )
897897   ROM_LOAD( "901465-23.ud10", 0xb000, 0x1000, CRC(ae3deac0) SHA1(975ee25e28ff302879424587e5fb4ba19f403adc) )   // BASIC 4
898898   ROM_LOAD( "901465-20.ud9", 0xc000, 0x1000, CRC(0fc17b9c) SHA1(242f98298931d21eaacb55fe635e44b7fc192b0a) )   // BASIC 4
899899   ROM_LOAD( "901465-21.ud8", 0xd000, 0x1000, CRC(36d91855) SHA1(1bb236c72c726e8fb029c68f9bfa5ee803faf0a8) )   // BASIC 4
r4347r4348
906906
907907/* 80 columns - 60 Hz */
908908ROM_START( pet40b )
909   ROM_REGION( 0x10000, "main", 0 )
909   ROM_REGION( 0x10000, "maincpu", 0 )
910910   ROM_LOAD( "901465-23.ud10", 0xb000, 0x1000, CRC(ae3deac0) SHA1(975ee25e28ff302879424587e5fb4ba19f403adc) )   // BASIC 4
911911   ROM_LOAD( "901465-20.ud9", 0xc000, 0x1000, CRC(0fc17b9c) SHA1(242f98298931d21eaacb55fe635e44b7fc192b0a) )   // BASIC 4
912912   ROM_LOAD( "901465-21.ud8", 0xd000, 0x1000, CRC(36d91855) SHA1(1bb236c72c726e8fb029c68f9bfa5ee803faf0a8) )   // BASIC 4
r4347r4348
919919
920920/* 80 columns - 50 Hz */
921921ROM_START( cbm40b )
922   ROM_REGION( 0x10000, "main", 0 )
922   ROM_REGION( 0x10000, "maincpu", 0 )
923923   ROM_LOAD( "901465-23.ud10", 0xb000, 0x1000, CRC(ae3deac0) SHA1(975ee25e28ff302879424587e5fb4ba19f403adc) )   // BASIC 4
924924   ROM_LOAD( "901465-20.ud9", 0xc000, 0x1000, CRC(0fc17b9c) SHA1(242f98298931d21eaacb55fe635e44b7fc192b0a) )   // BASIC 4
925925   ROM_LOAD( "901465-21.ud8", 0xd000, 0x1000, CRC(36d91855) SHA1(1bb236c72c726e8fb029c68f9bfa5ee803faf0a8) )   // BASIC 4
r4347r4348
937937
938938/* 80 columns - 60 Hz - can be expanded to 96k RAM */
939939ROM_START( pet80 )
940   ROM_REGION( 0x20000, "main", 0 )
940   ROM_REGION( 0x20000, "maincpu", 0 )
941941   ROM_LOAD( "901465-23.ud10", 0xb000, 0x1000, CRC(ae3deac0) SHA1(975ee25e28ff302879424587e5fb4ba19f403adc) )   // BASIC 4
942942   ROM_LOAD( "901465-20.ud9", 0xc000, 0x1000, CRC(0fc17b9c) SHA1(242f98298931d21eaacb55fe635e44b7fc192b0a) )   // BASIC 4
943943   ROM_LOAD( "901465-21.ud8", 0xd000, 0x1000, CRC(36d91855) SHA1(1bb236c72c726e8fb029c68f9bfa5ee803faf0a8) )   // BASIC 4
r4347r4348
950950
951951/* 80 columns - 50 Hz - can be expanded to 96k RAM */
952952ROM_START( cbm80 )
953   ROM_REGION( 0x20000, "main", 0 )
953   ROM_REGION( 0x20000, "maincpu", 0 )
954954   ROM_LOAD( "901465-23.ud10", 0xb000, 0x1000, CRC(ae3deac0) SHA1(975ee25e28ff302879424587e5fb4ba19f403adc) )   // BASIC 4
955955   ROM_LOAD( "901465-20.ud9", 0xc000, 0x1000, CRC(0fc17b9c) SHA1(242f98298931d21eaacb55fe635e44b7fc192b0a) )   // BASIC 4
956956   ROM_LOAD( "901465-21.ud8", 0xd000, 0x1000, CRC(36d91855) SHA1(1bb236c72c726e8fb029c68f9bfa5ee803faf0a8) )   // BASIC 4
r4347r4348
978978*/
979979
980980ROM_START( superpet )
981   ROM_REGION( 0x10000, "main", 0 )
981   ROM_REGION( 0x10000, "maincpu", 0 )
982982   ROM_LOAD( "901465-23.ud10", 0xb000, 0x1000, CRC(ae3deac0) SHA1(975ee25e28ff302879424587e5fb4ba19f403adc) )   // BASIC 4
983983   ROM_LOAD( "901465-20.ud9", 0xc000, 0x1000, CRC(0fc17b9c) SHA1(242f98298931d21eaacb55fe635e44b7fc192b0a) )   // BASIC 4
984984   ROM_LOAD( "901465-21.ud8", 0xd000, 0x1000, CRC(36d91855) SHA1(1bb236c72c726e8fb029c68f9bfa5ee803faf0a8) )   // BASIC 4
r4347r4348
10021002
10031003/* CBM 8296 / 8296D - only ROM loading added */
10041004ROM_START( cbm8296 )
1005   ROM_REGION( 0x20000, "main", 0 )
1005   ROM_REGION( 0x20000, "maincpu", 0 )
10061006   ROM_LOAD( "324746-01.ue7", 0xb000, 0x3000, CRC(7935b528) SHA1(5ab17ee70467152bf2130e3f48a2aa81e9df93c9) )   // BASIC 4 // FIX ME!!
10071007   ROM_CONTINUE(            0xf000, 0x1000 )
10081008   ROM_LOAD( "901474-04.ue8", 0xe000, 0x800,  CRC(c1ffca3a) SHA1(7040b283ba39e9630e3d147f7d076b7abc39bc70) )   // Dated 0384, coincides with 3681 above according to Andr? Fachat's notes
r4347r4348
10171017/* PAL regional variants */
10181018
10191019ROM_START( cbm80ger )
1020   ROM_REGION( 0x20000, "main", 0 )
1020   ROM_REGION( 0x20000, "maincpu", 0 )
10211021   ROM_LOAD( "901465-23.ud10", 0xb000, 0x1000, CRC(ae3deac0) SHA1(975ee25e28ff302879424587e5fb4ba19f403adc) )   // BASIC 4
10221022   ROM_LOAD( "901465-20.ud9", 0xc000, 0x1000, CRC(0fc17b9c) SHA1(242f98298931d21eaacb55fe635e44b7fc192b0a) )   // BASIC 4
10231023   ROM_LOAD( "901465-21.ud8", 0xd000, 0x1000, CRC(36d91855) SHA1(1bb236c72c726e8fb029c68f9bfa5ee803faf0a8) )   // BASIC 4
r4347r4348
10291029ROM_END
10301030
10311031ROM_START( cbm80swe )
1032   ROM_REGION( 0x20000, "main", 0 )
1032   ROM_REGION( 0x20000, "maincpu", 0 )
10331033   ROM_LOAD( "901465-23.ud10", 0xb000, 0x1000, CRC(ae3deac0) SHA1(975ee25e28ff302879424587e5fb4ba19f403adc) )   // BASIC 4
10341034   ROM_LOAD( "901465-20.ud9", 0xc000, 0x1000, CRC(0fc17b9c) SHA1(242f98298931d21eaacb55fe635e44b7fc192b0a) )   // BASIC 4
10351035   ROM_LOAD( "901465-21.ud8", 0xd000, 0x1000, CRC(36d91855) SHA1(1bb236c72c726e8fb029c68f9bfa5ee803faf0a8) )   // BASIC 4
r4347r4348
10421042
10431043/* This had only the CharGen dumped, the editor needs to be dumped as well (and the other ones verified)!!  */
10441044ROM_START( cbm30nor )
1045   ROM_REGION( 0x10000, "main", 0 )
1045   ROM_REGION( 0x10000, "maincpu", 0 )
10461046   ROM_LOAD( "901465-01.ud6", 0xc000, 0x1000, CRC(63a7fe4a) SHA1(3622111f486d0e137022523657394befa92bde44) )   // BASIC 2
10471047   ROM_LOAD( "901465-02.ud7", 0xd000, 0x1000, CRC(ae4cb035) SHA1(1bc0ebf27c9bb62ad71bca40313e874234cab6ac) )   // BASIC 2
10481048   ROM_LOAD( "901474-01.ud8", 0xe000, 0x800,  BAD_DUMP CRC(05db957e) SHA1(174ace3a8c0348cd21d39cc864e2adc58b0101a9) )   // Screen Editor to be redumped
r4347r4348
10541054
10551055/* This had only the CharGen dumped, the editor needs to be dumped as well (and the other ones verified)!!  */
10561056ROM_START( cbm80hun )
1057   ROM_REGION( 0x20000, "main", 0 )
1057   ROM_REGION( 0x20000, "maincpu", 0 )
10581058   ROM_LOAD( "901465-23.ud10", 0xb000, 0x1000, CRC(ae3deac0) SHA1(975ee25e28ff302879424587e5fb4ba19f403adc) )   // BASIC 4
10591059   ROM_LOAD( "901465-20.ud9", 0xc000, 0x1000, CRC(0fc17b9c) SHA1(242f98298931d21eaacb55fe635e44b7fc192b0a) )   // BASIC 4
10601060   ROM_LOAD( "901465-21.ud8", 0xd000, 0x1000, CRC(36d91855) SHA1(1bb236c72c726e8fb029c68f9bfa5ee803faf0a8) )   // BASIC 4
r4347r4348
10671067
10681068/* Swedish M6809 roms needed */
10691069ROM_START( mmf9000s )
1070   ROM_REGION( 0x10000, "main", 0 )
1070   ROM_REGION( 0x10000, "maincpu", 0 )
10711071   ROM_LOAD( "901465-23.ud10", 0xb000, 0x1000, CRC(ae3deac0) SHA1(975ee25e28ff302879424587e5fb4ba19f403adc) )   // BASIC 4
10721072   ROM_LOAD( "901465-20.ud9", 0xc000, 0x1000, CRC(0fc17b9c) SHA1(242f98298931d21eaacb55fe635e44b7fc192b0a) )   // BASIC 4
10731073   ROM_LOAD( "901465-21.ud8", 0xd000, 0x1000, CRC(36d91855) SHA1(1bb236c72c726e8fb029c68f9bfa5ee803faf0a8) )   // BASIC 4
src/mess/drivers/a2600.c
r4347r4348
766766      switch ( modeSS_byte & 0x1C ) {
767767      case 0x00:
768768         bank_base[1] = extra_RAM + 2 * 0x800;
769         bank_base[2] = ( modeSS_byte & 0x01 ) ? memory_region(space->machine, "main") + 0x1800 : memory_region(space->machine, "user1");
769         bank_base[2] = ( modeSS_byte & 0x01 ) ? memory_region(space->machine, "maincpu") + 0x1800 : memory_region(space->machine, "user1");
770770         modeSS_high_ram_enabled = 0;
771771         break;
772772      case 0x04:
773773         bank_base[1] = extra_RAM;
774         bank_base[2] = ( modeSS_byte & 0x01 ) ? memory_region(space->machine, "main") + 0x1800 : memory_region(space->machine, "user1");
774         bank_base[2] = ( modeSS_byte & 0x01 ) ? memory_region(space->machine, "maincpu") + 0x1800 : memory_region(space->machine, "user1");
775775         modeSS_high_ram_enabled = 0;
776776         break;
777777      case 0x08:
r4347r4348
786786         break;
787787      case 0x10:
788788         bank_base[1] = extra_RAM + 2 * 0x800;
789         bank_base[2] = ( modeSS_byte & 0x01 ) ? memory_region(space->machine, "main") + 0x1800 : memory_region(space->machine, "user1");
789         bank_base[2] = ( modeSS_byte & 0x01 ) ? memory_region(space->machine, "maincpu") + 0x1800 : memory_region(space->machine, "user1");
790790         modeSS_high_ram_enabled = 0;
791791         break;
792792      case 0x14:
793793         bank_base[1] = extra_RAM + 0x800;
794         bank_base[2] = ( modeSS_byte & 0x01 ) ? memory_region(space->machine, "main") + 0x1800 : memory_region(space->machine, "user1");
794         bank_base[2] = ( modeSS_byte & 0x01 ) ? memory_region(space->machine, "maincpu") + 0x1800 : memory_region(space->machine, "user1");
795795         modeSS_high_ram_enabled = 0;
796796         break;
797797      case 0x18:
r4347r4348
19821982
19831983static MACHINE_DRIVER_START( a2600 )
19841984   /* basic machine hardware */
1985   MDRV_CPU_ADD("main", M6502, MASTER_CLOCK_NTSC / 3)   /* actually M6507 */
1985   MDRV_CPU_ADD("maincpu", M6502, MASTER_CLOCK_NTSC / 3)   /* actually M6507 */
19861986   MDRV_CPU_PROGRAM_MAP(a2600_mem, 0)
19871987
19881988   MDRV_MACHINE_START(a2600)
r4347r4348
20142014
20152015static MACHINE_DRIVER_START( a2600p )
20162016   /* basic machine hardware */
2017   MDRV_CPU_ADD("main", M6502, MASTER_CLOCK_PAL / 3)    /* actually M6507 */
2017   MDRV_CPU_ADD("maincpu", M6502, MASTER_CLOCK_PAL / 3)    /* actually M6507 */
20182018   MDRV_CPU_PROGRAM_MAP(a2600_mem, 0)
20192019
20202020   MDRV_MACHINE_START(a2600p)
r4347r4348
20452045
20462046
20472047ROM_START( a2600 )
2048   ROM_REGION( 0x2000, "main", 0 )
2048   ROM_REGION( 0x2000, "maincpu", 0 )
20492049   ROM_FILL( 0x0000, 0x2000, 0xFF )
20502050   ROM_REGION( 0x80000, "user1", 0 )
20512051   ROM_FILL( 0x00000, 0x80000, 0xFF )
src/mess/drivers/pcw.c
r4347r4348
365365   {
366366      unsigned char *FakeROM;
367367
368      FakeROM = &memory_region(machine, "main")[0x010000];
368      FakeROM = &memory_region(machine, "maincpu")[0x010000];
369369
370370      memory_set_bankptr(machine, 1, FakeROM);
371371   }
r4347r4348
986986/* PCW8256, PCW8512, PCW9256 */
987987static MACHINE_DRIVER_START( pcw )
988988   /* basic machine hardware */
989   MDRV_CPU_ADD("main", Z80, 4000000)       /* clock supplied to chip, but in reality it is 3.4 MHz */
989   MDRV_CPU_ADD("maincpu", Z80, 4000000)       /* clock supplied to chip, but in reality it is 3.4 MHz */
990990   MDRV_CPU_PROGRAM_MAP(pcw_map, 0)
991991   MDRV_CPU_IO_MAP(pcw_io, 0)
992992   MDRV_QUANTUM_TIME(HZ(60))
r4347r4348
10181018/* PCW9512, PCW9512+, PCW10 */
10191019static MACHINE_DRIVER_START( pcw9512 )
10201020   MDRV_IMPORT_FROM( pcw )
1021   MDRV_CPU_MODIFY( "main" )
1021   MDRV_CPU_MODIFY( "maincpu" )
10221022   MDRV_CPU_IO_MAP(pcw9512_io, 0)
10231023MACHINE_DRIVER_END
10241024
r4347r4348
10351035// for now all models use the same rom
10361036#define ROM_PCW(model)                                    \
10371037   ROM_START(model)                                    \
1038      ROM_REGION(0x014000, "main",0)                     \
1038      ROM_REGION(0x014000, "maincpu",0)                     \
10391039      ROM_LOAD("pcwboot.bin", 0x010000, 608, BAD_DUMP CRC(679b0287) SHA1(5dde974304e3376ace00850d6b4c8ec3b674199e))   \
10401040   ROM_END                                             \
10411041
src/mess/drivers/mk2.c
r4347r4348
170170
171171static MACHINE_DRIVER_START( mk2 )
172172   /* basic machine hardware */
173   MDRV_CPU_ADD("main", M6502, 1000000)        /* 6504 */
173   MDRV_CPU_ADD("maincpu", M6502, 1000000)        /* 6504 */
174174   MDRV_CPU_PROGRAM_MAP(mk2_mem, 0)
175175   MDRV_QUANTUM_TIME(HZ(60))
176176
r4347r4348
190190
191191
192192ROM_START(mk2)
193   ROM_REGION(0x10000,"main",0)
193   ROM_REGION(0x10000,"maincpu",0)
194194   ROM_LOAD("024_1879", 0x0c00, 0x0400, CRC(4f28c443) SHA1(e33f8b7f38e54d7a6e0f0763f2328cc12cb0eade))
195195   ROM_LOAD("005_2179", 0x1000, 0x1000, CRC(6f10991b) SHA1(90cdc5a15d9ad813ad20410f21081c6e3e481812)) // chess mate 7.5
196196ROM_END
src/mess/drivers/c16.c
r4347r4348
405405
406406static MACHINE_DRIVER_START( c16 )
407407   /* basic machine hardware */
408   MDRV_CPU_ADD("main", M7501, 1400000)        /* 7.8336 MHz */
408   MDRV_CPU_ADD("maincpu", M7501, 1400000)        /* 7.8336 MHz */
409409   MDRV_CPU_PROGRAM_MAP(c16_map, 0)
410410   MDRV_CPU_VBLANK_INT("screen", c16_frame_interrupt)
411411   MDRV_CPU_PERIODIC_INT(ted7360_raster_interrupt, TED7360_HRETRACERATE)
r4347r4348
479479
480480static MACHINE_DRIVER_START( plus4 )
481481   MDRV_IMPORT_FROM( c16 )
482   MDRV_CPU_REPLACE( "main", M7501, 1200000)
482   MDRV_CPU_REPLACE( "maincpu", M7501, 1200000)
483483   MDRV_CPU_PROGRAM_MAP(plus4_map, 0)
484484   MDRV_SCREEN_MODIFY("screen")
485485   MDRV_SCREEN_REFRESH_RATE(TED7360NTSC_VRETRACERATE)
r4347r4348
519519   MDRV_IMPORT_FROM( plus4 )
520520   MDRV_SCREEN_MODIFY("screen")
521521   MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500)) /* not accurate */
522   MDRV_CPU_MODIFY( "main" )
522   MDRV_CPU_MODIFY( "maincpu" )
523523   MDRV_CPU_PROGRAM_MAP(c364_map, 0)
524524MACHINE_DRIVER_END
525525
r4347r4348
533533 *************************************/
534534
535535ROM_START( c232 )
536   ROM_REGION (0x40000, "main", 0)
536   ROM_REGION (0x40000, "maincpu", 0)
537537   ROM_LOAD( "318006-01.bin", 0x10000, 0x4000, CRC(74eaae87) SHA1(161c96b4ad20f3a4f2321808e37a5ded26a135dd) )
538538   ROM_LOAD( "318004-01.bin", 0x14000, 0x4000, CRC(dbdc3319) SHA1(3c77caf72914c1c0a0875b3a7f6935cd30c54201) )
539539ROM_END
540540
541541ROM_START( c264 )
542   ROM_REGION (0x40000, "main", 0)
542   ROM_REGION (0x40000, "maincpu", 0)
543543   ROM_LOAD( "basic-264.bin", 0x10000, 0x4000, CRC(6a2fc8e3) SHA1(473fce23afa07000cdca899fbcffd6961b36a8a0) )
544544   ROM_LOAD( "kernal-264.bin", 0x14000, 0x4000, CRC(8f32abe7) SHA1(d481faf5fcbb331878dc7851c642d04f26a32873) )
545545ROM_END
546546
547547ROM_START( c364 )
548   ROM_REGION (0x40000, "main", 0)
548   ROM_REGION (0x40000, "maincpu", 0)
549549   ROM_LOAD( "318006.01", 0x10000, 0x4000, CRC(74eaae87) SHA1(161c96b4ad20f3a4f2321808e37a5ded26a135dd) )
550550   ROM_LOAD( "kern364p.bin", 0x14000, 0x4000, CRC(84fd4f7a) SHA1(b9a5b5dacd57ca117ef0b3af29e91998bf4d7e5f) )
551551   ROM_LOAD( "317053-01.bin", 0x18000, 0x4000, CRC(4fd1d8cb) SHA1(3b69f6e7cb4c18bb08e203fb18b7dabfa853390f) )
r4347r4348
556556
557557
558558ROM_START( c16 )
559   ROM_REGION (0x40000, "main", 0)
559   ROM_REGION (0x40000, "maincpu", 0)
560560   ROM_LOAD( "318006-01.bin", 0x10000, 0x4000, CRC(74eaae87) SHA1(161c96b4ad20f3a4f2321808e37a5ded26a135dd) )
561561   ROM_SYSTEM_BIOS( 0, "default", "rev. 5" )
562562   ROMX_LOAD( "318004-05.bin", 0x14000, 0x4000, CRC(71c07bd4) SHA1(7c7e07f016391174a557e790c4ef1cbe33512cdb), ROM_BIOS(1) )
r4347r4348
567567ROM_END
568568
569569ROM_START( c16c )
570   ROM_REGION (0x40000, "main", 0)
570   ROM_REGION (0x40000, "maincpu", 0)
571571   ROM_LOAD( "318006-01.bin", 0x10000, 0x4000, CRC(74eaae87) SHA1(161c96b4ad20f3a4f2321808e37a5ded26a135dd) )
572572   ROM_SYSTEM_BIOS( 0, "default", "rev. 5" )
573573   ROMX_LOAD( "318004-05.bin", 0x14000, 0x4000, CRC(71c07bd4) SHA1(7c7e07f016391174a557e790c4ef1cbe33512cdb), ROM_BIOS(1) )
r4347r4348
580580ROM_END
581581
582582ROM_START( c16v )
583   ROM_REGION (0x40000, "main", 0)
583   ROM_REGION (0x40000, "maincpu", 0)
584584   ROM_LOAD( "318006-01.bin", 0x10000, 0x4000, CRC(74eaae87) SHA1(161c96b4ad20f3a4f2321808e37a5ded26a135dd) )
585585   ROM_SYSTEM_BIOS( 0, "default", "rev. 5" )
586586   ROMX_LOAD( "318004-05.bin", 0x14000, 0x4000, CRC(71c07bd4) SHA1(7c7e07f016391174a557e790c4ef1cbe33512cdb), ROM_BIOS(1) )
r4347r4348
597597#define rom_c116v      rom_c16v
598598
599599ROM_START( c16hun )
600   ROM_REGION (0x40000, "main", 0)
600   ROM_REGION (0x40000, "maincpu", 0)
601601   ROM_LOAD( "318006-01.bin", 0x10000, 0x4000, CRC(74eaae87) SHA1(161c96b4ad20f3a4f2321808e37a5ded26a135dd) )
602602   ROM_LOAD( "hungary.bin", 0x14000, 0x4000, CRC(775f60c5) SHA1(20cf3c4bf6c54ef09799af41887218933f2e27ee) )
603603ROM_END
604604
605605ROM_START( plus4 )
606   ROM_REGION (0x40000, "main", 0)
606   ROM_REGION (0x40000, "maincpu", 0)
607607   ROM_LOAD( "318006-01.bin", 0x10000, 0x4000, CRC(74eaae87) SHA1(161c96b4ad20f3a4f2321808e37a5ded26a135dd) )
608608   ROM_SYSTEM_BIOS( 0, "default", "rev. 5" )
609609   ROMX_LOAD( "318005-05.bin", 0x14000, 0x4000, CRC(70295038) SHA1(a3d9e5be091b98de39a046ab167fb7632d053682), ROM_BIOS(1) )
r4347r4348
615615ROM_END
616616
617617ROM_START( plus4c )
618   ROM_REGION (0x40000, "main", 0)
618   ROM_REGION (0x40000, "maincpu", 0)
619619   ROM_LOAD( "318006-01.bin", 0x10000, 0x4000, CRC(74eaae87) SHA1(161c96b4ad20f3a4f2321808e37a5ded26a135dd) )
620620   ROM_SYSTEM_BIOS( 0, "default", "rev. 5" )
621621   ROMX_LOAD( "318005-05.bin", 0x14000, 0x4000, CRC(70295038) SHA1(a3d9e5be091b98de39a046ab167fb7632d053682), ROM_BIOS(1) )
r4347r4348
629629ROM_END
630630
631631ROM_START( plus4v )
632   ROM_REGION (0x40000, "main", 0)
632   ROM_REGION (0x40000, "maincpu", 0)
633633   ROM_LOAD( "318006-01.bin", 0x10000, 0x4000, CRC(74eaae87) SHA1(161c96b4ad20f3a4f2321808e37a5ded26a135dd) )
634634   ROM_SYSTEM_BIOS( 0, "default", "rev. 5" )
635635   ROMX_LOAD( "318005-05.bin", 0x14000, 0x4000, CRC(70295038) SHA1(a3d9e5be091b98de39a046ab167fb7632d053682), ROM_BIOS(1) )
src/mess/drivers/oric.c
r4347r4348
339339   AY8910_DEFAULT_LOADS,
340340   DEVCB_NULL,
341341   DEVCB_NULL,
342   DEVCB_MEMORY_HANDLER("main", PROGRAM, oric_psg_porta_write),
342   DEVCB_MEMORY_HANDLER("maincpu", PROGRAM, oric_psg_porta_write),
343343   DEVCB_NULL,
344344};
345345
r4347r4348
361361
362362static MACHINE_DRIVER_START( oric )
363363   /* basic machine hardware */
364   MDRV_CPU_ADD("main", M6502, 1000000)
364   MDRV_CPU_ADD("maincpu", M6502, 1000000)
365365   MDRV_CPU_PROGRAM_MAP(oric_mem, 0)
366366   MDRV_QUANTUM_TIME(HZ(60))
367367
r4347r4348
404404
405405static MACHINE_DRIVER_START( telstrat)
406406   MDRV_IMPORT_FROM( oric )
407   MDRV_CPU_MODIFY( "main" )
407   MDRV_CPU_MODIFY( "maincpu" )
408408   MDRV_CPU_PROGRAM_MAP( telestrat_mem, 0 )
409409
410410   MDRV_MACHINE_START( telestrat )
r4347r4348
419419
420420
421421ROM_START(oric1)
422   ROM_REGION(0x10000+0x04000+0x02000+0x0800,"main",0)
422   ROM_REGION(0x10000+0x04000+0x02000+0x0800,"maincpu",0)
423423   ROM_LOAD ("basic10.rom", 0x10000, 0x4000, CRC(f18710b4) SHA1(333116e6884d85aaa4dfc7578a91cceeea66d016))
424424   ROM_LOAD_OPTIONAL ("microdis.rom",0x014000, 0x02000, CRC(a9664a9c) SHA1(0d2ef6e67322f48f4b7e08d8bbe68827e2074561))
425425   ROM_LOAD_OPTIONAL ("jasmin.rom", 0x016000, 0x800, CRC(37220e89) SHA1(70e59b8abd67092f050462abc6cb5271e4c15f01))
426426ROM_END
427427
428428ROM_START(orica)
429   ROM_REGION(0x10000+0x04000+0x02000+0x0800,"main",0)
429   ROM_REGION(0x10000+0x04000+0x02000+0x0800,"maincpu",0)
430430   ROM_LOAD ("basic11b.rom", 0x10000, 0x4000, CRC(c3a92bef) SHA1(9451a1a09d8f75944dbd6f91193fc360f1de80ac))
431431   ROM_LOAD_OPTIONAL ("microdis.rom",0x014000, 0x02000, CRC(a9664a9c) SHA1(0d2ef6e67322f48f4b7e08d8bbe68827e2074561))
432432   ROM_LOAD_OPTIONAL ("jasmin.rom", 0x016000, 0x800, CRC(37220e89) SHA1(70e59b8abd67092f050462abc6cb5271e4c15f01))
433433ROM_END
434434
435435ROM_START(telstrat)
436   ROM_REGION(0x010000+(0x04000*4), "main",0)
436   ROM_REGION(0x010000+(0x04000*4), "maincpu",0)
437437   ROM_LOAD ("telmatic.rom", 0x010000, 0x02000, CRC(94358dc6) SHA1(35f92a0477a88f5cf564971125047ffcfa02ec10))
438438   ROM_LOAD ("teleass.rom", 0x014000, 0x04000, CRC(68b0fde6) SHA1(9e9af51dae3199cccf49ab3f0d47e2b9be4ba97d))
439439   ROM_LOAD ("hyperbas.rom", 0x018000, 0x04000, CRC(1d96ab50) SHA1(f5f70a0eb59f8cd6c261e179ae78ef906f68ed63))
r4347r4348
441441ROM_END
442442
443443ROM_START(prav8d)
444    ROM_REGION( 0x10000+0x4000+0x0100+0x0200, "main", 0 )
444    ROM_REGION( 0x10000+0x4000+0x0100+0x0200, "maincpu", 0 )
445445    ROM_LOAD( "pravetzt.rom", 0x10000, 0x4000, CRC(58079502) SHA1(7afc276cb118adff72e4f16698f94bf3b2c64146) )
446446   ROM_LOAD_OPTIONAL( "8ddoslo.rom", 0x014000, 0x0100, CRC(0c82f636) SHA1(b29d151a0dfa3c7cd50439b51d0a8f95559bc2b6) )
447447    ROM_LOAD_OPTIONAL( "8ddoshi.rom", 0x014100, 0x0200, CRC(66309641) SHA1(9c2e82b3c4d385ade6215fcb89f8b92e6fd2bf4b) )
448448ROM_END
449449
450450ROM_START(prav8dd)
451    ROM_REGION( 0x10000+0x4000+0x0100+0x0200, "main", 0 )
451    ROM_REGION( 0x10000+0x4000+0x0100+0x0200, "maincpu", 0 )
452452   ROM_SYSTEM_BIOS( 0, "default", "Disk ROM, 1989")
453453   ROMX_LOAD( "8d.rom",       0x10000, 0x4000, CRC(b48973ef) SHA1(fd47c977fc215a3b577596a7483df53e8a1e9c83), ROM_BIOS(1) )
454454   ROM_SYSTEM_BIOS( 1, "radosoft", "RadoSoft Disk ROM, 1992")
src/mess/drivers/enterp.c
r4347r4348
167167{
168168   DEVCB_HANDLER(enterprise_dave_reg_read),
169169   DEVCB_HANDLER(enterprise_dave_reg_write),
170   DEVCB_CPU_INPUT_LINE("main", 0)
170   DEVCB_CPU_INPUT_LINE("maincpu", 0)
171171};
172172
173173
r4347r4348
430430
431431static MACHINE_DRIVER_START( ep64 )
432432   /* basic machine hardware */
433   MDRV_CPU_ADD("main", Z80, ENTERPRISE_XTAL_X1/2) /* 4 MHz, generated by DAVE */
433   MDRV_CPU_ADD("maincpu", Z80, ENTERPRISE_XTAL_X1/2) /* 4 MHz, generated by DAVE */
434434   MDRV_CPU_PROGRAM_MAP(enterprise_mem, 0)
435435   MDRV_CPU_IO_MAP(enterprise_io, 0)
436436
src/mess/drivers/orao.c
r4347r4348
153153
154154static MACHINE_DRIVER_START( orao )
155155    /* basic machine hardware */
156    MDRV_CPU_ADD("main", M6502, 1000000)
156    MDRV_CPU_ADD("maincpu", M6502, 1000000)
157157    MDRV_CPU_PROGRAM_MAP(orao_mem, 0)
158158    MDRV_MACHINE_RESET( orao )
159159
r4347r4348
182182
183183/* ROM definition */
184184ROM_START( orao )
185    ROM_REGION( 0x10000, "main", ROMREGION_ERASEFF )
185    ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
186186    ROM_LOAD( "bas12.rom", 0xc000, 0x2000, CRC(42ae6f69) SHA1(b9d4a544fae13a9c492af027545178addd557111) )
187187    ROM_LOAD( "crt12.rom", 0xe000, 0x2000, CRC(94ebdc94) SHA1(3959d717f96558823ccc806c842d2fb5ab0c3890) )
188188ROM_END
189189
190190ROM_START( orao103 )
191    ROM_REGION( 0x10000, "main", ROMREGION_ERASEFF )
191    ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
192192    ROM_LOAD( "bas13.rom", 0xc000, 0x2000, CRC(35daf5da) SHA1(499c5a4bd930c26ec6226623c2793b4c7f771658) )
193193    ROM_LOAD( "crt13.rom", 0xe000, 0x2000, CRC(e7076014) SHA1(0e213287b0b520440af6a2a6297788a9356818c2) )
194194ROM_END
src/mess/drivers/mc10.c
r4347r4348
2828//  AM_RANGE(0x4000, 0x8fff) AM_RAM /* RAM, 4k or 20k total */
2929   AM_RANGE(0x9000, 0xbffe) AM_NOP /* unused */
3030   AM_RANGE(0xbfff, 0xbfff) AM_READWRITE(mc10_bfff_r, mc10_bfff_w)
31   AM_RANGE(0xe000, 0xffff) AM_ROM AM_REGION("main", 0x0000) /* ROM */
31   AM_RANGE(0xe000, 0xffff) AM_ROM AM_REGION("maincpu", 0x0000) /* ROM */
3232ADDRESS_MAP_END
3333
3434
r4347r4348
215215
216216static MACHINE_DRIVER_START( mc10 )
217217   /* basic machine hardware */
218   MDRV_CPU_ADD("main", M6803, XTAL_3_579545MHz)  /* 0,894886 MHz */
218   MDRV_CPU_ADD("maincpu", M6803, XTAL_3_579545MHz)  /* 0,894886 MHz */
219219   MDRV_CPU_PROGRAM_MAP(mc10_mem, 0)
220220   MDRV_CPU_IO_MAP(mc10_io, 0)
221221   MDRV_SCREEN_ADD("screen", RASTER)
r4347r4348
246246
247247
248248ROM_START(mc10)
249   ROM_REGION(0x2000, "main", 0)
249   ROM_REGION(0x2000, "maincpu", 0)
250250   ROM_LOAD("mc10.rom", 0x0000, 0x2000, CRC(11fda97e) SHA1(4afff2b4c120334481aab7b02c3552bf76f1bc43))
251251ROM_END
252252
253253
254254ROM_START(alice)
255   ROM_REGION(0x2000, "main", 0)
255   ROM_REGION(0x2000, "maincpu", 0)
256256   ROM_LOAD("alice.rom", 0x0000, 0x2000, CRC(f876abe9) SHA1(c2166b91e6396a311f486832012aa43e0d2b19f8))
257257ROM_END
258258
src/mess/drivers/atom.c
r4347r4348
260260/* machine definition */
261261static MACHINE_DRIVER_START( atom )
262262   /* basic machine hardware */
263   MDRV_CPU_ADD("main", M65C02, 1000000)        /* 0,894886 MHz */
263   MDRV_CPU_ADD("maincpu", M65C02, 1000000)        /* 0,894886 MHz */
264264   MDRV_CPU_PROGRAM_MAP(atom_mem, 0)
265265
266266   MDRV_MACHINE_RESET( atom )
r4347r4348
301301
302302static MACHINE_DRIVER_START( atomeb )
303303   MDRV_IMPORT_FROM( atom )
304   MDRV_CPU_MODIFY( "main" )
304   MDRV_CPU_MODIFY( "maincpu" )
305305   MDRV_CPU_PROGRAM_MAP(atomeb_mem, 0 )
306306
307307   MDRV_MACHINE_RESET( atomeb )
r4347r4348
309309
310310
311311ROM_START (atom)
312   ROM_REGION (0x10000, "main",0)
312   ROM_REGION (0x10000, "maincpu",0)
313313   ROM_LOAD ("akernel.rom", 0xf000, 0x1000, CRC(c604db3d) SHA1(2621f27d652d4673e0a79aa669e729b8c3051ab6))
314314   ROM_LOAD ("dosrom.rom", 0xe000, 0x1000, CRC(c431a9b7) SHA1(71ea0a4b8d9c3caf9718fc7cc279f4306a23b39c))
315315   ROM_LOAD ("afloat.rom", 0xd000, 0x1000, CRC(81d86af7) SHA1(ebcde5b36cb3a3344567cbba4c7b9fde015f4802))
r4347r4348
317317ROM_END
318318
319319ROM_START (atomeb)
320   ROM_REGION (0x10000+0x09000, "main",0)
320   ROM_REGION (0x10000+0x09000, "maincpu",0)
321321   ROM_LOAD ("akernel.rom", 0xf000, 0x1000, CRC(c604db3d) SHA1(2621f27d652d4673e0a79aa669e729b8c3051ab6))
322322   ROM_LOAD ("dosrom.rom", 0xe000, 0x1000, CRC(c431a9b7) SHA1(71ea0a4b8d9c3caf9718fc7cc279f4306a23b39c))
323323   ROM_LOAD ("afloat.rom", 0xd000, 0x1000, CRC(81d86af7) SHA1(ebcde5b36cb3a3344567cbba4c7b9fde015f4802))
src/mess/drivers/mekd2.c
r4347r4348
198198
199199static MACHINE_DRIVER_START( mekd2 )
200200   /* basic machine hardware */
201   MDRV_CPU_ADD("main", M6800, 614400)        /* 614.4 kHz */
201   MDRV_CPU_ADD("maincpu", M6800, 614400)        /* 614.4 kHz */
202202   MDRV_CPU_PROGRAM_MAP(mekd2_mem, 0)
203203   MDRV_QUANTUM_TIME(HZ(60))
204204
r4347r4348
230230
231231
232232ROM_START(mekd2)
233   ROM_REGION(0x10000,"main",0)
233   ROM_REGION(0x10000,"maincpu",0)
234234      ROM_LOAD("jbug.rom",    0xe000, 0x0400, CRC(a2a56502) SHA1(60b6e48f35fe4899e29166641bac3e81e3b9d220))
235235   ROM_REGION(128 * 24 * 3,"gfx1",ROMREGION_ERASEFF)
236236      /* space filled with 7segement graphics by mekd2_init_driver */
src/mess/drivers/rt1715.c
r4347r4348
4242/* Machine driver */
4343static MACHINE_DRIVER_START( rt1715 )
4444  /* basic machine hardware */
45  MDRV_CPU_ADD("main", Z80, XTAL_16MHz / 4)
45  MDRV_CPU_ADD("maincpu", Z80, XTAL_16MHz / 4)
4646  MDRV_CPU_PROGRAM_MAP(rt1715_mem, 0)
4747  MDRV_CPU_IO_MAP(rt1715_io, 0)
4848  MDRV_MACHINE_RESET( rt1715 )
r4347r4348
6464
6565/* ROM definition */
6666ROM_START( rt1715 )
67   ROM_REGION( 0x10800, "main", ROMREGION_ERASEFF )
67   ROM_REGION( 0x10800, "maincpu", ROMREGION_ERASEFF )
6868   ROM_LOAD( "s502.bin", 0x10000, 0x0800, CRC(7b6302e1) SHA1(e8f61763ff8841078a1939aa5e85a17f2af42163))
6969   ROM_REGION(0x0800, "gfx",0)
7070   ROM_LOAD ("s619.bin", 0x0000, 0x0800, CRC(98647763) SHA1(93fba51ed26392ec3eff1037886576fa12443fe5))
7171ROM_END
7272
7373ROM_START( rt1715w )
74   ROM_REGION( 0x10800, "main", ROMREGION_ERASEFF )
74   ROM_REGION( 0x10800, "maincpu", ROMREGION_ERASEFF )
7575   ROM_LOAD( "s550.bin", 0x10000, 0x0800, CRC(0a96c754) SHA1(4d9ad5b877353d91ba355044d2847e1d621e2b01))
7676   ROM_REGION(0x0800, "gfx",0)
7777   ROM_LOAD ("s619.bin", 0x0000, 0x0800, CRC(98647763) SHA1(93fba51ed26392ec3eff1037886576fa12443fe5))
src/mess/drivers/at.c
r4347r4348
8888   AM_RANGE(0x0c8000, 0x0cffff) AM_ROM
8989   AM_RANGE(0x0d0000, 0x0effff) AM_RAM
9090   AM_RANGE(0x0f0000, 0x0fffff) AM_ROM
91   AM_RANGE(0xff0000, 0xffffff) AM_ROM AM_REGION("main", 0x0f0000)
91   AM_RANGE(0xff0000, 0xffffff) AM_ROM AM_REGION("maincpu", 0x0f0000)
9292ADDRESS_MAP_END
9393
9494
r4347r4348
100100   AM_RANGE(0x000c0000, 0x000c7fff) AM_ROM
101101   AM_RANGE(0x000c8000, 0x000cffff) AM_ROM
102102   AM_RANGE(0x000d0000, 0x000effff) AM_ROM
103   AM_RANGE(0x000f0000, 0x000fffff) AM_ROM AM_REGION("main", 0x0f0000)
104   AM_RANGE(0x00ff0000, 0x00ffffff) AM_ROM AM_REGION("main", 0x0f0000)
103   AM_RANGE(0x000f0000, 0x000fffff) AM_ROM AM_REGION("maincpu", 0x0f0000)
104   AM_RANGE(0x00ff0000, 0x00ffffff) AM_ROM AM_REGION("maincpu", 0x0f0000)
105105ADDRESS_MAP_END
106106
107107static ADDRESS_MAP_START( at586_map, ADDRESS_SPACE_PROGRAM, 32 )
r4347r4348
426426
427427static const pc_lpt_interface at_lpt_config =
428428{
429   DEVCB_CPU_INPUT_LINE("main", 0)
429   DEVCB_CPU_INPUT_LINE("maincpu", 0)
430430};
431431
432432
433433static MACHINE_DRIVER_START( ibm5170 )
434434   /* basic machine hardware */
435   MDRV_CPU_ADD("main", I80286, 6000000 /*6000000*/)
435   MDRV_CPU_ADD("maincpu", I80286, 6000000 /*6000000*/)
436436   MDRV_CPU_PROGRAM_MAP(at16_map, 0)
437437   MDRV_CPU_IO_MAP(at16_io, 0)
438438   MDRV_CPU_CONFIG(i286_address_mask)
r4347r4348
494494
495495static MACHINE_DRIVER_START( ibm5170a )
496496   MDRV_IMPORT_FROM( ibm5170 )
497   MDRV_CPU_REPLACE("main", I80286, 8000000)
497   MDRV_CPU_REPLACE("maincpu", I80286, 8000000)
498498MACHINE_DRIVER_END
499499
500500
501501static MACHINE_DRIVER_START( ibm5162 )
502502   /* basic machine hardware */
503   MDRV_CPU_ADD("main", I80286, 6000000 /*6000000*/)
503   MDRV_CPU_ADD("maincpu", I80286, 6000000 /*6000000*/)
504504   MDRV_CPU_PROGRAM_MAP(at16_map, 0)
505505   MDRV_CPU_IO_MAP(at16_io, 0)
506506   MDRV_CPU_CONFIG(i286_address_mask)
r4347r4348
557557
558558static MACHINE_DRIVER_START( ps2m30286 )
559559   /* basic machine hardware */
560   MDRV_CPU_ADD("main", I80286, 12000000)
560   MDRV_CPU_ADD("maincpu", I80286, 12000000)
561561   MDRV_CPU_PROGRAM_MAP(at16_map, 0)
562562   MDRV_CPU_IO_MAP(at16_io, 0)
563563   MDRV_CPU_CONFIG(i286_address_mask)
r4347r4348
622622
623623static MACHINE_DRIVER_START( atvga )
624624   /* basic machine hardware */
625   MDRV_CPU_ADD("main", I80286, 12000000)
625   MDRV_CPU_ADD("maincpu", I80286, 12000000)
626626   MDRV_CPU_PROGRAM_MAP(at16_map, 0)
627627   MDRV_CPU_IO_MAP(at16_io, 0)
628628   MDRV_CPU_CONFIG(i286_address_mask)
r4347r4348
690690static MACHINE_DRIVER_START( at386 )
691691    /* basic machine hardware */
692692   /* original at 6 MHz, at03 8 megahertz */
693   MDRV_CPU_ADD("main", I386, 12000000)
693   MDRV_CPU_ADD("maincpu", I386, 12000000)
694694   MDRV_CPU_PROGRAM_MAP(at386_map, 0)
695695   MDRV_CPU_IO_MAP(at386_io, 0)
696696   MDRV_CPU_CONFIG(i286_address_mask)
r4347r4348
754754static MACHINE_DRIVER_START( at486 )
755755   MDRV_IMPORT_FROM( at386 )
756756
757   MDRV_CPU_REPLACE("main", I486, 12000000)
757   MDRV_CPU_REPLACE("maincpu", I486, 12000000)
758758MACHINE_DRIVER_END
759759
760760static MACHINE_DRIVER_START( at586 )
761761   MDRV_IMPORT_FROM( at386 )
762762
763   MDRV_CPU_REPLACE("main", PENTIUM, 60000000)
763   MDRV_CPU_REPLACE("maincpu", PENTIUM, 60000000)
764764   MDRV_CPU_PROGRAM_MAP(at586_map, 0)
765765   MDRV_CPU_IO_MAP(at586_io, 0)
766766
r4347r4348
800800#endif
801801
802802ROM_START( ibm5170 )
803   ROM_REGION(0x100000,"main", 0)
803   ROM_REGION(0x100000,"maincpu", 0)
804804
805805   ROM_SYSTEM_BIOS( 0, "rev1", "IBM PC/AT 5170 01/10/84")
806806   ROMX_LOAD("t6181028.u27", 0xf0000, 0x8000, CRC(f6573f2a) SHA1(3e52cfa6a6a62b4e8576f4fe076c858c220e6c1a), ROM_SKIP(1) | ROM_BIOS(1))
r4347r4348
844844
845845
846846ROM_START( ibm5170a )
847   ROM_REGION(0x100000,"main", 0)
847   ROM_REGION(0x100000,"maincpu", 0)
848848//    ROM_LOAD("wdbios.rom",  0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a))
849849   ROM_SYSTEM_BIOS( 0, "rev3", "IBM PC/AT 5170 11/15/85")
850850   ROMX_LOAD("61x9266.u27", 0xf0000, 0x8000, CRC(4995be7a) SHA1(8e8e5c863ae3b8c55fd394e345d8cca48b6e575c), ROM_SKIP(1) | ROM_BIOS(1))
r4347r4348
884884
885885
886886ROM_START( ibm5162 )
887   ROM_REGION16_LE(0x1000000,"main", 0)
887   ROM_REGION16_LE(0x1000000,"maincpu", 0)
888888   ROM_LOAD("wdbios.rom",  0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a))
889889
890890   ROM_LOAD16_BYTE("78x7460.u34", 0xf0000, 0x8000, CRC(1db4bd8f) SHA1(7be669fbb998d8b4626fefa7cd1208d3b2a88c31))
r4347r4348
905905
906906
907907ROM_START( i8530286 )
908    ROM_REGION(0x1000000,"main", 0)
908    ROM_REGION(0x1000000,"maincpu", 0)
909909    ROM_LOAD("wdbios.rom",  0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a))
910910   // saved from running machine
911911    ROM_LOAD16_BYTE("ps2m30.0", 0xe0000, 0x10000, CRC(9965a634) SHA1(c237b1760f8a4561ec47dc70fe2e9df664e56596))
r4347r4348
924924
925925
926926ROM_START( at )
927    ROM_REGION(0x1000000,"main", 0)
927    ROM_REGION(0x1000000,"maincpu", 0)
928928    ROM_LOAD("wdbios.rom",  0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a))
929929    ROM_LOAD16_BYTE("at110387.1", 0xf0001, 0x8000, CRC(679296a7) SHA1(ae891314cac614dfece686d8e1d74f4763cf40e3))
930930   ROM_RELOAD(0xff0001,0x8000)
r4347r4348
946946
947947
948948ROM_START( atvga )
949    ROM_REGION(0x1000000,"main", 0)
949    ROM_REGION(0x1000000,"maincpu", 0)
950950    ROM_LOAD("et4000.bin", 0xc0000, 0x8000, CRC(f01e4be0) SHA1(95d75ff41bcb765e50bd87a8da01835fd0aa01d5))
951951    ROM_LOAD("wdbios.rom",  0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a))
952952    ROM_LOAD16_BYTE("at110387.1", 0xf0001, 0x8000, CRC(679296a7) SHA1(ae891314cac614dfece686d8e1d74f4763cf40e3))
r4347r4348
965965
966966
967967ROM_START( neat )
968    ROM_REGION(0x1000000,"main", 0)
968    ROM_REGION(0x1000000,"maincpu", 0)
969969    ROM_LOAD("wdbios.rom",  0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a))
970970    ROM_LOAD16_BYTE("at030389.0", 0xf0000, 0x8000, CRC(4c36e61d) SHA1(094e8d5e6819889163cb22a2cf559186de782582))
971971   ROM_RELOAD(0xff0000,0x8000)
r4347r4348
987987
988988
989989ROM_START( at386 )
990    ROM_REGION(0x1000000,"main", 0)
990    ROM_REGION(0x1000000,"maincpu", 0)
991991    ROM_LOAD("wdbios.rom",  0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a))
992992    ROM_LOAD("at386.bin", 0xf0000, 0x10000, CRC(3df9732a) SHA1(def71567dee373dc67063f204ef44ffab9453ead))
993993   ROM_RELOAD(0xff0000,0x10000)
r4347r4348
10051005
10061006
10071007ROM_START( at486 )
1008   ROM_REGION(0x1000000, "main", 0)
1008   ROM_REGION(0x1000000, "maincpu", 0)
10091009   ROM_LOAD("wdbios.rom", 0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a))
10101010
10111011   ROM_SYSTEM_BIOS(0, "at486", "PC/AT 486")   \
r4347r4348
10141014   ROMX_LOAD("mg48602.bin", 0x0f0000, 0x10000, CRC(45797823) SHA1(a5fab258aecabde615e1e97af5911d6cf9938c11), ROM_BIOS(2))
10151015   ROM_SYSTEM_BIOS(2, "ft01232", "Free Tech 01-232")   \
10161016   ROMX_LOAD("ft01232.bin", 0x0f0000, 0x10000, CRC(30efaf92) SHA1(665c8ef05ca052dcc06bb473c9539546bfef1e86), ROM_BIOS(3))
1017   ROM_COPY("main", 0, 0xff0000, 0x10000)
1017   ROM_COPY("maincpu", 0, 0xff0000, 0x10000)
10181018
10191019   ROM_REGION(0x08100, "gfx1", 0)
10201020   ROM_LOAD("cga.chr", 0x01000, 0x01000, CRC(42009069) SHA1(ed08559ce2d7f97f68b9f540bddad5b6295294dd))
src/mess/drivers/coleco.c
r4347r4348
398398static MACHINE_RESET( coleco )
399399{
400400    cpu_set_input_line_vector(machine->cpu[0], INPUT_LINE_IRQ0, 0xff);
401   memset(&memory_region(machine, "main")[0x6000], 0xff, 0x400);   // initialize RAM
401   memset(&memory_region(machine, "maincpu")[0x6000], 0xff, 0x400);   // initialize RAM
402402    timer_pulse(machine, ATTOTIME_IN_MSEC(20), NULL, 0, paddle_callback);
403403}
404404
r4347r4348
418418static DEVICE_IMAGE_LOAD( czz50_cart )
419419{
420420   int size = image_length(image);
421   UINT8 *ptr = memory_region(image->machine, "main") + 0x8000;
421   UINT8 *ptr = memory_region(image->machine, "maincpu") + 0x8000;
422422
423423   if (image_fread(image, ptr, size ) != size)
424424   {
r4347r4348
432432
433433static MACHINE_DRIVER_START( coleco )
434434   // basic machine hardware
435   MDRV_CPU_ADD("main", Z80, XTAL_7_15909MHz/2)   // 3.579545 MHz
435   MDRV_CPU_ADD("maincpu", Z80, XTAL_7_15909MHz/2)   // 3.579545 MHz
436436   MDRV_CPU_PROGRAM_MAP(coleco_map, 0)
437437   MDRV_CPU_IO_MAP(coleco_io_map, 0)
438438   MDRV_CPU_VBLANK_INT("screen", coleco_interrupt)
r4347r4348
459459
460460static MACHINE_DRIVER_START( czz50 )
461461   // basic machine hardware
462   MDRV_CPU_ADD("main", Z80, XTAL_7_15909MHz/2)   // ???
462   MDRV_CPU_ADD("maincpu", Z80, XTAL_7_15909MHz/2)   // ???
463463   MDRV_CPU_PROGRAM_MAP(czz50_map, 0)
464464   MDRV_CPU_IO_MAP(czz50_io_map, 0)
465465   MDRV_CPU_VBLANK_INT("screen", coleco_interrupt)
r4347r4348
494494/* ROMs */
495495
496496ROM_START (coleco)
497    ROM_REGION( 0x10000, "main", 0 )
497    ROM_REGION( 0x10000, "maincpu", 0 )
498498    ROM_LOAD( "coleco.rom", 0x0000, 0x2000, CRC(3aa93ef3) SHA1(45bedc4cbdeac66c7df59e9e599195c778d86a92) )
499499   ROM_CART_LOAD("cart", 0x8000, 0x8000, ROM_NOMIRROR | ROM_OPTIONAL)
500500ROM_END
501501
502502ROM_START (colecoa)
503503    // differences to 0x3aa93ef3 modified characters, added a pad 2 related fix
504    ROM_REGION( 0x10000, "main", 0 )
504    ROM_REGION( 0x10000, "maincpu", 0 )
505505    ROM_LOAD( "colecoa.rom", 0x0000, 0x2000, CRC(39bb16fc) SHA1(99ba9be24ada3e86e5c17aeecb7a2d68c5edfe59) )
506506   ROM_CART_LOAD("cart", 0x8000, 0x8000, ROM_NOMIRROR | ROM_OPTIONAL)
507507ROM_END
508508
509509ROM_START (colecob)
510    ROM_REGION( 0x10000, "main", 0 )
510    ROM_REGION( 0x10000, "maincpu", 0 )
511511    ROM_LOAD( "svi603.rom", 0x0000, 0x2000, CRC(19e91b82) SHA1(8a30abe5ffef810b0f99b86db38b1b3c9d259b78) )
512512   ROM_CART_LOAD("cart", 0x8000, 0x8000, ROM_NOMIRROR | ROM_OPTIONAL)
513513ROM_END
514514
515515ROM_START( czz50 )
516    ROM_REGION( 0x10000, "main", 0 )
516    ROM_REGION( 0x10000, "maincpu", 0 )
517517    ROM_LOAD( "czz50.rom", 0x0000, 0x2000, CRC(4999abc6) SHA1(96aecec3712c94517103d894405bc98a7dafa440) )
518518    ROM_CONTINUE(        0x8000, 0x2000 )
519519ROM_END
src/mess/drivers/ex800.c
r4347r4348
302302
303303
304304static ADDRESS_MAP_START( ex800_mem, ADDRESS_SPACE_PROGRAM, 8 )
305   AM_RANGE(0x0000, 0x7fff) AM_ROM AM_REGION("main", 0)
305   AM_RANGE(0x0000, 0x7fff) AM_ROM AM_REGION("maincpu", 0)
306306   AM_RANGE(0x8000, 0xbfff) AM_RAM /* external RAM */
307307   AM_RANGE(0xc000, 0xc7ff) AM_MIRROR(0x1800) AM_READWRITE(ex800_devsel_r, ex800_devsel_w)
308308   AM_RANGE(0xe000, 0xe7ff) AM_READWRITE(ex800_gate5a_r, ex800_gate5a_w)
r4347r4348
420420
421421static MACHINE_DRIVER_START(ex800)
422422    /* basic machine hardware */
423    MDRV_CPU_ADD("main", UPD7810, 12000000)  /* 12 MHz? */
423    MDRV_CPU_ADD("maincpu", UPD7810, 12000000)  /* 12 MHz? */
424424    MDRV_CPU_CONFIG(ex800_cpu_config)
425425    MDRV_CPU_PROGRAM_MAP(ex800_mem, 0)
426426   MDRV_CPU_IO_MAP(ex800_io, 0)
r4347r4348
443443
444444
445445ROM_START( ex800 )
446    ROM_REGION(0x8000, "main", 0)
446    ROM_REGION(0x8000, "maincpu", 0)
447447   ROM_LOAD("w8_pe9.9b", 0x0000, 0x8000, CRC(6dd41e9b) SHA1(8e30ead727b9317154742efd881206e9f9bbf95b))
448448ROM_END
449449
src/mess/drivers/apf.c
r4347r4348
405405static ADDRESS_MAP_START(apf_imagination_map, ADDRESS_SPACE_PROGRAM, 8)
406406   AM_RANGE( 0x00000, 0x003ff) AM_RAM AM_BASE(&apf_video_ram) AM_MIRROR(0x1c00)
407407   AM_RANGE( 0x02000, 0x03fff) AM_READWRITE(pia_0_r, pia_0_w)
408   AM_RANGE( 0x04000, 0x047ff) AM_ROM AM_REGION("main", 0x10000) AM_MIRROR(0x1800)
408   AM_RANGE( 0x04000, 0x047ff) AM_ROM AM_REGION("maincpu", 0x10000) AM_MIRROR(0x1800)
409409   AM_RANGE( 0x06000, 0x063ff) AM_READWRITE(pia_1_r, pia_1_w)
410410   AM_RANGE( 0x06400, 0x064ff) AM_READWRITE(serial_r, serial_w)
411411   AM_RANGE( 0x06500, 0x06500) AM_READWRITE(apf_wd179x_status_r, apf_wd179x_command_w)
r4347r4348
417417   AM_RANGE( 0x07800, 0x07fff) AM_NOP
418418   AM_RANGE( 0x08000, 0x09fff) AM_ROM
419419   AM_RANGE( 0x0a000, 0x0dfff) AM_RAM
420   AM_RANGE( 0x0e000, 0x0e7ff) AM_ROM AM_REGION("main", 0x10000) AM_MIRROR(0x1800)
420   AM_RANGE( 0x0e000, 0x0e7ff) AM_ROM AM_REGION("maincpu", 0x10000) AM_MIRROR(0x1800)
421421ADDRESS_MAP_END
422422
423423static ADDRESS_MAP_START(apf_m1000_map, ADDRESS_SPACE_PROGRAM, 8)
424424   AM_RANGE( 0x00000, 0x003ff) AM_RAM AM_BASE(&apf_video_ram)  AM_MIRROR(0x1c00)
425425   AM_RANGE( 0x02000, 0x03fff) AM_READWRITE(pia_0_r, pia_0_w)
426   AM_RANGE( 0x04000, 0x047ff) AM_ROM AM_REGION("main", 0x10000) AM_MIRROR(0x1800)
426   AM_RANGE( 0x04000, 0x047ff) AM_ROM AM_REGION("maincpu", 0x10000) AM_MIRROR(0x1800)
427427   AM_RANGE( 0x06800, 0x077ff) AM_ROM
428   AM_RANGE( 0x08000, 0x09fff) AM_ROM AM_REGION("main", 0x8000)
428   AM_RANGE( 0x08000, 0x09fff) AM_ROM AM_REGION("maincpu", 0x8000)
429429   AM_RANGE( 0x0a000, 0x0dfff) AM_RAM
430   AM_RANGE( 0x0e000, 0x0e7ff) AM_ROM AM_REGION("main", 0x10000) AM_MIRROR(0x1800)
430   AM_RANGE( 0x0e000, 0x0e7ff) AM_ROM AM_REGION("maincpu", 0x10000) AM_MIRROR(0x1800)
431431ADDRESS_MAP_END
432432
433433/* The following input ports definitions are wrong and can't be debugged unless the driver
r4347r4348
637637
638638static MACHINE_DRIVER_START( apf_imagination )
639639   /* basic machine hardware */
640   //   MDRV_CPU_ADD("main", M6800, 3750000)        /* 7.8336 MHz, only 6800p type used 1 MHz max*/
641   MDRV_CPU_ADD("main", M6800, 1000000 )        /* backgammon uses timing from vertical interrupt to switch between video modes during frame */
640   //   MDRV_CPU_ADD("maincpu", M6800, 3750000)        /* 7.8336 MHz, only 6800p type used 1 MHz max*/
641   MDRV_CPU_ADD("maincpu", M6800, 1000000 )        /* backgammon uses timing from vertical interrupt to switch between video modes during frame */
642642   MDRV_CPU_PROGRAM_MAP(apf_imagination_map, 0)
643643   MDRV_SCREEN_ADD("screen", RASTER)
644644   MDRV_SCREEN_REFRESH_RATE(M6847_NTSC_FRAMES_PER_SECOND)
r4347r4348
665665
666666static MACHINE_DRIVER_START( apf_m1000 )
667667   MDRV_IMPORT_FROM( apf_imagination )
668   MDRV_CPU_MODIFY( "main" )
668   MDRV_CPU_MODIFY( "maincpu" )
669669   MDRV_CPU_PROGRAM_MAP( apf_m1000_map, 0 )
670670   MDRV_MACHINE_START( apf_m1000 )
671671
r4347r4348
681681***************************************************************************/
682682
683683ROM_START(apfimag)
684   ROM_REGION(0x10000+0x0800,"main",0)
684   ROM_REGION(0x10000+0x0800,"maincpu",0)
685685   ROM_LOAD("apf_4000.rom",0x010000, 0x00800, CRC(2a331a33) SHA1(387b90882cd0b66c192d9cbaa3bec250f897e4f1))
686686   ROM_LOAD("basic_68.rom",0x06800, 0x01000, CRC(ef049ab8) SHA1(c4c12aade95dd89a4750fe7f89d57256c93da068))
687687   ROM_LOAD("basic_80.rom",0x08000, 0x02000, CRC(a4c69fae) SHA1(7f98aa482589bf7c5a26d338fec105e797ba43f6))
688688ROM_END
689689
690690ROM_START(apfm1000)
691   ROM_REGION(0x10000+0x0800,"main",0)
691   ROM_REGION(0x10000+0x0800,"maincpu",0)
692692   ROM_LOAD("apf_4000.rom",0x010000, 0x0800, CRC(2a331a33) SHA1(387b90882cd0b66c192d9cbaa3bec250f897e4f1))
693693//   ROM_LOAD("apf-m1000rom.bin",0x010000, 0x0800, CRC(cc6ac840) SHA1(1110a234bcad99bd0894ad44c591389d16376ca4))
694694   ROM_CART_LOAD("cart", 0x8000, 0x2000, ROM_OPTIONAL)
src/mess/drivers/snes.c
r4347r4348
183183
184184static MACHINE_DRIVER_START( snes )
185185   /* basic machine hardware */
186   MDRV_CPU_ADD("main", G65816, MCLK_NTSC/6)   /* 2.68 MHz, also 3.58 MHz */
186   MDRV_CPU_ADD("maincpu", G65816, MCLK_NTSC/6)   /* 2.68 MHz, also 3.58 MHz */
187187   MDRV_CPU_PROGRAM_MAP(snes_map, 0)
188188
189   MDRV_CPU_ADD("sound", SPC700, 1024000)   /* 1.024 MHz */
189   MDRV_CPU_ADD("soundcpu", SPC700, 1024000)   /* 1.024 MHz */
190190   MDRV_CPU_PROGRAM_MAP(spc_map, 0)
191191
192192   MDRV_QUANTUM_TIME(HZ(48000))
r4347r4348
214214
215215static MACHINE_DRIVER_START( snespal )
216216   MDRV_IMPORT_FROM(snes)
217   MDRV_CPU_REPLACE("main", G65816, MCLK_PAL/6)
217   MDRV_CPU_REPLACE("maincpu", G65816, MCLK_PAL/6)
218218
219219   MDRV_SCREEN_MODIFY("screen")
220220   MDRV_SCREEN_RAW_PARAMS(DOTCLK_PAL, SNES_HTOTAL, 0, SNES_SCR_WIDTH, SNES_VTOTAL_PAL, 0, SNES_SCR_HEIGHT_PAL)
src/mess/drivers/vector06.c
r4347r4348
155155/* Machine driver */
156156static MACHINE_DRIVER_START( vector06 )
157157  /* basic machine hardware */
158     MDRV_CPU_ADD("main", 8080, 3000000)
159//   MDRV_CPU_ADD("main", Z80, 3000000)
158     MDRV_CPU_ADD("maincpu", 8080, 3000000)
159//   MDRV_CPU_ADD("maincpu", Z80, 3000000)
160160     MDRV_CPU_PROGRAM_MAP(vector06_mem, 0)
161161     MDRV_CPU_IO_MAP(vector06_io, 0)
162162     MDRV_CPU_VBLANK_INT("screen", vector06_interrupt)
r4347r4348
198198/* ROM definition */
199199
200200ROM_START( vector06 )
201    ROM_REGION( 0x20000, "main", ROMREGION_ERASEFF )
201    ROM_REGION( 0x20000, "maincpu", ROMREGION_ERASEFF )
202202    ROM_SYSTEM_BIOS(0, "unboot32k", "Universal Boot 32K")
203203    ROMX_LOAD( "unboot32k.rt", 0x10000, 0x8000, CRC(28c9b5cd) SHA1(8cd7fb658896a7066ae93b10eaafa0f12139ad81), ROM_BIOS(1))
204204    ROM_SYSTEM_BIOS(1, "unboot2k", "Universal Boot 2K")
src/mess/drivers/galeb.c
r4347r4348
115115/* Machine driver */
116116static MACHINE_DRIVER_START( galeb )
117117    /* basic machine hardware */
118    MDRV_CPU_ADD("main", M6502, 1000000)
118    MDRV_CPU_ADD("maincpu", M6502, 1000000)
119119    MDRV_CPU_PROGRAM_MAP(galeb_mem, 0)
120120    MDRV_MACHINE_RESET( galeb )
121121
r4347r4348
142142
143143/* ROM definition */
144144ROM_START( galeb )
145    ROM_REGION( 0x10000, "main", ROMREGION_ERASEFF )
145    ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
146146    ROM_LOAD( "bas01.rom", 0xc000, 0x0800, CRC(9b19ed58) SHA1(ebfc27af8dbabfb233f9888e6a0a0dfc87ae1691) )
147147    ROM_LOAD( "bas02.rom", 0xc800, 0x0800, CRC(3f320a84) SHA1(4ea082b4269dca6152426b1f720c7508122d3cb7) )
148148    ROM_LOAD( "bas03.rom", 0xd000, 0x0800, CRC(f122ad10) SHA1(3c7c1dd67268230d179a00b0f8b35be80c2b7035) )
src/mess/drivers/vc20.c
r4347r4348
254254
255255static MACHINE_DRIVER_START( vic20 )
256256   /* basic machine hardware */
257   MDRV_CPU_ADD("main", M6502, VIC6560_CLOCK)        /* 7.8336 MHz */
257   MDRV_CPU_ADD("maincpu", M6502, VIC6560_CLOCK)        /* 7.8336 MHz */
258258   MDRV_CPU_PROGRAM_MAP(vc20_mem, 0)
259259   MDRV_CPU_VBLANK_INT("screen", vic20_frame_interrupt)
260260   MDRV_CPU_PERIODIC_INT(vic656x_raster_interrupt, VIC656X_HRETRACERATE)
r4347r4348
319319   MDRV_QUANTUM_TIME(HZ(180000))
320320#endif
321321
322   MDRV_CPU_MODIFY( "main" )
322   MDRV_CPU_MODIFY( "maincpu" )
323323   MDRV_CPU_PROGRAM_MAP( vc20i_mem, 0 )
324324MACHINE_DRIVER_END
325325
r4347r4348
327327static MACHINE_DRIVER_START( vc20 )
328328   MDRV_IMPORT_FROM( vic20 )
329329
330   MDRV_CPU_REPLACE( "main", M6502, VIC6561_CLOCK )
330   MDRV_CPU_REPLACE( "maincpu", M6502, VIC6561_CLOCK )
331331   MDRV_CPU_PROGRAM_MAP( vc20i_mem, 0 )
332332
333333   MDRV_SCREEN_MODIFY("screen")
r4347r4348
356356
357357
358358ROM_START( vic1001 )
359   ROM_REGION (0x10000, "main", 0 )
359   ROM_REGION (0x10000, "maincpu", 0 )
360360   ROM_FILL( 0x0000, 0x8000, 0xff )
361361   ROM_LOAD( "901460.02", 0x8000, 0x1000, CRC(fcfd8a4b) SHA1(dae61ac03065aa2904af5c123ce821855898c555) )
362362   ROM_FILL( 0x9000, 0x3000, 0xff )
r4347r4348
366366
367367
368368ROM_START( vic20 )
369   ROM_REGION (0x10000, "main", 0 )
369   ROM_REGION (0x10000, "maincpu", 0 )
370370   ROM_FILL( 0x0000, 0x8000, 0xff )
371371   ROM_LOAD( "901460.03", 0x8000, 0x1000, CRC(83e032a6) SHA1(4fd85ab6647ee2ac7ba40f729323f2472d35b9b4) )
372372   ROM_FILL( 0x9000, 0x3000, 0xff )
r4347r4348
375375ROM_END
376376
377377ROM_START( vic20pal )
378   ROM_REGION (0x10000, "main", 0 )
378   ROM_REGION (0x10000, "maincpu", 0 )
379379   ROM_FILL( 0x0000, 0x8000, 0xff )
380380   ROM_LOAD( "901460.03", 0x8000, 0x1000, CRC(83e032a6) SHA1(4fd85ab6647ee2ac7ba40f729323f2472d35b9b4) )
381381   ROM_FILL( 0x9000, 0x3000, 0xff )
r4347r4348
391391ROM_START( vic20swe )
392392   /* patched pal system for swedish/finish keyboard and chars */
393393   /* but in rom? (maybe patched means in this case nec version) */
394   ROM_REGION (0x10000, "main", 0 )
394   ROM_REGION (0x10000, "maincpu", 0 )
395395   ROM_FILL( 0x0000, 0x8000, 0xff )
396396   ROM_LOAD( "nec22101.207", 0x8000, 0x1000, CRC(d808551d) SHA1(f403f0b0ce5922bd61bbd768bdd6f0b38e648c9f) )
397397   ROM_FILL( 0x9000, 0x3000, 0xff )
r4347r4348
401401
402402
403403ROM_START( vic20i )
404   ROM_REGION (0x10000, "main", 0 )
404   ROM_REGION (0x10000, "maincpu", 0 )
405405   ROM_FILL( 0x0000, 0x8000, 0xff )
406406   ROM_LOAD( "901460.03", 0x8000, 0x1000, CRC(83e032a6) SHA1(4fd85ab6647ee2ac7ba40f729323f2472d35b9b4) )
407407   ROM_FILL( 0x9000, 0x2000, 0xff )
r4347r4348
413413ROM_END
414414
415415ROM_START( vic20v )
416   ROM_REGION (0x10000, "main", 0 )
416   ROM_REGION (0x10000, "maincpu", 0 )
417417   ROM_FILL( 0x0000, 0x8000, 0xff )
418418   ROM_LOAD( "901460.03", 0x8000, 0x1000, CRC(83e032a6) SHA1(4fd85ab6647ee2ac7ba40f729323f2472d35b9b4) )
419419   ROM_FILL( 0x9000, 0x3000, 0xff )
r4347r4348
424424ROM_END
425425
426426ROM_START( vic20plv )
427   ROM_REGION (0x10000, "main", 0 )
427   ROM_REGION (0x10000, "maincpu", 0 )
428428   ROM_FILL( 0x0000, 0x8000, 0xff )
429429   ROM_LOAD( "901460.03", 0x8000, 0x1000, CRC(83e032a6) SHA1(4fd85ab6647ee2ac7ba40f729323f2472d35b9b4) )
430430   ROM_FILL( 0x9000, 0x3000, 0xff )
src/mess/drivers/partner.c
r4347r4348
138138
139139static MACHINE_DRIVER_START( partner )
140140    /* basic machine hardware */
141    MDRV_CPU_ADD("main", 8080, XTAL_16MHz / 9)
141    MDRV_CPU_ADD("maincpu", 8080, XTAL_16MHz / 9)
142142    MDRV_CPU_PROGRAM_MAP(partner_mem, 0)
143143
144144    MDRV_MACHINE_START( partner )
r4347r4348
192192
193193/* ROM definition */
194194ROM_START( partner )
195   ROM_REGION( 0x1A000, "main", ROMREGION_ERASEFF )
195   ROM_REGION( 0x1A000, "maincpu", ROMREGION_ERASEFF )
196196   ROM_LOAD( "partner.rom", 0x10000, 0x2000, CRC(be1eaa10) SHA1(f9658d8055bf434240ec020d7892ea98cb5cbb76))
197197   ROM_LOAD( "basic.rom",   0x12000, 0x2000, CRC(1e9be0ec) SHA1(2c431f487cffddaac8413efddfc0527ad595f03b))
198198   ROM_LOAD( "mcpg.rom",    0x14000, 0x0800, CRC(3401225c) SHA1(6c252393ee73ed1a53d3e583547d86ab6718a533))
src/mess/drivers/electron.c
r4347r4348
4747}
4848
4949static ADDRESS_MAP_START(electron_mem, ADDRESS_SPACE_PROGRAM, 8)
50   AM_RANGE(0x0000, 0x7fff) AM_RAM AM_REGION("main",  0x00000)   /* 32KB of RAM */
50   AM_RANGE(0x0000, 0x7fff) AM_RAM AM_REGION("maincpu",  0x00000)   /* 32KB of RAM */
5151   AM_RANGE(0x8000, 0xbfff) AM_ROMBANK(2)                        /* Banked ROM pages */
5252   AM_RANGE(0xc000, 0xfbff) AM_ROM AM_REGION("user1", 0x40000)   /* OS ROM */
5353   AM_RANGE(0xfc00, 0xfcff) AM_READWRITE( electron_jim_r, electron_jim_w )         /* JIM pages */
r4347r4348
146146
147147/* Electron Rom Load */
148148ROM_START(electron)
149   ROM_REGION( 0x10000, "main", ROMREGION_ERASEFF )
149   ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
150150   ROM_REGION( 0x44000, "user1", 0 ) /* OS Rom */
151151   ROM_LOAD( "os.rom", 0x40000, 0x4000, CRC(bf63fb1f) SHA1(a48b8fa0cfb09140e808ac8a187316c605a0b32e) ) /* Os rom */
152152   /* 00000 0 */
r4347r4348
175175};
176176
177177static MACHINE_DRIVER_START( electron )
178   MDRV_CPU_ADD( "main", M6502, 2000000 )
178   MDRV_CPU_ADD( "maincpu", M6502, 2000000 )
179179   MDRV_CPU_PROGRAM_MAP( electron_mem, 0 )
180180   MDRV_SCREEN_ADD("screen", RASTER)
181181   MDRV_SCREEN_REFRESH_RATE( 50.08 )
src/mess/drivers/saturn.c
r4347r4348
19271927   AM_RANGE(0x01000000, 0x01000003) AM_WRITE(minit_w)
19281928   AM_RANGE(0x01406f40, 0x01406f43) AM_WRITE(minit_w) // prikura seems to write here ..
19291929   AM_RANGE(0x01800000, 0x01800003) AM_WRITE(sinit_w)
1930   AM_RANGE(0x02000000, 0x023fffff) AM_ROM AM_SHARE(7) AM_REGION("main", 0x80000)   // cartridge space
1930   AM_RANGE(0x02000000, 0x023fffff) AM_ROM AM_SHARE(7) AM_REGION("maincpu", 0x80000)   // cartridge space
19311931   AM_RANGE(0x05800000, 0x0589ffff) AM_READWRITE(stvcd_r, stvcd_w)
19321932   /* Sound */
19331933   AM_RANGE(0x05a00000, 0x05a7ffff) AM_READWRITE(stv_sh2_soundram_r, stv_sh2_soundram_w)
r4347r4348
24082408static MACHINE_DRIVER_START( saturn )
24092409
24102410   /* basic machine hardware */
2411   MDRV_CPU_ADD("main", SH2, MASTER_CLOCK_352/2) // 28.6364 MHz
2411   MDRV_CPU_ADD("maincpu", SH2, MASTER_CLOCK_352/2) // 28.6364 MHz
24122412   MDRV_CPU_PROGRAM_MAP(saturn_mem, 0)
24132413   MDRV_CPU_VBLANK_INT("screen",stv_interrupt)
24142414   MDRV_CPU_CONFIG(sh2_conf_master)
r4347r4348
24172417   MDRV_CPU_PROGRAM_MAP(saturn_mem, 0)
24182418   MDRV_CPU_CONFIG(sh2_conf_slave)
24192419
2420   MDRV_CPU_ADD("audio", M68000, MASTER_CLOCK_352/5) //11.46 MHz
2420   MDRV_CPU_ADD("audiocpu", M68000, MASTER_CLOCK_352/5) //11.46 MHz
24212421   MDRV_CPU_PROGRAM_MAP(sound_mem, 0)
24222422
24232423   MDRV_SCREEN_ADD("screen", RASTER)
r4347r4348
24532453
24542454/* Japanese Saturn */
24552455ROM_START(saturnjp)
2456   ROM_REGION( 0x480000, "main", 0 ) /* SH2 code */
2456   ROM_REGION( 0x480000, "maincpu", 0 ) /* SH2 code */
24572457   ROM_SYSTEM_BIOS(0, "101", "Japan v1.01 (941228)")
24582458   ROMX_LOAD("sega_101.bin", 0x00000000, 0x00080000, CRC(224b752c) SHA1(df94c5b4d47eb3cc404d88b33a8fda237eaf4720), ROM_BIOS(1))
24592459   ROM_SYSTEM_BIOS(1, "1003", "Japan v1.003 (941012)")
r4347r4348
24622462   ROMX_LOAD("sega_100.bin", 0x00000000, 0x00080000, CRC(2aba43c2) SHA1(2b8cb4f87580683eb4d760e4ed210813d667f0a2), ROM_BIOS(3))
24632463   ROM_CART_LOAD("cart", 0x080000, 0x400000, ROM_NOMIRROR | ROM_FILL_FF | ROM_OPTIONAL)
24642464   ROM_REGION( 0x080000, "slave", 0 ) /* SH2 code */
2465   ROM_COPY( "main",0,0,0x080000)
2465   ROM_COPY( "maincpu",0,0,0x080000)
24662466ROM_END
24672467
24682468/* Overseas Saturn */
24692469ROM_START(saturn)
2470   ROM_REGION( 0x480000, "main", 0 ) /* SH2 code */
2470   ROM_REGION( 0x480000, "maincpu", 0 ) /* SH2 code */
24712471   ROM_SYSTEM_BIOS(0, "101a", "Overseas v1.01a (941115)")
24722472   ROMX_LOAD("sega_101a.bin", 0x00000000, 0x00080000, CRC(4afcf0fa) SHA1(faa8ea183a6d7bbe5d4e03bb1332519800d3fbc3), ROM_BIOS(1))
24732473   ROM_SYSTEM_BIOS(1, "100a", "Overseas v1.00a (941115)")
24742474   ROMX_LOAD("sega_100a.bin", 0x00000000, 0x00080000, CRC(f90f0089) SHA1(3bb41feb82838ab9a35601ac666de5aacfd17a58), ROM_BIOS(2))
24752475   ROM_CART_LOAD("cart", 0x080000, 0x400000, ROM_NOMIRROR | ROM_FILL_FF | ROM_OPTIONAL)
24762476   ROM_REGION( 0x080000, "slave", 0 ) /* SH2 code */
2477   ROM_COPY( "main",0,0,0x080000)
2477   ROM_COPY( "maincpu",0,0,0x080000)
24782478ROM_END
24792479
24802480ROM_START(saturneu)
2481   ROM_REGION( 0x480000, "main", 0 ) /* SH2 code */
2481   ROM_REGION( 0x480000, "maincpu", 0 ) /* SH2 code */
24822482   ROM_SYSTEM_BIOS(0, "101a", "Overseas v1.01a (941115)")
24832483   ROMX_LOAD("sega_101a.bin", 0x00000000, 0x00080000, CRC(4afcf0fa) SHA1(faa8ea183a6d7bbe5d4e03bb1332519800d3fbc3), ROM_BIOS(1))
24842484   ROM_SYSTEM_BIOS(1, "100a", "Overseas v1.00a (941115)")
24852485   ROMX_LOAD("sega_100a.bin", 0x00000000, 0x00080000, CRC(f90f0089) SHA1(3bb41feb82838ab9a35601ac666de5aacfd17a58), ROM_BIOS(2))
24862486   ROM_CART_LOAD("cart", 0x080000, 0x400000, ROM_NOMIRROR | ROM_FILL_FF | ROM_OPTIONAL)
24872487   ROM_REGION( 0x080000, "slave", 0 ) /* SH2 code */
2488   ROM_COPY( "main",0,0,0x080000)
2488   ROM_COPY( "maincpu",0,0,0x080000)
24892489ROM_END
24902490
24912491ROM_START(vsaturn)
2492   ROM_REGION( 0x480000, "main", 0 ) /* SH2 code */
2492   ROM_REGION( 0x480000, "maincpu", 0 ) /* SH2 code */
24932493   ROM_LOAD("vsaturn.bin", 0x00000000, 0x00080000, CRC(e4d61811) SHA1(4154e11959f3d5639b11d7902b3a393a99fb5776))
24942494   ROM_CART_LOAD("cart", 0x080000, 0x400000, ROM_NOMIRROR | ROM_FILL_FF | ROM_OPTIONAL)
24952495   ROM_REGION( 0x080000, "slave", 0 ) /* SH2 code */
2496   ROM_COPY( "main",0,0,0x080000)
2496   ROM_COPY( "maincpu",0,0,0x080000)
24972497ROM_END
24982498
24992499ROM_START(hisaturn)
2500   ROM_REGION( 0x480000, "main", 0 ) /* SH2 code */
2500   ROM_REGION( 0x480000, "maincpu", 0 ) /* SH2 code */
25012501   ROM_LOAD("hisaturn.bin", 0x00000000, 0x00080000, CRC(721e1b60) SHA1(49d8493008fa715ca0c94d99817a5439d6f2c796))
25022502   ROM_CART_LOAD("cart", 0x080000, 0x400000, ROM_NOMIRROR | ROM_FILL_FF | ROM_OPTIONAL)
25032503   ROM_REGION( 0x080000, "slave", 0 ) /* SH2 code */
2504   ROM_COPY( "main",0,0,0x080000)
2504   ROM_COPY( "maincpu",0,0,0x080000)
25052505ROM_END
25062506
25072507/***************************************************************************
src/mess/drivers/mikrosha.c
r4347r4348
156156
157157static MACHINE_DRIVER_START( mikrosha )
158158   /* basic machine hardware */
159   MDRV_CPU_ADD("main", 8080, XTAL_16MHz / 9)
159   MDRV_CPU_ADD("maincpu", 8080, XTAL_16MHz / 9)
160160   MDRV_CPU_PROGRAM_MAP(mikrosha_mem, 0)
161161   MDRV_CPU_IO_MAP(mikrosha_io, 0)
162162
r4347r4348
195195
196196/* ROM definition */
197197ROM_START( mikrosha )
198   ROM_REGION( 0x10000, "main", ROMREGION_ERASEFF )
198   ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
199199   ROM_LOAD( "mikrosha.rom", 0xf800, 0x0800, CRC(86A83556) SHA1(94b1baad0a419145939a891ff51f4324e8e4ddd2))
200200   ROM_REGION(0x0800, "gfx1",0)
201201   ROM_LOAD ("mikrosha.fnt", 0x0000, 0x0800, CRC(B315DA1C) SHA1(b5bf9abc0fff75b1aba709a7f08b23d4a89bb04b))
src/mess/drivers/amiga.c
r4347r4348
327327
328328static MACHINE_DRIVER_START( ntsc )
329329   /* basic machine hardware */
330   MDRV_CPU_ADD("main", M68000, AMIGA_68000_NTSC_CLOCK)
330   MDRV_CPU_ADD("maincpu", M68000, AMIGA_68000_NTSC_CLOCK)
331331   MDRV_CPU_PROGRAM_MAP(amiga_mem, 0)
332332
333333   MDRV_SCREEN_ADD("screen", RASTER)
r4347r4348
367367
368368static MACHINE_DRIVER_START( a1000n )
369369   MDRV_IMPORT_FROM(ntsc)
370   MDRV_CPU_MODIFY("main")
370   MDRV_CPU_MODIFY("maincpu")
371371   MDRV_CPU_PROGRAM_MAP(a1000_mem, 0)
372372MACHINE_DRIVER_END
373373
r4347r4348
379379
380380static MACHINE_DRIVER_START( cdtv )
381381   MDRV_IMPORT_FROM(ntsc)
382   MDRV_CPU_REPLACE("main", M68000, CDTV_CLOCK_X1 / 4)
382   MDRV_CPU_REPLACE("maincpu", M68000, CDTV_CLOCK_X1 / 4)
383383   MDRV_CPU_PROGRAM_MAP(cdtv_mem, 0)
384384
385385   MDRV_MACHINE_START( cdtv )
r4347r4348
407407   MDRV_IMPORT_FROM(ntsc)
408408
409409   /* adjust for PAL specs */
410   MDRV_CPU_REPLACE("main", M68000, AMIGA_68000_PAL_CLOCK)
410   MDRV_CPU_REPLACE("maincpu", M68000, AMIGA_68000_PAL_CLOCK)
411411
412412   MDRV_SCREEN_MODIFY("screen")
413413   MDRV_SCREEN_REFRESH_RATE(50)
r4347r4348
426426
427427static MACHINE_DRIVER_START( a1000p )
428428   MDRV_IMPORT_FROM(pal)
429   MDRV_CPU_MODIFY("main")
429   MDRV_CPU_MODIFY("maincpu")
430430   MDRV_CPU_PROGRAM_MAP(a1000_mem, 0)
431431MACHINE_DRIVER_END
432432
src/mess/drivers/channelf.c
r4347r4348
236236
237237static MACHINE_DRIVER_START( channelf )
238238   /* basic machine hardware */
239   MDRV_CPU_ADD("main", F8, 3579545/2)        /* Colorburst/2 */
239   MDRV_CPU_ADD("maincpu", F8, 3579545/2)        /* Colorburst/2 */
240240   MDRV_CPU_PROGRAM_MAP(channelf_map, 0)
241241   MDRV_CPU_IO_MAP(channelf_io, 0)
242242   MDRV_QUANTUM_TIME(HZ(60))
r4347r4348
264264
265265static MACHINE_DRIVER_START( sabavdpl )
266266   /* basic machine hardware */
267   MDRV_CPU_ADD("main", F8, MASTER_CLOCK_PAL)        /* PAL speed */
267   MDRV_CPU_ADD("maincpu", F8, MASTER_CLOCK_PAL)        /* PAL speed */
268268   MDRV_CPU_PROGRAM_MAP(channelf_map, 0)
269269   MDRV_CPU_IO_MAP(channelf_io, 0)
270270   MDRV_QUANTUM_TIME(HZ(50))
r4347r4348
293293
294294static MACHINE_DRIVER_START( channlf2 )
295295   /* basic machine hardware */
296   MDRV_CPU_ADD("main", F8, 3579545/2)        /* Colorburst / 2 */
296   MDRV_CPU_ADD("maincpu", F8, 3579545/2)        /* Colorburst / 2 */
297297   MDRV_CPU_PROGRAM_MAP(channelf_map, 0)
298298   MDRV_CPU_IO_MAP(channelf_io, 0)
299299   MDRV_QUANTUM_TIME(HZ(60))
r4347r4348
322322
323323static MACHINE_DRIVER_START( sabavpl2 )
324324   /* basic machine hardware */
325   MDRV_CPU_ADD("main", F8, MASTER_CLOCK_PAL)        /* PAL speed */
325   MDRV_CPU_ADD("maincpu", F8, MASTER_CLOCK_PAL)        /* PAL speed */
326326   MDRV_CPU_PROGRAM_MAP(channelf_map, 0)
327327   MDRV_CPU_IO_MAP(channelf_io, 0)
328328   MDRV_QUANTUM_TIME(HZ(50))
r4347r4348
349349MACHINE_DRIVER_END
350350
351351ROM_START( channelf )
352   ROM_REGION(0x10000,"main",0)
352   ROM_REGION(0x10000,"maincpu",0)
353353   ROM_SYSTEM_BIOS( 0, "sl90025", "Luxor Video Entertainment System" )
354354   ROMX_LOAD("sl90025.rom",  0x0000, 0x0400, CRC(015c1e38) SHA1(759e2ed31fbde4a2d8daf8b9f3e0dffebc90dae2), ROM_BIOS(1))
355355   ROM_SYSTEM_BIOS( 1, "sl31253", "Channel F" )
src/mess/drivers/ti990_10.c
r4347r4348
194194static MACHINE_DRIVER_START(ti990_10)
195195   /* basic machine hardware */
196196   /* TI990/10 CPU @ 4.0(???) MHz */
197   MDRV_CPU_ADD("main", TI990_10, 4000000)
197   MDRV_CPU_ADD("maincpu", TI990_10, 4000000)
198198   MDRV_CPU_CONFIG(reset_params)
199199   MDRV_CPU_PROGRAM_MAP(ti990_10_memmap, 0)
200200   MDRV_CPU_IO_MAP(ti990_10_io, 0)
r4347r4348
236236   /*CPU memory space*/
237237#if 0
238238
239   ROM_REGION16_BE(0x200000, "main",0)
239   ROM_REGION16_BE(0x200000, "maincpu",0)
240240
241241   /* TI990/10 : older boot ROMs for floppy-disk */
242242   ROM_LOAD16_BYTE("975383.31", 0x1FFC00, 0x100, CRC(64fcd040))
r4347r4348
246246
247247#elif 1
248248
249   ROM_REGION16_BE(0x200000, "main",0)
249   ROM_REGION16_BE(0x200000, "maincpu",0)
250250
251251   /* TI990/10 : newer "universal" boot ROMs  */
252252   ROM_LOAD16_BYTE("975383.45", 0x1FFC00, 0x100, CRC(391943c7) SHA1(bbd4da60b221d146542a6b547ae1570024e41b8a))
r4347r4348
256256
257257#else
258258
259   ROM_REGION16_BE(0x202000, "main",0)
259   ROM_REGION16_BE(0x202000, "maincpu",0)
260260
261261   /* TI990/12 ROMs - actually incompatible with TI990/10, but I just wanted to disassemble them. */
262262   ROM_LOAD16_BYTE("ti2025-7", 0x1FFC00, 0x1000, CRC(4824f89c))
r4347r4348
278278   /* load specific ti990/12 rom page */
279279   const int page = 3;
280280
281   memmove(memory_region(machine, "main")+0x1FFC00, memory_region(machine, "main")+0x1FFC00+(page*0x400), 0x400);
281   memmove(memory_region(machine, "maincpu")+0x1FFC00, memory_region(machine, "maincpu")+0x1FFC00+(page*0x400), 0x400);
282282#endif
283283   vdt911_init(machine);
284284}
src/mess/drivers/irisha.c
r4347r4348
129129/* Machine driver */
130130static MACHINE_DRIVER_START( irisha )
131131    /* basic machine hardware */
132    MDRV_CPU_ADD("main", 8080, XTAL_16MHz / 9)
132    MDRV_CPU_ADD("maincpu", 8080, XTAL_16MHz / 9)
133133    MDRV_CPU_PROGRAM_MAP(irisha_mem, 0)
134134      MDRV_CPU_IO_MAP(irisha_io, 0)
135135
r4347r4348
161161/* ROM definition */
162162
163163ROM_START( irisha )
164    ROM_REGION( 0x10000, "main", ROMREGION_ERASEFF )
164    ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
165165    ROM_LOAD( "irisha.rom", 0x0000, 0x4000, BAD_DUMP CRC(B3CC0BB4) )
166166ROM_END
167167
src/mess/drivers/apple1.c
r4347r4348
221221   /* basic machine hardware */
222222   /* Actual CPU speed is 1.023 MHz, but RAM refresh effectively
223223       slows it to 960 kHz. */
224   MDRV_CPU_ADD("main", M6502, 960000)        /* 1.023 MHz */
224   MDRV_CPU_ADD("maincpu", M6502, 960000)        /* 1.023 MHz */
225225   MDRV_CPU_PROGRAM_MAP(apple1_map, 0)
226226   MDRV_SCREEN_ADD("screen", RASTER)
227227   MDRV_SCREEN_REFRESH_RATE(60)
r4347r4348
254254MACHINE_DRIVER_END
255255
256256ROM_START(apple1)
257   ROM_REGION(0x10000, "main",0)
257   ROM_REGION(0x10000, "maincpu",0)
258258   ROM_LOAD("apple1.rom", 0xff00, 0x0100, CRC(a30b6af5) SHA1(224767aa499dc98767e042f375ced1359be8a35f))
259259   /* 256-byte cassette interface ROM: */
260260   ROM_LOAD("cassette.rom", 0xc100, 0x0100, CRC(11da1692) SHA1(2c536977bd85797453dba0646e3e94e9ff4f9236))
src/mess/drivers/orion.c
r4347r4348
8888
8989/* Machine driver */
9090static MACHINE_DRIVER_START( orion128 )
91    MDRV_CPU_ADD("main", 8080, 2000000)
91    MDRV_CPU_ADD("maincpu", 8080, 2000000)
9292    MDRV_CPU_PROGRAM_MAP(orion128_mem, 0)
9393    MDRV_CPU_IO_MAP(orion128_io, 0)
9494
r4347r4348
139139};
140140
141141static MACHINE_DRIVER_START( orionz80 )
142    MDRV_CPU_ADD("main", Z80, 2500000)
142    MDRV_CPU_ADD("maincpu", Z80, 2500000)
143143    MDRV_CPU_PROGRAM_MAP(orionz80_mem, 0)
144144    MDRV_CPU_IO_MAP(orionz80_io, 0)
145145    MDRV_CPU_VBLANK_INT("screen",orionz80_interrupt)
r4347r4348
190190MACHINE_DRIVER_END   
191191
192192static MACHINE_DRIVER_START( orionpro )
193    MDRV_CPU_ADD("main", Z80, 5000000)
193    MDRV_CPU_ADD("maincpu", Z80, 5000000)
194194    MDRV_CPU_PROGRAM_MAP(orionpro_mem, 0)
195195    MDRV_CPU_IO_MAP(orionpro_io, 0)
196196
r4347r4348
268268/* ROM definition */
269269
270270ROM_START( orion128 )
271    ROM_REGION( 0x30000, "main", ROMREGION_ERASEFF )
271    ROM_REGION( 0x30000, "maincpu", ROMREGION_ERASEFF )
272272    ROM_SYSTEM_BIOS( 0, "m2rk", "Version 3.2 rk" )
273273    ROMX_LOAD( "m2rk.bin",    0x0f800, 0x0800, CRC(2025c234) SHA1(caf86918629be951fe698cddcdf4589f07e2fb96), ROM_BIOS(1) )
274274    ROM_SYSTEM_BIOS( 1, "m2_2rk", "Version 3.2.2 rk" )
r4347r4348
277277ROM_END
278278
279279ROM_START( orionms )
280    ROM_REGION( 0x30000, "main", ROMREGION_ERASEFF )
280    ROM_REGION( 0x30000, "maincpu", ROMREGION_ERASEFF )
281281    ROM_LOAD( "ms7007.bin",   0x0f800, 0x0800, CRC(c6174ba3) SHA1(8f9a42c3e09684718fe4121a8408e7860129d26f) )
282282    ROM_CART_LOAD("cart", 0x10000, 0x10000, ROM_FILL_FF | ROM_OPTIONAL)
283283ROM_END
284284
285285ROM_START( orionz80 )
286    ROM_REGION( 0x30000, "main", ROMREGION_ERASEFF )
286    ROM_REGION( 0x30000, "maincpu", ROMREGION_ERASEFF )
287287    ROM_SYSTEM_BIOS( 0, "m31", "Version 3.1" )
288288    ROMX_LOAD( "m31.bin",     0x0f800, 0x0800, CRC(007c6dc6) SHA1(338ff95497c820338f7f79c75f65bc540a5541c4), ROM_BIOS(1) )
289289    ROM_SYSTEM_BIOS( 1, "m32zrk", "Version 3.2 zrk" )
r4347r4348
298298ROM_END
299299
300300ROM_START( orionide )
301    ROM_REGION( 0x30000, "main", ROMREGION_ERASEFF )
301    ROM_REGION( 0x30000, "maincpu", ROMREGION_ERASEFF )
302302    ROM_LOAD( "m35zrkh.bin", 0x0f800, 0x0800, CRC(b7745f28) SHA1(c3bd3e662db7ec56ecbab54bf6b3a4c26200d0bb) )
303303    ROM_CART_LOAD("cart", 0x10000, 0x10000, ROM_FILL_FF | ROM_OPTIONAL)
304304ROM_END
305305
306306ROM_START( orionzms )
307    ROM_REGION( 0x30000, "main", ROMREGION_ERASEFF )
307    ROM_REGION( 0x30000, "maincpu", ROMREGION_ERASEFF )
308308    ROM_SYSTEM_BIOS( 0, "m32zms", "Version 3.2 zms" )
309309    ROMX_LOAD( "m32zms.bin",  0x0f800, 0x0800, CRC(44cfd2ae) SHA1(84d53fbc249938c56be76ee4e6ab297f0461835b), ROM_BIOS(1) )
310310    ROM_SYSTEM_BIOS( 1, "m34zms", "Version 3.4 zms" )
r4347r4348
315315ROM_END
316316
317317ROM_START( orionidm )
318    ROM_REGION( 0x30000, "main", ROMREGION_ERASEFF )
318    ROM_REGION( 0x30000, "maincpu", ROMREGION_ERASEFF )
319319    ROM_LOAD( "m35zmsh.bin", 0x0f800, 0x0800, CRC(01e66df4) SHA1(8c785a3c32fe3eacda73ec79157b41a6e4b63ba8) )
320320    ROM_CART_LOAD("cart", 0x10000, 0x10000, ROM_FILL_FF | ROM_OPTIONAL)
321321ROM_END
322322
323323ROM_START( orionpro )
324   ROM_REGION( 0x32000, "main", ROMREGION_ERASEFF )
324   ROM_REGION( 0x32000, "maincpu", ROMREGION_ERASEFF )
325325    ROM_CART_LOAD("cart",   0x10000, 0x10000, ROM_FILL_FF | ROM_OPTIONAL)
326326   ROM_SYSTEM_BIOS( 0, "ver21", "Version 2.1" )
327327    ROMX_LOAD( "rom1-210.bin", 0x20000, 0x2000,  CRC(8e1a0c78) SHA1(61c8a5ed596ce7e3fd32da920dcc80dc5375b421), ROM_BIOS(1) )
src/mess/drivers/bk.c
r4347r4348
159159
160160static MACHINE_DRIVER_START( bk0010 )
161161    /* basic machine hardware */
162    MDRV_CPU_ADD("main", T11, 3000000)
162    MDRV_CPU_ADD("maincpu", T11, 3000000)
163163   MDRV_CPU_CONFIG(t11_data)
164164    MDRV_CPU_PROGRAM_MAP(bk0010_mem, 0)
165165    MDRV_MACHINE_RESET( bk0010 )
r4347r4348
186186
187187static MACHINE_DRIVER_START( bk0010fd )
188188    /* basic machine hardware */
189    MDRV_CPU_ADD("main", T11, 3000000)
189    MDRV_CPU_ADD("maincpu", T11, 3000000)
190190   MDRV_CPU_CONFIG(t11_data)
191191    MDRV_CPU_PROGRAM_MAP(bk0010fd_mem, 0)
192192    MDRV_MACHINE_RESET( bk0010 )
r4347r4348
215215/* ROM definition */
216216
217217ROM_START( bk0010 )
218    ROM_REGION( 0x10000, "main", ROMREGION_ERASEFF )
218    ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
219219    ROM_LOAD( "monit10.rom", 0x8000, 0x2000, CRC(26c6e8a0) SHA1(4e83a94ae5155bbea14d7331a5a8db82457bd5ae) )
220220    ROM_LOAD( "focal.rom",   0xa000, 0x2000, CRC(717149b7) SHA1(75df26f81ebd281bcb5c55ba81a7d97f31e388b2) )
221221    ROM_LOAD( "tests.rom",   0xe000, 0x1f80, CRC(91aecb4d) SHA1(6b14d552045194a3004bb6b795a2538110921519) )
222222ROM_END
223223
224224ROM_START( bk001001 )
225    ROM_REGION( 0x10000, "main", ROMREGION_ERASEFF )
225    ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
226226    ROM_LOAD( "monit10.rom",   0x8000, 0x2000, CRC(26c6e8a0) SHA1(4e83a94ae5155bbea14d7331a5a8db82457bd5ae) )
227227    ROM_LOAD( "basic10-1.rom", 0xa000, 0x2000, CRC(5e3ff5da) SHA1(5ea4db1eaac87bd0ac96e52a608bc783709f5042) )
228228    ROM_LOAD( "basic10-2.rom", 0xc000, 0x2000, CRC(ea63863c) SHA1(acf068925e4052989b05dd5cf736a1dab5438011) )
r4347r4348
230230ROM_END
231231
232232ROM_START( bk0010fd )
233    ROM_REGION( 0x10000, "main", ROMREGION_ERASEFF )
233    ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
234234    ROM_LOAD( "monit10.rom",  0x8000, 0x2000, CRC(26c6e8a0) SHA1(4e83a94ae5155bbea14d7331a5a8db82457bd5ae) )
235235    ROM_LOAD( "disk_327.rom", 0xe000, 0x1000, CRC(ed8a43ae) SHA1(28eefbb63047b26e4aec104aeeca74e2f9d0276c) )
236236ROM_END
src/mess/drivers/a7800.c
r4347r4348
252252
253253static MACHINE_DRIVER_START( a7800_ntsc )
254254   /* basic machine hardware */
255   MDRV_CPU_ADD("main", M6502, A7800_NTSC_Y1/8)   /* 1.79 MHz (switches to 1.19 MHz on TIA or RIOT access) */
255   MDRV_CPU_ADD("maincpu", M6502, A7800_NTSC_Y1/8)   /* 1.79 MHz (switches to 1.19 MHz on TIA or RIOT access) */
256256   MDRV_CPU_PROGRAM_MAP(a7800_mem, 0)
257257   MDRV_CPU_VBLANK_INT_HACK(a7800_interrupt, 262)
258258
r4347r4348
294294   MDRV_IMPORT_FROM( a7800_ntsc )
295295
296296   /* basic machine hardware */
297   MDRV_CPU_REPLACE("main", M6502, CLK_PAL)
297   MDRV_CPU_REPLACE("maincpu", M6502, CLK_PAL)
298298   MDRV_CPU_VBLANK_INT_HACK(a7800_interrupt, 312)
299299
300300   MDRV_SCREEN_MODIFY( "screen" )
r4347r4348
318318***************************************************************************/
319319
320320ROM_START( a7800 )
321    ROM_REGION(0x30000, "main", 0)
321    ROM_REGION(0x30000, "maincpu", 0)
322322   ROM_FILL(0x0000, 0x30000, 0xff)
323323    ROM_SYSTEM_BIOS( 0, "a7800", "Atari 7800" )
324324    ROMX_LOAD("7800.u7", 0xf000, 0x1000, CRC(5d13730c) SHA1(d9d134bb6b36907c615a594cc7688f7bfcef5b43), ROM_BIOS(1))
r4347r4348
327327ROM_END
328328
329329ROM_START( a7800p )
330    ROM_REGION(0x30000, "main", 0)
330    ROM_REGION(0x30000, "maincpu", 0)
331331   ROM_FILL(0x0000, 0x30000, 0xff)
332332    ROM_LOAD("7800pal.rom", 0xc000, 0x4000, CRC(d5b61170) SHA1(5a140136a16d1d83e4ff32a19409ca376a8df874))
333333ROM_END
src/mess/drivers/apogee.c
r4347r4348
125125/* Machine driver */
126126static MACHINE_DRIVER_START( apogee )
127127    /* basic machine hardware */
128    MDRV_CPU_ADD("main", 8080, XTAL_16MHz / 9)
128    MDRV_CPU_ADD("maincpu", 8080, XTAL_16MHz / 9)
129129    MDRV_CPU_PROGRAM_MAP(apogee_mem, 0)
130130    MDRV_MACHINE_RESET( radio86 )
131131
r4347r4348
158158
159159/* ROM definition */
160160ROM_START( apogee )
161   ROM_REGION( 0x10000, "main", ROMREGION_ERASEFF )
161   ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
162162   ROM_LOAD( "apogee.rom", 0xf000, 0x1000, CRC(a47383a7) SHA1(6a868371c7980f92c2fc9ced921517209f197375))
163163   ROM_REGION(0x0800, "gfx1",0)
164164   ROM_LOAD ("apogee.fnt", 0x0000, 0x0800, CRC(fe5867f0) SHA1(82c5aca63ada5e4533eb0516384aaa7b77a1f8e2))
src/mess/drivers/nascom1.c
r4347r4348
276276
277277static MACHINE_DRIVER_START( nascom1 )
278278   /* basic machine hardware */
279   MDRV_CPU_ADD("main", Z80, XTAL_16MHz/8)
279   MDRV_CPU_ADD("maincpu", Z80, XTAL_16MHz/8)
280280   MDRV_CPU_PROGRAM_MAP(nascom1_mem, 0)
281281   MDRV_CPU_IO_MAP(nascom1_io, 0)
282282
r4347r4348
308308
309309static MACHINE_DRIVER_START( nascom2 )
310310   MDRV_IMPORT_FROM(nascom1)
311   MDRV_CPU_REPLACE("main", Z80, XTAL_16MHz/8)
311   MDRV_CPU_REPLACE("maincpu", Z80, XTAL_16MHz/8)
312312   MDRV_CPU_IO_MAP(nascom2_io, 0)
313313
314314   /* video hardware */
r4347r4348
330330 *************************************/
331331
332332ROM_START(nascom1)
333   ROM_REGION(0x10000, "main",0)
333   ROM_REGION(0x10000, "maincpu",0)
334334   ROM_SYSTEM_BIOS(0, "T4", "NasBug T4")
335335   ROMX_LOAD("nasbugt4.rom", 0x0000, 0x0800, CRC(f391df68) SHA1(00218652927afc6360c57e77d6a4fd32d4e34566), ROM_BIOS(1))
336336   ROM_SYSTEM_BIOS(1, "T1", "NasBug T1")
r4347r4348
343343
344344
345345ROM_START(nascom2)
346   ROM_REGION(0x10000, "main",0)
346   ROM_REGION(0x10000, "maincpu",0)
347347   ROM_SYSTEM_BIOS( 0, "NS3", "NasSys 3")
348348   ROMX_LOAD("nassys3.rom", 0x0000, 0x0800, CRC(3da17373) SHA1(5fbda15765f04e4cd08cf95c8d82ce217889f240), ROM_BIOS(1))
349349   ROM_SYSTEM_BIOS( 1, "NS1", "NasSys 1")
src/mess/drivers/gmaster.c
r4347r4348
3030{
3131    UINT8 data=0;
3232    if (gmaster.ports[2]&1) {
33   data=memory_region(space->machine, "main")[0x4000+offset];
33   data=memory_region(space->machine, "maincpu")[0x4000+offset];
3434   logerror("%.4x external memory %.4x read %.2x\n",(int)cpu_get_reg(space->cpu, CPUINFO_INT_PC), 0x4000+offset,data);
3535    } else {
3636   switch (offset) {
r4347r4348
5252static WRITE8_HANDLER( gmaster_io_w )
5353{
5454    if (gmaster.ports[2]&1) {
55   memory_region(space->machine, "main")[0x4000+offset]=data;
55   memory_region(space->machine, "maincpu")[0x4000+offset]=data;
5656   logerror("%.4x external memory %.4x written %.2x\n",(int)cpu_get_reg(space->cpu, CPUINFO_INT_PC), 0x4000+offset, data);
5757    } else {
5858   switch (offset) {
r4347r4348
210210};
211211
212212static MACHINE_DRIVER_START( gmaster )
213   MDRV_CPU_ADD("main", UPD7810, MAIN_XTAL/2/*?*/)
213   MDRV_CPU_ADD("maincpu", UPD7810, MAIN_XTAL/2/*?*/)
214214   MDRV_CPU_PROGRAM_MAP(gmaster_mem, 0)
215215   MDRV_CPU_IO_MAP( gmaster_io, 0 )
216216   MDRV_CPU_CONFIG( config )
r4347r4348
235235
236236
237237ROM_START(gmaster)
238   ROM_REGION(0x10000,"main", 0)
238   ROM_REGION(0x10000,"maincpu", 0)
239239     ROM_LOAD("gmaster.bin", 0x0000, 0x1000, CRC(05cc45e5) SHA1(05d73638dea9657ccc2791c0202d9074a4782c1e) )
240240//     ROM_CART_LOAD(0, "bin", 0x8000, 0x7f00, 0)
241241     ROM_CART_LOAD("cart", 0x8000, 0x8000, 0)
r4347r4348
251251static int gmaster_load_rom(running_machine *machine, int id)
252252{
253253   FILE *cartfile;
254   UINT8 *rom = memory_region(machine, "main");
254   UINT8 *rom = memory_region(machine, "maincpu");
255255   int size;
256256
257257   if (device_filename(IO_CARTSLOT, id) == NULL)
src/mess/drivers/acrnsys1.c
r4347r4348
179179
180180static MACHINE_DRIVER_START( acrnsys1 )
181181   /* basic machine hardware */
182   MDRV_CPU_ADD("main", M6502, 1008000)  /* 1.008 MHz */
182   MDRV_CPU_ADD("maincpu", M6502, 1008000)  /* 1.008 MHz */
183183   MDRV_CPU_PROGRAM_MAP(acrnsys1_map, 0)
184184
185185   MDRV_MACHINE_RESET(acrnsys1)
r4347r4348
200200
201201
202202ROM_START( acrnsys1 )
203   ROM_REGION(0x10000, "main", 0)
203   ROM_REGION(0x10000, "maincpu", 0)
204204   ROM_LOAD("acrnsys1.bin", 0xfe00, 0x0200, CRC(43dcfc16) SHA1(b987354c55beb5e2ced761970c3339b895a8c09d))
205   ROM_COPY("main", 0xfe00, 0xf800, 0x0200)
206   ROM_COPY("main", 0xfe00, 0xfa00, 0x0200)
207   ROM_COPY("main", 0xfe00, 0xfc00, 0x0200)
205   ROM_COPY("maincpu", 0xfe00, 0xf800, 0x0200)
206   ROM_COPY("maincpu", 0xfe00, 0xfa00, 0x0200)
207   ROM_COPY("maincpu", 0xfe00, 0xfc00, 0x0200)
208208ROM_END
209209
210210
src/mess/drivers/mtx.c
r4347r4348
283283
284284static MACHINE_DRIVER_START( mtx512 )
285285   /* basic machine hardware */
286   MDRV_CPU_ADD("main", Z80, MTX_SYSTEM_CLOCK)
286   MDRV_CPU_ADD("maincpu", Z80, MTX_SYSTEM_CLOCK)
287287   MDRV_CPU_PROGRAM_MAP(mtx_mem, 0)
288288   MDRV_CPU_IO_MAP(mtx_io, 0)
289289   MDRV_CPU_VBLANK_INT("screen", mtx_interrupt)
src/mess/drivers/microtan.c
r4347r4348
216216
217217static MACHINE_DRIVER_START( microtan )
218218   /* basic machine hardware */
219   MDRV_CPU_ADD("main", M6502, 750000)   // 750 kHz
219   MDRV_CPU_ADD("maincpu", M6502, 750000)   // 750 kHz
220220   MDRV_CPU_PROGRAM_MAP(microtan_map, 0)
221221   MDRV_CPU_VBLANK_INT("screen", microtan_interrupt)
222222
r4347r4348
265265MACHINE_DRIVER_END
266266
267267ROM_START( microtan )
268    ROM_REGION( 0x10000, "main", 0 )
268    ROM_REGION( 0x10000, "maincpu", 0 )
269269    ROM_LOAD( "tanex_j2.rom", 0xc000, 0x1000, CRC(3e09d384) SHA1(15a98941a672ff16242cc73f1dcf1d81fccd8910) )
270270    ROM_LOAD( "tanex_h2.rom", 0xd000, 0x1000, CRC(75105113) SHA1(c6fea4d65b7c52f43aa1589cace9467349a0f290) )
271271    ROM_LOAD( "tanex_d3.rom", 0xe000, 0x0800, CRC(ee6e8412) SHA1(7e1bca84bab79d94a4ab8554d23e2bc28ccd0384) )
src/mess/drivers/sapi1.c
r4347r4348
8383/* Machine driver */
8484static MACHINE_DRIVER_START( sapi1 )
8585     /* basic machine hardware */
86     MDRV_CPU_ADD("main", 8080, 2000000)
86     MDRV_CPU_ADD("maincpu", 8080, 2000000)
8787     MDRV_CPU_PROGRAM_MAP(sapi1_mem, 0)
8888     MDRV_CPU_IO_MAP(sapi1_io, 0)
8989
r4347r4348
112112/* ROM definition */
113113
114114ROM_START( sapi1 )
115    ROM_REGION( 0x10000, "main", ROMREGION_ERASEFF )
115    ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
116116    ROM_LOAD( "sapi1.rom", 0x0000, 0x1000, CRC(c6e85b01) SHA1(2a26668249c6161aef7215a1e2b92bfdf6fe3671) )
117117ROM_END
118118
src/mess/drivers/einstein.c
r4347r4348
229229static MC6845_UPDATE_ROW( einstein_6845_update_row )
230230{
231231   /* TODO: Verify implementation */
232   unsigned char *data = memory_region(device->machine, "main") + 0x012000;
232   unsigned char *data = memory_region(device->machine, "maincpu") + 0x012000;
233233   unsigned char data_byte;
234234   int char_code;
235235   int i, x;
r4347r4348
256256}
257257
258258static const mc6845_interface einstein_crtc6845_interface = {
259   "main",
259   "maincpu",
260260   8 /*?*/,
261261   NULL,
262262   einstein_6845_update_row,
r4347r4348
800800{
801801   if (einstein_rom_enabled)
802802   {
803      memory_set_bankptr(machine, 1, memory_region(machine, "main")+0x010000);
803      memory_set_bankptr(machine, 1, memory_region(machine, "maincpu")+0x010000);
804804   }
805805   else
806806   {
r4347r4348
15431543   AY8910_LEGACY_OUTPUT,
15441544   AY8910_DEFAULT_LOADS,
15451545   DEVCB_NULL,
1546   DEVCB_MEMORY_HANDLER("main", PROGRAM, einstein_port_b_read),
1547   DEVCB_MEMORY_HANDLER("main", PROGRAM, einstein_port_a_write),
1546   DEVCB_MEMORY_HANDLER("maincpu", PROGRAM, einstein_port_b_read),
1547   DEVCB_MEMORY_HANDLER("maincpu", PROGRAM, einstein_port_a_write),
15481548   DEVCB_NULL
15491549};
15501550
r4347r4348
15801580//  if (Einstein_DE)
15811581//  {
15821582//
1583//      unsigned char *data = memory_region(machine, "main")+0x012000;
1583//      unsigned char *data = memory_region(machine, "maincpu")+0x012000;
15841584//      unsigned char data_byte;
15851585//      int char_code;
15861586//
r4347r4348
16591659
16601660static MACHINE_DRIVER_START( einstein )
16611661   /* basic machine hardware */
1662   MDRV_CPU_ADD("main", Z80, EINSTEIN_SYSTEM_CLOCK)
1662   MDRV_CPU_ADD("maincpu", Z80, EINSTEIN_SYSTEM_CLOCK)
16631663   MDRV_CPU_PROGRAM_MAP(einstein_mem, 0)
16641664   MDRV_CPU_IO_MAP(einstein_io, 0)
16651665   MDRV_CPU_CONFIG(einstein_daisy_chain)
r4347r4348
16981698static MACHINE_DRIVER_START( einstei2 )
16991699   MDRV_IMPORT_FROM( einstein )
17001700
1701   MDRV_CPU_MODIFY( "main" )
1701   MDRV_CPU_MODIFY( "maincpu" )
17021702   MDRV_CPU_IO_MAP(einstein2_io, 0)
17031703   MDRV_MACHINE_RESET( einstein2 )
17041704
r4347r4348
17201720***************************************************************************/
17211721
17221722ROM_START(einstein)
1723   ROM_REGION(0x010000+0x02000, "main",0)
1723   ROM_REGION(0x010000+0x02000, "maincpu",0)
17241724   ROM_LOAD("einstein.rom",0x10000, 0x02000, CRC(ec134953) SHA1(a02125d8ebcda48aa784adbb42a8b2d7ef3a4b77))
17251725ROM_END
17261726
17271727ROM_START(einstei2)
1728   ROM_REGION(0x010000+0x02000+0x0800, "main",0)
1728   ROM_REGION(0x010000+0x02000+0x0800, "maincpu",0)
17291729   ROM_LOAD("einstein.rom",0x10000, 0x02000, CRC(ec134953) SHA1(a02125d8ebcda48aa784adbb42a8b2d7ef3a4b77))
17301730   ROM_LOAD("charrom.rom",0x012000, 0x0800, NO_DUMP)
17311731ROM_END
src/mess/drivers/ti99_2.c
r4347r4348
9696   ROM_paged = 1;
9797}
9898
99#define TI99_2_32_ROMPAGE0 (memory_region(space->machine, "main")+0x4000)
100#define TI99_2_32_ROMPAGE1 (memory_region(space->machine, "main")+0x10000)
99#define TI99_2_32_ROMPAGE0 (memory_region(space->machine, "maincpu")+0x4000)
100#define TI99_2_32_ROMPAGE1 (memory_region(space->machine, "maincpu")+0x10000)
101101
102102static MACHINE_RESET( ti99_2 )
103103{
104104   state = ASSERT_LINE;
105105   if (! ROM_paged)
106      memory_set_bankptr(machine, 1, memory_region(machine, "main")+0x4000);
106      memory_set_bankptr(machine, 1, memory_region(machine, "maincpu")+0x4000);
107107   else
108      memory_set_bankptr(machine, 1, (memory_region(machine, "main")+0x4000));
108      memory_set_bankptr(machine, 1, (memory_region(machine, "maincpu")+0x4000));
109109}
110110
111111static INTERRUPT_GEN( ti99_2_vblank_interrupt )
r4347r4348
173173};
174174
175175static GFXDECODE_START( ti99_2 )
176   GFXDECODE_ENTRY( "main", 0x1c00,  ti99_2_charlayout, 0, 1 )
176   GFXDECODE_ENTRY( "maincpu", 0x1c00,  ti99_2_charlayout, 0, 1 )
177177GFXDECODE_END
178178
179179
r4347r4348
342342static const struct tms9995reset_param ti99_2_processor_config =
343343{
344344#if 0
345   "main",/* region for processor RAM */
345   "maincpu",/* region for processor RAM */
346346   0xf000,     /* offset : this area is unused in our region, and matches the processor address */
347347   0xf0fc,      /* offset for the LOAD vector */
348348   NULL,       /* no IDLE callback */
r4347r4348
353353
354354static MACHINE_DRIVER_START(ti99_2)
355355   /* basic machine hardware */
356   MDRV_CPU_ADD("main", TMS9995, 10700000)
356   MDRV_CPU_ADD("maincpu", TMS9995, 10700000)
357357   MDRV_CPU_CONFIG(ti99_2_processor_config)
358358   MDRV_CPU_PROGRAM_MAP(ti99_2_memmap, 0)
359359   MDRV_CPU_IO_MAP(ti99_2_io, 0)
r4347r4348
383383*/
384384ROM_START(ti99_224)
385385   /*CPU memory space*/
386   ROM_REGION(0x10000,"main",0)
386   ROM_REGION(0x10000,"maincpu",0)
387387   ROM_LOAD("992rom.bin", 0x0000, 0x6000, NO_DUMP)      /* system ROMs */
388388ROM_END
389389
390390ROM_START(ti99_232)
391391   /*64kb CPU memory space + 8kb to read the extra ROM page*/
392   ROM_REGION(0x12000,"main",0)
392   ROM_REGION(0x12000,"maincpu",0)
393393   ROM_LOAD("992rom32.bin", 0x0000, 0x6000, NO_DUMP)    /* system ROM - 32kb */
394394   ROM_CONTINUE(0x10000,0x2000)
395395ROM_END
src/mess/drivers/intv.c
r4347r4348
106106{
107107   AY8910_LEGACY_OUTPUT,
108108   AY8910_DEFAULT_LOADS,
109   DEVCB_MEMORY_HANDLER("main", PROGRAM, intv_right_control_r),
110   DEVCB_MEMORY_HANDLER("main", PROGRAM, intv_left_control_r),
109   DEVCB_MEMORY_HANDLER("maincpu", PROGRAM, intv_right_control_r),
110   DEVCB_MEMORY_HANDLER("maincpu", PROGRAM, intv_left_control_r),
111111   DEVCB_NULL,
112112   DEVCB_NULL
113113};
r4347r4348
150150};
151151
152152static GFXDECODE_START( intv )
153   GFXDECODE_ENTRY( "main", 0x3000<<1, intv_gromlayout, 0, 256 )
153   GFXDECODE_ENTRY( "maincpu", 0x3000<<1, intv_gromlayout, 0, 256 )
154154   GFXDECODE_ENTRY( 0, 0, intv_gramlayout, 0, 256 )    /* Dynamically decoded from RAM */
155155GFXDECODE_END
156156
157157static GFXDECODE_START( intvkbd )
158   GFXDECODE_ENTRY( "main", 0x3000<<1, intv_gromlayout, 0, 256 )
158   GFXDECODE_ENTRY( "maincpu", 0x3000<<1, intv_gromlayout, 0, 256 )
159159   GFXDECODE_ENTRY( 0, 0, intv_gramlayout, 0, 256 )    /* Dynamically decoded from RAM */
160160   GFXDECODE_ENTRY( "gfx1", 0x0000, intvkbd_charlayout, 0, 256 )
161161GFXDECODE_END
r4347r4348
346346    AM_RANGE(0x0100, 0x01ef) AM_READWRITE( intv_ram8_r, intv_ram8_w )
347347    AM_RANGE(0x01f0, 0x01ff) AM_DEVREADWRITE( SOUND, "ay8910", AY8914_directread_port_0_lsb_r, AY8914_directwrite_port_0_lsb_w )
348348    AM_RANGE(0x0200, 0x035f) AM_READWRITE( intv_ram16_r, intv_ram16_w )
349   AM_RANGE(0x1000, 0x1fff) AM_ROM   AM_REGION("main", 0x1000<<1)   /* Exec ROM, 10-bits wide */
350   AM_RANGE(0x3000, 0x37ff) AM_ROM   AM_REGION("main", 0x3000<<1)   /* GROM,     8-bits wide */
349   AM_RANGE(0x1000, 0x1fff) AM_ROM   AM_REGION("maincpu", 0x1000<<1)   /* Exec ROM, 10-bits wide */
350   AM_RANGE(0x3000, 0x37ff) AM_ROM   AM_REGION("maincpu", 0x3000<<1)   /* GROM,     8-bits wide */
351351   AM_RANGE(0x3800, 0x39ff) AM_READWRITE( intv_gram_r, intv_gram_w )      /* GRAM,     8-bits wide */
352352   AM_RANGE(0x4800, 0x7fff) AM_ROM      /* Cartridges? */
353353ADDRESS_MAP_END
r4347r4348
357357    AM_RANGE(0x0100, 0x01ef) AM_READWRITE( intv_ram8_r, intv_ram8_w )
358358    AM_RANGE(0x01f0, 0x01ff) AM_DEVREADWRITE( SOUND, "ay8910", AY8914_directread_port_0_lsb_r, AY8914_directwrite_port_0_lsb_w )
359359    AM_RANGE(0x0200, 0x035f) AM_READWRITE( intv_ram16_r, intv_ram16_w )
360   AM_RANGE(0x1000, 0x1fff) AM_ROM   AM_REGION("main", 0x1000<<1)   /* Exec ROM, 10-bits wide */
361   AM_RANGE(0x3000, 0x37ff) AM_ROM   AM_REGION("main", 0x3000<<1)   /* GROM,     8-bits wide */
360   AM_RANGE(0x1000, 0x1fff) AM_ROM   AM_REGION("maincpu", 0x1000<<1)   /* Exec ROM, 10-bits wide */
361   AM_RANGE(0x3000, 0x37ff) AM_ROM   AM_REGION("maincpu", 0x3000<<1)   /* GROM,     8-bits wide */
362362   AM_RANGE(0x3800, 0x39ff) AM_READWRITE( intv_gram_r, intv_gram_w )   /* GRAM,     8-bits wide */
363363   AM_RANGE(0x4800, 0x6fff) AM_ROM      /* Cartridges? */
364   AM_RANGE(0x7000, 0x7fff) AM_ROM   AM_REGION("main", 0x7000<<1)   /* Keyboard ROM */
364   AM_RANGE(0x7000, 0x7fff) AM_ROM   AM_REGION("maincpu", 0x7000<<1)   /* Keyboard ROM */
365365   AM_RANGE(0x8000, 0xbfff) AM_READWRITE( SMH_RAM, intvkbd_dualport16_w ) AM_BASE(&intvkbd_dualport_ram)   /* Dual-port RAM */
366366ADDRESS_MAP_END
367367
r4347r4348
381381
382382static MACHINE_DRIVER_START( intv )
383383   /* basic machine hardware */
384   MDRV_CPU_ADD("main", CP1610, XTAL_3_579545MHz/4)        /* Colorburst/4 */
384   MDRV_CPU_ADD("maincpu", CP1610, XTAL_3_579545MHz/4)        /* Colorburst/4 */
385385   MDRV_CPU_PROGRAM_MAP(intv_mem, 0)
386386   MDRV_CPU_VBLANK_INT("screen", intv_interrupt)
387387   MDRV_QUANTUM_TIME(HZ(60))
r4347r4348
419419
420420static MACHINE_DRIVER_START( intvkbd )
421421   MDRV_IMPORT_FROM( intv )
422   MDRV_CPU_MODIFY( "main" )
422   MDRV_CPU_MODIFY( "maincpu" )
423423   MDRV_CPU_PROGRAM_MAP(intvkbd_mem, 0)
424424
425425   MDRV_CPU_ADD("keyboard", M6502, XTAL_3_579545MHz/2)   /* Colorburst/2 */
r4347r4348
445445MACHINE_DRIVER_END
446446
447447ROM_START(intv)
448   ROM_REGION(0x10000<<1,"main",0)
448   ROM_REGION(0x10000<<1,"maincpu",0)
449449   ROM_LOAD16_WORD( "exec.bin", (0x1000<<1)+0, 0x2000, CRC(cbce86f7) SHA1(5a65b922b562cb1f57dab51b73151283f0e20c7a))
450450   ROM_LOAD16_BYTE( "grom.bin", (0x3000<<1)+1, 0x0800, CRC(683a4158) SHA1(f9608bb4ad1cfe3640d02844c7ad8e0bcd974917))
451451ROM_END
452452
453453ROM_START(intvsrs)
454   ROM_REGION(0x10000<<1,"main",0)
454   ROM_REGION(0x10000<<1,"maincpu",0)
455455   ROM_LOAD16_WORD( "searsexc.bin", (0x1000<<1)+0, 0x2000, CRC(ea552a22) SHA1(834339de056d42a35571cae7fd5b04d1344001e9))
456456   ROM_LOAD16_BYTE( "grom.bin", (0x3000<<1)+1, 0x0800, CRC(683a4158) SHA1(f9608bb4ad1cfe3640d02844c7ad8e0bcd974917))
457457ROM_END
458458
459459ROM_START(intvkbd)
460   ROM_REGION(0x10000<<1,"main",0)
460   ROM_REGION(0x10000<<1,"maincpu",0)
461461   ROM_LOAD16_WORD( "exec.bin", 0x1000<<1, 0x2000, CRC(cbce86f7) SHA1(5a65b922b562cb1f57dab51b73151283f0e20c7a))
462462   ROM_LOAD16_BYTE( "grom.bin", (0x3000<<1)+1, 0x0800, CRC(683a4158) SHA1(f9608bb4ad1cfe3640d02844c7ad8e0bcd974917))
463463   ROM_LOAD16_WORD( "024.u60",  0x7000<<1, 0x1000, CRC(4f7998ec) SHA1(ec006d0ae9002e9d56d83a71f5f2eddd6a456a40))
src/mess/drivers/special.c
r4347r4348
318318/* Machine driver */
319319static MACHINE_DRIVER_START( special )
320320    /* basic machine hardware */
321    MDRV_CPU_ADD("main", 8080, 2000000)
321    MDRV_CPU_ADD("maincpu", 8080, 2000000)
322322    MDRV_CPU_PROGRAM_MAP(specialist_mem, 0)
323323    MDRV_MACHINE_RESET( special )
324324
r4347r4348
352352static MACHINE_DRIVER_START( specialp )
353353    /* basic machine hardware */
354354    MDRV_IMPORT_FROM(special)
355    MDRV_CPU_MODIFY("main")
355    MDRV_CPU_MODIFY("maincpu")
356356    MDRV_CPU_PROGRAM_MAP(specialp_mem, 0)
357357
358358    MDRV_SCREEN_MODIFY("screen")
r4347r4348
364364
365365static MACHINE_DRIVER_START( specimx )
366366    MDRV_IMPORT_FROM(special)
367    MDRV_CPU_MODIFY("main")
367    MDRV_CPU_MODIFY("maincpu")
368368     MDRV_CPU_PROGRAM_MAP(specimx_mem, 0)
369369
370370     MDRV_MACHINE_START ( specimx )
r4347r4348
387387
388388static MACHINE_DRIVER_START( erik )
389389    /* basic machine hardware */
390    MDRV_CPU_ADD("main", Z80, 4000000)
390    MDRV_CPU_ADD("maincpu", Z80, 4000000)
391391    MDRV_CPU_PROGRAM_MAP(erik_mem, 0)
392392    MDRV_CPU_IO_MAP(erik_io_map, 0)
393393
r4347r4348
421421
422422/* ROM definition */
423423ROM_START( special )
424    ROM_REGION( 0x10000, "main", ROMREGION_ERASEFF )
424    ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
425425    ROM_SYSTEM_BIOS(0, "2nd", "2nd rev.")
426426    ROMX_LOAD( "special2.rom", 0xc000, 0x1000, CRC(FEDFBC37) SHA1(b79474833bbf558c39493dec3e8eabf9885c7c7c), ROM_BIOS(1))
427427    ROM_SYSTEM_BIOS(1, "1st", "1st rev.")
r4347r4348
433433ROM_END
434434
435435ROM_START( specialp )
436    ROM_REGION( 0x10000, "main", ROMREGION_ERASEFF )
436    ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
437437    ROM_LOAD( "special6.rom", 0xc000, 0x1000, CRC(f0c5a0ac) SHA1(50b53bd7c05117930aa84653a9ea0fc0c6f0f496) )
438438 ROM_END
439439
440440ROM_START( lik )
441    ROM_REGION( 0x10000, "main", ROMREGION_ERASEFF )
441    ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
442442    ROM_SYSTEM_BIOS(0, "1st", "1st rev.")
443443    ROMX_LOAD( "lik.rom",    0xc000, 0x3000, CRC(705BB3A0) SHA1(f90b009ec9d3303bbda228714dd24de057e744b6), ROM_BIOS(1))
444444    ROM_SYSTEM_BIOS(1, "2nd", "2nd rev.")
r4347r4348
446446ROM_END
447447
448448ROM_START( specimx )
449    ROM_REGION( 0x20000, "main", ROMREGION_ERASEFF )
449    ROM_REGION( 0x20000, "maincpu", ROMREGION_ERASEFF )
450450    ROM_SYSTEM_BIOS(0, "FOS", "ROM FOS")
451451    ROMX_LOAD( "specimx.rom", 0x10000, 0xb800,  CRC(DB68F9B1) SHA1(c79888449f8a605267ec3e10dcc8e6e6f43b3a95), ROM_BIOS(1))
452452    ROM_SYSTEM_BIOS(1, "NC", "NC")
r4347r4348
454454ROM_END
455455
456456ROM_START( erik )
457    ROM_REGION( 0x20000, "main", ROMREGION_ERASEFF )
457    ROM_REGION( 0x20000, "maincpu", ROMREGION_ERASEFF )
458458    ROM_LOAD( "erik.bin", 0x10000, 0x10000, CRC(6F3208F4) SHA1(41f6e2763ef60d3c7214c98893e580d25346fa2d))
459459ROM_END
460460
src/mess/drivers/votrpss.c
r4347r4348
136136
137137static MACHINE_DRIVER_START(votrpss)
138138    /* basic machine hardware */
139    MDRV_CPU_ADD("main", Z80, XTAL_8MHz/2)  /* 4.000 MHz, verified */
139    MDRV_CPU_ADD("maincpu", Z80, XTAL_8MHz/2)  /* 4.000 MHz, verified */
140140    MDRV_CPU_PROGRAM_MAP(z80_mem, 0)
141141    MDRV_CPU_IO_MAP(z80_io, 0)
142142    MDRV_QUANTUM_TIME(HZ(60))
r4347r4348
163163******************************************************************************/
164164
165165ROM_START(votrpss)
166    ROM_REGION(0x10000, "main", 0)
166    ROM_REGION(0x10000, "maincpu", 0)
167167    /* old logo PSS, version 3.A (1982), selftest 3.0? (1982) */
168168    //ROM_LOAD("u-2.3.A.bin",   0x0000, 0x2000, NO_DUMP )) /* 3.A 1982 */
169169    //ROM_LOAD("u-3.3.A.bin",   0x2000, 0x2000, NO_DUMP )) /* 3.A 1982 */
src/mess/drivers/jupiter.c
r4347r4348
229229
230230
231231static GFXDECODE_START( jupiter )
232   GFXDECODE_ENTRY( "main", 0x2c00, jupiter_charlayout, 0, 1 )
233   GFXDECODE_ENTRY( "main", 0x2c00, jupiter_charlayout, 2, 1 )
232   GFXDECODE_ENTRY( "maincpu", 0x2c00, jupiter_charlayout, 0, 1 )
233   GFXDECODE_ENTRY( "maincpu", 0x2c00, jupiter_charlayout, 2, 1 )
234234GFXDECODE_END
235235
236236
r4347r4348
296296
297297static DRIVER_INIT( jupiter )
298298{
299   jupiter_charram = memory_region(machine, "main")+0x2c00;
299   jupiter_charram = memory_region(machine, "maincpu")+0x2c00;
300300}
301301
302302static const cassette_config jupiter_cassette_config =
r4347r4348
309309/* machine definition */
310310static MACHINE_DRIVER_START( jupiter )
311311   /* basic machine hardware */
312   MDRV_CPU_ADD("main", Z80, XTAL_6_5MHz/2)        /* 3.25 MHz */
312   MDRV_CPU_ADD("maincpu", Z80, XTAL_6_5MHz/2)        /* 3.25 MHz */
313313   MDRV_CPU_PROGRAM_MAP(jupiter_mem, 0)
314314   MDRV_CPU_IO_MAP(jupiter_io, 0)
315315   MDRV_QUANTUM_TIME(HZ(60))
r4347r4348
343343
344344
345345ROM_START (jupiter)
346   ROM_REGION (0x10000, "main",0)
346   ROM_REGION (0x10000, "maincpu",0)
347347   ROM_LOAD ("jupiter.lo", 0x0000, 0x1000, CRC(dc8438a5) SHA1(8fa97eb71e5dd17c7d190c6587ee3840f839347c))
348348   ROM_LOAD ("jupiter.hi", 0x1000, 0x1000, CRC(4009f636) SHA1(98c5d4bcd74bcf014268cf4c00b2007ea5cc21f3))
349349ROM_END
src/mess/drivers/exelv.c
r4347r4348
529529   AM_RANGE(0x8000, 0xbfff) AM_NOP
530530   AM_RANGE(0xc000, 0xc7ff) AM_RAM                              /* CPU RAM */
531531   AM_RANGE(0xc800, 0xf7ff) AM_NOP
532   AM_RANGE(0xf800, 0xffff) AM_ROM AM_REGION("main",0x0000)      /* tms7020 internal ROM */
532   AM_RANGE(0xf800, 0xffff) AM_ROM AM_REGION("maincpu",0x0000)      /* tms7020 internal ROM */
533533
534534ADDRESS_MAP_END
535535
r4347r4348
561561static MACHINE_DRIVER_START(exelv)
562562   /* basic machine hardware */
563563   /* TMS7020 CPU @ 4.91(?) MHz */
564   MDRV_CPU_ADD("main", TMS7000_EXL, 4910000)
564   MDRV_CPU_ADD("maincpu", TMS7000_EXL, 4910000)
565565   MDRV_CPU_PROGRAM_MAP(exelv_memmap, 0)
566566   MDRV_CPU_IO_MAP(exelv_portmap, 0)
567567   MDRV_CPU_VBLANK_INT_HACK(exelv_hblank_interrupt, 363)
r4347r4348
592592  ROM loading
593593*/
594594ROM_START(exl100)
595   ROM_REGION(0x800, "main", 0)
595   ROM_REGION(0x800, "maincpu", 0)
596596   ROM_LOAD("exl100in.bin", 0x0000, 0x0800, BAD_DUMP CRC(049109a3) SHA1(98a07297dcdacef41c793c197b6496dac1e8e744))      /* TMS7020 ROM, needs verification */
597597
598598   ROM_REGION(0x1000, "tms7040", 0)
r4347r4348
604604
605605ROM_START(exeltel)
606606   /*CPU memory space*/
607   ROM_REGION(0x1000, "main", 0)
607   ROM_REGION(0x1000, "maincpu", 0)
608608   ROM_LOAD("exeltelin.bin", 0x0006, 0x0ffa, BAD_DUMP CRC(c12f24b5))      /* TMS7020 internal ROM */
609609
610610   ROM_REGION(0x1000, "tms7040", 0)
src/mess/drivers/osborne1.c
r4347r4348
165165
166166
167167static MACHINE_DRIVER_START( osborne1 )
168   MDRV_CPU_ADD( "main", Z80, MAIN_CLOCK/4 )
168   MDRV_CPU_ADD( "maincpu", Z80, MAIN_CLOCK/4 )
169169   MDRV_CPU_PROGRAM_MAP( osborne1_mem, 0 )
170170   MDRV_CPU_IO_MAP( osborne1_io, 0 )
171171   MDRV_CPU_CONFIG( osborne1_daisy_chain )
r4347r4348
192192
193193
194194ROM_START( osborne1 )
195   ROM_REGION(0x1000, "main", 0)
195   ROM_REGION(0x1000, "maincpu", 0)
196196   ROM_SYSTEM_BIOS( 0, "ver144", "BIOS version 1.44" )
197197   ROMX_LOAD( "osb144.bin", 0x0000, 0x1000, CRC(c0596b14) SHA1(ee6a9cc9be3ddc5949d3379351c1d58a175ce9ac), ROM_BIOS(1) )
198198   ROM_SYSTEM_BIOS( 1, "verA", "BIOS version A" )
src/mess/drivers/mephisto.c
r4347r4348
198198
199199static MACHINE_DRIVER_START( mephisto )
200200   /* basic machine hardware */
201   MDRV_CPU_ADD("main",M65C02,4915200)        /* 65C02 */
201   MDRV_CPU_ADD("maincpu",M65C02,4915200)        /* 65C02 */
202202   MDRV_CPU_PROGRAM_MAP(mephisto_mem, 0)
203203   MDRV_QUANTUM_TIME(HZ(60))
204204   MDRV_MACHINE_START( mephisto )
r4347r4348
216216static MACHINE_DRIVER_START( rebel5 )
217217   MDRV_IMPORT_FROM( mephisto )
218218   /* basic machine hardware */
219   MDRV_CPU_MODIFY("main")
219   MDRV_CPU_MODIFY("maincpu")
220220   MDRV_CPU_PROGRAM_MAP(rebel5_mem, 0)
221221   //beep_set_frequency(0, 4000);
222222MACHINE_DRIVER_END
223223
224224ROM_START(rebel5)
225   ROM_REGION(0x10000,"main",0)
225   ROM_REGION(0x10000,"maincpu",0)
226226   ROM_LOAD("rebel5.rom", 0x8000, 0x8000, CRC(8d02e1ef) SHA1(9972c75936613bd68cfd3fe62bd222e90e8b1083))
227227ROM_END
228228
229229ROM_START(mm4)
230   ROM_REGION(0x10000,"main",0)
230   ROM_REGION(0x10000,"maincpu",0)
231231   ROM_LOAD("mephisto4.rom", 0x8000, 0x8000, CRC(f68a4124) SHA1(d1d03a9aacc291d5cb720d2ee2a209eeba13a36c))
232232   ROM_SYSTEM_BIOS( 0, "none", "No Opening Library" )
233233   ROM_SYSTEM_BIOS( 1, "hg440", "HG440 Opening Library" )
r4347r4348
235235ROM_END
236236
237237ROM_START(mm5)
238   ROM_REGION(0x10000,"main",0)
238   ROM_REGION(0x10000,"maincpu",0)
239239   ROM_LOAD("mephisto5.rom", 0x8000, 0x8000, CRC(89c3d9d2) SHA1(77cd6f8eeb03c713249db140d2541e3264328048))
240240   ROM_SYSTEM_BIOS( 0, "none", "No Opening Library" )
241241   ROM_SYSTEM_BIOS( 1, "hg550", "HG550 Opening Library" )
r4347r4348
243243ROM_END
244244
245245ROM_START(mm50)
246   ROM_REGION(0x10000,"main",0)
246   ROM_REGION(0x10000,"maincpu",0)
247247   ROM_LOAD("mm50.rom", 0x8000, 0x8000, CRC(fcfa7e6e) SHA1(afeac3a8c957ba58cefaa27b11df974f6f2066da))
248248   ROM_SYSTEM_BIOS( 0, "none", "No Opening Library" )
249249   ROM_SYSTEM_BIOS( 1, "hg550", "HG550 Opening Library" )
src/mess/drivers/mikro80.c
r4347r4348
140140
141141static MACHINE_DRIVER_START( mikro80 )
142142    /* basic machine hardware */
143    MDRV_CPU_ADD("main",8080, 2000000)
143    MDRV_CPU_ADD("maincpu",8080, 2000000)
144144    MDRV_CPU_PROGRAM_MAP(mikro80_mem, 0)
145145    MDRV_CPU_IO_MAP(mikro80_io, 0)
146146    MDRV_MACHINE_RESET( mikro80 )
r4347r4348
170170static MACHINE_DRIVER_START( radio99 )
171171    /* basic machine hardware */
172172    MDRV_IMPORT_FROM(mikro80)
173    MDRV_CPU_MODIFY("main")
173    MDRV_CPU_MODIFY("maincpu")
174174    MDRV_CPU_IO_MAP(radio99_io, 0)   
175175       
176176   MDRV_SOUND_ADD("dac", DAC, 0)
r4347r4348
181181/* ROM definition */
182182
183183ROM_START( mikro80 )
184    ROM_REGION( 0x10000, "main", ROMREGION_ERASEFF )
184    ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
185185    ROM_LOAD( "mikro80.rom", 0xf800, 0x0800, CRC(63a4b72a) SHA1(6bd3e396539a15e2ccffa7486cae06ef6ddd1d03))
186186   ROM_REGION(0x0800, "gfx1",0)
187187   ROM_LOAD ("mikro80.fnt", 0x0000, 0x0800, CRC(43eb72bb) SHA1(761319cc6747661b33e84aa449cec83800543b5b) )
188188ROM_END
189189
190190ROM_START( radio99 )
191    ROM_REGION( 0x20000, "main", ROMREGION_ERASEFF )
191    ROM_REGION( 0x20000, "maincpu", ROMREGION_ERASEFF )
192192   ROM_LOAD( "monrk88.bin", 0xf800, 0x0800, CRC(5415D847) SHA1(c8233c72548bc79846b9d998766a10df349c5bda))
193193   ROM_REGION(0x0800, "gfx1",0)
194194   ROM_LOAD ("mikro80.fnt", 0x0000, 0x0800, CRC(43eb72bb) SHA1(761319cc6747661b33e84aa449cec83800543b5b) )
src/mess/drivers/ssystem3.c
r4347r4348
318318
319319static MACHINE_DRIVER_START( ssystem3 )
320320   /* basic machine hardware */
321   MDRV_CPU_ADD("main", M6502, 1000000)
321   MDRV_CPU_ADD("maincpu", M6502, 1000000)
322322   MDRV_CPU_PROGRAM_MAP(ssystem3_map, 0)
323323   MDRV_QUANTUM_TIME(HZ(60))
324324
r4347r4348
346346
347347
348348ROM_START(ssystem3)
349   ROM_REGION(0x10000,"main",0)
349   ROM_REGION(0x10000,"maincpu",0)
350350   ROM_LOAD("ss3lrom", 0xc000, 0x1000, CRC(9ea46ed3) SHA1(34eef85b356efbea6ddac1d1705b104fc8e2731a) )
351351//   ROM_RELOAD(0xe000, 0x1000)
352352   ROM_LOAD("ss3hrom", 0xf000, 0x1000, CRC(52741e0b) SHA1(2a7b950f9810c5a14a1b9d5e6b2bd93da621662e) )
src/mess/drivers/vtech1.c
r4347r4348
314314
315315static MACHINE_DRIVER_START(laser110)
316316    /* basic machine hardware */
317    MDRV_CPU_ADD("main", Z80, VTECH1_CLK)  /* 3.57950 MHz */
317    MDRV_CPU_ADD("maincpu", Z80, VTECH1_CLK)  /* 3.57950 MHz */
318318    MDRV_CPU_PROGRAM_MAP(laser110_mem, 0)
319319    MDRV_CPU_IO_MAP(vtech1_io, 0)
320320   MDRV_SCREEN_ADD("screen", RASTER)
r4347r4348
360360
361361static MACHINE_DRIVER_START(laser210)
362362    MDRV_IMPORT_FROM(laser200)
363    MDRV_CPU_MODIFY("main")
363    MDRV_CPU_MODIFY("maincpu")
364364    MDRV_CPU_PROGRAM_MAP(laser210_mem, 0)
365365
366366    MDRV_MACHINE_START(laser210)
r4347r4348
368368
369369static MACHINE_DRIVER_START(laser310)
370370    MDRV_IMPORT_FROM( laser200 )
371    MDRV_CPU_REPLACE( "main", Z80, VZ300_XTAL1_CLK/5)  /* 3.546894 MHz */
371    MDRV_CPU_REPLACE( "maincpu", Z80, VZ300_XTAL1_CLK/5)  /* 3.546894 MHz */
372372    MDRV_CPU_PROGRAM_MAP(laser310_mem, 0)
373373
374374    MDRV_MACHINE_START(laser310)
r4347r4348
380380******************************************************************************/
381381
382382ROM_START(laser110)
383    ROM_REGION(0x6800, "main", 0)
383    ROM_REGION(0x6800, "maincpu", 0)
384384    ROM_LOAD("vtechv12.u09",   0x0000, 0x2000, CRC(99412d43) SHA1(6aed8872a0818be8e1b08ecdfd92acbe57a3c96d))
385385    ROM_LOAD("vtechv12.u10",   0x2000, 0x2000, CRC(e4c24e8b) SHA1(9d8fb3d24f3d4175b485cf081a2d5b98158ab2fb))
386386    ROM_CART_LOAD("cart",  0x4000, 0x27ff, ROM_NOMIRROR | ROM_OPTIONAL)
r4347r4348
389389/* The VZ-200 sold in Germany and the Netherlands came with BASIC V1.1, which
390390   is currently not dumped. */
391391ROM_START(vz200de)
392    ROM_REGION(0x6800, "main", 0)
392    ROM_REGION(0x6800, "maincpu", 0)
393393    ROM_LOAD("vtechv11.u09",   0x0000, 0x2000, NO_DUMP)
394394    ROM_LOAD("vtechv11.u10",   0x2000, 0x2000, NO_DUMP)
395395    ROM_CART_LOAD("cart",  0x4000, 0x27ff, ROM_NOMIRROR | ROM_OPTIONAL)
r4347r4348
404404#define rom_tx8000      rom_laser110
405405
406406ROM_START(laser210)
407    ROM_REGION(0x6800, "main", 0)
407    ROM_REGION(0x6800, "maincpu", 0)
408408    ROM_LOAD("vtechv20.u09",   0x0000, 0x2000, CRC(cc854fe9) SHA1(6e66a309b8e6dc4f5b0b44e1ba5f680467353d66))
409409    ROM_LOAD("vtechv20.u10",   0x2000, 0x2000, CRC(7060f91a) SHA1(8f3c8f24f97ebb98f3c88d4e4ba1f91ffd563440))
410410    ROM_CART_LOAD("cart",  0x4000, 0x27ff, ROM_NOMIRROR | ROM_OPTIONAL)
r4347r4348
414414#define rom_vz200       rom_laser210
415415
416416ROM_START(laser310)
417    ROM_REGION(0x6800, "main", 0)
417    ROM_REGION(0x6800, "maincpu", 0)
418418   ROM_SYSTEM_BIOS(0, "basic20", "BASIC V2.0")
419419    ROMX_LOAD("vtechv20.u12", 0x0000, 0x4000, CRC(613de12c) SHA1(f216c266bc09b0dbdbad720796e5ea9bc7d91e53), ROM_BIOS(1))
420420   ROM_SYSTEM_BIOS(1, "basic21", "BASIC V2.1 (hack)")
r4347r4348
431431
432432static Z80BIN_EXECUTE( vtech1 )
433433{
434   const device_config *cpu = cputag_get_cpu(machine, "main");
435   const address_space *space = cputag_get_address_space(machine, "main", ADDRESS_SPACE_PROGRAM);
434   const device_config *cpu = cputag_get_cpu(machine, "maincpu");
435   const address_space *space = cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM);
436436
437437   /* A Microsoft Basic program needs some manipulation before it can be run.
438438   1. A start address of 7ae9 indicates a basic program which needs its pointers fixed up.
src/mess/drivers/amstrad.c
r4347r4348
778778{
779779   AY8910_LEGACY_OUTPUT,
780780   AY8910_DEFAULT_LOADS,
781   DEVCB_MEMORY_HANDLER("main", PROGRAM, amstrad_psg_porta_read),   /* portA read */
782   DEVCB_MEMORY_HANDLER("main", PROGRAM, amstrad_psg_porta_read),   /* portB read */
781   DEVCB_MEMORY_HANDLER("maincpu", PROGRAM, amstrad_psg_porta_read),   /* portA read */
782   DEVCB_MEMORY_HANDLER("maincpu", PROGRAM, amstrad_psg_porta_read),   /* portB read */
783783   DEVCB_NULL,               /* portA write */
784784   DEVCB_NULL               /* portB write */
785785};
r4347r4348
843843
844844static MACHINE_DRIVER_START( amstrad )
845845   /* Machine hardware */
846   MDRV_CPU_ADD("main", Z80, XTAL_16MHz / 4)
846   MDRV_CPU_ADD("maincpu", Z80, XTAL_16MHz / 4)
847847   MDRV_CPU_PROGRAM_MAP(amstrad_mem, 0)
848848   MDRV_CPU_IO_MAP(amstrad_io, 0)
849849
r4347r4348
898898
899899static MACHINE_DRIVER_START( cpcplus )
900900   /* Machine hardware */
901   MDRV_CPU_ADD("main", Z80, XTAL_40MHz / 10)
901   MDRV_CPU_ADD("maincpu", Z80, XTAL_40MHz / 10)
902902   MDRV_CPU_PROGRAM_MAP(amstrad_mem, 0)
903903   MDRV_CPU_IO_MAP(amstrad_io, 0)
904904
r4347r4348
948948
949949static MACHINE_DRIVER_START( gx4000 )
950950   /* Machine hardware */
951   MDRV_CPU_ADD("main", Z80, XTAL_40MHz / 10)
951   MDRV_CPU_ADD("maincpu", Z80, XTAL_40MHz / 10)
952952   MDRV_CPU_PROGRAM_MAP(amstrad_mem, 0)
953953   MDRV_CPU_IO_MAP(amstrad_io, 0)
954954
r4347r4348
10121012are banked. */
10131013ROM_START( cpc6128 )
10141014   /* this defines the total memory size - 64k ram, 16k OS, 16k BASIC, 16k DOS */
1015   ROM_REGION(0x020000, "main", 0)
1015   ROM_REGION(0x020000, "maincpu", 0)
10161016   /* load the os to offset 0x01000 from memory base */
10171017   ROM_LOAD("cpc6128.rom", 0x10000, 0x8000, CRC(9e827fe1) SHA1(5977adbad3f7c1e0e082cd02fe76a700d9860c30))
10181018   ROM_LOAD("cpcados.rom", 0x18000, 0x4000, CRC(1fe22ecd) SHA1(39102c8e9cb55fcc0b9b62098780ed4a3cb6a4bb))
r4347r4348
10241024
10251025ROM_START( cpc6128f )
10261026   /* this defines the total memory size (128kb))- 64k ram, 16k OS, 16k BASIC, 16k DOS +16k*/
1027   ROM_REGION(0x020000, "main", 0)
1027   ROM_REGION(0x020000, "maincpu", 0)
10281028
10291029   /* load the os to offset 0x01000 from memory base */
10301030   ROM_LOAD("cpc6128f.rom", 0x10000, 0x8000, CRC(1574923b) SHA1(200d59076dfef36db061d6d7d21d80021cab1237))
r4347r4348
10371037
10381038ROM_START( cpc6128s )
10391039   /* this defines the total memory size (128kb))- 64k ram, 16k OS, 16k BASIC, 16k DOS +16k*/
1040   ROM_REGION(0x020000, "main", 0)
1040   ROM_REGION(0x020000, "maincpu", 0)
10411041
10421042   /* load the os to offset 0x01000 from memory base */
10431043   ROM_LOAD("cpc6128s.rom", 0x10000, 0x8000, CRC(588b5540) SHA1(6765a91a42fed68a807325bf62a728e5ac5d622f))
r4347r4348
10501050
10511051ROM_START( cpc464 )
10521052   /* this defines the total memory size - 64k ram, 16k OS, 16k BASIC, 16k DOS */
1053   ROM_REGION(0x01c000, "main", 0)
1053   ROM_REGION(0x01c000, "maincpu", 0)
10541054   /* load the os to offset 0x01000 from memory base */
10551055   ROM_LOAD("cpc464.rom",  0x10000, 0x8000, CRC(40852f25) SHA1(56d39c463da60968d93e58b4ba0e675829412a20))
10561056   ROM_LOAD("cpcados.rom", 0x18000, 0x4000, CRC(1fe22ecd) SHA1(39102c8e9cb55fcc0b9b62098780ed4a3cb6a4bb))
r4347r4348
10591059
10601060ROM_START( cpc664 )
10611061   /* this defines the total memory size - 64k ram, 16k OS, 16k BASIC, 16k DOS */
1062   ROM_REGION(0x01c000, "main", 0)
1062   ROM_REGION(0x01c000, "maincpu", 0)
10631063   /* load the os to offset 0x01000 from memory base */
10641064   ROM_LOAD("cpc664.rom",  0x10000, 0x8000, CRC(9AB5A036) SHA1(073a7665527b5bd8a148747a3947dbd3328682c8))
10651065   ROM_LOAD("cpcados.rom", 0x18000, 0x4000, CRC(1fe22ecd) SHA1(39102c8e9cb55fcc0b9b62098780ed4a3cb6a4bb))
r4347r4348
10671067
10681068
10691069ROM_START( kccomp )
1070   ROM_REGION(0x018000, "main", 0)
1070   ROM_REGION(0x018000, "maincpu", 0)
10711071   ROM_LOAD("kccos.rom",  0x10000, 0x4000, CRC(7f9ab3f7) SHA1(f828045e98e767f737fd93df0af03917f936ad08))
10721072   ROM_LOAD("kccbas.rom", 0x14000, 0x4000, CRC(ca6af63d) SHA1(d7d03755099d0aff501fa5fffc9c0b14c0825448))
10731073
r4347r4348
10811081
10821082/* this system must have a cartridge installed to run */
10831083ROM_START(cpc6128p)
1084   ROM_REGION(0x80000, "main", ROMREGION_ERASEFF)
1084   ROM_REGION(0x80000, "maincpu", ROMREGION_ERASEFF)
10851085   ROM_REGION(0x04000, "user1", ROMREGION_ERASEFF)
10861086ROM_END
10871087
r4347r4348
10911091
10921092
10931093ROM_START( al520ex )
1094   ROM_REGION(0x80000, "main", 0)
1094   ROM_REGION(0x80000, "maincpu", 0)
10951095   ROM_LOAD("al512.bin", 0x10000, 0x10000, CRC(e8c2a9a1) SHA1(ad5827582cb19eaaae1b76e67df62d96da6ad96b))
10961096
10971097   ROM_REGION(0x20, "user2", 0)
src/mess/drivers/mz80.c
r4347r4348
125125ADDRESS_MAP_END
126126
127127ROM_START (mz80k)
128   ROM_REGION(0x10000,"main",0)
128   ROM_REGION(0x10000,"maincpu",0)
129129   ROM_SYSTEM_BIOS(0, "sp1002", "sp1002")
130130   ROMX_LOAD("sp1002.rom",    0x0000, 0x1000, CRC(2223e677) SHA1(518ffbe2333582ab36e6d76d1e03879a246ffa1c), ROM_BIOS(1))
131131   ROM_SYSTEM_BIOS(1, "tc", "tc")
r4347r4348
136136ROM_END
137137
138138ROM_START (mz80kj)
139   ROM_REGION(0x10000,"main",0)
139   ROM_REGION(0x10000,"maincpu",0)
140140   ROM_LOAD ("sp1002.rom",    0x0000, 0x1000, CRC(2223e677) SHA1(518ffbe2333582ab36e6d76d1e03879a246ffa1c))
141141   // TC monitor not possible to be used on japanese version since chargen doesn't have upcase/lowecase, but japanese letters
142142   ROM_LOAD ("mz80kfdif.rom", 0xf000, 0x0400, CRC(d36505e0) SHA1(1f60027e8739313962a37edbf98172df7062df49))
r4347r4348
163163   /* basic machine hardware */
164164
165165   /* main CPU */
166   MDRV_CPU_ADD("main", Z80, 2000000)        /* 2 MHz */
166   MDRV_CPU_ADD("maincpu", Z80, 2000000)        /* 2 MHz */
167167   MDRV_CPU_PROGRAM_MAP(mz80k_mem, 0)
168168   MDRV_CPU_IO_MAP(mz80k_io, 0)
169169
src/mess/drivers/pcfx.c
r4347r4348
4242
4343
4444static MACHINE_DRIVER_START( pcfx )
45   MDRV_CPU_ADD( "main", V810, 21477270 )
45   MDRV_CPU_ADD( "maincpu", V810, 21477270 )
4646   MDRV_CPU_PROGRAM_MAP( pcfx_mem, 0 )
4747   MDRV_CPU_IO_MAP( pcfx_io, 0 )
4848
4949   MDRV_MACHINE_RESET( pcfx )
5050
51   MDRV_SCREEN_ADD( "main", RASTER )
51   MDRV_SCREEN_ADD( "maincpu", RASTER )
5252   MDRV_SCREEN_FORMAT( BITMAP_FORMAT_RGB32 )
5353   MDRV_SCREEN_RAW_PARAMS(21477270/2, VDC_WPF, 70, 70 + 512 + 32, VDC_LPF, 14, 14+242)
5454MACHINE_DRIVER_END
src/mess/drivers/sms.c
r4347r4348
326326
327327static MACHINE_DRIVER_START(sms1ntsc)
328328   /* basic machine hardware */
329   MDRV_CPU_ADD("main", Z80, XTAL_53_693175MHz/15)
329   MDRV_CPU_ADD("maincpu", Z80, XTAL_53_693175MHz/15)
330330   MDRV_CPU_PROGRAM_MAP(sms_mem, 0)
331331   MDRV_CPU_IO_MAP(sms_io, 0)
332332
r4347r4348
398398
399399static MACHINE_DRIVER_START(sms1pal)
400400   /* basic machine hardware */
401   MDRV_CPU_ADD("main", Z80, MASTER_CLOCK_PAL/15)
401   MDRV_CPU_ADD("maincpu", Z80, MASTER_CLOCK_PAL/15)
402402   MDRV_CPU_PROGRAM_MAP(sms_mem, 0)
403403   MDRV_CPU_IO_MAP(sms_io, 0)
404404
r4347r4348
457457
458458static MACHINE_DRIVER_START(gamegear)
459459   /* basic machine hardware */
460   MDRV_CPU_ADD("main", Z80, XTAL_53_693175MHz/15)
460   MDRV_CPU_ADD("maincpu", Z80, XTAL_53_693175MHz/15)
461461   MDRV_CPU_PROGRAM_MAP(sms_mem, 0)
462462   MDRV_CPU_IO_MAP(gg_io, 0)
463463
r4347r4348
490490MACHINE_DRIVER_END
491491
492492ROM_START(sms1)
493   ROM_REGION(0x4000, "main", 0)
493   ROM_REGION(0x4000, "maincpu", 0)
494494   ROM_FILL(0x0000,0x4000,0xFF)
495495   ROM_REGION(0x20000, "user1", 0)
496496   ROM_SYSTEM_BIOS( 0, "bios13", "US/European BIOS v1.3 (1986)" )
r4347r4348
506506ROM_END
507507
508508ROM_START(sms)
509   ROM_REGION(0x4000, "main", 0)
509   ROM_REGION(0x4000, "maincpu", 0)
510510   ROM_FILL(0x0000,0x4000,0xFF)
511511   ROM_REGION(0x20000, "user1", 0)
512512   ROM_SYSTEM_BIOS( 0, "alexkidd", "US/European BIOS with Alex Kidd in Miracle World (1990)" )
r4347r4348
514514ROM_END
515515
516516ROM_START(smssdisp)
517   ROM_REGION(0x4000, "main", 0)
517   ROM_REGION(0x4000, "maincpu", 0)
518518   ROM_FILL(0x0000,0x4000,0xFF)
519519   ROM_REGION(0x4000, "user1", 0)
520520   ROM_FILL(0x0000,0x4000,0xFF)
r4347r4348
523523ROM_END
524524
525525ROM_START(sms1pal)
526   ROM_REGION(0x4000, "main", 0)
526   ROM_REGION(0x4000, "maincpu", 0)
527527   ROM_FILL(0x0000,0x4000,0xFF)
528528   ROM_REGION(0x20000, "user1", 0)
529529    ROM_SYSTEM_BIOS( 0, "bios13", "US/European BIOS v1.3 (1986)" )
r4347r4348
537537ROM_END
538538
539539ROM_START(smspal)
540   ROM_REGION(0x4000, "main", 0)
540   ROM_REGION(0x4000, "maincpu", 0)
541541   ROM_FILL(0x0000,0x4000,0xFF)
542542   ROM_REGION(0x40000, "user1", 0)
543543   ROM_SYSTEM_BIOS( 0, "alexkidd", "US/European BIOS with Alex Kidd in Miracle World (1990)" )
r4347r4348
547547ROM_END
548548
549549ROM_START(sg1000m3)
550   ROM_REGION(0x4000, "main", 0)
550   ROM_REGION(0x4000, "maincpu", 0)
551551   ROM_FILL(0x0000,0x4000,0x00)
552552ROM_END
553553
554554ROM_START(smsj)
555   ROM_REGION(0x4000, "main", 0)
555   ROM_REGION(0x4000, "maincpu", 0)
556556   ROM_FILL(0x0000,0x4000,0xFF)
557557   ROM_REGION(0x4000, "user1", 0)
558558    ROM_SYSTEM_BIOS( 0, "jbios21", "Japanese BIOS v2.1 (1987)" )
r4347r4348
560560ROM_END
561561
562562ROM_START(sms2kr)
563   ROM_REGION(0x4000, "main", 0)
563   ROM_REGION(0x4000, "maincpu", 0)
564564   ROM_FILL(0x0000,0x4000,0xFF)
565565   ROM_REGION(0x20000, "user1", 0)
566566   ROM_SYSTEM_BIOS( 0, "akbioskr", "Samsung Gam*Boy II with Alex Kidd in Miracle World (1990)" )
r4347r4348
568568ROM_END
569569
570570ROM_START(gamegear)
571   ROM_REGION(0x4000, "main",0)
571   ROM_REGION(0x4000, "maincpu",0)
572572   ROM_FILL(0x0000,0x4000,0x00)
573573   ROM_REGION(0x0400, "user1", 0)
574574   ROM_SYSTEM_BIOS( 0, "none", "No BIOS" ) /* gamegear */
src/mess/drivers/a310.c
r4347r4348
9191   AM_RANGE(0x03000000, 0x033fffff) AM_READWRITE(ioc_r, ioc_w)
9292   AM_RANGE(0x03400000, 0x035fffff) AM_READWRITE(vidc_r, vidc_w)
9393   AM_RANGE(0x03600000, 0x037fffff) AM_READWRITE(memc_r, memc_w)
94   AM_RANGE(0x03800000, 0x03ffffff) AM_ROM AM_REGION("main", 0) AM_WRITE(memc_page_w)
94   AM_RANGE(0x03800000, 0x03ffffff) AM_ROM AM_REGION("maincpu", 0) AM_WRITE(memc_page_w)
9595ADDRESS_MAP_END
9696
9797
r4347r4348
213213
214214static MACHINE_DRIVER_START( a310 )
215215   /* basic machine hardware */
216   MDRV_CPU_ADD("main", ARM, 8000000)        /* 8 MHz */
216   MDRV_CPU_ADD("maincpu", ARM, 8000000)        /* 8 MHz */
217217   MDRV_CPU_PROGRAM_MAP(a310_mem, 0)
218218
219219   MDRV_MACHINE_RESET( a310 )
r4347r4348
239239MACHINE_DRIVER_END
240240
241241ROM_START(a310)
242   ROM_REGION(0x800000, "main", 0)
242   ROM_REGION(0x800000, "maincpu", 0)
243243   ROM_SYSTEM_BIOS(0, "311", "RiscOS 3.11 (29 Sep 1992)")
244244   ROMX_LOAD("ic24.rom", 0x000000, 0x80000, CRC(c1adde84) SHA1(12d060e0401dd0523d44453f947bdc55dd2c3240), ROM_BIOS(1))
245245   ROMX_LOAD("ic25.rom", 0x080000, 0x80000, CRC(15d89664) SHA1(78f5d0e6f1e8ee603317807f53ff8fe65a3b3518), ROM_BIOS(1))
src/mess/drivers/avigo.c
r4347r4348
408408   memset(avigo_banked_opbase, 0, sizeof(avigo_banked_opbase));
409409
410410   /* initialise flash memory */
411   intelflash_init(machine, 0, FLASH_INTEL_E28F008SA, memory_region(machine, "main")+0x10000);
412   intelflash_init(machine, 1, FLASH_INTEL_E28F008SA, memory_region(machine, "main")+0x110000);
411   intelflash_init(machine, 0, FLASH_INTEL_E28F008SA, memory_region(machine, "maincpu")+0x10000);
412   intelflash_init(machine, 1, FLASH_INTEL_E28F008SA, memory_region(machine, "maincpu")+0x110000);
413413   intelflash_init(machine, 2, FLASH_INTEL_E28F008SA, NULL);
414414
415415   stylus_marker_x = AVIGO_SCREEN_WIDTH>>1;
r4347r4348
858858
859859static MACHINE_DRIVER_START( avigo )
860860   /* basic machine hardware */
861   MDRV_CPU_ADD("main", Z80, 4000000)
861   MDRV_CPU_ADD("maincpu", Z80, 4000000)
862862   MDRV_CPU_PROGRAM_MAP(avigo_mem, 0)
863863   MDRV_CPU_IO_MAP(avigo_io, 0)
864864   MDRV_QUANTUM_TIME(HZ(60))
r4347r4348
900900
901901
902902ROM_START(avigo)
903   ROM_REGION(0x210000, "main",0)
903   ROM_REGION(0x210000, "maincpu",0)
904904   ROM_LOAD("avigo.rom", 0x010000, 0x0150000, CRC(160ee4a6) SHA1(4d09201a3876de16808bd92989f3d8d7182d72b3))
905905ROM_END
906906
src/mess/drivers/ut88.c
r4347r4348
166166/* Machine driver */
167167static MACHINE_DRIVER_START( ut88 )
168168   /* basic machine hardware */
169    MDRV_CPU_ADD("main", 8080, 2000000)
169    MDRV_CPU_ADD("maincpu", 8080, 2000000)
170170    MDRV_CPU_PROGRAM_MAP(ut88_mem, 0)
171171    MDRV_CPU_IO_MAP(ut88_io, 0)
172172    MDRV_MACHINE_RESET( ut88 )
r4347r4348
199199
200200static MACHINE_DRIVER_START( ut88mini )
201201   /* basic machine hardware */
202    MDRV_CPU_ADD("main", 8080, 2000000)
202    MDRV_CPU_ADD("maincpu", 8080, 2000000)
203203    MDRV_CPU_PROGRAM_MAP(ut88mini_mem, 0)
204204    MDRV_CPU_IO_MAP(ut88mini_io, 0)
205205      MDRV_MACHINE_START(ut88mini)
r4347r4348
213213
214214/* ROM definition */
215215ROM_START( ut88 )
216   ROM_REGION( 0x10000, "main", ROMREGION_ERASEFF )
216   ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
217217   ROM_LOAD( "ut88.rom", 0xf800, 0x0800, CRC(f433202e) SHA1(a5808a4f68fb10eb7f17f2a05c3b8479fec0e05d) )
218218   ROM_REGION(0x0800, "gfx1",0)
219219   ROM_LOAD ("ut88.fnt", 0x0000, 0x0800, CRC(874b4d29) SHA1(357efbb295cd9e47fa97d4d03f4f1859a915b5c3) )
220220ROM_END
221221
222222ROM_START( ut88mini )
223  ROM_REGION( 0x10200, "main", ROMREGION_ERASEFF )
223  ROM_REGION( 0x10200, "maincpu", ROMREGION_ERASEFF )
224224  ROM_LOAD( "ut88mini.rom", 0x0000, 0x0400, CRC(ce9213ee) SHA1(16b71b3051a800386d664dbcc5983b783475d0c6) )
225225  ROM_LOAD( "ut88key1.rom", 0x10000, 0x0100, CRC(ecfe42c7) SHA1(d7f10bbb05934150c1a258db1c8b4eb65771af59) )
226226  ROM_LOAD( "ut88key2.rom", 0x10100, 0x0100, CRC(96324d23) SHA1(9dca3f639fc29d87df56505b3dde668ef2849da3) )
src/mess/drivers/psx.c
r4347r4348
10481048
10491049static MACHINE_DRIVER_START( psxntsc )
10501050   /* basic machine hardware */
1051   MDRV_CPU_ADD( "main", PSXCPU, XTAL_67_7376MHz )
1051   MDRV_CPU_ADD( "maincpu", PSXCPU, XTAL_67_7376MHz )
10521052   MDRV_CPU_PROGRAM_MAP( psx_map, 0 )
10531053   MDRV_CPU_VBLANK_INT("screen", psx_vblank)
10541054
r4347r4348
10811081
10821082static MACHINE_DRIVER_START( psxpal )
10831083   /* basic machine hardware */
1084   MDRV_CPU_ADD( "main", PSXCPU, XTAL_67_7376MHz )
1084   MDRV_CPU_ADD( "maincpu", PSXCPU, XTAL_67_7376MHz )
10851085   MDRV_CPU_PROGRAM_MAP( psx_map, 0 )
10861086   MDRV_CPU_VBLANK_INT("screen", psx_vblank)
10871087
src/mess/drivers/samcoupe.c
r4347r4348
182182
183183static WRITE8_HANDLER( samcoupe_lmpr_w )
184184{
185   const address_space *space_program = cputag_get_address_space(space->machine, "main", ADDRESS_SPACE_PROGRAM);
185   const address_space *space_program = cputag_get_address_space(space->machine, "maincpu", ADDRESS_SPACE_PROGRAM);
186186   coupe_asic *asic = space->machine->driver_data;
187187
188188   asic->lmpr = data;
r4347r4348
199199
200200static WRITE8_HANDLER( samcoupe_hmpr_w )
201201{
202   const address_space *space_program = cputag_get_address_space(space->machine, "main", ADDRESS_SPACE_PROGRAM);
202   const address_space *space_program = cputag_get_address_space(space->machine, "maincpu", ADDRESS_SPACE_PROGRAM);
203203   coupe_asic *asic = space->machine->driver_data;
204204
205205   asic->hmpr = data;
r4347r4348
216216
217217static WRITE8_HANDLER( samcoupe_vmpr_w )
218218{
219   const address_space *space_program = cputag_get_address_space(space->machine, "main", ADDRESS_SPACE_PROGRAM);
219   const address_space *space_program = cputag_get_address_space(space->machine, "maincpu", ADDRESS_SPACE_PROGRAM);
220220   coupe_asic *asic = space->machine->driver_data;
221221
222222   asic->vmpr = data;
r4347r4348
364364   coupe_asic *asic = machine->driver_data;
365365
366366   /* clear interrupt */
367   cputag_set_input_line(machine, "main", 0, CLEAR_LINE);
367   cputag_set_input_line(machine, "maincpu", 0, CLEAR_LINE);
368368
369369   /* adjust STATUS register */
370370   asic->status |= param;
r4347r4348
547547
548548static MACHINE_DRIVER_START( samcoupe )
549549   /* basic machine hardware */
550   MDRV_CPU_ADD("main", Z80, SAMCOUPE_XTAL_X1/4) /* 6 MHz */
550   MDRV_CPU_ADD("maincpu", Z80, SAMCOUPE_XTAL_X1/4) /* 6 MHz */
551551   MDRV_CPU_PROGRAM_MAP(samcoupe_mem, 0)
552552   MDRV_CPU_IO_MAP(samcoupe_io, 0)
553553   MDRV_CPU_VBLANK_INT("screen", samcoupe_frame_interrupt)
r4347r4348
593593    and in the second half, the case of the "plc" in the company string differs.
594594*/
595595ROM_START( samcoupe )
596   ROM_REGION( 0x8000, "main", 0 )
596   ROM_REGION( 0x8000, "maincpu", 0 )
597597   ROM_SYSTEM_BIOS( 0,  "31",  "v3.1" )
598598   ROMX_LOAD( "rom31.z5",  0x0000, 0x8000, CRC(0b7e3585) SHA1(c86601633fb61a8c517f7657aad9af4e6870f2ee), ROM_BIOS(1) )
599599   ROM_SYSTEM_BIOS( 1,  "30",  "v3.0" )
src/mess/drivers/tutor.c
r4347r4348
191191{
192192   tape_interrupt_timer = timer_alloc(machine, tape_interrupt_handler, NULL);
193193
194   memory_configure_bank(machine, 1, 0, 1, memory_region(machine, "main") + basic_base, 0);
195   memory_configure_bank(machine, 1, 1, 1, memory_region(machine, "main") + cartridge_base, 0);
194   memory_configure_bank(machine, 1, 0, 1, memory_region(machine, "maincpu") + basic_base, 0);
195   memory_configure_bank(machine, 1, 1, 1, memory_region(machine, "maincpu") + cartridge_base, 0);
196196   memory_set_bank(machine, 1, 0);
197197}
198198
r4347r4348
265265
266266static DEVICE_IMAGE_LOAD( tutor_cart )
267267{
268   image_fread(image, memory_region(image->machine, "main") + cartridge_base, 0x6000);
268   image_fread(image, memory_region(image->machine, "maincpu") + cartridge_base, 0x6000);
269269   return INIT_PASS;
270270}
271271
272272static DEVICE_IMAGE_UNLOAD( tutor_cart )
273273{
274   memset(memory_region(image->machine, "main") + cartridge_base, 0, 0x6000);
274   memset(memory_region(image->machine, "maincpu") + cartridge_base, 0, 0x6000);
275275}
276276
277277/*
r4347r4348
648648static const struct tms9995reset_param tutor_processor_config =
649649{
650650#if 0
651   "main",/* region for processor RAM */
651   "maincpu",/* region for processor RAM */
652652   0xf000,     /* offset : this area is unused in our region, and matches the processor address */
653653   0xf0fc,      /* offset for the LOAD vector */
654654   1,          /* use fast IDLE */
r4347r4348
660660static MACHINE_DRIVER_START(tutor)
661661   /* basic machine hardware */
662662   /* TMS9995 CPU @ 10.7 MHz */
663   MDRV_CPU_ADD("main", TMS9995, 10700000)
663   MDRV_CPU_ADD("maincpu", TMS9995, 10700000)
664664   MDRV_CPU_CONFIG(tutor_processor_config)
665665   MDRV_CPU_PROGRAM_MAP(tutor_memmap, 0)
666666   MDRV_CPU_IO_MAP(tutor_io, 0)
r4347r4348
697697*/
698698ROM_START(tutor)
699699   /*CPU memory space*/
700   ROM_REGION(0x14000,"main",0)
700   ROM_REGION(0x14000,"maincpu",0)
701701   ROM_LOAD("tutor1.bin", 0x0000, 0x8000, CRC(702c38ba) SHA1(ce60607c3038895e31915d41bb5cf71cb8522d7a))      /* system ROM */
702702   ROM_LOAD("tutor2.bin", 0x8000, 0x4000, CRC(05f228f5) SHA1(46a14a45f6f9e2c30663a2b87ce60c42768a78d0))      /* BASIC ROM */
703703ROM_END
src/mess/drivers/cybiko.c
r4347r4348
222222/////////
223223
224224ROM_START( cybikov1 )
225   ROM_REGION( 0x8000, "main", 0)
225   ROM_REGION( 0x8000, "maincpu", 0)
226226   ROM_LOAD( "cyrom112.bin", 0, 0x8000, CRC(9E1F1A0F) SHA1(6FC08DE6B2C67D884EC78F748E4A4BAD27EE8045))
227227ROM_END
228228
229229ROM_START( cybikov2 )
230   ROM_REGION( 0x8000, "main", 0)
230   ROM_REGION( 0x8000, "maincpu", 0)
231231   ROM_LOAD( "cyrom117.bin", 0, 0x8000, CRC(268DA7BF) SHA1(135EAF9E3905E69582AABD9B06BC4DE0A66780D5))
232232ROM_END
233233
234234ROM_START( cybikoxt )
235   ROM_REGION( 0x8000, "main", 0)
235   ROM_REGION( 0x8000, "maincpu", 0)
236236   ROM_LOAD( "cyrom150.bin", 0, 0x8000, CRC(18B9B21F) SHA1(28868D6174EB198A6CEC6C3C70B6E494517229B9))
237237ROM_END
238238
r4347r4348
261261
262262static MACHINE_DRIVER_START( cybikov1 )
263263   // cpu
264   //MDRV_CPU_ADD( "main", H8S2241, 11059200)
264   //MDRV_CPU_ADD( "maincpu", H8S2241, 11059200)
265265   //MDRV_CPU_PROGRAM_MAP( cybikov1_mem, 0)
266266   //MDRV_CPU_IO_MAP( cybikov1_io, 0)
267267   // screen
r4347r4348
294294   // import
295295   MDRV_IMPORT_FROM( cybikov1)
296296   // cpu
297   //MDRV_CPU_REPLACE( "main", H8S2246, 11059200)
297   //MDRV_CPU_REPLACE( "maincpu", H8S2246, 11059200)
298298   //MDRV_CPU_PROGRAM_MAP( cybikov2_mem, 0)
299299   //MDRV_CPU_IO_MAP( cybikov2_io, 0)
300300   // machine
r4347r4348
309309   // import
310310   MDRV_IMPORT_FROM( cybikov1)
311311   // cpu
312   //MDRV_CPU_REPLACE( "main", H8S2323, 18432000)
312   //MDRV_CPU_REPLACE( "maincpu", H8S2323, 18432000)
313313   //MDRV_CPU_PROGRAM_MAP( cybikoxt_mem, 0)
314314   //MDRV_CPU_IO_MAP( cybikoxt_io, 0)
315315   // sound
src/mess/drivers/pp01.c
r4347r4348
4040/* Machine driver */
4141static MACHINE_DRIVER_START( pp01 )
4242     /* basic machine hardware */
43     MDRV_CPU_ADD("main", 8080, 2000000)
43     MDRV_CPU_ADD("maincpu", 8080, 2000000)
4444     MDRV_CPU_PROGRAM_MAP(pp01_mem, 0)
4545     MDRV_CPU_IO_MAP(pp01_io, 0)
4646
r4347r4348
6868/* ROM definition */
6969
7070ROM_START( pp01 )
71    ROM_REGION( 0x14000, "main", ROMREGION_ERASEFF )
71    ROM_REGION( 0x14000, "maincpu", ROMREGION_ERASEFF )
7272    ROM_LOAD( "pp01.rom", 0x10000, 0x4000, CRC(d6ee4dd6) SHA1(acc162975f255bc8de5ca0fd8da11d1d7bd7fbfc) )
7373ROM_END
7474
src/mess/drivers/trs80.c
r4347r4348
380380
381381static MACHINE_DRIVER_START( level1 )
382382   /* basic machine hardware */
383   MDRV_CPU_ADD("main", Z80, 1796000)        /* 1.796 MHz */
383   MDRV_CPU_ADD("maincpu", Z80, 1796000)        /* 1.796 MHz */
384384   MDRV_CPU_PROGRAM_MAP(mem_level1, 0)
385385   MDRV_CPU_IO_MAP(io_level1, 0)
386386   MDRV_CPU_VBLANK_INT("screen", trs80_frame_interrupt)
r4347r4348
419419
420420static MACHINE_DRIVER_START( model1 )
421421   MDRV_IMPORT_FROM( level1 )
422   MDRV_CPU_MODIFY( "main" )
422   MDRV_CPU_MODIFY( "maincpu" )
423423   MDRV_CPU_PROGRAM_MAP( mem_model1, 0 )
424424   MDRV_CPU_IO_MAP( io_model1, 0 )
425425
r4347r4348
429429
430430static MACHINE_DRIVER_START( model3 )
431431   MDRV_IMPORT_FROM( level1 )
432   MDRV_CPU_MODIFY( "main" )
432   MDRV_CPU_MODIFY( "maincpu" )
433433   MDRV_CPU_PROGRAM_MAP( mem_model3, 0 )
434434   MDRV_CPU_IO_MAP( io_model3, 0 )
435435   MDRV_CPU_VBLANK_INT_HACK(trs80_frame_interrupt, 2)
r4347r4348
454454***************************************************************************/
455455
456456ROM_START(trs80)
457   ROM_REGION(0x10000, "main",0)
457   ROM_REGION(0x10000, "maincpu",0)
458458   ROM_LOAD("level1.rom",  0x0000, 0x1000, CRC(70d06dff) SHA1(20d75478fbf42214381e05b14f57072f3970f765))
459459
460460   ROM_REGION(0x00c00, "gfx1",0)
r4347r4348
462462ROM_END
463463
464464ROM_START(trs80l2)
465   ROM_REGION(0x10000, "main",0)
465   ROM_REGION(0x10000, "maincpu",0)
466466   ROM_SYSTEM_BIOS(0, "level2", "Radio Shack Level II Basic")
467467   ROMX_LOAD("trs80.z33",   0x0000, 0x1000, CRC(37c59db2) SHA1(e8f8f6a4460a6f6755873580be6ff70cebe14969), ROM_BIOS(1))
468468   ROMX_LOAD("trs80.z34",   0x1000, 0x1000, CRC(05818718) SHA1(43c538ca77623af6417474ca5b95fb94205500c1), ROM_BIOS(1))
r4347r4348
477477ROM_END
478478
479479ROM_START(radionic)
480   ROM_REGION(0x10000, "main",0)
480   ROM_REGION(0x10000, "maincpu",0)
481481   ROM_LOAD("ep1.bin",0x0000, 0x1000, CRC(e8908f44) SHA1(7a5a60c3afbeb6b8434737dd302332179a7fca59))
482482   ROM_LOAD("ep2.bin",0x1000, 0x1000, CRC(46e88fbf) SHA1(a3ca32757f269e09316e1e91ba1502774e2f5155))
483483   ROM_LOAD("ep3.bin",0x2000, 0x1000, CRC(306e5d66) SHA1(1e1abcfb5b02d4567cf6a81ffc35318723442369))
r4347r4348
491491ROM_END
492492
493493ROM_START(sys80)
494   ROM_REGION(0x10000, "main",0)
494   ROM_REGION(0x10000, "maincpu",0)
495495   ROM_LOAD("sys80rom.1",  0x0000, 0x1000, CRC(8f5214de) SHA1(d8c052be5a2d0ec74433043684791d0554bf203b))
496496   ROM_LOAD("sys80rom.2",  0x1000, 0x1000, CRC(46e88fbf) SHA1(a3ca32757f269e09316e1e91ba1502774e2f5155))
497497   ROM_LOAD("trs80.zl2",  0x2000, 0x1000, CRC(306e5d66) SHA1(1e1abcfb5b02d4567cf6a81ffc35318723442369))
r4347r4348
501501ROM_END
502502
503503ROM_START(lnw80)
504   ROM_REGION(0x10000, "main",0)
504   ROM_REGION(0x10000, "maincpu",0)
505505   ROM_LOAD("lnw_a.bin",  0x0000, 0x0800, CRC(e09f7e91) SHA1(cd28e72efcfebde6cf1c7dbec4a4880a69e683da))
506506   ROM_LOAD("lnw_a1.bin", 0x0800, 0x0800, CRC(ac297d99) SHA1(ccf31d3f9d02c3b68a0ee3be4984424df0e83ab0))
507507   ROM_LOAD("lnw_b.bin",  0x1000, 0x0800, CRC(c4303568) SHA1(13e3d81c6f0de0e93956fa58c465b5368ea51682))
r4347r4348
515515ROM_END
516516
517517ROM_START(trs80m3)
518   ROM_REGION(0x10000, "main",0)
518   ROM_REGION(0x10000, "maincpu",0)
519519   ROM_LOAD("trs80m3.rom", 0x0000, 0x3800, CRC(bddbf843) SHA1(04a1f062cf73c3931c038434e3f299482b6bf613))
520520
521521   ROM_REGION(0x00c00, "gfx1",0)
r4347r4348
523523ROM_END
524524
525525ROM_START(trs80m4)
526   ROM_REGION(0x10000, "main",0)
526   ROM_REGION(0x10000, "maincpu",0)
527527   ROM_LOAD("trs80m4.rom", 0x0000, 0x3800, CRC(1a92d54d) SHA1(752555fdd0ff23abc9f35c6e03d9d9b4c0e9677b))
528528
529529   ROM_REGION(0x00c00, "gfx1",0)
r4347r4348
532532ROM_END
533533
534534ROM_START(ht1080z)
535   ROM_REGION(0x10000, "main",0)
535   ROM_REGION(0x10000, "maincpu",0)
536536   ROM_LOAD("ht1080z.rom", 0x0000, 0x3000, CRC(2bfef8f7) SHA1(7a350925fd05c20a3c95118c1ae56040c621be8f))
537537   ROM_REGION(0x00800, "gfx1",0)
538538   ROM_LOAD("ht1080-1.chr", 0x0000, 0x0800, CRC(e8c59d4f) SHA1(a15f30a543e53d3e30927a2e5b766fcf80f0ae31))
539539ROM_END
540540
541541ROM_START(ht1080z2)
542   ROM_REGION(0x10000, "main",0)
542   ROM_REGION(0x10000, "maincpu",0)
543543   ROM_LOAD("ht1080z.rom", 0x0000, 0x3000, CRC(2bfef8f7) SHA1(7a350925fd05c20a3c95118c1ae56040c621be8f))
544544   ROM_REGION(0x00800, "gfx1",0)
545545   ROM_LOAD("ht1080-2.chr", 0x0000, 0x0800, CRC(6728f0ab) SHA1(1ba949f8596f1976546f99a3fdcd3beb7aded2c5))
546546ROM_END
547547
548548ROM_START(ht108064)
549   ROM_REGION(0x10000, "main",0)
549   ROM_REGION(0x10000, "maincpu",0)
550550   ROM_LOAD("ht1080z.64", 0x0000, 0x3000, CRC(48985a30) SHA1(e84cf3121f9e0bb9e1b01b095f7a9581dcfaaae4))
551551   ROM_LOAD("ht1080z.ext", 0x3000, 0x0800, CRC(fc12bd28) SHA1(0da93a311f99ec7a1e77486afe800a937778e73b))
552552   ROM_REGION(0x00800, "gfx1",0)
src/mess/drivers/odyssey2.c
r4347r4348
174174
175175static MACHINE_DRIVER_START( odyssey2 )
176176   /* basic machine hardware */
177   MDRV_CPU_ADD("main", I8048, ( ( XTAL_7_15909MHz * 3 ) / 4 ) )
177   MDRV_CPU_ADD("maincpu", I8048, ( ( XTAL_7_15909MHz * 3 ) / 4 ) )
178178   MDRV_CPU_PROGRAM_MAP(odyssey2_mem, 0)
179179   MDRV_CPU_IO_MAP(odyssey2_io, 0)
180180   MDRV_QUANTUM_TIME(HZ(60))
r4347r4348
208208
209209static MACHINE_DRIVER_START( videopac )
210210   /* basic machine hardware */
211   MDRV_CPU_ADD("main", I8048, ( XTAL_17_73447MHz / 3 ) )
211   MDRV_CPU_ADD("maincpu", I8048, ( XTAL_17_73447MHz / 3 ) )
212212   MDRV_CPU_PROGRAM_MAP(odyssey2_mem, 0)
213213   MDRV_CPU_IO_MAP(odyssey2_io, 0)
214214   MDRV_QUANTUM_TIME(HZ(60))
r4347r4348
241241
242242static MACHINE_DRIVER_START( g7400 )
243243   /* basic machine hardware */
244   MDRV_CPU_ADD("main", I8048, 5911000 )
244   MDRV_CPU_ADD("maincpu", I8048, 5911000 )
245245   MDRV_CPU_PROGRAM_MAP(odyssey2_mem, 0)
246246   MDRV_CPU_IO_MAP(g7400_io, 0)
247247   MDRV_QUANTUM_TIME(HZ(60))
r4347r4348
269269MACHINE_DRIVER_END
270270
271271ROM_START (odyssey2)
272    ROM_REGION(0x10000,"main",0)    /* safer for the memory handler/bankswitching??? */
272    ROM_REGION(0x10000,"maincpu",0)    /* safer for the memory handler/bankswitching??? */
273273    ROM_LOAD ("o2bios.rom", 0x0000, 0x0400, CRC(8016a315) SHA1(b2e1955d957a475de2411770452eff4ea19f4cee))
274274    ROM_REGION(0x100, "gfx1", ROMREGION_ERASEFF)
275275
r4347r4348
295295ROM_END
296296
297297ROM_START (videopac)
298   ROM_REGION(0x10000,"main",0)    /* safer for the memory handler/bankswitching??? */
298   ROM_REGION(0x10000,"maincpu",0)    /* safer for the memory handler/bankswitching??? */
299299   ROM_SYSTEM_BIOS( 0, "g7000", "g7000" )
300300   ROMX_LOAD ("o2bios.rom", 0x0000, 0x0400, CRC(8016a315) SHA1(b2e1955d957a475de2411770452eff4ea19f4cee), ROM_BIOS(1))
301301   ROM_SYSTEM_BIOS( 1, "c52", "c52" )
r4347r4348
315315ROM_END
316316
317317ROM_START (g7400)
318   ROM_REGION(0x10000,"main",0)    /* safer for the memory handler/bankswitching??? */
318   ROM_REGION(0x10000,"maincpu",0)    /* safer for the memory handler/bankswitching??? */
319319   ROM_LOAD ("g7400.bin", 0x0000, 0x0400, CRC(e20a9f41) SHA1(5130243429b40b01a14e1304d0394b8459a6fbae))
320320   ROM_REGION(0x100, "gfx1", ROMREGION_ERASEFF)
321321
src/mess/drivers/apple2.c
r4347r4348
561561
562562static MACHINE_DRIVER_START( apple2_common )
563563   /* basic machine hardware */
564   MDRV_CPU_ADD("main", M6502, 1021800)      /* close to actual CPU frequency of 1.020484 MHz */
564   MDRV_CPU_ADD("maincpu", M6502, 1021800)      /* close to actual CPU frequency of 1.020484 MHz */
565565   MDRV_CPU_PROGRAM_MAP(apple2_map, 0)
566566   MDRV_CPU_VBLANK_INT_HACK(apple2_interrupt, 192/8)
567567   MDRV_QUANTUM_TIME(HZ(60))
r4347r4348
615615   ROM_REGION(0x0800,"gfx1",0)
616616   ROM_LOAD ( "a2.chr", 0x0000, 0x0800, CRC(64f415c6) SHA1(f9d312f128c9557d9d6ac03bfad6c3ddf83e5659))
617617
618   ROM_REGION(0x8700,"main",0)
618   ROM_REGION(0x8700,"maincpu",0)
619619   ROM_LOAD ( "las3000.rom", 0x0000, 0x8000, CRC(9C7AEB09) SHA1(3302ADF41E258CF50210C19736948C8FA65E91DE))
620620   ROM_LOAD ( "l3kdisk.rom", 0x0500, 0x0100, CRC(2D4B1584) SHA1(989780B77E100598124DF7B72663E5A31A3339C0))
621621ROM_END
r4347r4348
627627
628628static MACHINE_DRIVER_START( apple2ee )
629629   MDRV_IMPORT_FROM( apple2e )
630   MDRV_CPU_REPLACE("main", M65C02, 1021800)      /* close to actual CPU frequency of 1.020484 MHz */
630   MDRV_CPU_REPLACE("maincpu", M65C02, 1021800)      /* close to actual CPU frequency of 1.020484 MHz */
631631MACHINE_DRIVER_END
632632
633633static MACHINE_DRIVER_START( apple2c )
r4347r4348
653653   ROM_REGION(0x0800,"gfx1",0)
654654   ROM_LOAD ( "a2.chr", 0x0000, 0x0800, CRC(64f415c6) SHA1(f9d312f128c9557d9d6ac03bfad6c3ddf83e5659))
655655
656   ROM_REGION(0x4700,"main",0)
656   ROM_REGION(0x4700,"maincpu",0)
657657   ROM_LOAD_OPTIONAL ( "341-0016.rom", 0x1000, 0x0800, CRC(4234e88a) SHA1(c9a81d704dc2f0c3416c20f9c4ab71fedda937ed))
658658
659659/* The area $D800-$DFFF in Apple II is reserved for 3rd party add-ons:
r4347r4348
670670   ROM_REGION(0x0800,"gfx1",0)
671671   ROM_LOAD ( "341-0036.chr", 0x0000, 0x0800, CRC(64f415c6) SHA1(f9d312f128c9557d9d6ac03bfad6c3ddf83e5659))
672672
673   ROM_REGION(0x4700,"main",0)
673   ROM_REGION(0x4700,"maincpu",0)
674674   ROM_LOAD ( "341-0011.d0", 0x1000, 0x0800, CRC(6f05f949) SHA1(0287ebcef2c1ce11dc71be15a99d2d7e0e128b1e))
675675   ROM_LOAD ( "341-0012.d8", 0x1800, 0x0800, CRC(1f08087c) SHA1(a75ce5aab6401355bf1ab01b04e4946a424879b5))
676676   ROM_LOAD ( "341-0013.e0", 0x2000, 0x0800, CRC(2b8d9a89) SHA1(8d82a1da63224859bd619005fab62c4714b25dd7))
r4347r4348
684684   ROM_REGION(0x0800,"gfx1",0)
685685   ROM_LOAD ( "a2jp.chr", 0x0000, 0x0800, CRC(487104b5) SHA1(0a382be58db5215c4a3de53b19a72fab660d5da2)) // not confirmed as the actual rom on motherboard
686686
687   ROM_REGION(0x4700,"main",0)
687   ROM_REGION(0x4700,"maincpu",0)
688688   ROM_LOAD ( "a2p.d0", 0x1000, 0x0800, CRC(6f05f949) SHA1(0287ebcef2c1ce11dc71be15a99d2d7e0e128b1e)) // not confirmed as the actual rom on motherboard
689689   ROM_LOAD ( "a2p.d8", 0x1800, 0x0800, CRC(1f08087c) SHA1(a75ce5aab6401355bf1ab01b04e4946a424879b5)) // not confirmed as the actual rom on motherboard
690690   ROM_LOAD ( "a2p.e0", 0x2000, 0x0800, CRC(2b8d9a89) SHA1(8d82a1da63224859bd619005fab62c4714b25dd7)) // not confirmed as the actual rom on motherboard
r4347r4348
698698   ROM_REGION(0x0800,"gfx1",0)
699699   ROM_LOAD ( "ace100.chr", 0x0000, 0x0800, BAD_DUMP CRC(64f415c6) SHA1(f9d312f128c9557d9d6ac03bfad6c3ddf83e5659)) // copy of a2.chr - real Ace chr is undumped
700700
701   ROM_REGION(0x4700,"main",0)
701   ROM_REGION(0x4700,"maincpu",0)
702702   ROM_LOAD ( "ace100.rom", 0x1000, 0x3000, CRC(9d5ec94f) SHA1(8f2b3f2561788bebc7a805f620ec9e7ade973460))
703703   ROM_LOAD ( "3410027a.rom", 0x4500, 0x0100, CRC(ce7144f6) SHA1(d4181c9f046aafc3fb326b381baac809d9e38d16)) /* Disk II ROM - DOS 3.3 version */
704704ROM_END
r4347r4348
708708   ROM_LOAD ( "3420133a.chr", 0x0000, 0x1000,CRC(b081df66) SHA1(7060de104046736529c1e8a687a0dd7b84f8c51b))
709709   ROM_LOAD ( "3420133a.chr", 0x1000, 0x1000,CRC(b081df66) SHA1(7060de104046736529c1e8a687a0dd7b84f8c51b))
710710
711   ROM_REGION(0x4700,"main",0)
711   ROM_REGION(0x4700,"maincpu",0)
712712   ROM_LOAD ( "3420135b.64", 0x0000, 0x2000, CRC(e248835e) SHA1(523838c19c79f481fa02df56856da1ec3816d16e))
713713   ROM_LOAD ( "3420134a.64", 0x2000, 0x2000, CRC(fc3d59d8) SHA1(8895a4b703f2184b673078f411f4089889b61c54))
714714   ROM_LOAD ( "3410027a.rom", 0x4500, 0x0100, CRC(ce7144f6) SHA1(d4181c9f046aafc3fb326b381baac809d9e38d16)) /* Disk II ROM - DOS 3.3 version */
r4347r4348
719719   ROM_LOAD ( "3420265a.chr", 0x0000, 0x1000,CRC(2651014d) SHA1(b2b5d87f52693817fc747df087a4aa1ddcdb1f10))
720720   ROM_LOAD ( "3420265a.chr", 0x1000, 0x1000,CRC(2651014d) SHA1(b2b5d87f52693817fc747df087a4aa1ddcdb1f10))
721721
722   ROM_REGION(0x4700,"main",0)
722   ROM_REGION(0x4700,"maincpu",0)
723723   ROM_LOAD ( "3420304a.64", 0x0000, 0x2000, CRC(443aa7c4) SHA1(3aecc56a26134df51e65e17f33ae80c1f1ac93e6))
724724   ROM_LOAD ( "3420303a.64", 0x2000, 0x2000, CRC(95e10034) SHA1(afb09bb96038232dc757d40c0605623cae38088e))
725725   ROM_LOAD ( "3410027a.rom", 0x4500, 0x0100, CRC(ce7144f6) SHA1(d4181c9f046aafc3fb326b381baac809d9e38d16)) /* Disk II ROM - DOS 3.3 version */
r4347r4348
730730   ROM_LOAD ( "3420265a.chr", 0x0000, 0x1000,CRC(2651014d) SHA1(b2b5d87f52693817fc747df087a4aa1ddcdb1f10))
731731   ROM_LOAD ( "3420265a.chr", 0x1000, 0x1000,CRC(2651014d) SHA1(b2b5d87f52693817fc747df087a4aa1ddcdb1f10))
732732
733   ROM_REGION(0x4700,"main",0)
733   ROM_REGION(0x4700,"maincpu",0)
734734   ROM_LOAD ("320349b.128", 0x0000, 0x4000, CRC(1d70b193) SHA1(b8ea90abe135a0031065e01697c4a3a20d51198b))
735735   ROM_LOAD ("3410027a.rom", 0x4500, 0x0100, CRC(ce7144f6) SHA1(d4181c9f046aafc3fb326b381baac809d9e38d16)) /* Disk II ROM - DOS 3.3 version */
736736ROM_END
r4347r4348
740740   ROM_LOAD ( "3410265a.chr", 0x0000, 0x1000,CRC(2651014d) SHA1(b2b5d87f52693817fc747df087a4aa1ddcdb1f10))
741741   ROM_LOAD ( "3410265a.chr", 0x1000, 0x1000,CRC(2651014d) SHA1(b2b5d87f52693817fc747df087a4aa1ddcdb1f10))
742742
743   ROM_REGION(0x4000,"main",0)
743   ROM_REGION(0x4000,"maincpu",0)
744744   ROM_LOAD ( "a2c.128", 0x0000, 0x4000, CRC(f0edaa1b) SHA1(1a9b8aca5e32bb702ddb7791daddd60a89655729))
745745ROM_END
746746
r4347r4348
749749   ROM_LOAD ( "3410265a.chr", 0x0000, 0x1000,CRC(2651014d) SHA1(b2b5d87f52693817fc747df087a4aa1ddcdb1f10))
750750   ROM_LOAD ( "3410265a.chr", 0x1000, 0x1000,CRC(2651014d) SHA1(b2b5d87f52693817fc747df087a4aa1ddcdb1f10))
751751
752   ROM_REGION(0x8700,"main",0)
752   ROM_REGION(0x8700,"maincpu",0)
753753   ROM_LOAD("3420033a.256", 0x0000, 0x8000, CRC(c8b979b3) SHA1(10767e96cc17bad0970afda3a4146564e6272ba1))
754754ROM_END
755755
r4347r4348
758758   ROM_LOAD ( "3410265a.chr", 0x0000, 0x1000,CRC(2651014d) SHA1(b2b5d87f52693817fc747df087a4aa1ddcdb1f10))
759759   ROM_LOAD ( "3410265a.chr", 0x1000, 0x1000,CRC(2651014d) SHA1(b2b5d87f52693817fc747df087a4aa1ddcdb1f10))
760760
761   ROM_REGION(0x8700,"main",0)
761   ROM_REGION(0x8700,"maincpu",0)
762762   ROM_LOAD("3420445a.256", 0x0000, 0x8000, CRC(bc5a79ff) SHA1(5338d9baa7ae202457b6500fde5883dbdc86e5d3))
763763ROM_END
764764
r4347r4348
767767   ROM_LOAD ( "3410265a.chr", 0x0000, 0x1000,CRC(2651014d) SHA1(b2b5d87f52693817fc747df087a4aa1ddcdb1f10))
768768   ROM_LOAD ( "3410265a.chr", 0x1000, 0x1000,CRC(2651014d) SHA1(b2b5d87f52693817fc747df087a4aa1ddcdb1f10))
769769
770   ROM_REGION(0x8700,"main",0)
770   ROM_REGION(0x8700,"maincpu",0)
771771   ROM_LOAD("3410445b.256", 0x0000, 0x8000, CRC(06f53328) SHA1(015061597c4cda7755aeb88b735994ffd2f235ca))
772772ROM_END
773773
r4347r4348
776776   ROM_LOAD ( "3410265a.chr", 0x0000, 0x1000,CRC(2651014d) SHA1(b2b5d87f52693817fc747df087a4aa1ddcdb1f10)) // need to dump real laser rom
777777   ROM_LOAD ( "3410265a.chr", 0x1000, 0x1000,CRC(2651014d) SHA1(b2b5d87f52693817fc747df087a4aa1ddcdb1f10)) // need to dump real laser rom
778778
779   ROM_REGION(0x8700,"main",0)
779   ROM_REGION(0x8700,"maincpu",0)
780780   ROM_LOAD("laser128.256", 0x0000, 0x8000, CRC(39E59ED3) SHA1(CBD2F45C923725BFD57F8548E65CC80B13BC18DA))
781781ROM_END
782782
r4347r4348
785785   ROM_LOAD ( "3410265a.chr", 0x0000, 0x1000,CRC(2651014d) SHA1(b2b5d87f52693817fc747df087a4aa1ddcdb1f10)) // need to dump real laser rom
786786   ROM_LOAD ( "3410265a.chr", 0x1000, 0x1000,CRC(2651014d) SHA1(b2b5d87f52693817fc747df087a4aa1ddcdb1f10)) // need to dump real laser rom
787787
788   ROM_REGION(0x8700,"main",0)
788   ROM_REGION(0x8700,"maincpu",0)
789789   ROM_LOAD("las128ex.256", 0x0000, 0x8000, CRC(B67C8BA1) SHA1(8BD5F82A501B1CF9D988C7207DA81E514CA254B0))
790790ROM_END
791791
r4347r4348
795795   ROM_LOAD ( "3410265a.chr", 0x0000, 0x1000,CRC(2651014d) SHA1(b2b5d87f52693817fc747df087a4aa1ddcdb1f10))
796796   ROM_LOAD ( "3410265a.chr", 0x1000, 0x1000,CRC(2651014d) SHA1(b2b5d87f52693817fc747df087a4aa1ddcdb1f10))
797797
798   ROM_REGION(0x8700,"main",0)
798   ROM_REGION(0x8700,"maincpu",0)
799799   ROM_LOAD("3410625a.256", 0x0000, 0x8000, CRC(0b996420) SHA1(1a27ae26966bbafd825d08ad1a24742d3e33557c))
800800ROM_END
801801
r4347r4348
803803   ROM_REGION(0x2000,"gfx1",0)
804804   ROM_LOAD ( "ultra.chr", 0x0000, 0x1000,CRC(fed62c85) SHA1(479fb3f38a3f7332cef2e8c4856871afe8dc6017))
805805   ROM_LOAD ( "ultra.chr", 0x1000, 0x1000,CRC(fed62c85) SHA1(479fb3f38a3f7332cef2e8c4856871afe8dc6017))
806   ROM_REGION(0x4700,"main",0)
806   ROM_REGION(0x4700,"maincpu",0)
807807   ROM_LOAD ( "ultra1.002", 0x1000, 0x1000, CRC(392170ff) SHA1(f065104ab5a476321d56d802f1a174afabff9dbd))
808808   ROM_LOAD ( "ultra1.001", 0x2000, 0x1000, CRC(671b8c2e) SHA1(c1e4b1477620c9292f2c2b25df55965eef445dee))
809809   ROM_LOAD ( "ultra2.bin", 0x3000, 0x1000, CRC(1ac1e17e) SHA1(a5b8adec37da91970c303905b5e2c4d1b715ee4e))
src/mess/drivers/primo.c
r4347r4348
243243
244244static MACHINE_DRIVER_START( primoa32 )
245245   /* basic machine hardware */
246   MDRV_CPU_ADD( "main", Z80, 2500000 )
246   MDRV_CPU_ADD( "maincpu", Z80, 2500000 )
247247   MDRV_CPU_PROGRAM_MAP( primo32_mem, 0 )
248248   MDRV_CPU_IO_MAP( primoa_port, 0 )
249249   MDRV_CPU_VBLANK_INT("screen", primo_vblank_interrupt)
r4347r4348
286286
287287static MACHINE_DRIVER_START( primoa48 )
288288   MDRV_IMPORT_FROM( primoa32 )
289   MDRV_CPU_MODIFY( "main" )
289   MDRV_CPU_MODIFY( "maincpu" )
290290   MDRV_CPU_PROGRAM_MAP( primo48_mem, 0 )
291291MACHINE_DRIVER_END
292292
293293static MACHINE_DRIVER_START( primoa64 )
294294   MDRV_IMPORT_FROM( primoa32 )
295   MDRV_CPU_MODIFY( "main" )
295   MDRV_CPU_MODIFY( "maincpu" )
296296   MDRV_CPU_PROGRAM_MAP( primo64_mem, 0 )
297297MACHINE_DRIVER_END
298298
299299static MACHINE_DRIVER_START( primob32 )
300300   MDRV_IMPORT_FROM( primoa32 )
301   MDRV_CPU_MODIFY( "main" )
301   MDRV_CPU_MODIFY( "maincpu" )
302302   MDRV_CPU_IO_MAP( primob_port, 0 )
303303
304304   MDRV_MACHINE_RESET( primob )
r4347r4348
306306
307307static MACHINE_DRIVER_START( primob48 )
308308   MDRV_IMPORT_FROM( primoa48 )
309   MDRV_CPU_MODIFY( "main" )
309   MDRV_CPU_MODIFY( "maincpu" )
310310   MDRV_CPU_IO_MAP( primob_port, 0 )
311311
312312   MDRV_MACHINE_RESET( primob )
r4347r4348
314314
315315static MACHINE_DRIVER_START( primob64 )
316316   MDRV_IMPORT_FROM( primoa64 )
317   MDRV_CPU_MODIFY( "main" )
317   MDRV_CPU_MODIFY( "maincpu" )
318318   MDRV_CPU_IO_MAP( primob_port, 0 )
319319
320320   MDRV_MACHINE_RESET( primob )
r4347r4348
322322
323323static MACHINE_DRIVER_START( primoc64 )
324324   MDRV_IMPORT_FROM( primoa64 )
325   MDRV_CPU_MODIFY( "main" )
325   MDRV_CPU_MODIFY( "maincpu" )
326326   MDRV_CPU_IO_MAP( primob_port, 0 )
327327
328328   MDRV_MACHINE_RESET( primob )
329329MACHINE_DRIVER_END
330330
331331ROM_START( primoa32 )
332   ROM_REGION( 0x1c000, "main", 0 )
332   ROM_REGION( 0x1c000, "maincpu", 0 )
333333   ROM_SYSTEM_BIOS(0, "ver1", "ver 1")
334334   ROMX_LOAD( "a32_1.rom", 0x10000, 0x1000, CRC(4e91c1a4) SHA1(bf6e41b6b36a2556a50065e9acfd8cd57968f039), ROM_BIOS(1) )
335335   ROMX_LOAD( "a32_2.rom", 0x11000, 0x1000, CRC(81a8a0fb) SHA1(df75bd7774969cabb062e50da6004f2efbde489e), ROM_BIOS(1) )
r4347r4348
342342ROM_END
343343
344344ROM_START( primoa48 )
345   ROM_REGION( 0x1c000, "main", 0 )
345   ROM_REGION( 0x1c000, "maincpu", 0 )
346346   ROM_SYSTEM_BIOS(0, "ver1", "ver 1")
347347   ROMX_LOAD( "a48_1.rom", 0x10000, 0x1000, CRC(7de6ad6f) SHA1(f2fd6fac4f9bc57c646efe40281758bb7c3f56e1), ROM_BIOS(1) )
348348   ROMX_LOAD( "a48_2.rom", 0x11000, 0x1000, CRC(81a8a0fb) SHA1(df75bd7774969cabb062e50da6004f2efbde489e), ROM_BIOS(1) )
r4347r4348
355355ROM_END
356356
357357ROM_START( primoa64 )
358   ROM_REGION( 0x1c000, "main", 0 )
358   ROM_REGION( 0x1c000, "maincpu", 0 )
359359   ROM_SYSTEM_BIOS(0, "ver1", "ver 1")
360360   ROMX_LOAD( "a64_1.rom", 0x10000, 0x1000, CRC(6a7a9b9b) SHA1(e9ce16f90d9a799a26a9cef09d9ee6a6d7749484), ROM_BIOS(1) )
361361   ROMX_LOAD( "a64_2.rom", 0x11000, 0x1000, CRC(81a8a0fb) SHA1(df75bd7774969cabb062e50da6004f2efbde489e), ROM_BIOS(1) )
r4347r4348
368368ROM_END
369369
370370ROM_START( primob32 )
371   ROM_REGION( 0x1c000, "main", 0 )
371   ROM_REGION( 0x1c000, "maincpu", 0 )
372372   ROM_SYSTEM_BIOS(0, "ver1", "ver 1")
373373   ROMX_LOAD( "b32.rom",   0x10000, 0x4000, CRC(f594d2bb) SHA1(b74961dba008a1a6f15a22ddbd1b89acd7e286c2), ROM_BIOS(1) )   
374374   ROM_SYSTEM_BIOS(1, "ver2", "ver 2")
r4347r4348
378378ROM_END
379379
380380ROM_START( primob48 )
381   ROM_REGION( 0x1c000, "main", 0 )
381   ROM_REGION( 0x1c000, "maincpu", 0 )
382382   ROM_SYSTEM_BIOS(0, "ver1", "ver 1")
383383   ROMX_LOAD( "b48.rom",   0x10000, 0x4000, CRC(df3d2a57) SHA1(ab9413aa9d7749d30a486da00bc8c6d178a2172c), ROM_BIOS(1) )   
384384   ROM_SYSTEM_BIOS(1, "ver2", "ver 2")
r4347r4348
388388ROM_END
389389
390390ROM_START( primob64 )
391   ROM_REGION( 0x1c000, "main", 0 )
391   ROM_REGION( 0x1c000, "maincpu", 0 )
392392   ROM_SYSTEM_BIOS(0, "ver1", "ver 1")
393393   ROMX_LOAD( "b64.rom",   0x10000, 0x4000, CRC(73305e4d) SHA1(c090c3430cdf19eed8363377b981e1c21a4ed169), ROM_BIOS(1) )
394394   ROM_SYSTEM_BIOS(1, "ver2", "ver 2")
r4347r4348
400400ROM_END
401401
402402ROM_START( primoc64 )
403   ROM_REGION( 0x1c000, "main", 0 )
403   ROM_REGION( 0x1c000, "maincpu", 0 )
404404   ROM_SYSTEM_BIOS(0, "ver1", "ver 1")
405405   ROMX_LOAD( "c64_1.rom", 0x10000, 0x1000, CRC(c22290ea) SHA1(af5c73f6d0f7a987c4f082a5cb69e3f016127d57), ROM_BIOS(1) )
406406   ROMX_LOAD( "c64_2.rom", 0x11000, 0x1000, CRC(0756b56e) SHA1(589dbdb7c43ca7ca29ed1e56e080adf8c069e407), ROM_BIOS(1) )
src/mess/drivers/ti85.c
r4347r4348
330330/* machine definition */
331331static MACHINE_DRIVER_START( ti81 )
332332   /* basic machine hardware */
333   MDRV_CPU_ADD("main", Z80, 2000000)        /* 2 MHz */
333   MDRV_CPU_ADD("maincpu", Z80, 2000000)        /* 2 MHz */
334334   MDRV_CPU_PROGRAM_MAP(ti81_mem, 0)
335335   MDRV_CPU_IO_MAP(ti81_io, 0)
336336   MDRV_SCREEN_ADD("screen", LCD)
r4347r4348
356356
357357static MACHINE_DRIVER_START( ti85 )
358358   MDRV_IMPORT_FROM( ti81 )
359   MDRV_CPU_REPLACE("main", Z80, 6000000)      /* 6 MHz */
359   MDRV_CPU_REPLACE("maincpu", Z80, 6000000)      /* 6 MHz */
360360   MDRV_CPU_PROGRAM_MAP(ti85_mem, 0)
361361   MDRV_CPU_IO_MAP(ti85_io, 0)
362362
r4347r4348
383383
384384static MACHINE_DRIVER_START( ti86 )
385385   MDRV_IMPORT_FROM( ti85 )
386   MDRV_CPU_MODIFY("main")
386   MDRV_CPU_MODIFY("maincpu")
387387   MDRV_CPU_PROGRAM_MAP(ti86_mem, 0)
388388   MDRV_CPU_IO_MAP(ti86_io, 0)
389389
r4347r4348
400400
401401
402402ROM_START (ti81)
403   ROM_REGION (0x18000, "main",0)
403   ROM_REGION (0x18000, "maincpu",0)
404404   ROM_DEFAULT_BIOS("v18")
405405   ROM_SYSTEM_BIOS( 0, "v18", "V 1.8K" )
406406   ROMX_LOAD( "ti81v18k.bin", 0x10000, 0x8000, CRC(94ac58e2) SHA1(ba915cfe2fe50a452ef8287db8f2244e29056d54), ROM_BIOS(1) )
r4347r4348
408408ROM_END
409409
410410ROM_START (ti85)
411   ROM_REGION (0x30000, "main",0)
411   ROM_REGION (0x30000, "maincpu",0)
412412   ROM_DEFAULT_BIOS("v100")
413413   ROM_SYSTEM_BIOS( 0, "v30a", "V 3.0A" )
414414   ROMX_LOAD( "ti85v30a.bin", 0x10000, 0x20000, CRC(de4c0b1a) SHA1(f4cf4b8309372dbe26187bb279545f5d4bd48fc1), ROM_BIOS(1) )
r4347r4348
428428ROM_END
429429
430430ROM_START (ti82)
431   ROM_REGION (0x30000, "main",0)
431   ROM_REGION (0x30000, "maincpu",0)
432432   ROM_DEFAULT_BIOS("v19")
433433   ROM_SYSTEM_BIOS( 0, "v16", "V 16.0" )
434434   ROMX_LOAD( "ti82v16.bin", 0x10000, 0x20000, CRC(e2f5721c) SHA1(df300ae52e105faf2785a8ae9f42e84e4308d460), ROM_BIOS(1) )
r4347r4348
442442ROM_END
443443
444444ROM_START (ti83)
445   ROM_REGION (0x50000, "main",0)
445   ROM_REGION (0x50000, "maincpu",0)
446446   ROM_DEFAULT_BIOS("v110")
447447   ROM_SYSTEM_BIOS( 0, "v102", "V 1.02" )
448448   ROMX_LOAD( "ti83v102.bin", 0x10000, 0x40000, CRC(7ee5d27b) SHA1(ce08f6a808701fc6672230a790167ee485157561), ROM_BIOS(1) )
r4347r4348
462462ROM_END
463463
464464ROM_START (ti86)
465   ROM_REGION (0x50000, "main",0)
465   ROM_REGION (0x50000, "maincpu",0)
466466   ROM_DEFAULT_BIOS("v16")
467467   ROM_SYSTEM_BIOS( 0, "v12", "V 1.2" )
468468   ROMX_LOAD( "ti86v12.bin", 0x10000, 0x40000, CRC(bdf16105) SHA1(e40b22421c31bf0af104518b748ae79cd21d9c57), ROM_BIOS(1) )
r4347r4348
478478ROM_END
479479
480480ROM_START (ti83p)
481   ROM_REGION (0x90000, "main",0)
481   ROM_REGION (0x90000, "maincpu",0)
482482   ROM_DEFAULT_BIOS("v112")
483483   ROM_SYSTEM_BIOS( 0, "v103", "V 1.03" )
484484   ROMX_LOAD( "ti83pv103.bin", 0x10000, 0x80000, CRC(da466be0) SHA1(37eaeeb9fb5c18fb494e322b75070e80cc4d858e), ROM_BIOS(1) )
src/mess/drivers/svision.c
r4347r4348
482482
483483static MACHINE_DRIVER_START( svision )
484484   /* basic machine hardware */
485   MDRV_CPU_ADD("main", M65C02, 4000000)        /* ? stz used! speed? */
485   MDRV_CPU_ADD("maincpu", M65C02, 4000000)        /* ? stz used! speed? */
486486   MDRV_CPU_PROGRAM_MAP(svision_mem, 0)
487487   MDRV_CPU_VBLANK_INT("screen", svision_frame_int)
488488
r4347r4348
514514
515515static MACHINE_DRIVER_START( svisionp )
516516   MDRV_IMPORT_FROM( svision )
517   MDRV_CPU_REPLACE( "main", M65C02, 4430000)
517   MDRV_CPU_REPLACE( "maincpu", M65C02, 4430000)
518518   MDRV_SCREEN_MODIFY("screen")
519519   MDRV_SCREEN_REFRESH_RATE(50)
520520   MDRV_PALETTE_INIT( svisionp )
r4347r4348
522522
523523static MACHINE_DRIVER_START( svisionn )
524524   MDRV_IMPORT_FROM( svision )
525   MDRV_CPU_REPLACE( "main", M65C02, 3560000/*?*/)
525   MDRV_CPU_REPLACE( "maincpu", M65C02, 3560000/*?*/)
526526   MDRV_SCREEN_MODIFY("screen")
527527   MDRV_SCREEN_REFRESH_RATE(60)
528528   MDRV_PALETTE_INIT( svisionn )
r4347r4348
530530
531531static MACHINE_DRIVER_START( tvlinkp )
532532   MDRV_IMPORT_FROM( svisionp )
533    MDRV_CPU_MODIFY("main")
533    MDRV_CPU_MODIFY("maincpu")
534534   MDRV_CPU_PROGRAM_MAP(tvlink_mem, 0)
535535
536536   MDRV_MACHINE_RESET( tvlink )
src/mess/drivers/c64.c
r4347r4348
477477
478478static MACHINE_DRIVER_START( c64 )
479479   /* basic machine hardware */
480   MDRV_CPU_ADD("main", M6510, VIC6567_CLOCK)
480   MDRV_CPU_ADD("maincpu", M6510, VIC6567_CLOCK)
481481   MDRV_CPU_PROGRAM_MAP(c64_mem, 0)
482482   MDRV_CPU_VBLANK_INT("screen", c64_frame_interrupt)
483483   MDRV_CPU_PERIODIC_INT(vic2_raster_irq, VIC6567_HRETRACERATE)
r4347r4348
517517MACHINE_DRIVER_END
518518
519519static MACHINE_DRIVER_START( c64pal )
520   MDRV_CPU_ADD( "main", M6510, VIC6569_CLOCK)
520   MDRV_CPU_ADD( "maincpu", M6510, VIC6569_CLOCK)
521521   MDRV_CPU_PROGRAM_MAP(c64_mem, 0)
522522   MDRV_CPU_VBLANK_INT("screen", c64_frame_interrupt)
523523   MDRV_CPU_PERIODIC_INT(vic2_raster_irq, VIC6569_HRETRACERATE)
r4347r4348
554554
555555static MACHINE_DRIVER_START( ultimax )
556556   MDRV_IMPORT_FROM( c64 )
557   MDRV_CPU_REPLACE( "main", M6510, VIC6567_CLOCK)
557   MDRV_CPU_REPLACE( "maincpu", M6510, VIC6567_CLOCK)
558558   MDRV_CPU_PROGRAM_MAP( ultimax_mem, 0 )
559559
560560   MDRV_SOUND_REPLACE("sid6581", SID6581, VIC6567_CLOCK)
r4347r4348
603603
604604
605605ROM_START( max )
606   ROM_REGION( 0x10000, "main", ROMREGION_ERASEFF )
606   ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
607607ROM_END
608608
609609ROM_START( c64 )
610   ROM_REGION( 0x19400, "main", 0 )
610   ROM_REGION( 0x19400, "maincpu", 0 )
611611   ROM_LOAD( "901226-01.bin", 0x10000, 0x2000, CRC(f833d117) SHA1(79015323128650c742a3694c9429aa91f355905e) )   // BASIC
612612   ROM_SYSTEM_BIOS(0, "default", "Kernal rev. 3" )
613613   ROMX_LOAD( "901227-03.bin", 0x12000, 0x2000, CRC(dbe3e7c7) SHA1(1d503e56df85a62fee696e7618dc5b4e781df1bb), ROM_BIOS(1) )   // Kernal
r4347r4348
621621#define rom_c64pal   rom_c64
622622
623623ROM_START( c64jpn )
624   ROM_REGION( 0x19400, "main", 0 )
624   ROM_REGION( 0x19400, "maincpu", 0 )
625625   ROM_LOAD( "901226-01.bin", 0x10000, 0x2000, CRC(f833d117) SHA1(79015323128650c742a3694c9429aa91f355905e) )
626626   ROM_LOAD( "906145-02.bin", 0x12000, 0x2000, CRC(3a9ef6f1) SHA1(4ff0f11e80f4b57430d8f0c3799ed0f0e0f4565d) )
627627   ROM_LOAD( "906143-02.bin", 0x14000, 0x1000, CRC(1604f6c1) SHA1(0fad19dbcdb12461c99657b2979dbb5c2e47b527) )
r4347r4348
629629
630630
631631ROM_START( vic64s )
632   ROM_REGION( 0x19400, "main", 0 )
632   ROM_REGION( 0x19400, "maincpu", 0 )
633633   ROM_LOAD( "901226-01.bin",   0x10000, 0x2000, CRC(f833d117) SHA1(79015323128650c742a3694c9429aa91f355905e) )
634634   ROM_LOAD( "kernel.swe",   0x12000, 0x2000, CRC(f10c2c25) SHA1(e4f52d9b36c030eb94524eb49f6f0774c1d02e5e) )
635635   ROM_SYSTEM_BIOS(0, "default", "Swedish Characters" )
r4347r4348
641641#define rom_c64swe   rom_vic64s
642642
643643ROM_START( pet64 )
644   ROM_REGION( 0x19400, "main", 0 )
644   ROM_REGION( 0x19400, "maincpu", 0 )
645645   ROM_LOAD( "901226-01.bin", 0x10000, 0x2000, CRC(f833d117) SHA1(79015323128650c742a3694c9429aa91f355905e) )
646646   ROM_LOAD( "901246-01.bin", 0x12000, 0x2000, CRC(789c8cc5) SHA1(6c4fa9465f6091b174df27dfe679499df447503c) )
647647   ROM_LOAD( "901225-01.bin", 0x14000, 0x1000, CRC(ec4272ee) SHA1(adc7c31e18c7c7413d54802ef2f4193da14711aa) )
r4347r4348
651651#define rom_edu64   rom_c64
652652
653653ROM_START( sx64 )
654   ROM_REGION( 0x19400, "main", 0 )
654   ROM_REGION( 0x19400, "maincpu", 0 )
655655   ROM_LOAD( "901226-01.bin", 0x10000, 0x2000, CRC(f833d117) SHA1(79015323128650c742a3694c9429aa91f355905e) )
656656   ROM_LOAD( "251104-04.bin", 0x12000, 0x2000, CRC(2c5965d4) SHA1(aa136e91ecf3c5ac64f696b3dbcbfc5ba0871c98) )
657657   ROM_LOAD( "901225-01.bin", 0x14000, 0x1000, CRC(ec4272ee) SHA1(adc7c31e18c7c7413d54802ef2f4193da14711aa) )
r4347r4348
660660ROM_END
661661
662662ROM_START( dx64 )
663   ROM_REGION( 0x19400, "main", 0 )
663   ROM_REGION( 0x19400, "maincpu", 0 )
664664    ROM_LOAD( "901226-01.bin", 0x10000, 0x2000, CRC(f833d117) SHA1(79015323128650c742a3694c9429aa91f355905e) )
665665    ROM_LOAD( "dx64kern.bin",     0x12000, 0x2000, CRC(58065128) )
666666
r4347r4348
670670ROM_END
671671
672672ROM_START( vip64 )
673   ROM_REGION( 0x19400, "main", 0 )
673   ROM_REGION( 0x19400, "maincpu", 0 )
674674   ROM_LOAD( "901226-01.bin", 0x10000, 0x2000, CRC(f833d117) SHA1(79015323128650c742a3694c9429aa91f355905e) )
675675   ROM_LOAD( "kernelsx.swe",   0x12000, 0x2000, CRC(7858d3d7) SHA1(097cda60469492a8916c2677b7cce4e12a944bc0) )
676676   ROM_LOAD( "charswe.bin", 0x14000, 0x1000, CRC(bee9b3fd) SHA1(446ae58f7110d74d434301491209299f66798d8a) )
r4347r4348
680680
681681
682682ROM_START( c64c )
683   ROM_REGION( 0x19400, "main", 0 )
683   ROM_REGION( 0x19400, "maincpu", 0 )
684684   /* standard basic, modified kernel */
685685   ROM_LOAD( "251913-01.bin", 0x10000, 0x4000, CRC(0010ec31) SHA1(765372a0e16cbb0adf23a07b80f6b682b39fbf88) )
686686   ROM_LOAD( "901225-01.bin", 0x14000, 0x1000, CRC(ec4272ee) SHA1(adc7c31e18c7c7413d54802ef2f4193da14711aa) )
r4347r4348
690690#define rom_c64g      rom_c64c
691691
692692ROM_START( c64gs )
693   ROM_REGION( 0x19400, "main", 0 )
693   ROM_REGION( 0x19400, "maincpu", 0 )
694694   /* standard basic, modified kernel */
695695   ROM_LOAD( "390852-01.bin", 0x10000, 0x4000, CRC(b0a9c2da) SHA1(21940ef5f1bfe67d7537164f7ca130a1095b067a) )
696696   ROM_LOAD( "901225-01.bin", 0x14000, 0x1000, CRC(ec4272ee) SHA1(adc7c31e18c7c7413d54802ef2f4193da14711aa) )
src/mess/drivers/genesis.c
r4347r4348
356356/* we don't use the bios rom (it's not needed and only provides security on early models) */
357357
358358ROM_START(genesis)
359   ROM_REGION(0x1415000, "main", ROMREGION_ERASEFF)
360   ROM_REGION( 0x10000, "sound", ROMREGION_ERASEFF)
359   ROM_REGION(0x1415000, "maincpu", ROMREGION_ERASEFF)
360   ROM_REGION( 0x10000, "soundcpu", ROMREGION_ERASEFF)
361361ROM_END
362362
363363ROM_START(gensvp)
364   ROM_REGION(0x1415000, "main", ROMREGION_ERASEFF)
365   ROM_REGION( 0x10000, "sound", ROMREGION_ERASEFF)
364   ROM_REGION(0x1415000, "maincpu", ROMREGION_ERASEFF)
365   ROM_REGION( 0x10000, "soundcpu", ROMREGION_ERASEFF)
366366ROM_END
367367
368368ROM_START(megadriv)
369   ROM_REGION(0x1415000, "main", ROMREGION_ERASEFF)
370   ROM_REGION( 0x10000, "sound", ROMREGION_ERASEFF)
369   ROM_REGION(0x1415000, "maincpu", ROMREGION_ERASEFF)
370   ROM_REGION( 0x10000, "soundcpu", ROMREGION_ERASEFF)
371371ROM_END
372372
373373ROM_START(megadrij)
374   ROM_REGION(0x1415000, "main", ROMREGION_ERASEFF)
375   ROM_REGION( 0x10000, "sound", ROMREGION_ERASEFF)
374   ROM_REGION(0x1415000, "maincpu", ROMREGION_ERASEFF)
375   ROM_REGION( 0x10000, "soundcpu", ROMREGION_ERASEFF)
376376ROM_END
377377
378378
r4347r4348
614614
615615static MACHINE_DRIVER_START( pico )
616616   MDRV_IMPORT_FROM(megadriv)
617   MDRV_CPU_MODIFY("main")
617   MDRV_CPU_MODIFY("maincpu")
618618   MDRV_CPU_PROGRAM_MAP(_pico_mem,0)
619619
620620   MDRV_MACHINE_RESET( ms_megadriv )
r4347r4348
625625
626626
627627ROM_START( pico )
628   ROM_REGION(0x1415000, "main", ROMREGION_ERASEFF)
629   ROM_REGION( 0x10000, "sound", ROMREGION_ERASEFF)
628   ROM_REGION(0x1415000, "maincpu", ROMREGION_ERASEFF)
629   ROM_REGION( 0x10000, "soundcpu", ROMREGION_ERASEFF)
630630ROM_END
631631
632632ROM_START( picou )
633   ROM_REGION(0x1415000, "main", ROMREGION_ERASEFF)
634   ROM_REGION( 0x10000, "sound", ROMREGION_ERASEFF)
633   ROM_REGION(0x1415000, "maincpu", ROMREGION_ERASEFF)
634   ROM_REGION( 0x10000, "soundcpu", ROMREGION_ERASEFF)
635635ROM_END
636636
637637ROM_START( picoj )
638   ROM_REGION(0x1415000, "main", ROMREGION_ERASEFF)
639   ROM_REGION( 0x10000, "sound", ROMREGION_ERASEFF)
638   ROM_REGION(0x1415000, "maincpu", ROMREGION_ERASEFF)
639   ROM_REGION( 0x10000, "soundcpu", ROMREGION_ERASEFF)
640640ROM_END
641641
642642/***************************************************************************
src/mess/drivers/svi318.c
r4347r4348
257257{
258258   AY8910_LEGACY_OUTPUT,
259259   AY8910_DEFAULT_LOADS,
260   DEVCB_MEMORY_HANDLER("main", PROGRAM, svi318_psg_port_a_r),
260   DEVCB_MEMORY_HANDLER("maincpu", PROGRAM, svi318_psg_port_a_r),
261261   DEVCB_NULL,
262262   DEVCB_NULL,
263   DEVCB_MEMORY_HANDLER("main", PROGRAM, svi318_psg_port_b_w)
263   DEVCB_MEMORY_HANDLER("maincpu", PROGRAM, svi318_psg_port_b_w)
264264};
265265
266266static const cassette_config svi318_cassette_config =
r4347r4348
281281
282282static MACHINE_DRIVER_START( svi318 )
283283   /* Basic machine hardware */
284   MDRV_CPU_ADD( "main", Z80, 3579545 )   /* 3.579545 MHz */
284   MDRV_CPU_ADD( "maincpu", Z80, 3579545 )   /* 3.579545 MHz */
285285   MDRV_CPU_PROGRAM_MAP( svi318_mem, 0 )
286286   MDRV_CPU_IO_MAP( svi318_io, 0 )
287287   MDRV_CPU_VBLANK_INT("screen", svi318_interrupt)
r4347r4348
345345
346346static MACHINE_DRIVER_START( svi328_806 )
347347   /* Basic machine hardware */
348   MDRV_CPU_ADD( "main", Z80, 3579545 )   /* 3.579545 MHz */
348   MDRV_CPU_ADD( "maincpu", Z80, 3579545 )   /* 3.579545 MHz */
349349   MDRV_CPU_PROGRAM_MAP( svi328_806_mem, 0 )
350350   MDRV_CPU_IO_MAP( svi328_806_io, 0 )
351351   MDRV_CPU_VBLANK_INT("screen", svi318_interrupt)
r4347r4348
416416***************************************************************************/
417417
418418ROM_START( svi318 )
419   ROM_REGION(0x10000, "main", 0)
419   ROM_REGION(0x10000, "maincpu", 0)
420420   ROM_SYSTEM_BIOS(0, "111", "SV BASIC v1.11")
421421   ROMX_LOAD("svi111.rom", 0x0000, 0x8000, CRC(bc433df6) SHA1(10349ce675f6d6d47f0976e39cb7188eba858d89), ROM_BIOS(1))
422422   ROM_SYSTEM_BIOS(1, "110", "SV BASIC v1.1")
r4347r4348
426426ROM_END
427427
428428ROM_START( svi318n  )
429   ROM_REGION(0x10000, "main", 0)
429   ROM_REGION(0x10000, "maincpu", 0)
430430   ROM_SYSTEM_BIOS(0, "111", "SV BASIC v1.11")
431431   ROMX_LOAD("svi111.rom", 0x0000, 0x8000, CRC(bc433df6) SHA1(10349ce675f6d6d47f0976e39cb7188eba858d89), ROM_BIOS(1))
432432   ROM_SYSTEM_BIOS(1, "110", "SV BASIC v1.1")
r4347r4348
436436ROM_END
437437
438438ROM_START( svi328 )
439   ROM_REGION(0x10000, "main", 0)
439   ROM_REGION(0x10000, "maincpu", 0)
440440   ROM_SYSTEM_BIOS(0, "111", "SV BASIC v1.11")
441441   ROMX_LOAD("svi111.rom", 0x0000, 0x8000, CRC(bc433df6) SHA1(10349ce675f6d6d47f0976e39cb7188eba858d89), ROM_BIOS(1))
442442   ROM_SYSTEM_BIOS(1, "110", "SV BASIC v1.1")
r4347r4348
446446ROM_END
447447
448448ROM_START( svi328n )
449   ROM_REGION(0x10000, "main", 0)
449   ROM_REGION(0x10000, "maincpu", 0)
450450   ROM_SYSTEM_BIOS(0, "111", "SV BASIC v1.11")
451451   ROMX_LOAD("svi111.rom", 0x0000, 0x8000, CRC(bc433df6) SHA1(10349ce675f6d6d47f0976e39cb7188eba858d89), ROM_BIOS(1))
452452   ROM_SYSTEM_BIOS(1, "110", "SV BASIC v1.1")
r4347r4348
456456ROM_END
457457
458458ROM_START( sv328p80 )
459   ROM_REGION (0x10000, "main",0)
459   ROM_REGION (0x10000, "maincpu",0)
460460   ROM_LOAD ("svi111.rom", 0x0000, 0x8000, CRC(bc433df6) SHA1(10349ce675f6d6d47f0976e39cb7188eba858d89))
461461   ROM_REGION( 0x1000, "gfx1", 0)
462462   ROM_SYSTEM_BIOS(0, "english", "English Character Set")
r4347r4348
466466ROM_END
467467
468468ROM_START( sv328n80 )
469   ROM_REGION (0x10000, "main",0)
469   ROM_REGION (0x10000, "maincpu",0)
470470   ROM_LOAD ("svi111.rom", 0x0000, 0x8000, CRC(bc433df6) SHA1(10349ce675f6d6d47f0976e39cb7188eba858d89))
471471   ROM_REGION( 0x1000, "gfx1", 0)
472472   ROM_SYSTEM_BIOS(0, "english", "English Character Set")
src/mess/drivers/ti99_4p.c
r4347r4348
247247static MACHINE_DRIVER_START(ti99_4p_60hz)
248248   /* basic machine hardware */
249249   /* TMS9900 CPU @ 3.0 MHz */
250   MDRV_CPU_ADD("main", TMS9900, 3000000)
250   MDRV_CPU_ADD("maincpu", TMS9900, 3000000)
251251   MDRV_CPU_PROGRAM_MAP(memmap, 0)
252252   MDRV_CPU_IO_MAP(readcru, writecru)
253253   MDRV_CPU_VBLANK_INT_HACK(ti99_4ev_hblank_interrupt, 263)   /* 262.5 in 60Hz, 312.5 in 50Hz */
r4347r4348
299299
300300ROM_START(ti99_4p)
301301   /*CPU memory space*/
302   ROM_REGION16_BE(region_cpu1_len_4p, "main", 0)
302   ROM_REGION16_BE(region_cpu1_len_4p, "maincpu", 0)
303303   ROM_LOAD16_BYTE("sgcpu_hb.bin", 0x0000, 0x8000, CRC(aa100730) SHA1(35e585b2dcd3f2a0005bebb15ede6c5b8c787366) ) /* system ROMs */
304304   ROM_LOAD16_BYTE("sgcpu_lb.bin", 0x0001, 0x8000, CRC(2a5dc818) SHA1(dec141fe2eea0b930859cbe1ebd715ac29fa8ecb) ) /* system ROMs */
305305
src/mess/drivers/pc.c
r4347r4348
13311331
13321332static const pc_lpt_interface pc_lpt_config =
13331333{
1334   DEVCB_CPU_INPUT_LINE("main", 0)
1334   DEVCB_CPU_INPUT_LINE("maincpu", 0)
13351335};
13361336
13371337
13381338#define MDRV_CPU_PC(mem, port, type, clock, vblankfunc)   \
1339   MDRV_CPU_ADD("main", type, clock)            \
1339   MDRV_CPU_ADD("maincpu", type, clock)            \
13401340   MDRV_CPU_PROGRAM_MAP(mem##_map, 0)         \
13411341   MDRV_CPU_IO_MAP(port##_io, 0)            \
13421342   MDRV_CPU_VBLANK_INT_HACK(vblankfunc, 4)               \
r4347r4348
13451345
13461346static MACHINE_DRIVER_START( pcmda )
13471347   /* basic machine hardware */
1348   MDRV_CPU_ADD("main", V20, 4772720)
1348   MDRV_CPU_ADD("maincpu", V20, 4772720)
13491349   MDRV_CPU_PROGRAM_MAP(pc8_map, 0)
13501350   MDRV_CPU_IO_MAP(pc8_io, 0)
13511351   MDRV_CPU_VBLANK_INT_HACK(pc_frame_interrupt, 4)
r4347r4348
14061406
14071407static MACHINE_DRIVER_START( pcherc )
14081408   /* basic machine hardware */
1409   MDRV_CPU_ADD("main", V20, 4772720)
1409   MDRV_CPU_ADD("maincpu", V20, 4772720)
14101410   MDRV_CPU_PROGRAM_MAP(pc8_map, 0)
14111411   MDRV_CPU_IO_MAP(pc8_io, 0)
14121412   MDRV_CPU_VBLANK_INT_HACK(pc_frame_interrupt, 4)
r4347r4348
14731473
14741474static MACHINE_DRIVER_START( ibm5150 )
14751475   /* basic machine hardware */
1476   MDRV_CPU_ADD("main", I8088, XTAL_14_31818MHz/3)
1476   MDRV_CPU_ADD("maincpu", I8088, XTAL_14_31818MHz/3)
14771477   MDRV_CPU_PROGRAM_MAP(pc8_map, 0)
14781478   MDRV_CPU_IO_MAP(pc8_io, 0)
14791479   MDRV_CPU_CONFIG(i86_address_mask)
r4347r4348
20402040#endif
20412041
20422042ROM_START( ibm5150 )
2043   ROM_REGION(0x100000,"main", 0)
2043   ROM_REGION(0x100000,"maincpu", 0)
20442044   ROM_LOAD("wdbios.rom",  0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a)) /* WDC IDE Superbios 2.0 (06/28/89) Expansion Rom C8000-C9FFF  */
20452045//   ROM_LOAD("600963.u12", 0xc8000, 0x02000, CRC(f3daf85f) SHA1(3bd29538832d3084cbddeec92593988772755283))   /* Tandon/Western Digital Fixed Disk Adapter 600963-001__TYPE_5.U12.2764.bin - Meant for an IBM PC or XT which lacked bios support for HDDs */
20462046
r4347r4348
20922092
20932093#ifdef UNUSED_DEFINITION
20942094ROM_START( ibmpca )
2095   ROM_REGION(0x100000,"main",0)
2095   ROM_REGION(0x100000,"maincpu",0)
20962096   ROM_LOAD("wdbios.rom",  0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a)) /* WDC IDE Superbios 2.0 (06/28/89) Expansion Rom C8000-C9FFF  */
20972097   ROM_LOAD("basicc11.f6", 0xf6000, 0x2000, CRC(80d3cf5d) SHA1(64769b7a8b60ffeefa04e4afbec778069a2840c9))
20982098   ROM_LOAD("basicc11.f8", 0xf8000, 0x2000, CRC(673a4acc) SHA1(082ae803994048e225150f771794ca305f73d731))
r4347r4348
21072107#endif
21082108
21092109ROM_START( bondwell )
2110   ROM_REGION(0x100000,"main", 0)
2110   ROM_REGION(0x100000,"maincpu", 0)
21112111   ROM_LOAD("wdbios.rom",  0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a)) /* WDC IDE Superbios 2.0 (06/28/89) Expansion Rom C8000-C9FFF  */ // taken from other machine
21122112   ROM_LOAD("bondwell.bin", 0xfe000, 0x2000, CRC(d435a405) SHA1(a57c705d1144c7b61940b6f5c05d785c272fc9bb))
21132113
r4347r4348
21222122
21232123
21242124ROM_START( pcmda )
2125   ROM_REGION(0x100000,"main", 0)
2125   ROM_REGION(0x100000,"maincpu", 0)
21262126   ROM_LOAD("wdbios.rom",  0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a)) /* WDC IDE Superbios 2.0 (06/28/89) Expansion Rom C8000-C9FFF  */
21272127   ROM_LOAD("pcxt.rom",    0xfe000, 0x02000, CRC(031aafad) SHA1(a641b505bbac97b8775f91fe9b83d9afdf4d038f))
21282128
r4347r4348
21372137
21382138
21392139ROM_START( pcherc )
2140   ROM_REGION(0x100000,"main", 0)
2140   ROM_REGION(0x100000,"maincpu", 0)
21412141   ROM_LOAD("wdbios.rom",  0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a)) /* WDC IDE Superbios 2.0 (06/28/89) Expansion Rom C8000-C9FFF  */
21422142   ROM_LOAD("pcxt.rom",    0xfe000, 0x02000, CRC(031aafad) SHA1(a641b505bbac97b8775f91fe9b83d9afdf4d038f))
21432143   ROM_REGION(0x1000,"gfx1", 0)
r4347r4348
21502150
21512151
21522152ROM_START( pc )
2153   ROM_REGION(0x100000,"main", 0)
2153   ROM_REGION(0x100000,"maincpu", 0)
21542154   ROM_LOAD("wdbios.rom",  0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a)) /* WDC IDE Superbios 2.0 (06/28/89) Expansion Rom C8000-C9FFF  */
21552155//   ROM_LOAD("xthdd.rom",  0xc8000, 0x02000, CRC(a96317da))
21562156   ROM_LOAD("pcxt.rom",    0xfe000, 0x02000, CRC(031aafad) SHA1(a641b505bbac97b8775f91fe9b83d9afdf4d038f))
r4347r4348
21662166
21672167
21682168ROM_START( europc )
2169   ROM_REGION(0x100000,"main", 0)
2169   ROM_REGION(0x100000,"maincpu", 0)
21702170   // hdd bios integrated!
21712171   ROM_LOAD("50145", 0xf8000, 0x8000, CRC(1775a11d) SHA1(54430d4d0462860860397487c9c109e6f70db8e3)) // V2.07
21722172   ROM_REGION(0x08100,"gfx1", 0)
r4347r4348
21752175
21762176
21772177ROM_START( ibmpcjr )
2178   ROM_REGION(0x100000,"main", 0)
2178   ROM_REGION(0x100000,"maincpu", 0)
21792179   ROM_LOAD("bios.rom", 0xf0000, 0x10000,CRC(31e3a7aa) SHA1(1f5f7013f18c08ff50d7942e76c4fbd782412414))
21802180
21812181   ROM_REGION(0x08100,"gfx1", 0)
r4347r4348
21842184
21852185#ifdef UNUSED_DEFINITION
21862186ROM_START( t1000 )
2187   ROM_REGION(0x100000,"main", 0)
2187   ROM_REGION(0x100000,"maincpu", 0)
21882188   ROM_LOAD("wdbios.rom",  0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a)) /* WDC IDE Superbios 2.0 (06/28/89) Expansion Rom C8000-C9FFF  */   // not sure about this one
21892189   // partlist says it has 1 128kbyte rom
21902190   ROM_LOAD("t1000hx.e0", 0xe0000, 0x10000, CRC(61dbf242) SHA1(555b58d8aa8e0b0839259621c44b832d993beaef))   // not sure about this one
r4347r4348
21982198ROM_END
21992199
22002200ROM_START( t1000a )
2201   ROM_REGION(0x100000,"main", 0)
2201   ROM_REGION(0x100000,"maincpu", 0)
22022202   ROM_LOAD("wdbios.rom",  0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a)) /* WDC IDE Superbios 2.0 (06/28/89) Expansion Rom C8000-C9FFF  */   // not sure about this one
22032203   // partlist says it has 1 128kbyte rom
22042204   ROM_LOAD("t1000hx.e0", 0xe0000, 0x10000, CRC(61dbf242) SHA1(555b58d8aa8e0b0839259621c44b832d993beaef))   // not sure about this one
r4347r4348
22092209ROM_END
22102210
22112211ROM_START( t1000ex )
2212   ROM_REGION(0x100000,"main", 0)
2212   ROM_REGION(0x100000,"maincpu", 0)
22132213   ROM_LOAD("wdbios.rom",  0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a)) /* WDC IDE Superbios 2.0 (06/28/89) Expansion Rom C8000-C9FFF  */   // not sure about this one
22142214   // partlist says it has 1 128kbyte rom
22152215   ROM_LOAD("t1000hx.e0", 0xe0000, 0x10000, CRC(61dbf242) SHA1(555b58d8aa8e0b0839259621c44b832d993beaef))   // not sure about this one
r4347r4348
22212221#endif
22222222
22232223ROM_START( t1000hx )
2224   ROM_REGION(0x100000,"main", 0)
2224   ROM_REGION(0x100000,"maincpu", 0)
22252225   ROM_LOAD("wdbios.rom",  0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a)) /* WDC IDE Superbios 2.0 (06/28/89) Expansion Rom C8000-C9FFF  */
22262226   // partlist says it has 1 128kbyte rom
22272227   ROM_LOAD("t1000hx.e0", 0xe0000, 0x10000, CRC(61dbf242) SHA1(555b58d8aa8e0b0839259621c44b832d993beaef))
r4347r4348
22332233
22342234#ifdef UNUSED_DEFINITION
22352235ROM_START( t1000sl )
2236   ROM_REGION(0x100000,"main", 0)
2236   ROM_REGION(0x100000,"maincpu", 0)
22372237   ROM_LOAD("wdbios.rom",  0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a)) /* WDC IDE Superbios 2.0 (06/28/89) Expansion Rom C8000-C9FFF  */   // not sure about this one
22382238   // partlist says it has 1 128kbyte rom
22392239   ROM_LOAD("t1000hx.e0", 0xe0000, 0x10000, CRC(61dbf242) SHA1(555b58d8aa8e0b0839259621c44b832d993beaef))   // not sure about this one
r4347r4348
22512251ROM_END
22522252
22532253ROM_START( t1000sl2 )
2254   ROM_REGION(0x100000,"main", 0)
2254   ROM_REGION(0x100000,"maincpu", 0)
22552255   ROM_LOAD("wdbios.rom",  0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a)) /* WDC IDE Superbios 2.0 (06/28/89) Expansion Rom C8000-C9FFF  */   // not sure about this one
22562256   // partlist says it has 1 128kbyte rom
22572257   ROM_LOAD("t1000hx.e0", 0xe0000, 0x10000, CRC(61dbf242) SHA1(555b58d8aa8e0b0839259621c44b832d993beaef))   // not sure about this one
r4347r4348
22632263#endif
22642264
22652265ROM_START( t1000sx )
2266   ROM_REGION(0x100000,"main", 0)
2266   ROM_REGION(0x100000,"maincpu", 0)
22672267   ROM_LOAD("wdbios.rom",  0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a)) /* WDC IDE Superbios 2.0 (06/28/89) Expansion Rom C8000-C9FFF  */   // not sure about this one
22682268   // partlist says it has 1 128kbyte rom
22692269   ROM_LOAD("t1000hx.e0", 0xe0000, 0x10000, CRC(61dbf242) SHA1(555b58d8aa8e0b0839259621c44b832d993beaef))   // not sure about this one
r4347r4348
22752275
22762276#ifdef UNUSED_DEFINITION
22772277ROM_START( t1000rl )
2278   ROM_REGION(0x100000,"main", 0)
2278   ROM_REGION(0x100000,"maincpu", 0)
22792279   ROM_LOAD("wdbios.rom",  0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a)) /* WDC IDE Superbios 2.0 (06/28/89) Expansion Rom C8000-C9FFF  */   // not sure about this one
22802280   // partlist says it has 1 128kbyte rom
22812281   ROM_LOAD("t1000hx.e0", 0xe0000, 0x10000, CRC(61dbf242) SHA1(555b58d8aa8e0b0839259621c44b832d993beaef))   // not sure about this one
r4347r4348
22902290#endif
22912291
22922292ROM_START( ibm5160 )
2293   ROM_REGION16_LE(0x100000,"main", 0)
2293   ROM_REGION16_LE(0x100000,"maincpu", 0)
22942294   ROM_LOAD("wdbios.rom",  0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a)) /* WDC IDE Superbios 2.0 (06/28/89) Expansion Rom C8000-C9FFF  */
22952295//   ROM_LOAD("600963.u12", 0xc8000, 0x02000, CRC(f3daf85f) SHA1(3bd29538832d3084cbddeec92593988772755283))  /* Tandon/Western Digital Fixed Disk Adapter 600963-001__TYPE_5.U12.2764.bin */
22962296
r4347r4348
24112411
24122412
24132413ROM_START( xtvga )
2414   ROM_REGION(0x100000,"main", 0)
2414   ROM_REGION(0x100000,"maincpu", 0)
24152415   ROM_LOAD("et4000.bin", 0xc0000, 0x8000, CRC(f01e4be0) SHA1(95d75ff41bcb765e50bd87a8da01835fd0aa01d5)) // from unknown revision/model of Tseng ET4000 Video card
24162416   ROM_LOAD("wdbios.rom",  0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a)) /* WDC IDE Superbios 2.0 (06/28/89) Expansion Rom C8000-C9FFF  */
24172417   ROM_LOAD("pcxt.rom",    0xfe000, 0x02000, CRC(031aafad) SHA1(a641b505bbac97b8775f91fe9b83d9afdf4d038f))
r4347r4348
24192419
24202420
24212421ROM_START( pc200 )
2422//    ROM_REGION(0x100000,"main", 0)
2423   ROM_REGION16_LE(0x100000,"main", 0)
2422//    ROM_REGION(0x100000,"maincpu", 0)
2423   ROM_REGION16_LE(0x100000,"maincpu", 0)
24242424   ROM_LOAD("wdbios.rom",  0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a)) /* WDC IDE Superbios 2.0 (06/28/89) Expansion Rom C8000-C9FFF  */
24252425   // special bios at 0xe0000 !?
24262426   ROM_LOAD16_BYTE("pc20v2.0", 0xfc001, 0x2000, CRC(41302eb8) SHA1(8b4b2afea543b96b45d6a30365281decc15f2932)) // v2
r4347r4348
24322432
24332433
24342434ROM_START( pc20 )
2435//    ROM_REGION(0x100000,"main", 0)
2436   ROM_REGION16_LE(0x100000,"main", 0)
2435//    ROM_REGION(0x100000,"maincpu", 0)
2436   ROM_REGION16_LE(0x100000,"maincpu", 0)
24372437   ROM_LOAD("wdbios.rom",  0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a)) /* WDC IDE Superbios 2.0 (06/28/89) Expansion Rom C8000-C9FFF  */
24382438
24392439   // special bios at 0xe0000 !?
r4347r4348
24492449
24502450
24512451ROM_START( ppc512 )
2452//    ROM_REGION(0x100000,"main", 0)
2453   ROM_REGION16_LE(0x100000,"main", 0)
2452//    ROM_REGION(0x100000,"maincpu", 0)
2453   ROM_REGION16_LE(0x100000,"maincpu", 0)
24542454   ROM_LOAD("wdbios.rom",  0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a)) /* WDC IDE Superbios 2.0 (06/28/89) Expansion Rom C8000-C9FFF  */
24552455   // special bios at 0xe0000 !?
24562456   ROM_LOAD16_BYTE("40107.v1", 0xfc001, 0x2000, CRC(4e37e769) SHA1(88be3d3375ec3b0a7041dbcea225b197e50d4bfe)) // v1.9
r4347r4348
24622462
24632463
24642464ROM_START( ppc640 )
2465//    ROM_REGION(0x100000,"main", 0)
2466   ROM_REGION16_LE(0x100000,"main", 0)
2465//    ROM_REGION(0x100000,"maincpu", 0)
2466   ROM_REGION16_LE(0x100000,"maincpu", 0)
24672467   ROM_LOAD("wdbios.rom",  0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a)) /* WDC IDE Superbios 2.0 (06/28/89) Expansion Rom C8000-C9FFF  */
24682468   // special bios at 0xe0000 !?
24692469   ROM_LOAD16_BYTE("40107.v2", 0xfc001, 0x2000, CRC(0785b63e) SHA1(4dbde6b9e9500298bb6241a8daefd85927f1ad28)) // v2.1
r4347r4348
24752475
24762476
24772477ROM_START( pc1512 )
2478//    ROM_REGION(0x100000,"main", 0)
2479   ROM_REGION16_LE(0x100000,"main", 0)
2478//    ROM_REGION(0x100000,"maincpu", 0)
2479   ROM_REGION16_LE(0x100000,"maincpu", 0)
24802480   ROM_LOAD("wdbios.rom",  0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a)) /* WDC IDE Superbios 2.0 (06/28/89) Expansion Rom C8000-C9FFF  */
24812481   ROM_LOAD16_BYTE("40044.v1", 0xfc001, 0x2000, CRC(668fcc94) SHA1(74002f5cc542df442eec9e2e7a18db3598d8c482)) // v1
24822482   ROM_LOAD16_BYTE("40043.v1", 0xfc000, 0x2000, CRC(f72f1582) SHA1(7781d4717917262805d514b331ba113b1e05a247)) // v1
r4347r4348
24862486
24872487
24882488ROM_START( pc1512v2 )
2489//    ROM_REGION(0x100000,"main", 0)
2490   ROM_REGION16_LE(0x100000,"main", 0)
2489//    ROM_REGION(0x100000,"maincpu", 0)
2490   ROM_REGION16_LE(0x100000,"maincpu", 0)
24912491   ROM_LOAD("wdbios.rom",  0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a)) /* WDC IDE Superbios 2.0 (06/28/89) Expansion Rom C8000-C9FFF  */
24922492   ROM_LOAD16_BYTE("40043.v2", 0xfc001, 0x2000, CRC(d2d4d2de) SHA1(c376fd1ad23025081ae16c7949e88eea7f56e1bb)) // v2
24932493   ROM_LOAD16_BYTE("40044.v2", 0xfc000, 0x2000, CRC(1aec54fa) SHA1(b12fd73cfc35a240ed6da4dcc4b6c9910be611e0)) // v2
r4347r4348
24972497
24982498
24992499ROM_START( pc1640 )
2500//    ROM_REGION(0x100000,"main", 0)
2501   ROM_REGION16_LE(0x100000,"main", 0)
2500//    ROM_REGION(0x100000,"maincpu", 0)
2501   ROM_REGION16_LE(0x100000,"maincpu", 0)
25022502   ROM_LOAD("40100", 0xc0000, 0x8000, CRC(d2d1f1ae) SHA1(98302006ee38a17c09bd75504cc18c0649174e33)) /* Internal Graphics Adapter ROM */
25032503   ROM_LOAD("wdbios.rom",  0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a)) /* WDC IDE Superbios 2.0 (06/28/89) Expansion Rom C8000-C9FFF  */
25042504
r4347r4348
25192519
25202520
25212521ROM_START( dgone )
2522   ROM_REGION(0x100000,"main", 0)
2522   ROM_REGION(0x100000,"maincpu", 0)
25232523   ROM_LOAD("wdbios.rom",  0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a)) /* WDC IDE Superbios 2.0 (06/28/89) Expansion Rom C8000-C9FFF  */
25242524   ROM_LOAD( "dgone.bin",  0xf8000, 0x08000, CRC(2c38c86e) SHA1(c0f85a000d1d13cd354965689e925d677822549e))
25252525
src/mess/drivers/pecom.c
r4347r4348
137137   MDRV_DRIVER_DATA(pecom_state)
138138   
139139    /* basic machine hardware */
140   MDRV_CPU_ADD("main", CDP1802, CDP1869_DOT_CLK_PAL/3)
140   MDRV_CPU_ADD("maincpu", CDP1802, CDP1869_DOT_CLK_PAL/3)
141141   MDRV_CPU_PROGRAM_MAP(pecom64_mem, 0)
142142     MDRV_CPU_IO_MAP(pecom64_io, 0)
143143     MDRV_CPU_CONFIG(pecom64_cdp1802_config)
r4347r4348
154154
155155/* ROM definition */
156156ROM_START( pecom64 )
157     ROM_REGION( 0x10000, "main", ROMREGION_ERASEFF )
157     ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
158158     ROM_SYSTEM_BIOS(0, "ver4", "version 4")
159159     ROMX_LOAD( "pecom64-1.bin", 0x8000, 0x4000, CRC(9a433b47) SHA1(dadb8c399e0a25a2693e10e42a2d7fc2ea9ad427), ROM_BIOS(1) )
160160     ROMX_LOAD( "pecom64-2.bin", 0xc000, 0x4000, CRC(2116cadc) SHA1(03f11055cd221d438a40a41874af8fba0fa116d9), ROM_BIOS(1) )
src/mess/drivers/pce.c
r4347r4348
7979   AM_RANGE( 0x1F0000, 0x1F1FFF) AM_RAM AM_MIRROR(0x6000) AM_BASE( &pce_user_ram )
8080   AM_RANGE( 0x1FE000, 0x1FE3FF) AM_READWRITE( vdc_0_r, vdc_0_w )
8181   AM_RANGE( 0x1FE400, 0x1FE7FF) AM_READWRITE( vce_r, vce_w )
82   AM_RANGE( 0x1FE800, 0x1FEBFF) AM_DEVREADWRITE( SOUND, "main", c6280_r, c6280_w )
82   AM_RANGE( 0x1FE800, 0x1FEBFF) AM_DEVREADWRITE( SOUND, "maincpu", c6280_r, c6280_w )
8383   AM_RANGE( 0x1FEC00, 0x1FEFFF) AM_READWRITE( h6280_timer_r, h6280_timer_w )
8484   AM_RANGE( 0x1FF000, 0x1FF3FF) AM_READWRITE( pce_joystick_r, pce_joystick_w )
8585   AM_RANGE( 0x1FF400, 0x1FF7FF) AM_READWRITE( h6280_irq_status_r, h6280_irq_status_w )
r4347r4348
104104   AM_RANGE( 0x1FE008, 0x1FE00F) AM_READWRITE( vpc_r, vpc_w ) AM_MIRROR(0x03E0)
105105   AM_RANGE( 0x1FE010, 0x1FE017) AM_READWRITE( vdc_1_r, vdc_1_w ) AM_MIRROR(0x03E0)
106106   AM_RANGE( 0x1FE400, 0x1FE7FF) AM_READWRITE( vce_r, vce_w )
107   AM_RANGE( 0x1FE800, 0x1FEBFF) AM_DEVREADWRITE( SOUND, "main", c6280_r, c6280_w )
107   AM_RANGE( 0x1FE800, 0x1FEBFF) AM_DEVREADWRITE( SOUND, "maincpu", c6280_r, c6280_w )
108108   AM_RANGE( 0x1FEC00, 0x1FEFFF) AM_READWRITE( h6280_timer_r, h6280_timer_w )
109109   AM_RANGE( 0x1FF000, 0x1FF3FF) AM_READWRITE( pce_joystick_r, pce_joystick_w )
110110   AM_RANGE( 0x1FF400, 0x1FF7FF) AM_READWRITE( h6280_irq_status_r, h6280_irq_status_w )
r4347r4348
162162
163163static MACHINE_DRIVER_START( pce )
164164   /* basic machine hardware */
165   MDRV_CPU_ADD("main", H6280, MAIN_CLOCK/3)
165   MDRV_CPU_ADD("maincpu", H6280, MAIN_CLOCK/3)
166166   MDRV_CPU_PROGRAM_MAP(pce_mem, 0)
167167   MDRV_CPU_IO_MAP(pce_io, 0)
168168   MDRV_CPU_VBLANK_INT_HACK(pce_interrupt, VDC_LPF)
r4347r4348
185185
186186   MDRV_NVRAM_HANDLER( pce )
187187   MDRV_SPEAKER_STANDARD_STEREO("left","right")
188   MDRV_SOUND_ADD("main", C6280, MAIN_CLOCK/6)
188   MDRV_SOUND_ADD("maincpu", C6280, MAIN_CLOCK/6)
189189   MDRV_SOUND_ROUTE(0, "left", 1.00)
190190   MDRV_SOUND_ROUTE(1, "right", 1.00)
191191
r4347r4348
205205
206206static MACHINE_DRIVER_START( sgx )
207207   /* basic machine hardware */
208   MDRV_CPU_ADD("main", H6280, MAIN_CLOCK/3)
208   MDRV_CPU_ADD("maincpu", H6280, MAIN_CLOCK/3)
209209   MDRV_CPU_PROGRAM_MAP(sgx_mem, 0)
210210   MDRV_CPU_IO_MAP(sgx_io, 0)
211211   MDRV_CPU_VBLANK_INT_HACK(sgx_interrupt, VDC_LPF)
r4347r4348
227227
228228   MDRV_NVRAM_HANDLER( pce )
229229   MDRV_SPEAKER_STANDARD_STEREO("left","right")
230   MDRV_SOUND_ADD("main", C6280, MAIN_CLOCK/6)
230   MDRV_SOUND_ADD("maincpu", C6280, MAIN_CLOCK/6)
231231   MDRV_SOUND_ROUTE(0, "left", 1.00)
232232   MDRV_SOUND_ROUTE(1, "right", 1.00)
233233
src/mess/drivers/ti99_4x.c
r4347r4348
536536static MACHINE_DRIVER_START(ti99_4_60hz)
537537   /* basic machine hardware */
538538   /* TMS9900 CPU @ 3.0 MHz */
539   MDRV_CPU_ADD("main", TMS9900, 3000000)
539   MDRV_CPU_ADD("maincpu", TMS9900, 3000000)
540540   MDRV_CPU_PROGRAM_MAP(memmap, 0)
541541   MDRV_CPU_IO_MAP(readcru, writecru)
542542   MDRV_CPU_VBLANK_INT("screen", ti99_vblank_interrupt)
r4347r4348
588588static MACHINE_DRIVER_START(ti99_4_50hz)
589589   /* basic machine hardware */
590590   /* TMS9900 CPU @ 3.0 MHz */
591   MDRV_CPU_ADD("main", TMS9900, 3000000)
591   MDRV_CPU_ADD("maincpu", TMS9900, 3000000)
592592   MDRV_CPU_PROGRAM_MAP(memmap, 0)
593593   MDRV_CPU_IO_MAP(readcru, writecru)
594594   MDRV_CPU_VBLANK_INT("screen", ti99_vblank_interrupt)
r4347r4348
638638static MACHINE_DRIVER_START(ti99_4a_60hz)
639639   /* basic machine hardware */
640640   /* TMS9900 CPU @ 3.0 MHz */
641   MDRV_CPU_ADD("main", TMS9900, 3000000)
641   MDRV_CPU_ADD("maincpu", TMS9900, 3000000)
642642   MDRV_CPU_PROGRAM_MAP(memmap, 0)
643643   MDRV_CPU_IO_MAP(readcru, writecru)
644644   MDRV_CPU_VBLANK_INT("screen", ti99_vblank_interrupt)
r4347r4348
690690static MACHINE_DRIVER_START(ti99_4a_50hz)
691691   /* basic machine hardware */
692692   /* TMS9900 CPU @ 3.0 MHz */
693   MDRV_CPU_ADD("main", TMS9900, 3000000)
693   MDRV_CPU_ADD("maincpu", TMS9900, 3000000)
694694   MDRV_CPU_PROGRAM_MAP(memmap, 0)
695695   MDRV_CPU_IO_MAP(readcru, writecru)
696696   MDRV_CPU_VBLANK_INT("screen", ti99_vblank_interrupt)
r4347r4348
741741static MACHINE_DRIVER_START(ti99_4ev_60hz)
742742   /* basic machine hardware */
743743   /* TMS9900 CPU @ 3.0 MHz */
744   MDRV_CPU_ADD("main", TMS9900, 3000000)
744   MDRV_CPU_ADD("maincpu", TMS9900, 3000000)
745745   MDRV_CPU_PROGRAM_MAP(memmap_4ev, 0)
746746   MDRV_CPU_IO_MAP(readcru, writecru)
747747   MDRV_CPU_VBLANK_INT_HACK(ti99_4ev_hblank_interrupt, 263)   /* 262.5 in 60Hz, 312.5 in 50Hz */
r4347r4348
805805
806806ROM_START(ti99_4)
807807   /*CPU memory space*/
808   ROM_REGION16_BE(region_cpu1_len, "main", 0)
808   ROM_REGION16_BE(region_cpu1_len, "maincpu", 0)
809809   ROM_LOAD16_BYTE("u610.bin", 0x0000, 0x1000, CRC(6fcf4b15) SHA1(d085213c64701d429ae535f9a4ac8a50427a8343)) /* CPU ROMs high */
810810   ROM_LOAD16_BYTE("u611.bin", 0x0001, 0x1000, CRC(491c21d1) SHA1(7741ae9294c51a44a78033d1b77c01568a6bbfb9)) /* CPU ROMs low */
811811
r4347r4348
835835
836836ROM_START(ti99_4a)
837837   /*CPU memory space*/
838   ROM_REGION16_BE(region_cpu1_len, "main", 0)
838   ROM_REGION16_BE(region_cpu1_len, "maincpu", 0)
839839   ROM_LOAD16_WORD("994arom.bin", 0x0000, 0x2000, CRC(db8f33e5) SHA1(6541705116598ab462ea9403c00656d6353ceb85)) /* system ROMs */
840840
841841   /*GROM memory space*/
r4347r4348
862862
863863ROM_START(ti99_4ev)
864864   /*CPU memory space*/
865   ROM_REGION16_BE(region_cpu1_len, "main", 0)
865   ROM_REGION16_BE(region_cpu1_len, "maincpu", 0)
866866   ROM_LOAD16_WORD("994arom.bin", 0x0000, 0x2000, CRC(db8f33e5) SHA1(6541705116598ab462ea9403c00656d6353ceb85)) /* system ROMs */
867867
868868   /*GROM memory space*/
src/mess/drivers/ip20.c
r4347r4348
594594};
595595
596596static MACHINE_DRIVER_START( ip204415 )
597   MDRV_CPU_ADD( "main", R4600BE, 50000000*3 )
597   MDRV_CPU_ADD( "maincpu", R4600BE, 50000000*3 )
598598   MDRV_CPU_CONFIG( config )
599599   MDRV_CPU_PROGRAM_MAP( ip204415_map, 0 )
600600
src/mess/drivers/vc4000.c
r4347r4348
194194   if (size > 0x1000)   /* 6k rom + 1k ram - Chess2 only */
195195   {
196196      memory_install_read8_handler(cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM), 0x1000, 0x15ff, 0, 0, SMH_BANK1);   /* extra rom */
197      memory_set_bankptr(machine, 1, memory_region(machine, "main") + 0x1000);
197      memory_set_bankptr(machine, 1, memory_region(machine, "maincpu") + 0x1000);
198198
199199      memory_install_readwrite8_handler(cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM), 0x1800, 0x1bff, 0, 0, SMH_BANK3, SMH_BANK4);   /* ram */
200      memory_set_bankptr(machine, 3, memory_region(machine, "main") + 0x1800);
201      memory_set_bankptr(machine, 4, memory_region(machine, "main") + 0x1800);
200      memory_set_bankptr(machine, 3, memory_region(machine, "maincpu") + 0x1800);
201      memory_set_bankptr(machine, 4, memory_region(machine, "maincpu") + 0x1800);
202202   }
203203   else
204204   if (size > 0x0800)   /* some 4k roms have 1k of mirrored ram */
205205   {
206206      memory_install_readwrite8_handler(cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM), 0x1000, 0x15ff, 0, 0x800, SMH_BANK1, SMH_BANK2); /* ram */
207      memory_set_bankptr(machine, 1, memory_region(machine, "main") + 0x1000);
208      memory_set_bankptr(machine, 2, memory_region(machine, "main") + 0x1000);
207      memory_set_bankptr(machine, 1, memory_region(machine, "maincpu") + 0x1000);
208      memory_set_bankptr(machine, 2, memory_region(machine, "maincpu") + 0x1000);
209209   }
210210     
211211   if (size > 0)
212212   {
213      image_fread(image, memory_region(machine, "main") + 0x0000, size);
213      image_fread(image, memory_region(machine, "maincpu") + 0x0000, size);
214214   }
215215
216216   return INIT_PASS;
r4347r4348
218218
219219static MACHINE_DRIVER_START( vc4000 )
220220   /* basic machine hardware */
221//   MDRV_CPU_ADD("main", S2650, 865000)        /* 3550000/4, 3580000/3, 4430000/3 */
222   MDRV_CPU_ADD("main", S2650, 3546875/4)
221//   MDRV_CPU_ADD("maincpu", S2650, 865000)        /* 3550000/4, 3580000/3, 4430000/3 */
222   MDRV_CPU_ADD("maincpu", S2650, 3546875/4)
223223   MDRV_CPU_PROGRAM_MAP(vc4000_mem, 0)
224224   MDRV_CPU_IO_MAP(vc4000_io, 0)
225225   MDRV_CPU_PERIODIC_INT(vc4000_video_line, 312*53)   // GOLF needs this exact value
r4347r4348
253253MACHINE_DRIVER_END
254254
255255ROM_START(vc4000)
256   ROM_REGION(0x2000,"main", 0)
256   ROM_REGION(0x2000,"maincpu", 0)
257257   ROM_FILL( 0x0000, 0x2000, 0xFF )
258258ROM_END
259259
src/mess/drivers/pk8020.c
r4347r4348
4545/* Machine driver */
4646static MACHINE_DRIVER_START( pk8020 )
4747  /* basic machine hardware */
48  MDRV_CPU_ADD("main", 8080, 2500000)
48  MDRV_CPU_ADD("maincpu", 8080, 2500000)
4949  MDRV_CPU_PROGRAM_MAP(pk8020_mem, 0)
5050  MDRV_CPU_IO_MAP(pk8020_io, 0)
5151
r4347r4348
6868/* ROM definition */
6969
7070ROM_START( korvet )
71    ROM_REGION( 0x16000, "main", ROMREGION_ERASEFF )
71    ROM_REGION( 0x16000, "maincpu", ROMREGION_ERASEFF )
7272    ROM_LOAD( "korvet11.rom", 0x10000, 0x6000, CRC(81BDC2AF) SHA1(c3484c3f1f3d252475979283c073286b8661d2b9) )
7373ROM_END
7474
src/mess/drivers/galaxy.c
r4347r4348
163163
164164static MACHINE_DRIVER_START( galaxy )
165165   /* basic machine hardware */
166   MDRV_CPU_ADD("main", Z80, XTAL / 2)
166   MDRV_CPU_ADD("maincpu", Z80, XTAL / 2)
167167   MDRV_CPU_PROGRAM_MAP(galaxy_mem, 0)
168168   MDRV_CPU_VBLANK_INT("screen", galaxy_interrupt)
169169   MDRV_SCREEN_ADD("screen", RASTER)
r4347r4348
193193
194194static MACHINE_DRIVER_START( galaxyp )
195195   /* basic machine hardware */
196   MDRV_CPU_ADD("main", Z80, XTAL / 2)
196   MDRV_CPU_ADD("maincpu", Z80, XTAL / 2)
197197   MDRV_CPU_PROGRAM_MAP(galaxyp_mem, 0)
198198   MDRV_CPU_IO_MAP(galaxyp_io, 0)
199199   MDRV_CPU_VBLANK_INT("screen", galaxy_interrupt)
r4347r4348
226226MACHINE_DRIVER_END
227227
228228ROM_START (galaxy)
229   ROM_REGION (0x10000, "main", ROMREGION_ERASEFF)
229   ROM_REGION (0x10000, "maincpu", ROMREGION_ERASEFF)
230230   ROM_LOAD ("galrom1.bin", 0x0000, 0x1000, CRC(365f3e24) SHA1(ffc6bf2ec09eabdad76604a63f5dd697c30c4358))
231231   ROM_LOAD_OPTIONAL ("galrom2.bin", 0x1000, 0x1000, CRC(5dc5a100) SHA1(5d5ab4313a2d0effe7572bb129193b64cab002c1))
232232   ROM_REGION(0x0800, "gfx1",0)
r4347r4348
234234ROM_END
235235
236236ROM_START (galaxyp)
237   ROM_REGION (0x10000, "main", ROMREGION_ERASEFF)
237   ROM_REGION (0x10000, "maincpu", ROMREGION_ERASEFF)
238238   ROM_LOAD ("galrom1.bin", 0x0000, 0x1000, CRC(365f3e24) SHA1(ffc6bf2ec09eabdad76604a63f5dd697c30c4358))
239239   ROM_LOAD ("galrom2.bin", 0x1000, 0x1000, CRC(5dc5a100) SHA1(5d5ab4313a2d0effe7572bb129193b64cab002c1))
240240   ROM_LOAD ("galplus.bin", 0xe000, 0x1000, CRC(d4cfab14) SHA1(b507b9026844eeb757547679907394aa42055eee))
src/mess/drivers/bbc.c
r4347r4348
487487/* model B driver */
488488
489489ROM_START(bbca)
490   ROM_REGION(0x04000,"main",ROMREGION_ERASEFF) /* RAM */
490   ROM_REGION(0x04000,"maincpu",ROMREGION_ERASEFF) /* RAM */
491491
492492   ROM_REGION(0x14000,"user1",0) /* ROM */
493493   ROM_LOAD("os12.rom",    0x10000,  0x4000, CRC(3c14fc70) SHA1(0d9bcaf6a393c9ce2359ed700ddb53c232c2c45d))
r4347r4348
506506
507507
508508ROM_START(bbcb)
509   ROM_REGION(0x08000,"main",ROMREGION_ERASEFF) /* RAM */
509   ROM_REGION(0x08000,"maincpu",ROMREGION_ERASEFF) /* RAM */
510510
511511   ROM_REGION(0x44000,"user1",0) /* ROM */
512512
r4347r4348
556556
557557#ifdef UNUSED_DEFINITION
558558ROM_START(bbcbcsw)
559   ROM_REGION(0x08000,"main",ROMREGION_ERASEFF) /* RAM */
559   ROM_REGION(0x08000,"maincpu",ROMREGION_ERASEFF) /* RAM */
560560
561561   ROM_REGION(0x44000,"user1",0) /* ROM */
562562
r4347r4348
606606#endif
607607
608608ROM_START(bbcbp)
609   ROM_REGION(0x10000,"main",ROMREGION_ERASEFF) /* ROM MEMORY */
609   ROM_REGION(0x10000,"maincpu",ROMREGION_ERASEFF) /* ROM MEMORY */
610610
611611   ROM_REGION(0x44000,"user1",0) /* ROM */
612612   ROM_LOAD("bpos2.rom",   0x3c000, 0x4000, CRC(9f356396) SHA1(ea7d3a7e3ee1ecfaa1483af994048057362b01f2))  /* basic rom */
r4347r4348
634634
635635
636636ROM_START(bbcbp128)
637   ROM_REGION(0x10000,"main",ROMREGION_ERASEFF) /* ROM MEMORY */
637   ROM_REGION(0x10000,"maincpu",ROMREGION_ERASEFF) /* ROM MEMORY */
638638
639639   ROM_REGION(0x44000,"user1",0) /* ROM */
640640   ROM_LOAD("bpos2.rom",   0x3c000, 0x4000, CRC(9f356396) SHA1(ea7d3a7e3ee1ecfaa1483af994048057362b01f2))  /* basic rom */
r4347r4348
663663
664664/* BBC Master Rom Load */
665665ROM_START(bbcm)
666   ROM_REGION(0x10000,"main",ROMREGION_ERASEFF) /* ROM MEMORY */
666   ROM_REGION(0x10000,"maincpu",ROMREGION_ERASEFF) /* ROM MEMORY */
667667
668668   ROM_REGION(0x44000,"user1",0) /* ROM */
669669
r4347r4348
746746   DEVCB_NULL,
747747   DEVCB_NULL,
748748   DEVCB_NULL,
749   DEVCB_CPU_INPUT_LINE("main", M6502_IRQ_LINE)
749   DEVCB_CPU_INPUT_LINE("maincpu", M6502_IRQ_LINE)
750750};
751751
752752
r4347r4348
774774
775775static MACHINE_DRIVER_START( bbca )
776776   /* basic machine hardware */
777   MDRV_CPU_ADD("main", M6502, 2000000)        /* 2.00 MHz */
777   MDRV_CPU_ADD("maincpu", M6502, 2000000)        /* 2.00 MHz */
778778   MDRV_CPU_PROGRAM_MAP( bbca_mem, 0 )
779779   MDRV_CPU_VBLANK_INT("screen", bbcb_vsync)            /* screen refresh interrupts */
780780   MDRV_CPU_PERIODIC_INT(bbcb_keyscan, 1000)      /* scan keyboard */
r4347r4348
817817
818818static MACHINE_DRIVER_START( bbcb )
819819   MDRV_IMPORT_FROM( bbca )
820   MDRV_CPU_MODIFY( "main" )
820   MDRV_CPU_MODIFY( "maincpu" )
821821   MDRV_CPU_PROGRAM_MAP( bbcb_mem, 0 )
822822   MDRV_MACHINE_START( bbcb )
823823   MDRV_MACHINE_RESET( bbcb )
r4347r4348
834834
835835static MACHINE_DRIVER_START( bbcbp )
836836   MDRV_IMPORT_FROM( bbca )
837   MDRV_CPU_MODIFY( "main" )
837   MDRV_CPU_MODIFY( "maincpu" )
838838   MDRV_CPU_PROGRAM_MAP( bbcbp_mem, 0 )
839839   MDRV_MACHINE_START( bbcbp )
840840   MDRV_MACHINE_RESET( bbcbp )
r4347r4348
850850
851851static MACHINE_DRIVER_START( bbcbp128 )
852852   MDRV_IMPORT_FROM( bbca )
853   MDRV_CPU_MODIFY( "main" )
853   MDRV_CPU_MODIFY( "maincpu" )
854854   MDRV_CPU_PROGRAM_MAP( bbcbp128_mem, 0 )
855855   MDRV_MACHINE_START( bbcbp )
856856   MDRV_MACHINE_RESET( bbcbp )
r4347r4348
868868/****BBC MASTER */
869869static MACHINE_DRIVER_START( bbcm )
870870   /* basic machine hardware */
871   MDRV_CPU_ADD("main", M65SC02, 2000000)        /* 2.00 MHz */
871   MDRV_CPU_ADD("maincpu", M65SC02, 2000000)        /* 2.00 MHz */
872872   MDRV_CPU_PROGRAM_MAP( bbcm_mem, 0 )
873873   MDRV_CPU_VBLANK_INT("screen", bbcb_vsync)            /* screen refresh interrupts */
874874   MDRV_CPU_PERIODIC_INT(bbcm_keyscan, 1000)      /* scan keyboard */
src/mess/drivers/gamepock.c
r4347r4348
5858}
5959
6060static MACHINE_DRIVER_START( gamepock )
61   MDRV_CPU_ADD("main", UPD78C06, XTAL_6MHz)   /* uPD78C06AG */
61   MDRV_CPU_ADD("maincpu", UPD78C06, XTAL_6MHz)   /* uPD78C06AG */
6262   MDRV_CPU_PROGRAM_MAP( gamepock_mem, 0 )
6363   MDRV_CPU_IO_MAP( gamepock_io, 0 )
6464   MDRV_CPU_CONFIG( gamepock_cpu_config )
r4347r4348
9090MACHINE_DRIVER_END
9191
9292ROM_START( gamepock )
93   ROM_REGION( 0x1000, "main", ROMREGION_ERASEFF )
93   ROM_REGION( 0x1000, "maincpu", ROMREGION_ERASEFF )
9494   ROM_LOAD( "egpcboot.bin", 0x0000, 0x1000, CRC(ee1ea65d) SHA1(9c7731b5ead721d2cc7f7e2655c5fed9e56db8b0) )
9595   ROM_REGION( 0x8000, "user1", ROMREGION_ERASEFF )
9696ROM_END
src/mess/drivers/compis.c
r4347r4348
234234
235235static MACHINE_DRIVER_START( compis )
236236   /* basic machine hardware */
237   MDRV_CPU_ADD("main", I80186, 8000000)   /* 8 MHz */
237   MDRV_CPU_ADD("maincpu", I80186, 8000000)   /* 8 MHz */
238238   MDRV_CPU_PROGRAM_MAP(compis_mem, 0)
239239   MDRV_CPU_IO_MAP(compis_io, 0)
240240   MDRV_CPU_VBLANK_INT("screen", compis_vblank_int)
r4347r4348
287287***************************************************************************/
288288
289289ROM_START (compis)
290     ROM_REGION (0x100000, "main", 0)
290     ROM_REGION (0x100000, "maincpu", 0)
291291     ROM_LOAD ("compis.rom", 0xf0000, 0x10000, CRC(89877688) SHA1(7daa1762f24e05472eafc025879da90fe61d0225))
292292ROM_END
293293
src/mess/drivers/bbcbc.c
r4347r4348
7676
7777
7878static MACHINE_DRIVER_START( bbcbc )
79   MDRV_CPU_ADD( "main", Z80, 4000000 )
79   MDRV_CPU_ADD( "maincpu", Z80, 4000000 )
8080   MDRV_CPU_PROGRAM_MAP( bbcbc_prg, 0 )
8181   MDRV_CPU_IO_MAP( bbcbc_io, 0 )
8282   MDRV_CPU_CONFIG(bbcbc_daisy_chain)
r4347r4348
9696
9797
9898ROM_START( bbcbc )
99   ROM_REGION( 0x10000, "main", 0 )
99   ROM_REGION( 0x10000, "maincpu", 0 )
100100   ROM_LOAD("br_4_1.ic3", 0x0000, 0x2000, CRC(7c880d75) SHA1(954db096bd9e8edfef72946637a12f1083841fb0))
101101   ROM_LOAD("br_4_2.ic4", 0x2000, 0x2000, CRC(16a33aef) SHA1(9529f9f792718a3715af2063b91a5fb18f741226))
102102   ROM_CART_LOAD("cart", 0x4000, 0xBFFF, ROM_NOMIRROR | ROM_OPTIONAL)
src/mess/drivers/vtech2.c
r4347r4348
3838    0000|-------|
3939
4040
41    Bank "main"       Contents
41    Bank "maincpu"       Contents
4242    0    0x00000 - 0x03fff ROM 1st half
4343    1    0x04000 - 0x07fff ROM 2nd half
4444    2           n/a        I/O 2KB area (mirrored 8 times?)
r4347r4348
410410
411411static MACHINE_DRIVER_START( laser350 )
412412   /* basic machine hardware */
413   MDRV_CPU_ADD("main", Z80, 3694700)        /* 3.694700 MHz */
413   MDRV_CPU_ADD("maincpu", Z80, 3694700)        /* 3.694700 MHz */
414414   MDRV_CPU_PROGRAM_MAP(vtech2_mem, 0)
415415   MDRV_CPU_IO_MAP(vtech2_io, 0)
416416   MDRV_CPU_VBLANK_INT("screen", vtech2_interrupt)
r4347r4348
463463
464464
465465ROM_START(laser350)
466   ROM_REGION(0x40000,"main",0)
466   ROM_REGION(0x40000,"maincpu",0)
467467   ROM_LOAD("laserv3.rom", 0x00000, 0x08000, CRC(9bed01f7) SHA1(3210fddfab2f4c7855fa902fb8e2fc18d10d48f1))
468468   ROM_REGION(0x00800,"gfx1",0)
469469   ROM_LOAD("laser.fnt",   0x00000, 0x00800, CRC(ed6bfb2a) SHA1(95e247021a10167b9de1d6ffc91ec4ba83b0ec87))
r4347r4348
473473
474474
475475ROM_START(laser500)
476   ROM_REGION(0x40000,"main",0)
476   ROM_REGION(0x40000,"maincpu",0)
477477   ROM_LOAD("laserv3.rom", 0x00000, 0x08000, CRC(9bed01f7) SHA1(3210fddfab2f4c7855fa902fb8e2fc18d10d48f1))
478478   ROM_REGION(0x00800,"gfx1",0)
479479   ROM_LOAD("laser.fnt",   0x00000, 0x00800, CRC(ed6bfb2a) SHA1(95e247021a10167b9de1d6ffc91ec4ba83b0ec87))
r4347r4348
482482ROM_END
483483
484484ROM_START(laser700)
485   ROM_REGION(0x40000,"main",0)
485   ROM_REGION(0x40000,"maincpu",0)
486486   ROM_LOAD("laserv3.rom", 0x00000, 0x08000, CRC(9bed01f7) SHA1(3210fddfab2f4c7855fa902fb8e2fc18d10d48f1))
487487   ROM_REGION(0x00800,"gfx1",0)
488488   ROM_LOAD("laser.fnt",   0x00000, 0x00800, CRC(ed6bfb2a) SHA1(95e247021a10167b9de1d6ffc91ec4ba83b0ec87))
src/mess/drivers/kc.c
r4347r4348
357357
358358static MACHINE_DRIVER_START( kc85_3 )
359359   /* basic machine hardware */
360   MDRV_CPU_ADD("main", Z80, KC85_3_CLOCK)
360   MDRV_CPU_ADD("maincpu", Z80, KC85_3_CLOCK)
361361   MDRV_CPU_PROGRAM_MAP(kc85_3_mem, 0)
362362   MDRV_CPU_IO_MAP(kc85_3_io, 0)
363363   MDRV_CPU_CONFIG(kc85_daisy_chain)
r4347r4348
398398static MACHINE_DRIVER_START( kc85_4 )
399399   MDRV_IMPORT_FROM( kc85_3 )
400400
401   MDRV_CPU_REPLACE("main", Z80, KC85_4_CLOCK)
401   MDRV_CPU_REPLACE("maincpu", Z80, KC85_4_CLOCK)
402402   MDRV_CPU_PROGRAM_MAP(kc85_4_mem, 0)
403403   MDRV_CPU_IO_MAP(kc85_4_io, 0)
404404
r4347r4348
417417
418418
419419ROM_START(kc85_4)
420   ROM_REGION(0x015000, "main",0)
420   ROM_REGION(0x015000, "maincpu",0)
421421
422422    ROM_LOAD("basic_c0.854", 0x10000, 0x2000, CRC(dfe34b08) SHA1(c2e3af55c79e049e811607364f88c703b0285e2e))
423423    ROM_LOAD("caos__c0.854", 0x12000, 0x1000, CRC(57d9ab02) SHA1(774fc2496a59b77c7c392eb5aa46420e7722797e))
r4347r4348
426426
427427
428428ROM_START(kc85_4d)
429   ROM_REGION(0x015000, "main",0)
429   ROM_REGION(0x015000, "maincpu",0)
430430
431431    ROM_LOAD("basic_c0.854", 0x10000, 0x2000, CRC(dfe34b08) SHA1(c2e3af55c79e049e811607364f88c703b0285e2e))
432432    ROM_LOAD("caos__c0.854", 0x12000, 0x1000, CRC(57d9ab02) SHA1(774fc2496a59b77c7c392eb5aa46420e7722797e))
r4347r4348
436436ROM_END
437437
438438ROM_START(kc85_3)
439   ROM_REGION(0x014000, "main",0)
439   ROM_REGION(0x014000, "maincpu",0)
440440
441441    ROM_LOAD("basic_c0.854", 0x10000, 0x2000, CRC(dfe34b08) SHA1(c2e3af55c79e049e811607364f88c703b0285e2e))
442442   ROM_LOAD("caos__e0.853", 0x12000, 0x2000, CRC(52bc2199) SHA1(207d3e1c4ebf82ac7553ed0a0850b627b9796d4b))
docs/messnew.txt
r4347r4348
149149
150150- New PC-LPT device.  [Dirk Best]
151151
152- Replaced all generic screen tags. [Curt Coder]
152- Replaced all generic tags. [Curt Coder]
153153
154154- Added /PC pin output support to the CIA emulation.  [Dirk Best]
155155

Previous 15994 Revisions Next


© 1998-2018 The MESS Team