?? nmk.c
字號:
COMPANY_ID_NMK, NULL, 1992, bomb_jack_twin_sound, GAME_PLATFORM | GAME_PARTIALLY_WORKING,};static struct DIR_INFO macross_2_dirs[] ={ { "macross", }, { "macross2", }, { "sdf_macross", }, { NULL, },};static struct ROM_INFO macross_2_roms[] ={ { "921a01", 0x00020000, 0xbbd8242d, 0, 0, 0, }, { "921a02", 0x00010000, 0x77c082c7, 0, 0, 0, }, { "921a03", 0x00080000, 0x33318d55, 0, 0, 0, }, { "921a04", 0x00200000, 0x4002e4bb, 0, 0, 0, }, { "921a05", 0x00080000, 0xd5a1eddd, 0, 0, 0, }, { "921a06", 0x00080000, 0x89461d0f, 0, 0, 0, }, { "921a07", 0x00200000, 0x7d2bf112, 0, 0, 0, }, { "921a08", 0x00000100, 0xcfdbb86c, 0, 0, 0, }, { "921a09", 0x00000100, 0x633ab1c9, 0, 0, 0, }, { "921a10", 0x00000020, 0x8371e42d, 0, 0, 0, }, { NULL, 0, 0, 0, 0, 0, },};struct DSW_DATA dsw_data_macross_2_0[] ={ { "Service", 0x01, 0x02 }, { MSG_OFF, 0x01, 0x00 }, { MSG_ON, 0x00, 0x00 }, { MSG_DSWA_BIT2, 0x02, 0x02 }, { MSG_OFF, 0x02, 0x00 }, { MSG_ON, 0x00, 0x00 }, { MSG_DSWA_BIT3, 0x04, 0x02 }, { MSG_OFF, 0x04, 0x00 }, { MSG_ON, 0x00, 0x00 }, { "Langage", 0x08, 0x02 }, { "Japenese", 0x08, 0x00 }, { "English", 0x00, 0x00 }, { MSG_DSWA_BIT5, 0x10, 0x02 }, { MSG_OFF, 0x10, 0x00 }, { MSG_ON, 0x00, 0x00 }, { MSG_DSWA_BIT6, 0x20, 0x02 }, { MSG_OFF, 0x20, 0x00 }, { MSG_ON, 0x00, 0x00 }, { "Lives", 0xC0, 0x04 }, { "3", 0xC0, 0x00 }, { "4", 0x80, 0x00 }, { "2", 0x40, 0x00 }, { "1", 0x00, 0x00 }, { NULL, 0, 0, },};struct DSW_DATA dsw_data_macross_2_1[] ={ { MSG_COIN1, 0xf0, 0x0f }, { MSG_1COIN_1PLAY, 0xF0, 0x00 }, { MSG_1COIN_2PLAY, 0x70, 0x00 }, { MSG_1COIN_3PLAY, 0xB0, 0x00 }, { MSG_1COIN_4PLAY, 0x30, 0x00 }, { MSG_1COIN_5PLAY, 0xD0, 0x00 }, { MSG_1COIN_6PLAY, 0x50, 0x00 }, { MSG_1COIN_7PLAY, 0x90, 0x00 }, { MSG_2COIN_1PLAY, 0x10, 0x00 }, { MSG_2COIN_3PLAY, 0xE0, 0x00 }, { MSG_2COIN_5PLAY, 0x60, 0x00 }, { MSG_3COIN_1PLAY, 0xA0, 0x00 }, { MSG_3COIN_2PLAY, 0x20, 0x00 }, { MSG_3COIN_4PLAY, 0xC0, 0x00 }, { MSG_4COIN_1PLAY, 0x40, 0x00 }, { MSG_4COIN_3PLAY, 0x80, 0x00 }, { MSG_FREE_PLAY, 0x00, 0x00 }, { MSG_COIN2, 0x0f, 0x0f }, { MSG_1COIN_1PLAY, 0x0F, 0x00 }, { MSG_1COIN_2PLAY, 0x07, 0x00 }, { MSG_1COIN_3PLAY, 0x0B, 0x00 }, { MSG_1COIN_4PLAY, 0x03, 0x00 }, { MSG_1COIN_5PLAY, 0x0D, 0x00 }, { MSG_1COIN_6PLAY, 0x05, 0x00 }, { MSG_1COIN_7PLAY, 0x09, 0x00 }, { MSG_2COIN_1PLAY, 0x01, 0x00 }, { MSG_2COIN_3PLAY, 0x0E, 0x00 }, { MSG_2COIN_5PLAY, 0x06, 0x00 }, { MSG_3COIN_1PLAY, 0x0A, 0x00 }, { MSG_3COIN_2PLAY, 0x02, 0x00 }, { MSG_3COIN_4PLAY, 0x0C, 0x00 }, { MSG_4COIN_1PLAY, 0x04, 0x00 }, { MSG_4COIN_3PLAY, 0x08, 0x00 }, { MSG_FREE_PLAY, 0x00, 0x00 }, { NULL, 0, 0, },};static struct DSW_INFO macross_2_dsw[] ={ { 0x010008, 0xFF, dsw_data_macross_2_0 }, { 0x01000A, 0xFF, dsw_data_macross_2_1 }, { 0, 0, NULL, },};static struct VIDEO_INFO macross_2_video ={ draw_macross_2, 256, 224, 32, VIDEO_ROTATE_270 | VIDEO_ROTATABLE,};struct GAME_MAIN game_macross_2 ={ macross_2_dirs, macross_2_roms, nmk_inputs, macross_2_dsw, NULL, load_macross_2, clear_macross_2, ¯oss_2_video, ExecuteNMKFrame, "macross", "SDF Macross", NULL, COMPANY_ID_NMK, NULL, 1992, NULL, // bomb_jack_twin_sound, GAME_SHOOT,};static struct DIR_INFO hacha_mecha_fighter_dirs[] ={ { "hacha_mecha_fighter", }, { "hachamf", }, { NULL, },};static struct ROM_INFO hacha_mecha_fighter_roms[] ={ { "hmf_02.rom", 0x00080000, 0x3f1e67f2, 0, 0, 0, }, { "hmf_01.rom", 0x00010000, 0x9e6f48fc, 0, 0, 0, }, { "hmf_03.rom", 0x00080000, 0xb25ed93b, 0, 0, 0, }, { "hmf_04.rom", 0x00080000, 0x05a624e3, 0, 0, 0, }, { "hmf_05.rom", 0x00020000, 0x29fb04a2, 0, 0, 0, }, { "hmf_06.rom", 0x00020000, 0xde6408a0, 0, 0, 0, }, { "hmf_07.rom", 0x00020000, 0x9d847c31, 0, 0, 0, }, { "hmf_08.rom", 0x00100000, 0x7fd0f556, 0, 0, 0, }, { NULL, 0, 0, 0, 0, 0, },};struct DSW_DATA dsw_data_hacha_mecha_fighter_0[] ={ { MSG_SCREEN, 0x01, 0x02 }, { MSG_NORMAL, 0x01, 0x00 }, { MSG_INVERT, 0x00, 0x00 }, { "Language", 0x02, 0x02 }, { "Japanese", 0x02, 0x00 }, { "English", 0x00, 0x00 }, { MSG_DIFFICULTY, 0x0c, 0x04 }, { MSG_NORMAL, 0x0c, 0x00 }, { MSG_EASY, 0x08, 0x00 }, { MSG_HARD, 0x04, 0x00 }, { MSG_HARDEST, 0x00, 0x00 }, { "Lives", 0xC0, 0x04 }, { "3", 0xC0, 0x00 }, { "2", 0x80, 0x00 }, { "4", 0x40, 0x00 }, { "1", 0x00, 0x00 }, { NULL, 0, 0, },};struct DSW_DATA dsw_data_hacha_mecha_fighter_1[] ={ { MSG_DEMO_SOUND, 0x02, 0x02 }, { MSG_OFF, 0x02, 0x00 }, { MSG_ON, 0x00, 0x00 }, { MSG_COIN1, 0xE0, 0x08 }, // Looks ugly and out of order, but it's correct! { MSG_1COIN_1PLAY, 0xE0, 0x00 }, { MSG_1COIN_2PLAY, 0xC0, 0x00 }, { MSG_1COIN_3PLAY, 0x40, 0x00 }, { MSG_1COIN_4PLAY, 0x80, 0x00 }, { MSG_2COIN_1PLAY, 0x60, 0x00 }, { MSG_3COIN_1PLAY, 0xA0, 0x00 }, { MSG_4COIN_1PLAY, 0x20, 0x00 }, { MSG_FREE_PLAY, 0x00, 0x00 }, { MSG_COIN2, 0x1C, 0x08 }, { MSG_1COIN_1PLAY, 0x1C, 0x00 }, { MSG_1COIN_2PLAY, 0x18, 0x00 }, { MSG_1COIN_3PLAY, 0x08, 0x00 }, { MSG_1COIN_4PLAY, 0x10, 0x00 }, { MSG_2COIN_1PLAY, 0x0c, 0x00 }, { MSG_3COIN_1PLAY, 0x14, 0x00 }, { MSG_4COIN_1PLAY, 0x04, 0x00 }, { MSG_FREE_PLAY, 0x00, 0x00 }, { NULL, 0, 0, },};static struct DSW_INFO hacha_mecha_fighter_dsw[] ={ { 0x010008, 0xFF, dsw_data_hacha_mecha_fighter_0 }, { 0x010009, 0xFF, dsw_data_hacha_mecha_fighter_1 }, { 0, 0, NULL, },};struct GAME_MAIN game_hacha_mecha_fighter ={ hacha_mecha_fighter_dirs, hacha_mecha_fighter_roms, nmk_inputs, hacha_mecha_fighter_dsw, NULL, LoadHachaMechaFighter, ClearHachaMechaFighter, &nmk_video, ExecuteNMKFrame, "hachamf", "Hacha Mecha Fighter", NULL, COMPANY_ID_NMK, NULL, 1991, bomb_jack_twin_sound, GAME_NOT_WORKING,};static struct DIR_INFO mustang_dirs[] ={ { "mustang", }, { NULL, },};static struct ROM_INFO mustang_roms[] ={ { "mustang.01", 0x00020000, 0xd13f0722, 0, 0, 0, }, { "mustang.02", 0x00020000, 0x87c1fb43, 0, 0, 0, }, { "mustang.03", 0x00020000, 0x23d03ad5, 0, 0, 0, }, { "mustang.04", 0x00020000, 0xa62b2f87, 0, 0, 0, }, { "mustang.05", 0x00020000, 0x932d3e33, 0, 0, 0, }, { "mustang.06", 0x00020000, 0x54773f95, 0, 0, 0, }, { "mustang.07", 0x00020000, 0x42a6cfc2, 0, 0, 0, }, { "mustang.08", 0x00020000, 0x9d3bee66, 0, 0, 0, }, { "mustang.09", 0x00020000, 0x5f8fdfb1, 0, 0, 0, }, { "mustang.10", 0x00020000, 0xb3dd5243, 0, 0, 0, }, { "mustang.11", 0x00020000, 0xc6c9752f, 0, 0, 0, }, { "mustang.12", 0x00020000, 0x39757d6a, 0, 0, 0, }, { "mustang.13", 0x00020000, 0xd8ccce31, 0, 0, 0, }, { "mustang.14", 0x00020000, 0x13c6363b, 0, 0, 0, }, { "mustang.15", 0x00020000, 0x81ccfcad, 0, 0, 0, }, { "mustang.16", 0x00010000, 0x99ee7505, 0, 0, 0, }, { "mustang.17", 0x00010000, 0xf6f6c4bf, 0, 0, 0, }, { NULL, 0, 0, 0, 0, 0, },};static struct DSW_INFO mustang_dsw[] ={ { 0x010005, 0xFF, dsw_data_default_0 }, { 0x010004, 0xFF, dsw_data_default_1 }, { 0, 0, NULL, },};static struct VIDEO_INFO mustang_video ={ DrawMustang, 256, 224, 32, VIDEO_ROTATE_NORMAL | VIDEO_ROTATABLE,};struct GAME_MAIN game_mustang ={ mustang_dirs, mustang_roms, nmk_inputs, mustang_dsw, NULL, LoadMustang, ClearMustang, &mustang_video, ExecuteNMKFrame, "mustang", "USAAF Mustang", NULL, COMPANY_ID_UPL, "UPL-90058", 1990, NULL, GAME_SHOOT | GAME_NOT_WORKING,};static struct DIR_INFO strahl_dirs[] ={ { "strahl", }, { NULL, },};static struct ROM_INFO strahl_roms[] ={ { "str6b1w1.776", 0x00080000, 0xbb1bb155, 0, 0, 0, }, { "str7b2r0.275", 0x00040000, 0x5769e3e1, 0, 0, 0, }, { "str8pmw1.540", 0x00080000, 0x01d6bb6a, 0, 0, 0, }, { "str9pew1.639", 0x00080000, 0x6bb3eb9f, 0, 0, 0, }, { "strahl-1.83", 0x00020000, 0xafc3c4d6, 0, 0, 0, }, { "strahl-2.82", 0x00020000, 0xc9d008ae, 0, 0, 0, }, { "strahl-3.73", 0x00010000, 0x2273b33e, 0, 0, 0, }, { "strahl-4.66", 0x00010000, 0x60a799c4, 0, 0, 0, }, { "strl3-01.32", 0x00080000, 0xd8337f15, 0, 0, 0, }, { "strl4-02.57", 0x00080000, 0x2a38552b, 0, 0, 0, }, { "strl5-03.58", 0x00080000, 0xa0e7d210, 0, 0, 0, }, { NULL, 0, 0, 0, 0, 0, },};struct DSW_DATA dsw_data_strahl_1[] ={ { MSG_DSWB_BIT1, 0x01, 0x02 }, { MSG_OFF, 0x01, 0x00 }, { MSG_ON, 0x00, 0x00 }, { MSG_DSWB_BIT2, 0x02, 0x02 }, { MSG_OFF, 0x02, 0x00 }, { MSG_ON, 0x00, 0x00 }, { MSG_DSWB_BIT3, 0x04, 0x02 }, { MSG_OFF, 0x04, 0x00 }, { MSG_ON, 0x00, 0x00 }, { MSG_DSWB_BIT4, 0x08, 0x02 }, { MSG_OFF, 0x08, 0x00 }, { MSG_ON, 0x00, 0x00 }, { MSG_DSWB_BIT5, 0x10, 0x02 }, { MSG_OFF, 0x10, 0x00 }, { MSG_ON, 0x00, 0x00 }, { MSG_DSWB_BIT6, 0x20, 0x02 }, { MSG_OFF, 0x20, 0x00 }, { MSG_ON, 0x00, 0x00 }, { MSG_DSWB_BIT7, 0x40, 0x02 }, { MSG_OFF, 0x40, 0x00 }, { MSG_ON, 0x00, 0x00 }, { MSG_TEST_MODE, 0x80, 0x02 }, { MSG_OFF, 0x80, 0x00 }, { MSG_ON, 0x00, 0x00 }, { NULL, 0, 0, },};static struct DSW_INFO strahl_dsw[] ={ { 0x010008, 0xFF, dsw_data_default_0 }, { 0x01000A, 0xFF, dsw_data_strahl_1 }, { 0, 0, NULL, },};static struct VIDEO_INFO strahl_video ={ DrawStrahl, 256, 224, 32, VIDEO_ROTATE_NORMAL | VIDEO_ROTATABLE,};struct GAME_MAIN game_strahl ={ strahl_dirs, strahl_roms, nmk_inputs, strahl_dsw, NULL, LoadStrahl, ClearStrahl, &strahl_video, ExecuteNMKFrame, "strahl", "Strahl", "僔儏僩儔乕儖", COMPANY_ID_UPL, NULL, 1992, NULL, GAME_SHOOT,};static struct DIR_INFO task_force_harrier_dirs[] ={ { "task_force_harrier", }, { "tforceh", }, { "tskfrceh", }, { NULL, },};static struct ROM_INFO task_force_harrier_roms[] ={ { "1", 0x00010000, 0xc7402e4a, 0, 0, 0, }, { "2", 0x00020000, 0x78923aaa, 0, 0, 0, }, { "3", 0x00020000, 0x99cea259, 0, 0, 0, }, { "12", 0x00010000, 0xb959f837, 0, 0, 0, }, { "89050-4", 0x00080000, 0x64d7d687, 0, 0, 0, }, { "89050-8", 0x00080000, 0x11ee4c39, 0, 0, 0, }, { "89050-10", 0x00080000, 0x893552ab, 0, 0, 0, }, { "89050-13", 0x00080000, 0x24db3fa4, 0, 0, 0, }, { "89050-17", 0x00080000, 0x7f715421, 0, 0, 0, }, { NULL, 0, 0, 0, 0, 0, },};static struct DSW_INFO task_force_harrier_dsw[] ={ { 0x010005, 0xFF, dsw_data_default_0 }, { 0x010004, 0xFF, dsw_data_default_1 }, { 0, 0, NULL, },};static struct VIDEO_INFO task_force_harrier_video ={ DrawTaskForceHarrier, 256, 224,
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -