ROM_END /************************************* * * Driver initialization * *************************************/ static void init_badlands(void) { atarigen_eeprom_default = NULL; /* initialize the audio system */ bank_base = &memory_region(REGION_CPU2)[0x03000]; bank_source_data = &memory_region(REGION_CPU2)[0x10000]; /* speed up the 6502 */ atarigen_init_6502_speedup(1, 0x4155, 0x416d); /* display messages */ atarigen_show_sound_message(); rom_decode(); }
static void init_vindictr(void) { atarigen_eeprom_default = NULL; atarijsa_init(1, 5, 1, 0x0002); /* speed up the 6502 */ atarigen_init_6502_speedup(1, 0x4150, 0x4168); /* display messages */ atarigen_show_sound_message(); rom_decode(); }
static DRIVER_INIT( beathead ) { /* initialize the common systems */ atarigen_eeprom_default = NULL; atarijsa_init(1, 4, 2, 0x0040); atarijsa3_init_adpcm(REGION_SOUND1); atarigen_init_6502_speedup(1, 0x4321, 0x4339); /* copy the ROM data */ memcpy(rom_base, memory_region(REGION_USER1), memory_region_length(REGION_USER1)); /* prepare the speedups */ speedup_data = install_mem_read32_handler(0, 0x00000ae8, 0x00000aeb, speedup_r); movie_speedup_data = install_mem_read32_handler(0, 0x00000804, 0x00000807, movie_speedup_r); }
ROM_END /************************************* * * Driver initialization * *************************************/ static void init_xybots(void) { atarigen_eeprom_default = NULL; atarigen_slapstic_init(0, 0x008000, 107); atarijsa_init(1, 2, 1, 0x0100); atarigen_init_6502_speedup(1, 0x4157, 0x416f); }
static void init_thunderj(void) { atarigen_eeprom_default = NULL; atarijsa_init(2, 3, 2, 0x0002); /* speed up the 6502 */ atarigen_init_6502_speedup(2, 0x4159, 0x4171); /* it looks like they jsr to $800000 as some kind of protection */ /* put an RTS there so we don't die */ WRITE_WORD(rts_address, 0x4E75); /* display messages */ atarigen_show_sound_message(); rom_decode(); }
ROM_END /************************************* * * ROM decoding * *************************************/ static void init_skullxbo(void) { atarigen_eeprom_default = NULL; atarijsa_init(1, 2, 1, 0x0080); atarigen_init_6502_speedup(1, 0x4159, 0x4171); memset(memory_region(REGION_GFX1) + 0x170000, 0, 0x20000); atarigen_invert_region(REGION_GFX2); }
ROM_END /************************************* * * Driver initialization * *************************************/ static DRIVER_INIT( badlands ) { atarigen_eeprom_default = NULL; atarigen_init_6502_speedup(1, 0x4155, 0x416d); /* initialize the audio system */ bank_base = &memory_region(REGION_CPU2)[0x03000]; bank_source_data = &memory_region(REGION_CPU2)[0x10000]; }
static void init_hydrap(void) { atarigen_eeprom_default = NULL; hydra_mo_area.min_x = 0 << HIGH_RES; hydra_mo_area.max_x = 255 << HIGH_RES; hydra_mo_area.min_y = 0; hydra_mo_area.max_y = 239; hydra_mo_priority_offset = 10; hydra_pf_xoffset = 0; atarijsa_init(1, 4, 0, 0x8000); /* speed up the 6502 */ atarigen_init_6502_speedup(1, 0x4159, 0x4171); /* display messages */ atarigen_show_sound_message(); }
static void init_pitfight(void) { atarigen_eeprom_default = NULL; atarigen_slapstic_init(0, 0x038000, 111); hydra_mo_area.min_x = 40 << HIGH_RES; hydra_mo_area.max_x = (40 + 255) << HIGH_RES; hydra_mo_area.min_y = 0; hydra_mo_area.max_y = 239; hydra_mo_priority_offset = 12; hydra_pf_xoffset = 2; atarijsa_init(1, 4, 0, 0x8000); /* speed up the 6502 */ atarigen_init_6502_speedup(1, 0x4159, 0x4171); /* display messages */ atarigen_show_slapstic_message(); atarigen_show_sound_message(); }
/************************************* * * ROM definition(s) * *************************************/ ROM_START( badlands_rom ) ROM_REGION(0x40000) /* 4*64k for 68000 code */ ROM_LOAD_EVEN( "1008.20f", 0x00000, 0x10000, 0xa3da5774 ) ROM_LOAD_ODD ( "1006.27f", 0x00000, 0x10000, 0xaa03b4f3 ) ROM_LOAD_EVEN( "1009.17f", 0x20000, 0x10000, 0x0e2e807f ) ROM_LOAD_ODD ( "1007.24f", 0x20000, 0x10000, 0x99a20c2c ) ROM_REGION(0x14000) /* 64k for 6502 code */ ROM_LOAD( "1018.9c", 0x10000, 0x4000, 0xa05fd146 ) ROM_CONTINUE( 0x04000, 0xc000 ) ROM_REGION_DISPOSE(0x90000) /* temporary space for graphics (disposed after conversion) */ ROM_LOAD( "1012.4n", 0x000000, 0x10000, 0x5d124c6c ) /* playfield */ ROM_LOAD( "1013.2n", 0x010000, 0x10000, 0xb1ec90d6 ) /* playfield */ ROM_LOAD( "1014.4s", 0x020000, 0x10000, 0x248a6845 ) /* playfield */ ROM_LOAD( "1015.2s", 0x030000, 0x10000, 0x792296d8 ) /* playfield */ ROM_LOAD( "1016.4u", 0x040000, 0x10000, 0x878f7c66 ) /* playfield */ ROM_LOAD( "1017.2u", 0x050000, 0x10000, 0xad0071a3 ) /* playfield */ ROM_LOAD( "1010.14r", 0x060000, 0x10000, 0xc15f629e ) /* mo */ ROM_LOAD( "1011.10r", 0x070000, 0x10000, 0xfb0b6717 ) /* mo */ ROM_LOAD( "1019.14t", 0x080000, 0x10000, 0x0e26bff6 ) /* mo */ ROM_END /************************************* * * Driver initialization * *************************************/ static void badlands_init(void) { atarigen_eeprom_default = NULL; atarijsa_init(1, 3, 0, 0x0080); /* speed up the 6502 */ atarigen_init_6502_speedup(1, 0x4155, 0x416d); /* display messages */ atarigen_show_sound_message(); }
/************************************* * * ROM definition(s) * *************************************/ ROM_START( toobin ) ROM_REGION( 0x80000, REGION_CPU1 ) /* 8*64k for 68000 code */ ROM_LOAD_EVEN( "061-3133.bin", 0x00000, 0x10000, 0x79a92d02 ) ROM_LOAD_ODD ( "061-3137.bin", 0x00000, 0x10000, 0xe389ef60 ) ROM_LOAD_EVEN( "061-3134.bin", 0x20000, 0x10000, 0x3dbe9a48 ) ROM_LOAD_ODD ( "061-3138.bin", 0x20000, 0x10000, 0xa17fb16c ) ROM_LOAD_EVEN( "061-3135.bin", 0x40000, 0x10000, 0xdc90b45c ) ROM_LOAD_ODD ( "061-3139.bin", 0x40000, 0x10000, 0x6f8a719a ) ROM_LOAD_EVEN( "061-1136.bin", 0x60000, 0x10000, 0x5ae3eeac ) ROM_LOAD_ODD ( "061-1140.bin", 0x60000, 0x10000, 0xdacbbd94 ) ROM_REGION( 0x14000, REGION_CPU2 ) /* 64k for 6502 code */ ROM_LOAD( "061-1114.bin", 0x10000, 0x4000, 0xc0dcce1a ) ROM_CONTINUE( 0x04000, 0xc000 ) ROM_REGION( 0x080000, REGION_GFX1 | REGIONFLAG_DISPOSE ) ROM_LOAD( "061-1101.bin", 0x000000, 0x10000, 0x02696f15 ) /* bank 0 (4 bpp)*/ ROM_LOAD( "061-1102.bin", 0x010000, 0x10000, 0x4bed4262 ) ROM_LOAD( "061-1103.bin", 0x020000, 0x10000, 0xe62b037f ) ROM_LOAD( "061-1104.bin", 0x030000, 0x10000, 0xfa05aee6 ) ROM_LOAD( "061-1105.bin", 0x040000, 0x10000, 0xab1c5578 ) ROM_LOAD( "061-1106.bin", 0x050000, 0x10000, 0x4020468e ) ROM_LOAD( "061-1107.bin", 0x060000, 0x10000, 0xfe6f6aed ) ROM_LOAD( "061-1108.bin", 0x070000, 0x10000, 0x26fe71e1 ) ROM_REGION( 0x200000, REGION_GFX2 | REGIONFLAG_DISPOSE ) ROM_LOAD( "061-1143.bin", 0x000000, 0x20000, 0x211c1049 ) /* bank 0 (4 bpp)*/ ROM_LOAD( "061-1144.bin", 0x020000, 0x20000, 0xef62ed2c ) ROM_LOAD( "061-1145.bin", 0x040000, 0x20000, 0x067ecb8a ) ROM_LOAD( "061-1146.bin", 0x060000, 0x20000, 0xfea6bc92 ) ROM_LOAD( "061-1125.bin", 0x080000, 0x10000, 0xc37f24ac ) ROM_RELOAD( 0x0c0000, 0x10000 ) ROM_LOAD( "061-1126.bin", 0x090000, 0x10000, 0x015257f0 ) ROM_RELOAD( 0x0d0000, 0x10000 ) ROM_LOAD( "061-1127.bin", 0x0a0000, 0x10000, 0xd05417cb ) ROM_RELOAD( 0x0e0000, 0x10000 ) ROM_LOAD( "061-1128.bin", 0x0b0000, 0x10000, 0xfba3e203 ) ROM_RELOAD( 0x0f0000, 0x10000 ) ROM_LOAD( "061-1147.bin", 0x100000, 0x20000, 0xca4308cf ) ROM_LOAD( "061-1148.bin", 0x120000, 0x20000, 0x23ddd45c ) ROM_LOAD( "061-1149.bin", 0x140000, 0x20000, 0xd77cd1d0 ) ROM_LOAD( "061-1150.bin", 0x160000, 0x20000, 0xa37157b8 ) ROM_LOAD( "061-1129.bin", 0x180000, 0x10000, 0x294aaa02 ) ROM_RELOAD( 0x1c0000, 0x10000 ) ROM_LOAD( "061-1130.bin", 0x190000, 0x10000, 0xdd610817 ) ROM_RELOAD( 0x1d0000, 0x10000 ) ROM_LOAD( "061-1131.bin", 0x1a0000, 0x10000, 0xe8e2f919 ) ROM_RELOAD( 0x1e0000, 0x10000 ) ROM_LOAD( "061-1132.bin", 0x1b0000, 0x10000, 0xc79f8ffc ) ROM_RELOAD( 0x1f0000, 0x10000 ) ROM_REGION( 0x004000, REGION_GFX3 | REGIONFLAG_DISPOSE ) ROM_LOAD( "061-1142.bin", 0x000000, 0x04000, 0xa6ab551f ) /* alpha font */ ROM_END ROM_START( toobin2 ) ROM_REGION( 0x80000, REGION_CPU1 ) /* 8*64k for 68000 code */ ROM_LOAD_EVEN( "061-2133.1j", 0x00000, 0x10000, 0x2c3382e4 ) ROM_LOAD_ODD ( "061-2137.1f", 0x00000, 0x10000, 0x891c74b1 ) ROM_LOAD_EVEN( "061-2134.2j", 0x20000, 0x10000, 0x2b8164c8 ) ROM_LOAD_ODD ( "061-2138.2f", 0x20000, 0x10000, 0xc09cadbd ) ROM_LOAD_EVEN( "061-2135.4j", 0x40000, 0x10000, 0x90477c4a ) ROM_LOAD_ODD ( "061-2139.4f", 0x40000, 0x10000, 0x47936958 ) ROM_LOAD_EVEN( "061-1136.bin", 0x60000, 0x10000, 0x5ae3eeac ) ROM_LOAD_ODD ( "061-1140.bin", 0x60000, 0x10000, 0xdacbbd94 ) ROM_REGION( 0x14000, REGION_CPU2 ) /* 64k for 6502 code */ ROM_LOAD( "061-1114.bin", 0x10000, 0x4000, 0xc0dcce1a ) ROM_CONTINUE( 0x04000, 0xc000 ) ROM_REGION( 0x080000, REGION_GFX1 | REGIONFLAG_DISPOSE ) ROM_LOAD( "061-1101.bin", 0x000000, 0x10000, 0x02696f15 ) /* bank 0 (4 bpp)*/ ROM_LOAD( "061-1102.bin", 0x010000, 0x10000, 0x4bed4262 ) ROM_LOAD( "061-1103.bin", 0x020000, 0x10000, 0xe62b037f ) ROM_LOAD( "061-1104.bin", 0x030000, 0x10000, 0xfa05aee6 ) ROM_LOAD( "061-1105.bin", 0x040000, 0x10000, 0xab1c5578 ) ROM_LOAD( "061-1106.bin", 0x050000, 0x10000, 0x4020468e ) ROM_LOAD( "061-1107.bin", 0x060000, 0x10000, 0xfe6f6aed ) ROM_LOAD( "061-1108.bin", 0x070000, 0x10000, 0x26fe71e1 ) ROM_REGION( 0x200000, REGION_GFX2 | REGIONFLAG_DISPOSE ) ROM_LOAD( "061-1143.bin", 0x000000, 0x20000, 0x211c1049 ) /* bank 0 (4 bpp)*/ ROM_LOAD( "061-1144.bin", 0x020000, 0x20000, 0xef62ed2c ) ROM_LOAD( "061-1145.bin", 0x040000, 0x20000, 0x067ecb8a ) ROM_LOAD( "061-1146.bin", 0x060000, 0x20000, 0xfea6bc92 ) ROM_LOAD( "061-1125.bin", 0x080000, 0x10000, 0xc37f24ac ) ROM_RELOAD( 0x0c0000, 0x10000 ) ROM_LOAD( "061-1126.bin", 0x090000, 0x10000, 0x015257f0 ) ROM_RELOAD( 0x0d0000, 0x10000 ) ROM_LOAD( "061-1127.bin", 0x0a0000, 0x10000, 0xd05417cb ) ROM_RELOAD( 0x0e0000, 0x10000 ) ROM_LOAD( "061-1128.bin", 0x0b0000, 0x10000, 0xfba3e203 ) ROM_RELOAD( 0x0f0000, 0x10000 ) ROM_LOAD( "061-1147.bin", 0x100000, 0x20000, 0xca4308cf ) ROM_LOAD( "061-1148.bin", 0x120000, 0x20000, 0x23ddd45c ) ROM_LOAD( "061-1149.bin", 0x140000, 0x20000, 0xd77cd1d0 ) ROM_LOAD( "061-1150.bin", 0x160000, 0x20000, 0xa37157b8 ) ROM_LOAD( "061-1129.bin", 0x180000, 0x10000, 0x294aaa02 ) ROM_RELOAD( 0x1c0000, 0x10000 ) ROM_LOAD( "061-1130.bin", 0x190000, 0x10000, 0xdd610817 ) ROM_RELOAD( 0x1d0000, 0x10000 ) ROM_LOAD( "061-1131.bin", 0x1a0000, 0x10000, 0xe8e2f919 ) ROM_RELOAD( 0x1e0000, 0x10000 ) ROM_LOAD( "061-1132.bin", 0x1b0000, 0x10000, 0xc79f8ffc ) ROM_RELOAD( 0x1f0000, 0x10000 ) ROM_REGION( 0x004000, REGION_GFX3 | REGIONFLAG_DISPOSE ) ROM_LOAD( "061-1142.bin", 0x000000, 0x04000, 0xa6ab551f ) /* alpha font */ ROM_END ROM_START( toobinp ) ROM_REGION( 0x80000, REGION_CPU1 ) /* 8*64k for 68000 code */ ROM_LOAD_EVEN( "pg-0-up.1j", 0x00000, 0x10000, 0xcaeb5d1b ) ROM_LOAD_ODD ( "pg-0-lo.1f", 0x00000, 0x10000, 0x9713d9d3 ) ROM_LOAD_EVEN( "pg-20-up.2j", 0x20000, 0x10000, 0x119f5d7b ) ROM_LOAD_ODD ( "pg-20-lo.2f", 0x20000, 0x10000, 0x89664841 ) ROM_LOAD_EVEN( "061-2135.4j", 0x40000, 0x10000, 0x90477c4a ) ROM_LOAD_ODD ( "pg-40-lo.4f", 0x40000, 0x10000, 0xa9f082a9 ) ROM_LOAD_EVEN( "061-1136.bin", 0x60000, 0x10000, 0x5ae3eeac ) ROM_LOAD_ODD ( "061-1140.bin", 0x60000, 0x10000, 0xdacbbd94 ) ROM_REGION( 0x14000, REGION_CPU2 ) /* 64k for 6502 code */ ROM_LOAD( "061-1114.bin", 0x10000, 0x4000, 0xc0dcce1a ) ROM_CONTINUE( 0x04000, 0xc000 ) ROM_REGION( 0x080000, REGION_GFX1 | REGIONFLAG_DISPOSE ) ROM_LOAD( "061-1101.bin", 0x000000, 0x10000, 0x02696f15 ) /* bank 0 (4 bpp)*/ ROM_LOAD( "061-1102.bin", 0x010000, 0x10000, 0x4bed4262 ) ROM_LOAD( "061-1103.bin", 0x020000, 0x10000, 0xe62b037f ) ROM_LOAD( "061-1104.bin", 0x030000, 0x10000, 0xfa05aee6 ) ROM_LOAD( "061-1105.bin", 0x040000, 0x10000, 0xab1c5578 ) ROM_LOAD( "061-1106.bin", 0x050000, 0x10000, 0x4020468e ) ROM_LOAD( "061-1107.bin", 0x060000, 0x10000, 0xfe6f6aed ) ROM_LOAD( "061-1108.bin", 0x070000, 0x10000, 0x26fe71e1 ) ROM_REGION( 0x200000, REGION_GFX2 | REGIONFLAG_DISPOSE ) ROM_LOAD( "061-1143.bin", 0x000000, 0x20000, 0x211c1049 ) /* bank 0 (4 bpp)*/ ROM_LOAD( "061-1144.bin", 0x020000, 0x20000, 0xef62ed2c ) ROM_LOAD( "061-1145.bin", 0x040000, 0x20000, 0x067ecb8a ) ROM_LOAD( "061-1146.bin", 0x060000, 0x20000, 0xfea6bc92 ) ROM_LOAD( "061-1125.bin", 0x080000, 0x10000, 0xc37f24ac ) ROM_RELOAD( 0x0c0000, 0x10000 ) ROM_LOAD( "061-1126.bin", 0x090000, 0x10000, 0x015257f0 ) ROM_RELOAD( 0x0d0000, 0x10000 ) ROM_LOAD( "061-1127.bin", 0x0a0000, 0x10000, 0xd05417cb ) ROM_RELOAD( 0x0e0000, 0x10000 ) ROM_LOAD( "061-1128.bin", 0x0b0000, 0x10000, 0xfba3e203 ) ROM_RELOAD( 0x0f0000, 0x10000 ) ROM_LOAD( "061-1147.bin", 0x100000, 0x20000, 0xca4308cf ) ROM_LOAD( "061-1148.bin", 0x120000, 0x20000, 0x23ddd45c ) ROM_LOAD( "061-1149.bin", 0x140000, 0x20000, 0xd77cd1d0 ) ROM_LOAD( "061-1150.bin", 0x160000, 0x20000, 0xa37157b8 ) ROM_LOAD( "061-1129.bin", 0x180000, 0x10000, 0x294aaa02 ) ROM_RELOAD( 0x1c0000, 0x10000 ) ROM_LOAD( "061-1130.bin", 0x190000, 0x10000, 0xdd610817 ) ROM_RELOAD( 0x1d0000, 0x10000 ) ROM_LOAD( "061-1131.bin", 0x1a0000, 0x10000, 0xe8e2f919 ) ROM_RELOAD( 0x1e0000, 0x10000 ) ROM_LOAD( "061-1132.bin", 0x1b0000, 0x10000, 0xc79f8ffc ) ROM_RELOAD( 0x1f0000, 0x10000 ) ROM_REGION( 0x004000, REGION_GFX3 | REGIONFLAG_DISPOSE ) ROM_LOAD( "061-1142.bin", 0x000000, 0x04000, 0xa6ab551f ) /* alpha font */ ROM_END /************************************* * * Driver initialization * *************************************/ static void init_toobin(void) { atarigen_eeprom_default = NULL; atarijsa_init(1, 2, 1, 0x1000); /* speed up the 6502 */ atarigen_init_6502_speedup(1, 0x414e, 0x4166); /* display messages */ atarigen_show_sound_message(); }
ROM_END /************************************* * * Driver initialization * *************************************/ static void init_eprom(void) { atarigen_eeprom_default = NULL; atarijsa_init(2, 6, 1, 0x0002); /* speed up the 6502 */ atarigen_init_6502_speedup(2, 0x4158, 0x4170); /* display messages */ atarigen_show_sound_message(); rom_decode(); }