📄 taitof2.c
字号:
/* sound hardware */
SOUND_SUPPORTS_STEREO,0,0,0,
{
{
SOUND_YM2610,
&ym2610_interface
}
}
};
static struct MachineDriver finalb_machine_driver =
{
/* basic machine hardware */
{
{
CPU_M68000,
12000000, /* 12 MHz ??? */
0,
liquidk_readmem, liquidk_writemem, 0, 0,
liquidk_interrupt, 1
},
{
CPU_Z80 | CPU_AUDIO_CPU,
4000000, /* 4 MHz ??? */
2,
sound_readmem, sound_writemem, 0, 0,
ignore_interrupt, 0 /* IRQs are triggered by the YM2610 */
}
},
60, DEFAULT_60HZ_VBLANK_DURATION, /* frames per second, vblank duration */
1,
0,
/* video hardware */
40*8, 32*8, { 0*8, 40*8-1, 2*8, 30*8-1 },
finalb_gfxdecodeinfo,
4096, 4096,
0,
VIDEO_TYPE_RASTER | VIDEO_MODIFIES_PALETTE,
0,
taitof2_vh_start,
taitof2_vh_stop,
taitof2_vh_screenrefresh,
/* sound hardware */
SOUND_SUPPORTS_STEREO,0,0,0,
{
{
SOUND_YM2610,
&ym2610_interface
}
}
};
static struct MachineDriver growl_machine_driver =
{
/* basic machine hardware */
{
{
CPU_M68000,
12000000, /* 12 MHz ??? */
0,
growl_readmem, growl_writemem, 0, 0,
liquidk_interrupt, 1
},
{
CPU_Z80 | CPU_AUDIO_CPU,
4000000, /* 4 MHz ??? */
2,
sound_readmem, sound_writemem, 0, 0,
ignore_interrupt, 0 /* IRQs are triggered by the YM2610 */
}
},
60, DEFAULT_60HZ_VBLANK_DURATION, /* frames per second, vblank duration */
1,
0,
/* video hardware */
40*8, 32*8, { 0*8, 40*8-1, 2*8, 30*8-1 },
gfxdecodeinfo,
4096, 4096,
0,
VIDEO_TYPE_RASTER | VIDEO_MODIFIES_PALETTE,
0,
taitof2_vh_start,
taitof2_vh_stop,
taitof2_vh_screenrefresh,
/* sound hardware */
SOUND_SUPPORTS_STEREO,0,0,0,
{
{
SOUND_YM2610,
&ym2610_interface
}
}
};
static struct MachineDriver megab_machine_driver =
{
/* basic machine hardware */
{
{
CPU_M68000,
12000000, /* 12 MHz ??? */
0,
megab_readmem, megab_writemem, 0, 0,
liquidk_interrupt, 1
},
{
CPU_Z80 | CPU_AUDIO_CPU,
4000000, /* 4 MHz ??? */
2,
sound_readmem, sound_writemem, 0, 0,
ignore_interrupt, 0 /* IRQs are triggered by the YM2610 */
}
},
60, DEFAULT_60HZ_VBLANK_DURATION, /* frames per second, vblank duration */
1,
cchip1_init_machine,
/* video hardware */
40*8, 32*8, { 0*8, 40*8-1, 2*8, 30*8-1 },
gfxdecodeinfo,
4096, 4096,
0,
VIDEO_TYPE_RASTER | VIDEO_MODIFIES_PALETTE,
0,
taitof2_vh_start,
taitof2_vh_stop,
taitof2_vh_screenrefresh,
/* sound hardware */
SOUND_SUPPORTS_STEREO,0,0,0,
{
{
SOUND_YM2610,
&ym2610_interface
}
}
};
/***************************************************************************
Game driver(s)
***************************************************************************/
ROM_START( liquidk_rom )
ROM_REGION(0x80000) /* 512k for 68000 code */
ROM_LOAD_EVEN( "lq09.bin", 0x00000, 0x20000, 0x6ae09eb9 )
ROM_LOAD_ODD ( "lq11.bin", 0x00000, 0x20000, 0x42d2be6e )
ROM_LOAD_EVEN( "lq10.bin", 0x40000, 0x20000, 0x50bef2e0 )
ROM_LOAD_ODD ( "lq12.bin", 0x40000, 0x20000, 0xcb16bad5 )
ROM_REGION_DISPOSE(0x300000) /* temporary space for graphics (disposed after conversion) */
ROM_LOAD( "lk_scr.bin", 0x000000, 0x080000, 0xc3364f9b )
ROM_LOAD( "lk_obj0.bin", 0x100000, 0x080000, 0x67cc3163 )
ROM_LOAD( "lk_obj1.bin", 0x180000, 0x080000, 0xd2400710 )
ROM_REGION(0x1c000) /* sound cpu */
ROM_LOAD( "lq08.bin", 0x00000, 0x04000, 0x413c310c )
ROM_CONTINUE( 0x10000, 0x0c000 ) /* banked stuff */
ROM_REGION(0x80000) /* ADPCM samples */
ROM_LOAD( "lk_snd.bin", 0x00000, 0x80000, 0x474d45a4 )
ROM_END
struct GameDriver liquidk_driver =
{
__FILE__,
0,
"liquidk",
"Liquid Kids",
"1990",
"Taito",
"Brad Oliver\nAndrew Prime\nErnesto Corvi (sound)",
0,
&liquidk_machine_driver,
0,
liquidk_rom,
0, 0,
0,
0, /* sound_prom */
input_ports,
0, 0, 0, /* colors, palette, colortable */
ORIENTATION_ROTATE_180,
0, 0
};
ROM_START( finalb_rom )
ROM_REGION(0x40000) /* 256k for 68000 code */
ROM_LOAD_EVEN( "fb_09.rom", 0x00000, 0x20000, 0x632f1ecd )
ROM_LOAD_ODD ( "fb_17.rom", 0x00000, 0x20000, 0xe91b2ec9 )
ROM_REGION_DISPOSE(0x300000) /* temporary space for graphics (disposed after conversion) */
ROM_LOAD( "fb_m06.rom", 0x000000, 0x020000, 0xfc450a25 )
ROM_LOAD( "fb_m07.rom", 0x020000, 0x020000, 0xec3df577 )
ROM_LOAD( "fb_m03.rom", 0x100000, 0x080000, 0xdaa11561 ) /* sprites */
ROM_LOAD( "fb_m04.rom", 0x180000, 0x080000, 0x6346f98e ) /* sprites */
ROM_REGION(0x1c000) /* sound cpu */
ROM_LOAD( "fb_10.rom", 0x00000, 0x04000, 0xa38aaaed )
ROM_CONTINUE( 0x10000, 0x0c000 ) /* banked stuff */
ROM_REGION(0x40000) /* ADPCM samples */
ROM_LOAD ( "fb_m06.rom", 0x00000, 0x20000, 0xfc450a25 )
ROM_LOAD ( "fb_m07.rom", 0x20000, 0x20000, 0xec3df577 )
ROM_END
struct GameDriver finalb_driver =
{
__FILE__,
0,
"finalb",
"Final Blow",
"1988",
"Taito",
"Brad Oliver\nAndrew Prime\nErnesto Corvi (sound)",
0,
&finalb_machine_driver,
0,
finalb_rom,
0, 0,
0,
0, /* sound_prom */
input_ports,
0, 0, 0, /* colors, palette, colortable */
ORIENTATION_DEFAULT,
0, 0
};
ROM_START( growl_rom )
ROM_REGION(0x100000) /* 1024k for 68000 code */
ROM_LOAD_EVEN( "growl_10.rom", 0x00000, 0x40000, 0xca81a20b )
ROM_LOAD_ODD ( "growl_08.rom", 0x00000, 0x40000, 0xaa35dd9e )
ROM_LOAD_EVEN( "growl_11.rom", 0x80000, 0x40000, 0xee3bd6d5 )
ROM_LOAD_ODD ( "growl_14.rom", 0x80000, 0x40000, 0xb6c24ec7 )
ROM_REGION_DISPOSE(0x300000) /* temporary space for graphics (disposed after conversion) */
ROM_LOAD( "growl_01.rom", 0x000000, 0x100000, 0x3434ce80 ) /* characters */
ROM_LOAD( "growl_03.rom", 0x100000, 0x100000, 0x1a0d8951 ) /* sprites */
ROM_LOAD( "growl_02.rom", 0x200000, 0x100000, 0x15a21506 ) /* sprites */
ROM_REGION(0x1c000) /* sound cpu */
ROM_LOAD( "growl_12.rom", 0x00000, 0x04000, 0xbb6ed668 )
ROM_CONTINUE( 0x10000, 0x0c000 ) /* banked stuff */
ROM_REGION(0x100000) /* ADPCM samples */
ROM_LOAD( "growl_04.rom", 0x000000, 0x100000, 0x2d97edf2 )
ROM_REGION(0x080000) /* ADPCM samples */
ROM_LOAD( "growl_05.rom", 0x000000, 0x080000, 0xe29c0828 )
ROM_END
struct GameDriver growl_driver =
{
__FILE__,
0,
"growl",
"Growl",
"1990",
"Taito",
"Brad Oliver\nAndrew Prime\nErnesto Corvi (sound)",
0,
&growl_machine_driver,
0,
growl_rom,
0, 0,
0,
0, /* sound_prom */
input_ports,
0, 0, 0, /* colors, palette, colortable */
ORIENTATION_DEFAULT,
0, 0
};
ROM_START( megab_rom )
ROM_REGION(0x100000) /* 256k for 68000 code */
ROM_LOAD_EVEN( "c11-07", 0x00000, 0x20000, 0x11d228b6 )
ROM_LOAD_ODD ( "c11-08", 0x00000, 0x20000, 0xa79d4dca )
ROM_REGION_DISPOSE(0x300000) /* temporary space for graphics (disposed after conversion) */
ROM_LOAD( "c11-01", 0x000000, 0x080000, 0xfd1ea532 )
ROM_LOAD( "c11-03", 0x100000, 0x080000, 0x46718c7a )
ROM_LOAD( "c11-04", 0x180000, 0x080000, 0x663f33cc )
ROM_LOAD( "c11-05", 0x200000, 0x080000, 0x733e6d8e )
ROM_REGION(0x1c000) /* sound cpu */
ROM_LOAD( "c11-12", 0x00000, 0x04000, 0xb11094f1 )
ROM_CONTINUE( 0x10000, 0x0c000 ) /* banked stuff */
ROM_REGION(0x40000) /* ADPCM samples */
ROM_LOAD( "c11-11", 0x00000, 0x20000, 0x263ecbf9 )
ROM_LOAD( "c11-06", 0x20000, 0x20000, 0x7c249894 )
ROM_END
struct GameDriver megab_driver =
{
__FILE__,
0,
"megab",
"Mega Blade",
"1989",
"Taito",
"Brad Oliver\nAndrew Prime\nErnesto Corvi (sound)",
0,
&megab_machine_driver,
0,
megab_rom,
0, 0,
0,
0, /* sound_prom */
megab_input_ports,
0, 0, 0, /* colors, palette, colortable */
ORIENTATION_DEFAULT,
0, 0
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -