diff options
Diffstat (limited to 'src/mame/machine/irem_cpu.cpp')
-rw-r--r-- | src/mame/machine/irem_cpu.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/mame/machine/irem_cpu.cpp b/src/mame/machine/irem_cpu.cpp index b46ee68ff39..f80afa1bf74 100644 --- a/src/mame/machine/irem_cpu.cpp +++ b/src/mame/machine/irem_cpu.cpp @@ -59,7 +59,7 @@ #define xxxx 0x90 /* Unknown */ // gunforce, kengo, hasamu -const UINT8 gunforce_decryption_table[256] = { +const uint8_t gunforce_decryption_table[256] = { 0xff,xxxx,xxxx,0x2c,xxxx,xxxx,0x43,0x88, xxxx,0x13,0x0a,0xbd,0xba,0x60,0xea,xxxx, /* 00 */ xxxx,xxxx,0xf2,0x29,0xb3,0x22,xxxx,0x0c, 0xa9,0x5f,0x9d,0x07,xxxx,xxxx,0x0b,0xbb, /* 10 */ 0x8a,xxxx,xxxx,xxxx,0x3a,0x3c,0x5a,0x38, 0x99,xxxx,0xf8,0x89,xxxx,0x91,xxxx,0x55, /* 20 */ @@ -94,7 +94,7 @@ const UINT8 gunforce_decryption_table[256] = { // 0x00 is NOT 0x20 (no context in bomberman) // bmaster, bomberman -const UINT8 bomberman_decryption_table[256] = { +const uint8_t bomberman_decryption_table[256] = { xxxx,xxxx,0x79,xxxx,0x9d,0x48,xxxx,xxxx, xxxx,xxxx,0x2e,xxxx,xxxx,0xa5,0x72,xxxx, /* 00 */ 0x46,0x5b,0xb1,0x3a,0xc3,xxxx,0x35,xxxx, xxxx,0x23,xxxx,0x99,xxxx,0x05,xxxx,0x3c, /* 10 */ 0x3b,0x76,0x11,xxxx,xxxx,0x4b,xxxx,0x92, xxxx,0x32,0x5d,xxxx,0xf7,0x5a,0x9c,xxxx, /* 20 */ @@ -115,7 +115,7 @@ const UINT8 bomberman_decryption_table[256] = { // 49 -> 4a (verified in a bombrman PCB) // lethalth, gunforc2, quizf1 -const UINT8 lethalth_decryption_table[256] = { +const uint8_t lethalth_decryption_table[256] = { 0x7f,0x26,0x5d,xxxx,0xba,xxxx,0x1e,0x5e, 0xb8,0x49,0xbc,0xe8,0x01,xxxx,0x4a,0x25, /* 00 */ // ssss !!!! !!!! !!!! !!!! !!!! !!!! gggg !!!! !!!! !!!! !!!! xxxx,0xbd,xxxx,0x22,0x10,xxxx,0x02,0x57, 0x70,xxxx,0x7c,xxxx,0xe7,0x52,xxxx,0xa9, /* 10 */ @@ -203,7 +203,7 @@ b0 -> 0x63 (11479) // 0xc5 (0x7a) completely in the dark (game start after car seelction) // uccops, dynablaster -const UINT8 dynablaster_decryption_table[256] = { +const uint8_t dynablaster_decryption_table[256] = { 0x1f,0x51,0x84,xxxx,0x3d,0x09,0x0d,xxxx, xxxx,0x57,xxxx,xxxx,xxxx,0x32,0x11,xxxx, /* 00 */ xxxx,0x9c,xxxx,xxxx,0x4b,xxxx,xxxx,0x03, xxxx,xxxx,xxxx,0x89,0xb0,xxxx,xxxx,xxxx, /* 10 */ xxxx,0xbb,0x18,0xbe,0x53,0x21,0x55,0x7c, xxxx,xxxx,0x47,0x58,0xf6,xxxx,xxxx,0xb2, /* 20 */ @@ -238,7 +238,7 @@ const UINT8 dynablaster_decryption_table[256] = { /* note: mysticrib sound is identical revision to bbmanw sound code */ // mysticri -const UINT8 mysticri_decryption_table[256] = { +const uint8_t mysticri_decryption_table[256] = { xxxx,0x57,xxxx,xxxx,xxxx,xxxx,xxxx,xxxx, 0xbf,0x43,xxxx,xxxx,0xb3,xxxx,0xfc,xxxx, /* 00 */ /*r*/ xxxx,xxxx,xxxx,xxxx,xxxx,0x52,0xa3,0x26, xxxx,0xc7,xxxx,0x0f,xxxx,0x0c,xxxx,xxxx, /* 10 */ @@ -266,7 +266,7 @@ const UINT8 mysticri_decryption_table[256] = { // 0x8b (0xb3) needed by mysticrib // majtitl2 -const UINT8 majtitl2_decryption_table[256] = { +const uint8_t majtitl2_decryption_table[256] = { 0x87,xxxx,0x78,0xaa,xxxx,xxxx,xxxx,0x2c, 0x32,0x0a,0x0f,xxxx,0x5e,xxxx,0xc6,0x8a, /* 00 */ 0x33,xxxx,xxxx,xxxx,xxxx,0xea,xxxx,0x72, xxxx,xxxx,xxxx,xxxx,xxxx,xxxx,0x24,0x55, /* 10 */ xxxx,xxxx,xxxx,0x89,0xfb,xxxx,0x59,0x02, xxxx,xxxx,0x5d,xxxx,xxxx,xxxx,0x36,xxxx, /* 20 */ @@ -288,7 +288,7 @@ const UINT8 majtitl2_decryption_table[256] = { // 0x70 (0x2b) not sure, could be 0x1b // hook -const UINT8 hook_decryption_table[256] = { +const uint8_t hook_decryption_table[256] = { 0xb6,0x20,0x22,xxxx,0x0f,0x57,0x59,0xc6, 0xeb,xxxx,0xb0,0xbb,0x3b,xxxx,xxxx,xxxx, /* 00 */ 0x36,xxxx,xxxx,xxxx,xxxx,xxxx,xxxx,xxxx, xxxx,0xfe,xxxx,xxxx,xxxx,xxxx,xxxx,0xa0, /* 10 */ 0x2e,xxxx,0x0b,xxxx,xxxx,0x58,xxxx,xxxx, xxxx,xxxx,xxxx,xxxx,xxxx,0x80,xxxx,xxxx, /* 20 */ @@ -310,7 +310,7 @@ const UINT8 hook_decryption_table[256] = { // 0xbb (0x2b) not sure, could be 0x1b // rtypeleo, firebarr -const UINT8 rtypeleo_decryption_table[256] = { +const uint8_t rtypeleo_decryption_table[256] = { 0x5d,xxxx,0xc6,xxxx,xxxx,xxxx,0x2a,0x3a,xxxx,xxxx,xxxx,0x86,xxxx,0x22,xxxx,0xf3, /* 00 */ xxxx,xxxx,xxxx,xxxx,xxxx,0x38,0xf7,0x42,0x04,xxxx,xxxx,0x1f,0x4b,xxxx,xxxx,0x58, /* 10 */ 0x57,0x2e,xxxx,xxxx,0x53,xxxx,0xb9,xxxx,xxxx,xxxx,xxxx,xxxx,0x20,0x55,xxxx,0x3d, /* 20 */ @@ -335,7 +335,7 @@ const UINT8 rtypeleo_decryption_table[256] = { // 3d = correct // inthunt -const UINT8 inthunt_decryption_table[256] = { +const uint8_t inthunt_decryption_table[256] = { 0x1f,xxxx,0xbb,0x50,xxxx,0x58,0x42,0x57, xxxx,xxxx,0xe9,xxxx,xxxx,xxxx,xxxx,0x0b, /* 00 */ xxxx,xxxx,0x9d,0x9c,xxxx,xxxx,0x1e,xxxx, xxxx,0xb4,0x5b,xxxx,xxxx,xxxx,xxxx,xxxx, /* 10 */ xxxx,xxxx,0x78,0xc7,xxxx,xxxx,0x83,xxxx, xxxx,0x0c,0xb0,0x04,xxxx,xxxx,xxxx,xxxx, /* 20 */ @@ -357,7 +357,7 @@ const UINT8 inthunt_decryption_table[256] = { // 0xb8 (0x2b) not sure, could be 0x1b // gussun -const UINT8 gussun_decryption_table[256] = { +const uint8_t gussun_decryption_table[256] = { 0x63,xxxx,xxxx,0x36,xxxx,0x52,0xb1,0x5b, 0x68,0xcd,xxxx,xxxx,xxxx,0xa8,xxxx,xxxx, /* 00 */ // gggg gggg gggg gggg xxxx,xxxx,0x75,0x24,0x08,0x83,0x32,0xe9, xxxx,0x79,xxxx,0x8f,0x22,xxxx,0xac,xxxx, /* 10 */ @@ -504,7 +504,7 @@ ret */ // leagueman, wpksoc -const UINT8 leagueman_decryption_table[256] = { +const uint8_t leagueman_decryption_table[256] = { xxxx,xxxx,xxxx,0x55,0xbb,xxxx,0x23,0x79, xxxx,xxxx,xxxx,xxxx,xxxx,xxxx,0x38,xxxx, /* 00 */ 0xf7,xxxx,xxxx,xxxx,xxxx,xxxx,xxxx,xxxx, 0x3d,xxxx,xxxx,xxxx,0xba,xxxx,0x1e,xxxx, /* 10 */ 0x2c,0x46,xxxx,0xb5,xxxx,0x4b,xxxx,0xfe, xxxx,xxxx,0xfb,0x2e,xxxx,xxxx,0x36,0x04, /* 20 */ @@ -526,7 +526,7 @@ const UINT8 leagueman_decryption_table[256] = { // fixed 0x10 = 0xf7 mapping // psoldier -const UINT8 psoldier_decryption_table[256] = { +const uint8_t psoldier_decryption_table[256] = { xxxx,xxxx,xxxx,0x8a,xxxx,0xaa,xxxx,xxxx, xxxx,0x20,0x23,0x55,xxxx,0xb5,0x0a,xxxx, /* 00 */ xxxx,0x46,xxxx,0xb6,xxxx,0x74,0x8b,xxxx, xxxx,0xba,0xf7,xxxx,xxxx,0x5a,0x86,0xfb, /* 10 */ 0xb2,xxxx,0xb0,xxxx,0x42,0x06,0x1e,0x08, 0x22,0x9d,xxxx,xxxx,xxxx,xxxx,xxxx,0x73, /* 20 */ @@ -548,7 +548,7 @@ const UINT8 psoldier_decryption_table[256] = { // fixed 0x1a = 0xf7 mapping // dsoccr94 -const UINT8 dsoccr94_decryption_table[256] = { +const uint8_t dsoccr94_decryption_table[256] = { xxxx,0xd1,xxxx,xxxx,xxxx,0x79,0x2e,xxxx, xxxx,xxxx,0x5a,0x0f,xxxx,xxxx,0x43,xxxx, /* 00 */ xxxx,xxxx,0xe8,0x50,xxxx,xxxx,xxxx,0xa0, 0x5d,0x22,xxxx,xxxx,0xb2,0x3a,xxxx,xxxx, /* 10 */ 0xf6,0x8a,0x41,xxxx,xxxx,0x81,xxxx,xxxx, xxxx,xxxx,0x2b,0x58,xxxx,xxxx,xxxx,0xc6, /* 20 */ @@ -574,7 +574,7 @@ const UINT8 dsoccr94_decryption_table[256] = { /* preliminary table by Pierpaolo Prazzoli */ // matchit2 -const UINT8 matchit2_decryption_table[256] = { +const uint8_t matchit2_decryption_table[256] = { xxxx,0x86,0x0a,xxxx,0x32,0x01,0x81,0xbe, 0xea,xxxx,0xbb,xxxx,xxxx,xxxx,0xa5,0xf6, /* 00 */ // new new new new new new new new new 0x5d,0x8c,0xf3,0xc4,0x42,0x5a,0x22,0x26, xxxx,0x58,xxxx,0xfd,0x59,0x53,0x80,0x09, /* 10 */ @@ -642,7 +642,7 @@ the ones marked with "new" are checked against dynablst and bomberman tables */ -const UINT8 test_decryption_table[256] = { +const uint8_t test_decryption_table[256] = { xxxx,xxxx,xxxx,xxxx,xxxx,xxxx,xxxx,xxxx, xxxx,xxxx,xxxx,xxxx,xxxx,xxxx,xxxx,xxxx, /* 00 */ xxxx,xxxx,xxxx,xxxx,xxxx,xxxx,xxxx,xxxx, xxxx,xxxx,xxxx,xxxx,xxxx,xxxx,xxxx,xxxx, /* 10 */ xxxx,xxxx,xxxx,xxxx,xxxx,xxxx,xxxx,xxxx, xxxx,xxxx,xxxx,xxxx,xxxx,xxxx,xxxx,xxxx, /* 20 */ |