mirror of
https://github.com/holub/mame
synced 2025-05-20 20:58:51 +03:00
cb2001: added new opcodes
This commit is contained in:
parent
b7ef380a5d
commit
542d0fa5c3
@ -48,10 +48,10 @@ const UINT8 cb2001_decryption_table[256] = {
|
||||
0xe8,xxxx,xxxx,xxxx,xxxx,xxxx,xxxx,xxxx, xxxx,xxxx,xxxx,xxxx,xxxx,xxxx,xxxx,xxxx, /* 00 */
|
||||
// pppp
|
||||
xxxx,xxxx,xxxx,xxxx,xxxx,xxxx,xxxx,xxxx, 0x32,xxxx,xxxx,xxxx,0x3a,xxxx,xxxx,xxxx, /* 10 */
|
||||
// ???? ????
|
||||
xxxx,0x8e,xxxx,xxxx,xxxx,0x49,xxxx,xxxx, xxxx,xxxx,xxxx,0x75,xxxx,xxxx,xxxx,xxxx, /* 20 */
|
||||
// !!!! ???? pppp
|
||||
xxxx,xxxx,xxxx,xxxx,xxxx,xxxx,0xbe,xxxx, xxxx,xxxx,xxxx,xxxx,xxxx,xxxx,0xb0,xxxx, /* 30 */
|
||||
// pppp pppp
|
||||
xxxx,0x8e,xxxx,xxxx,xxxx,0x49,0xbf,xxxx, xxxx,xxxx,xxxx,0x75,xxxx,xxxx,xxxx,xxxx, /* 20 */
|
||||
// !!!! ???? ???? pppp
|
||||
xxxx,xxxx,xxxx,xxxx,xxxx,xxxx,0xbe,xxxx, xxxx,xxxx,xxxx,xxxx,xxxx,xxxx,0xbf,xxxx, /* 30 */
|
||||
// pppp ????
|
||||
xxxx,0xea,xxxx,xxxx,xxxx,0xb0,xxxx,xxxx, xxxx,xxxx,xxxx,xxxx,xxxx,xxxx,xxxx,xxxx, /* 40 */
|
||||
// !!!! gggg
|
||||
@ -72,7 +72,7 @@ const UINT8 cb2001_decryption_table[256] = {
|
||||
xxxx,xxxx,0xee,xxxx,xxxx,0xe2,xxxx,xxxx, xxxx,xxxx,xxxx,xxxx,xxxx,xxxx,xxxx,xxxx, /* C0 */
|
||||
// ???? pppp
|
||||
xxxx,xxxx,0x46,xxxx,xxxx,xxxx,xxxx,xxxx, 0x88,xxxx,xxxx,xxxx,xxxx,0xfa,0xc7,xxxx, /* D0 */
|
||||
// ???? ???? ???? !!!!
|
||||
// pppp pppp ???? !!!!
|
||||
0xb0,xxxx,xxxx,0xc6,xxxx,xxxx,xxxx,xxxx, xxxx,xxxx,xxxx,xxxx,xxxx,xxxx,xxxx,xxxx, /* E0 */
|
||||
// ???? !!!!
|
||||
xxxx,xxxx,xxxx,xxxx,xxxx,xxxx,xxxx,xxxx, xxxx,xxxx,xxxx,xxxx,xxxx,xxxx,xxxx,xxxx, /* F0 */
|
||||
@ -102,20 +102,33 @@ c2 -> ee (out dw,al)
|
||||
|
||||
|
||||
probably:
|
||||
00 -> e8 (call)
|
||||
|
||||
2b -> conditional jmp for sure (75)
|
||||
36 -> be
|
||||
41 -> ea (jmp_far)
|
||||
70 -> c3 (ret)
|
||||
9c -> it's a counter (like mov cw,#value) -> not sure the register (cw,bw,....) -> b9 (cw)
|
||||
c5 -> 75 (loop?)
|
||||
|
||||
very probably:
|
||||
00 -> e8 (call)
|
||||
41 -> ea (jmp_far)
|
||||
70 -> c3 (ret)
|
||||
|
||||
checked against gussun and quizf1 (start up code):
|
||||
21 -> 8e
|
||||
a7 -> b8
|
||||
de -> c7
|
||||
e3 -> c6
|
||||
|
||||
opcodes: 36,9c,00,18,d8,d2,c5,70 probably:
|
||||
e1af1 36 62 06 mov ix,0662
|
||||
9c 04 00 mov cw,0004
|
||||
00 94 17 call e328e
|
||||
|
||||
e328e 18 c0 xor al,al
|
||||
d8 04 mov byte ptr [ix],al
|
||||
d2 inc ix
|
||||
c5 fb dbnz e3290
|
||||
70 ret
|
||||
*/
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user