From 76372e6c01b47c8ed7e36a452bf97287a17a6260 Mon Sep 17 00:00:00 2001 From: Ivan Vangelista Date: Sat, 24 Jun 2023 11:47:38 +0200 Subject: funworld/supercrd.cpp: brought gampo812 as far along as gampo816 --- src/mame/funworld/supercrd.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/mame/funworld/supercrd.cpp b/src/mame/funworld/supercrd.cpp index ef2b12eaf76..c7b4ea1e9a5 100644 --- a/src/mame/funworld/supercrd.cpp +++ b/src/mame/funworld/supercrd.cpp @@ -329,7 +329,7 @@ TILE_GET_INFO_MEMBER(supercrd_state::get_bg_tile_info) int const offs = tile_index; int const attr = m_videoram[offs] + (m_colorram[offs] << 8); int const code = attr & 0xfff; -// int const color = m_colorram[offs] >> 4; // 4 bits for color. +// int const color = m_colorram[offs] >> 4; // 4 bits for color. int const color = m_colorram[offs] >> 3; // 4 bits for color. tileinfo.set(0, code, color, 0); @@ -957,7 +957,7 @@ void supercrd_state::init_gampo() // TODO: check unknown opcodes { 0x42, 0x53, 0x10, 0x01, 0x00, 0x03, 0x01, 0x52 }, // 0x5x and 0x7x { 0x42, 0x00, 0x50, unkn, 0x13, unkn, 0x01, 0x41 }, // 0x8x and 0xax { 0x50, 0x00, 0x51, 0x01, 0x12, unkn, unkn, 0x42 }, // 0x9x and 0xbx // TODO: 0x90 to be checked - { 0x50, 0x41, 0x13, unkn, unkn, 0x00, unkn, 0x52 }, // 0xcx and 0xex + { 0x50, 0x41, 0x13, 0x40, unkn, 0x00, unkn, 0x52 }, // 0xcx and 0xex { 0x11, 0x42, 0x01, unkn, unkn, 0x41, unkn, 0x01 } // 0xdx and 0xfx }, { @@ -968,7 +968,7 @@ void supercrd_state::init_gampo() // TODO: check unknown opcodes { 0x12, 0x12, 0x40, 0x50, 0x53, 0x12, 0x40, 0x51 }, // 0x8x and 0xax // TODO: 0x84 to be checked { unkn, 0x01, unkn, 0x02, 0x01, unkn, unkn, 0x10 }, // 0x9x and 0xbx { unkn, 0x02, 0x02, 0x02, 0x42, 0x00, 0x50, 0x03 }, // 0xcx and 0xex - { 0x01, 0x03, 0x53, unkn, 0x00, unkn, unkn, 0x02 } // 0xdx and 0xfx + { 0x01, 0x03, 0x53, unkn, 0x00, 0x51, unkn, 0x02 } // 0xdx and 0xfx }, { { 0x52, 0x02, 0x00, 0x13, 0x43, 0x01, 0x03, unkn }, // 0x0x and 0x2x @@ -1012,7 +1012,7 @@ void supercrd_state::init_supst() // TODO: check unknown opcodes uint8_t xor_table[0x04][0x08][0x08] = { - { + { // quadrants 1, 2 should be ok, missing decrypted 0x82, 0xc4, 0xc7, 0xd0, 0xd4, 0xd7 { 0x50, 0x12, 0x02, 0x11, 0x40, 0x11, 0x50, 0x52 }, // 0x0x and 0x2x { 0x53, 0x01, 0x43, 0x12, 0x01, 0x10, 0x41, 0x13 }, // 0x1x and 0x3x { 0x51, 0x12, 0x03, 0x40, 0x02, 0x00, 0x01, 0x51 }, // 0x4x and 0x6x @@ -1022,7 +1022,7 @@ void supercrd_state::init_supst() // TODO: check unknown opcodes { 0x00, 0x10, 0x52, 0x01, 0x41, 0x00, 0x41, 0x12 }, // 0xcx and 0xex { 0x50, 0x52, 0x41, unkn, 0x41, unkn, 0x40, 0x53 } // 0xdx and 0xfx }, - { + { // quadrants 1, 2, 3 should be ok, missing decrypted 0xc7, 0xd7 { 0x52, 0x12, 0x43, 0x00, 0x01, 0x50, 0x11, 0x40 }, // 0x0x and 0x2x { 0x52, 0x52, 0x00, 0x53, 0x12, 0x01, 0x00, 0x10 }, // 0x1x and 0x3x { 0x41, 0x12, 0x12, 0x41, 0x00, 0x00, 0x12, 0x52 }, // 0x4x and 0x6x @@ -1032,7 +1032,7 @@ void supercrd_state::init_supst() // TODO: check unknown opcodes { 0x50, 0x52, 0x43, 0x03, 0x43, 0x00, 0x51, 0x52 }, // 0xcx and 0xex { 0x01, 0x12, 0x00, 0x12, 0x10, 0x50, 0x40, 0x53 } // 0xdx and 0xfx }, - { + { // quadrants 1, 2, 4 should be ok, missing decrypted 0x82, 0xd0 { 0x50, 0x12, 0x53, 0x03, 0x02, 0x02, 0x50, 0x40 }, // 0x0x and 0x2x { 0x11, 0x51, 0x00, 0x03, 0x11, 0x40, 0x12, 0x40 }, // 0x1x and 0x3x { 0x01, 0x42, 0x01, 0x01, 0x10, 0x00, 0x52, 0x03 }, // 0x4x and 0x6x @@ -1042,7 +1042,7 @@ void supercrd_state::init_supst() // TODO: check unknown opcodes { 0x41, 0x51, 0x02, unkn, 0x11, 0x00, 0x12, 0x43 }, // 0xcx and 0xex { 0x11, 0x02, 0x11, 0x42, 0x40, 0x40, 0x50, 0x10 } // 0xdx and 0xfx }, - { + { // quadrants 1, 2, 3 should be ok, missing decrypted 0xc4, 0xc7 { 0x50, 0x11, 0x01, 0x02, 0x42, 0x41, 0x51, 0x11 }, // 0x0x and 0x2x { 0x53, 0x02, 0x43, 0x11, 0x53, 0x12, 0x03, 0x11 }, // 0x1x and 0x3x { 0x13, 0x41, 0x03, 0x03, 0x41, 0x00, 0x52, 0x50 }, // 0x4x and 0x6x -- cgit v1.2.3