📄 toaplan2.c
字号:
v_five_dsw, NULL, load_v_five, clear_toaplan_2, &toaplan2_r270_video, ExecuteToaplan2Frame, "grindstm", "Grind Stormer", NULL, COMPANY_ID_TOAPLAN, "TP027", 1992, NULL, GAME_SHOOT,};/*************************** SHIPPU MAHOU DAISAKUSEN ***************************/static struct DIR_INFO shippu_mahou_daisakusen_dirs[] ={ { "shippu_mahou_daisakusen", }, { "shippumd", }, { NULL, },};static struct ROM_INFO shippu_mahou_daisakusen_roms[] ={ { "ma02rom0.bin", 0x00080000, 0xf226a212, 0, 0, 0, }, { "ma02rom1.bin", 0x00080000, 0xa678b149, 0, 0, 0, }, { "ma02rom2.bin", 0x00010000, 0xdde8a57e, 0, 0, 0, }, { "ma02rom3.bin", 0x00200000, 0x0e797142, 0, 0, 0, }, { "ma02rom4.bin", 0x00200000, 0x72a6fa53, 0, 0, 0, }, { "ma02rom5.bin", 0x00008000, 0x116ae559, 0, 0, 0, }, { "ma02rom6.bin", 0x00080000, 0x199e7cae, 0, 0, 0, }, { NULL, 0, 0, 0, 0, 0, },};static struct INPUT_INFO raizing_inputs[] ={ { KB_DEF_COIN1, MSG_COIN1, 0x000000, 0x08, BIT_ACTIVE_1 }, { KB_DEF_COIN2, MSG_COIN2, 0x000000, 0x10, BIT_ACTIVE_1 }, { KB_DEF_TILT, MSG_TILT, 0x000000, 0x02, BIT_ACTIVE_1 }, { KB_DEF_SERVICE, MSG_SERVICE, 0x000000, 0x01, BIT_ACTIVE_1 }, { KB_DEF_TEST, MSG_TEST, 0x000000, 0x04, BIT_ACTIVE_1 }, { KB_DEF_P1_START, MSG_P1_START, 0x000000, 0x20, BIT_ACTIVE_1 }, { KB_DEF_P1_UP, MSG_P1_UP, 0x000001, 0x01, BIT_ACTIVE_1 }, { KB_DEF_P1_DOWN, MSG_P1_DOWN, 0x000001, 0x02, BIT_ACTIVE_1 }, { KB_DEF_P1_LEFT, MSG_P1_LEFT, 0x000001, 0x04, BIT_ACTIVE_1 }, { KB_DEF_P1_RIGHT, MSG_P1_RIGHT, 0x000001, 0x08, BIT_ACTIVE_1 }, { KB_DEF_P1_B1, MSG_P1_B1, 0x000001, 0x10, BIT_ACTIVE_1 }, { KB_DEF_P1_B2, MSG_P1_B2, 0x000001, 0x20, BIT_ACTIVE_1 }, { KB_DEF_P1_B3, MSG_P1_B3, 0x000001, 0x40, BIT_ACTIVE_1 }, { KB_DEF_P2_START, MSG_P2_START, 0x000000, 0x40, BIT_ACTIVE_1 }, { KB_DEF_P2_UP, MSG_P2_UP, 0x000002, 0x01, BIT_ACTIVE_1 }, { KB_DEF_P2_DOWN, MSG_P2_DOWN, 0x000002, 0x02, BIT_ACTIVE_1 }, { KB_DEF_P2_LEFT, MSG_P2_LEFT, 0x000002, 0x04, BIT_ACTIVE_1 }, { KB_DEF_P2_RIGHT, MSG_P2_RIGHT, 0x000002, 0x08, BIT_ACTIVE_1 }, { KB_DEF_P2_B1, MSG_P2_B1, 0x000002, 0x10, BIT_ACTIVE_1 }, { KB_DEF_P2_B2, MSG_P2_B2, 0x000002, 0x20, BIT_ACTIVE_1 }, { KB_DEF_P2_B3, MSG_P2_B3, 0x000002, 0x40, BIT_ACTIVE_1 }, { 0, NULL, 0, 0, 0 },};static struct DSW_DATA dsw_data_shippu_mahou_daisakusen_0[] ={ { MSG_FREE_PLAY, 0x01, 0x02 }, { MSG_OFF, 0x00, 0x00 }, { MSG_ON, 0x01, 0x00 }, { MSG_SCREEN, 0x02, 0x02 }, { MSG_NORMAL, 0x00, 0x00 }, { MSG_INVERT, 0x02, 0x00 }, { MSG_TEST_MODE, 0x04, 0x02 }, { MSG_OFF, 0x00, 0x00 }, { MSG_ON, 0x04, 0x00 }, { MSG_DEMO_SOUND, 0x08, 0x02 }, { MSG_ON, 0x00, 0x00 }, { MSG_OFF, 0x08, 0x00 }, { MSG_COIN1, 0x30, 0x04 }, { MSG_1COIN_1PLAY, 0x00, 0x00 }, { MSG_1COIN_2PLAY, 0x10, 0x00 }, { MSG_2COIN_1PLAY, 0x20, 0x00 }, { MSG_2COIN_3PLAY, 0x30, 0x00 }, { MSG_COIN2, 0xC0, 0x04 }, { MSG_1COIN_1PLAY, 0x00, 0x00 }, { MSG_1COIN_2PLAY, 0x40, 0x00 }, { MSG_2COIN_1PLAY, 0x80, 0x00 }, { MSG_2COIN_3PLAY, 0xC0, 0x00 }, { NULL, 0, 0, },};static struct DSW_DATA dsw_data_shippu_mahou_daisakusen_1[] ={ { MSG_DIFFICULTY, 0x03, 0x04 }, { MSG_NORMAL, 0x00, 0x00 }, { MSG_EASY, 0x01, 0x00 }, { MSG_HARD, 0x02, 0x00 }, { MSG_HARDEST, 0x03, 0x00 }, { MSG_EXTRA_LIFE, 0x0C, 0x04 }, { "every 300k", 0x00, 0x00 }, { "200k and 500k", 0x04, 0x00 }, { "200k", 0x08, 0x00 }, { "None", 0x0C, 0x00 }, { MSG_LIVES, 0x30, 0x04 }, { "3", 0x00, 0x00 }, { "5", 0x10, 0x00 }, { "2", 0x20, 0x00 }, { "1", 0x30, 0x00 }, { MSG_CHEAT, 0x40, 0x02 }, { MSG_OFF, 0x00, 0x00 }, { MSG_ON, 0x40, 0x00 }, { MSG_CONTINUE_PLAY, 0x80, 0x02 }, { MSG_ON, 0x00, 0x00 }, { MSG_OFF, 0x80, 0x00 }, { NULL, 0, 0, },};static struct DSW_DATA dsw_data_shippu_mahou_daisakusen_2[] ={ { "Language", 0x0F, 0x02 }, { "Raizing (Japan)", 0x00, 0x00 }, { "Raizing (wrong gfx)", 0x01, 0x00 }, // title screen is corrupt { NULL, 0, 0, },};static struct DSW_INFO shippu_mahou_daisakusen_dsw[] ={ { 0x000003, 0x00, dsw_data_shippu_mahou_daisakusen_0 }, { 0x000004, 0x00, dsw_data_shippu_mahou_daisakusen_1 }, { 0x000005, 0x00, dsw_data_shippu_mahou_daisakusen_2 }, { 0, 0, NULL, },};struct GAME_MAIN game_shippu_mahou_daisakusen ={ shippu_mahou_daisakusen_dirs, shippu_mahou_daisakusen_roms, raizing_inputs, shippu_mahou_daisakusen_dsw, NULL, load_shippu_mahou_daisakusen, clear_toaplan_2, &toaplan2_r270_video, ExecuteToaplan2Frame, "shippumd", "Shippu Mahou Daisakusen", "幘晽杺朄靛嶌悺", COMPANY_ID_RAIZING, NULL, 1994, toaplan2_sound, GAME_SHOOT,};/******************** MAHOU DAISAKUSEN ********************/static struct DIR_INFO mahou_daisakusen_dirs[] ={ { "mahou_daisakusen", }, { "mahoudai", }, { NULL, },};static struct ROM_INFO mahou_daisakusen_roms[] ={ { "ra_ma_01.01", 0x00080000, 0x970ccc5c, 0, 0, 0, }, { "ra_ma_01.02", 0x00010000, 0xeabfa46d, 0, 0, 0, }, { "ra_ma_01.03", 0x00100000, 0x54e2bd95, 0, 0, 0, }, { "ra_ma_01.04", 0x00100000, 0x21cd378f, 0, 0, 0, }, { "ra_ma_01.05", 0x00008000, 0xc00d1e80, 0, 0, 0, }, { "ra_ma_01.06", 0x00040000, 0x6edb2ab8, 0, 0, 0, }, { NULL, 0, 0, 0, 0, 0, },};static struct DSW_DATA dsw_data_mahou_daisakusen_2[] ={ { "Language", 0x0F, 0x10 }, { "Raizing (Japan)", 0x00, 0x00 }, { "1", 0x01, 0x00 }, { "2", 0x02, 0x00 }, { "3", 0x03, 0x00 }, { "4", 0x04, 0x00 }, { "5", 0x05, 0x00 }, { "6", 0x06, 0x00 }, { "7", 0x07, 0x00 }, { "8", 0x08, 0x00 }, { "9", 0x09, 0x00 }, { "A", 0x0A, 0x00 }, { "B", 0x0B, 0x00 }, { "C", 0x0C, 0x00 }, { "D", 0x0D, 0x00 }, { "E", 0x0E, 0x00 }, { "F", 0x0F, 0x00 }, { NULL, 0, 0, },};static struct DSW_INFO mahou_daisakusen_dsw[] ={ { 0x000003, 0x00, dsw_data_shippu_mahou_daisakusen_0 }, { 0x000004, 0x00, dsw_data_shippu_mahou_daisakusen_1 }, { 0x000005, 0x00, dsw_data_mahou_daisakusen_2 }, { 0, 0, NULL, },};struct GAME_MAIN game_mahou_daisakusen ={ mahou_daisakusen_dirs, mahou_daisakusen_roms, raizing_inputs, mahou_daisakusen_dsw, NULL, load_mahou_daisakusen, clear_toaplan_2, &toaplan2_r270_video, ExecuteToaplan2Frame, "mahoudai", "Mahou Daisakusen", "杺朄靛嶌悺", COMPANY_ID_RAIZING, NULL, 1993, toaplan2_sound, GAME_SHOOT,};/*************************** ARMED POLICE BATRIDER B ***************************/static struct DIR_INFO batrider_dirs[] ={ { "armed_police_batrider_version_b", }, { "batrider", }, { "batrideb", }, { NULL, },};static struct ROM_INFO batrider_roms[] ={ { "rom-1.bin", 0x00400000, 0x0df69ca2, 0, 0, 0, }, { "rom-2.bin", 0x00400000, 0x1bfea593, 0, 0, 0, }, { "rom-3.bin", 0x00400000, 0x60167d38, 0, 0, 0, }, { "rom-4.bin", 0x00400000, 0xbee03c94, 0, 0, 0, }, { "rom-5.bin", 0x00100000, 0x4274daf6, 0, 0, 0, }, { "rom-6.bin", 0x00100000, 0x2a1c2426, 0, 0, 0, }, { "prg0.u22", 0x00080000, 0x4f3fc729, 0, 0, 0, }, { "prg1b.u23", 0x00080000, 0x8e70b492, 0, 0, 0, }, { "prg2.u21", 0x00080000, 0xbdaa5fbf, 0, 0, 0, }, { "prg3.u24", 0x00080000, 0x7aa9f941, 0, 0, 0, }, { "snd.u77", 0x00040000, 0x56682696, 0, 0, 0, }, { NULL, 0, 0, 0, 0, 0, },};static struct DSW_DATA dsw_data_batrider_0[] ={ { MSG_TEST_MODE, 0x01, 0x02 }, { MSG_OFF, 0x00, 0x00 }, { MSG_ON, 0x01, 0x00 }, { "Credits to Start", 0x02, 0x02 }, { "1 Credit", 0x00, 0x00 }, { "2 Credtis", 0x02, 0x00 }, { MSG_COIN1, 0x1C, 0x08 }, { MSG_1COIN_1PLAY, 0x00, 0x00 }, { MSG_1COIN_2PLAY, 0x04, 0x00 }, { MSG_1COIN_3PLAY, 0x08, 0x00 }, { MSG_1COIN_4PLAY, 0x0C, 0x00 }, { MSG_2COIN_1PLAY, 0x10, 0x00 }, { MSG_3COIN_1PLAY, 0x14, 0x00 }, { MSG_4COIN_1PLAY, 0x18, 0x00 }, { MSG_FREE_PLAY, 0x1C, 0x00 }, { MSG_COIN2, 0xE0, 0x08 }, { MSG_1COIN_1PLAY, 0x00, 0x00 }, { MSG_1COIN_2PLAY, 0x20, 0x00 }, { MSG_1COIN_3PLAY, 0x40, 0x00 }, { MSG_1COIN_4PLAY, 0x60, 0x00 }, { MSG_2COIN_1PLAY, 0x80, 0x00 }, { MSG_3COIN_1PLAY, 0xA0, 0x00 }, { MSG_4COIN_1PLAY, 0xC0, 0x00 }, { MSG_1COIN_1PLAY, 0xE0, 0x00 }, { NULL, 0, 0, },};static struct DSW_DATA dsw_data_batrider_1[] ={ { MSG_DIFFICULTY, 0x03, 0x04 }, { MSG_NORMAL, 0x00, 0x00 }, { MSG_EASY, 0x01, 0x00 }, { MSG_HARD, 0x02, 0x00 }, { MSG_HARDEST, 0x03, 0x00 }, { "Timer", 0x0C, 0x04 }, { MSG_NORMAL, 0x00, 0x00 }, { MSG_EASY, 0x04, 0x00 }, { MSG_HARD, 0x08, 0x00 }, { MSG_HARDEST, 0x0C, 0x00 }, { MSG_LIVES, 0x30, 0x04 }, { "3", 0x00, 0x00 }, { "4", 0x10, 0x00 }, { "2", 0x20, 0x00 }, { "1", 0x30, 0x00 }, { MSG_EXTRA_LIFE, 0xC0, 0x04 }, { "every 1500k", 0x00, 0x00 }, { "every 1000k", 0x40, 0x00 }, { "every 2000k", 0x80, 0x00 }, { "None", 0xC0, 0x00 }, { NULL, 0, 0, },};static struct DSW_DATA dsw_data_batrider_2[] ={ { MSG_SCREEN, 0x01, 0x02 }, { MSG_NORMAL, 0x00, 0x00 }, { MSG_INVERT, 0x01, 0x00 }, { MSG_DEMO_SOUND, 0x02, 0x02 }, { MSG_ON, 0x00, 0x00 }, { MSG_OFF, 0x02, 0x00 }, { "Stage Edit", 0x04, 0x02 }, { MSG_OFF, 0x00, 0x00 }, { MSG_ON , 0x04, 0x00 }, { MSG_CONTINUE_PLAY, 0x08, 0x02 }, { MSG_ON, 0x00, 0x00 }, { MSG_OFF, 0x08, 0x00 }, { MSG_CHEAT, 0x10, 0x02 }, { MSG_OFF, 0x00, 0x00 }, { MSG_ON, 0x10, 0x00 }, { NULL, 0, 0, },};static struct DSW_INFO batrider_dsw[] ={ { 0x000003, 0x00, dsw_data_batrider_0 }, { 0x000004, 0x00, dsw_data_batrider_1 }, { 0x000005, 0x00, dsw_data_batrider_2 }, { 0, 0, NULL, },};static struct YM2151interface batrider_ym2151 ={ 1, 32000000/8, { YM3012_VOL(200,OSD_PAN_LEFT,200,OSD_PAN_RIGHT) }, { NULL }, { NULL },};static struct OKIM6295interface batrider_m6295 ={ 2, //{ 20000, 20000 }, { 32000000/10/132, 32000000/10/165 }, { 0,0 }, // If !=0 then these are REGION numbers !!! { 250,250 }};static struct SOUND_INFO batrider_sound[] ={ { SOUND_YM2151S, &batrider_ym2151, }, { SOUND_M6295, &bat
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -