?? megasys1.c
字號:
DrawLegendOfMakaj, 256, 224, 32, VIDEO_ROTATE_NORMAL | VIDEO_ROTATABLE,};static struct YM2203interface ym2203_interface ={ 1, 6000000, {YM2203_VOL(220,220)}, //{ 0x00ff20c0 }, {0}, {0}, {0}, {0}, {NULL}};static struct SOUND_INFO jaleco_ym2203_sound[] ={ { SOUND_YM2203, &ym2203_interface, }, { 0, NULL, },};struct GAME_MAIN game_legend_of_makai ={ legend_of_makai_dirs, legend_of_makai_roms, megasys_1_inputs, legend_of_makai_dsw, NULL, LoadLegendOfMakaj, ClearLegendOfMakaj, &legend_of_makai_video, ExecuteMegaSystem1Frame, "lomakai", "Legend of Makai", "杺夽揱愢", COMPANY_ID_JALECO, NULL, 1988, jaleco_ym2203_sound, GAME_PLATFORM,};static struct DIR_INFO makai_densetsu_dirs[] ={ { "makai_densetsu", }, { "makaiden", }, { ROMOF("lomakai"), }, { CLONEOF("lomakai"), }, { NULL, },};static struct ROM_INFO makai_densetsu_roms[] ={ { "lom_01.rom", 0x00010000, 0x46e85e90, 0, 0, 0, }, { "lom_05.rom", 0x00020000, 0xd04fc713, 0, 0, 0, }, { "lom_06.rom", 0x00020000, 0xf33b6eed, 0, 0, 0, }, { "makaiden.8", 0x00010000, 0xa7f623f9, 0, 0, 0, }, { "makaiden.2a", 0x00020000, 0xd40e0fea, 0, 0, 0, }, { "makaiden.3a", 0x00020000, 0x87cf81d1, 0, 0, 0, }, { NULL, 0, 0, 0, 0, 0, },};struct GAME_MAIN game_makai_densetsu ={ makai_densetsu_dirs, makai_densetsu_roms, megasys_1_inputs, legend_of_makai_dsw, NULL, LoadLegendOfMakaj, ClearLegendOfMakaj, &legend_of_makai_video, ExecuteMegaSystem1Frame, "makaiden", "Makai Densetsu", "杺夽揱愢", COMPANY_ID_JALECO, NULL, 1988, jaleco_ym2203_sound, GAME_PLATFORM,};static struct DIR_INFO p47_american_dirs[] ={ { "p47", }, { "p47_american", }, { "p47_usa", }, { NULL, },};static struct ROM_INFO p47_american_roms[] ={ { "p47us12.bin", 0x00020000, 0x5268395f, 0, 0, 0, }, { "p47us16.bin", 0x00010000, 0x5a682c8f, 0, 0, 0, }, { "p47us19.bin", 0x00010000, 0xadb8c12e, 0, 0, 0, }, { "p47us26.bin", 0x00020000, 0x4d07581a, 0, 0, 0, }, { "p47us3.bin", 0x00020000, 0x022e58b8, 0, 0, 0, }, { "p47j_7.bin", 0x00020000, 0xf77723b7, 0, 0, 0, }, { "p47us9.bin", 0x00010000, 0xffcf318e, 0, 0, 0, }, { "p47us1.bin", 0x00020000, 0xed926bd8, 0, 0, 0, }, { "p47j_27.bin", 0x00020000, 0x9e2bde8e, 0, 0, 0, }, { "p47j_18.bin", 0x00020000, 0x29d8f676, 0, 0, 0, }, { "p47j_23.bin", 0x00020000, 0x6e9bc864, 0, 0, 0, }, { "p47j_5.bin", 0x00020000, 0xfe65b65c, 0, 0, 0, }, { "p47j_6.bin", 0x00020000, 0xe191d2d2, 0, 0, 0, }, { "p47j_10.bin", 0x00020000, 0xb9d79c1e, 0, 0, 0, }, { "p47j_11.bin", 0x00020000, 0xfa0d1887, 0, 0, 0, }, { "p47j_20.bin", 0x00020000, 0x2ed53624, 0, 0, 0, }, { "p47j_21.bin", 0x00020000, 0x6f56b56d, 0, 0, 0, }, { NULL, 0, 0, 0, 0, 0, },};static struct DSW_INFO p47_dsw[] ={ { 0x010007, 0xFF, dsw_data_default_0 }, { 0x010006, 0xFF, dsw_data_default_1 }, { 0, 0, NULL, },};struct GAME_MAIN game_p47_american ={ p47_american_dirs, p47_american_roms, megasys_1_inputs, p47_dsw, NULL, LoadP47USA, ClearP47USA, &megasys1_video, ExecuteMegaSystem1Frame, "p47", "P47", "俹係俈 American", COMPANY_ID_JALECO, NULL, 1988, jaleco_ym2151_m6295x2_sound, GAME_SHOOT,};static struct DIR_INFO p47_japanese_dirs[] ={ { "p47_japanese", }, { "p47j", }, { ROMOF("p47"), }, { CLONEOF("p47"), }, { NULL, },};static struct ROM_INFO p47_japanese_roms[] ={ { "p47j_1.bin", 0x00020000, 0x0a5998de, 0, 0, 0, }, { "p47j_10.bin", 0x00020000, 0xb9d79c1e, 0, 0, 0, }, { "p47j_11.bin", 0x00020000, 0xfa0d1887, 0, 0, 0, }, { "p47us12.bin", 0x00020000, 0x5268395f, 0, 0, 0, }, { "p47j_16.bin", 0x00010000, 0x30e44375, 0, 0, 0, }, { "p47j_18.bin", 0x00020000, 0x29d8f676, 0, 0, 0, }, { "p47us19.bin", 0x00010000, 0xadb8c12e, 0, 0, 0, }, { "p47j_20.bin", 0x00020000, 0x2ed53624, 0, 0, 0, }, { "p47j_21.bin", 0x00020000, 0x6f56b56d, 0, 0, 0, }, { "p47j_23.bin", 0x00020000, 0x6e9bc864, 0, 0, 0, }, { "p47us26.bin", 0x00020000, 0x4d07581a, 0, 0, 0, }, { "p47j_27.bin", 0x00020000, 0x9e2bde8e, 0, 0, 0, }, { "p47j_3.bin", 0x00020000, 0x11c655e5, 0, 0, 0, }, { "p47j_5.bin", 0x00020000, 0xfe65b65c, 0, 0, 0, }, { "p47j_6.bin", 0x00020000, 0xe191d2d2, 0, 0, 0, }, { "p47j_7.bin", 0x00020000, 0xf77723b7, 0, 0, 0, }, { "p47us9.bin", 0x00010000, 0xffcf318e, 0, 0, 0, }, { NULL, 0, 0, 0, 0, 0, },};struct GAME_MAIN game_p47_japanese ={ p47_japanese_dirs, p47_japanese_roms, megasys_1_inputs, p47_dsw, NULL, LoadP47J, ClearP47J, &megasys1_video, ExecuteMegaSystem1Frame, "p47j", "P47 Japanese", "俹係俈", COMPANY_ID_JALECO, NULL, 1988, jaleco_ym2151_m6295x2_sound, GAME_SHOOT,};static struct DIR_INFO peek_a_boo_dirs[] ={ { "peek_a_boo", }, { "peekaboo", }, { NULL, },};static struct ROM_INFO peek_a_boo_roms[] ={ { "j3", 0x00020000, 0xf5f4cf33, 0, 0, 0, }, { "j2", 0x00020000, 0x7b3d430d, 0, 0, 0, }, { "1", 0x00080000, 0x5a444ecf, 0, 0, 0, }, { "5", 0x00080000, 0x34fa07bb, 0, 0, 0, }, { "4", 0x00020000, 0xf037794b, 0, 0, 0, }, { NULL, 0, 0, 0, 0, 0, },};static struct INPUT_INFO peek_a_boo_inputs[] ={ { KB_DEF_COIN1, MSG_COIN1, 0x040000, 0x04, BIT_ACTIVE_0 }, { KB_DEF_COIN2, MSG_COIN2, 0x040000, 0x08, BIT_ACTIVE_0 }, { KB_DEF_TILT, MSG_TILT, 0x040000, 0x01, BIT_ACTIVE_0 }, { KB_DEF_SERVICE, MSG_SERVICE, 0x040000, 0x02, BIT_ACTIVE_0 }, { KB_DEF_P1_START, MSG_P1_START, 0x040000, 0x10, BIT_ACTIVE_0 }, { KB_DEF_P1_LEFT, MSG_P1_LEFT, 0x014010, 0xFF, BIT_ACTIVE_1 }, { KB_DEF_P1_RIGHT, MSG_P1_RIGHT, 0x014011, 0xFF, BIT_ACTIVE_1 }, { KB_DEF_P1_B1, MSG_P1_B1, 0x040001, 0x01, BIT_ACTIVE_0 }, { KB_DEF_P1_B2, MSG_P1_B2, 0x040001, 0x02, BIT_ACTIVE_0 }, { KB_DEF_P1_B3, MSG_P1_B3, 0x040001, 0x10, BIT_ACTIVE_0 }, { KB_DEF_P1_B4, MSG_P1_B4, 0x040001, 0x20, BIT_ACTIVE_0 }, { KB_DEF_P2_START, MSG_P2_START, 0x040000, 0x20, BIT_ACTIVE_0 }, { KB_DEF_P2_LEFT, MSG_P2_LEFT, 0x014020, 0xFF, BIT_ACTIVE_1 }, { KB_DEF_P2_RIGHT, MSG_P2_RIGHT, 0x014021, 0xFF, BIT_ACTIVE_1 }, { KB_DEF_P2_B1, MSG_P2_B1, 0x040001, 0x04, BIT_ACTIVE_0 }, { KB_DEF_P2_B2, MSG_P2_B2, 0x040001, 0x08, BIT_ACTIVE_0 }, { 0, NULL, 0, 0, 0 },};static struct DSW_DATA dsw_data_peekaboo_0[] ={ { MSG_COIN1, 0x07, 0x08 }, { MSG_1COIN_1PLAY, 0x07, 0x00 }, { MSG_1COIN_2PLAY, 0x06, 0x00 }, { MSG_1COIN_3PLAY, 0x05, 0x00 }, { MSG_1COIN_4PLAY, 0x04, 0x00 }, { MSG_1COIN_5PLAY, 0x03, 0x00 }, { MSG_2COIN_1PLAY, 0x02, 0x00 }, { MSG_3COIN_1PLAY, 0x01, 0x00 }, { MSG_4COIN_1PLAY, 0x00, 0x00 }, { MSG_COIN2, 0x38, 0x08 }, { MSG_1COIN_1PLAY, 0x38, 0x00 }, { MSG_1COIN_2PLAY, 0x30, 0x00 }, { MSG_1COIN_3PLAY, 0x28, 0x00 }, { MSG_1COIN_4PLAY, 0x20, 0x00 }, { MSG_1COIN_5PLAY, 0x18, 0x00 }, { MSG_2COIN_1PLAY, 0x10, 0x00 }, { MSG_3COIN_1PLAY, 0x08, 0x00 }, { MSG_4COIN_1PLAY, 0x00, 0x00 }, { MSG_DEMO_SOUND, 0x40, 0x02 }, { MSG_ON, 0x40, 0x00 }, { MSG_OFF, 0x00, 0x00 }, { MSG_SCREEN, 0x80, 0x02 }, { MSG_OFF, 0x80, 0x00 }, { MSG_ON, 0x00, 0x00 }, { NULL, 0, 0, },};static struct DSW_DATA dsw_data_peekaboo_1[] ={ { MSG_UNKNOWN, 0x03, 0x04 }, { "3", 0x03, 0x00 }, { "2", 0x02, 0x00 }, { "1", 0x01, 0x00 }, { "0", 0x00, 0x00 }, { MSG_SERVICE, 0x04, 0x02 }, { MSG_OFF, 0x04, 0x00 }, { MSG_ON, 0x00, 0x00 }, { "Movement?", 0x08, 0x02 }, { "Paddle", 0x08, 0x00 }, { "Buttons", 0x00, 0x00 }, { "Nudity", 0x30, 0x04 }, { "Female & Male (Full)", 0x30, 0x00 }, { "Female (Full)", 0x20, 0x00 }, { "Female (Partial)", 0x10, 0x00 }, { "None", 0x00, 0x00 }, { MSG_CABINET, 0x40, 0x02 }, { MSG_UPRIGHT, 0x40, 0x00 }, { MSG_TABLE, 0x00, 0x00 }, { "Controls ?", 0x80, 0x02 }, { MSG_OFF, 0x80, 0x00 }, { MSG_ON, 0x00, 0x00 }, { NULL, 0, 0, },};static struct DSW_INFO peek_a_boo_dsw[] ={ { 0x030001, 0xFF, dsw_data_peekaboo_1 }, { 0x030000, 0xFF, dsw_data_peekaboo_0 }, { 0, 0, NULL, },};static struct VIDEO_INFO peek_a_boo_video ={ DrawPeekABoo, 256, 224, 32, VIDEO_ROTATE_NORMAL | VIDEO_ROTATABLE,};struct GAME_MAIN game_peek_a_boo ={ peek_a_boo_dirs, peek_a_boo_roms, peek_a_boo_inputs, peek_a_boo_dsw, NULL, LoadPeekABoo, ClearPeekABoo, &peek_a_boo_video, ExecuteMegaSystem2Frame, "peekaboo", "Peek A Boo", NULL, COMPANY_ID_JALECO, NULL, 1993, jaleco_ym2151_m6295x2_sound, GAME_BREAKOUT,};static struct DIR_INFO phantasm_dirs[] ={ { "phantasm", }, { ROMOF("avspirit"), }, { CLONEOF("avspirit"), }, { NULL, },};static struct ROM_INFO phantasm_roms[] ={ { "phntsm01.bin", 0x00020000, 0xa54b4b87, 0, 0, 0, }, { "phntsm02.bin", 0x00020000, 0xd96a3584, 0, 0, 0, }, { "phntsm03.bin", 0x00010000, 0x1d96ce20, 0, 0, 0, }, { "phntsm04.bin", 0x00010000, 0xdc0c4994, 0, 0, 0, }, { "phntsm05.bin", 0x00010000, 0x3b169b4a, 0, 0, 0, }, { "phntsm06.bin", 0x00010000, 0xdf2dfb2e, 0, 0, 0, }, { "spirit13.rom", 0x00040000, 0x05bc04d9, 0, 0, 0, }, { "spirit14.rom", 0x00040000, 0x13be9979, 0, 0, 0, }, { "spirit12.rom", 0x00080000, 0x728335d4, 0, 0, 0, }, { "spirit11.rom", 0x00080000, 0x7896f6b0, 0, 0, 0, }, { "spirit09.rom", 0x00020000, 0x0c37edf7, 0, 0, 0, }, { "spirit10.rom", 0x00080000, 0x2b1180b3, 0, 0, 0, }, { NULL, 0, 0, 0, 0, 0, },};static struct DSW_INFO phantasm_dsw[] ={ { 0x010007, 0xFF, dsw_data_default_0 }, { 0x010006, 0xFF, dsw_data_default_1 }, { 0, 0, NULL, },};struct GAME_MAIN game_phantasm ={ phantasm_dirs, phantasm_roms, megasys_1_inputs, phantasm_dsw, NULL, LoadPhantasm, ClearPhantasm, &megasys1_video, ExecuteMegaSystem1Frame, "phantasm", "Phantasm", "僼傽儞僞僘儉", COMPANY_ID_JALECO, NULL, 1990, jaleco_ym2151_m6295x2_sound, GAME_PLATFORM,};static struct DIR_INFO plus_alpha_dirs[] ={ { "plus_alpha", }, { "plusalph", }, { NULL, },};static struct ROM_INFO plus_alpha_roms[] ={ { "pa-rom1.bin", 0x00020000, 0xa32fdcae, 0, 0, 0, }, { "pa-rom2.bin", 0x00020000, 0x33244799, 0, 0, 0, }, { "pa-rom3.bin", 0x00010000, 0x1b739835, 0, 0, 0, }, { "pa-rom4.bin", 0x00010000, 0xff760e80, 0, 0, 0, }, { "pa-rom5.bin", 0x00010000, 0xddc2739b, 0, 0, 0, }, { "pa-rom6.bin", 0x00010000, 0xf6f8a167, 0, 0, 0, }, { "pa-rom7.bin", 0x00020000, 0x9f5d800e, 0, 0, 0, }, { "pa-rom8.bin", 0x00020000, 0xae007750, 0, 0, 0, }, { "pa-rom9.bin", 0x00020000, 0x065364bd, 0, 0, 0, }, { "pa-rom10.bin", 0x00020000, 0x395df3b2, 0, 0, 0, }, { "pa-rom11.bin", 0x00020000, 0xeb709ae7, 0, 0, 0, }, { "pa-rom12.bin", 0x00020000, 0xcacbc350, 0, 0, 0, }, { "pa-rom13.bin", 0x00020000, 0xfad093dd, 0, 0, 0, }, { "pa-rom14.bin", 0x00020000, 0xd3676cd1, 0, 0, 0, }, { "pa-rom15.bin", 0x00020000, 0x8787735b, 0, 0, 0, }, { "pa-rom16.bin", 0x00020000, 0xa06b813b, 0, 0, 0, }, { "pa-rom17.bin", 0x00020000, 0xc6b38a4b, 0, 0, 0, }, { "pa-rom19.bin", 0x00010000, 0x39ef193c, 0, 0, 0, }, { "pa-rom20.bin", 0x00020000, 0x86c557a8, 0, 0, 0, }, { "pa-rom21.bin", 0x00020000, 0x81140a88, 0, 0, 0, }, { "pa-rom22.bin", 0x00020000, 0x97e39886, 0, 0, 0, }, { "pa-rom23.bin", 0x00020000, 0x0383fb65, 0, 0, 0, }, { NULL, 0, 0, 0, 0, 0, },};static struct DSW_INFO plus_alpha_dsw[] ={ { 0x010007, 0xFF, dsw_data_default_0 }, { 0x010006, 0xFF, dsw_data_default_1 }, { 0, 0, NULL, },};struct GAME_MAIN game_plus_alpha ={ plus_alpha_dirs, plus_alpha_roms, megasys_1_inputs, plus_alpha_dsw,
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -