mirror of
https://github.com/mauiaaron/apple2.git
synced 2024-06-01 13:41:28 +00:00
Fixes to get CPU tracing building again
This commit is contained in:
parent
317f83a44b
commit
7591715357
|
@ -752,6 +752,8 @@ bool cpu65_loadState(StateHelper_s *helper) {
|
||||||
}
|
}
|
||||||
|
|
||||||
#if CPU_TRACING
|
#if CPU_TRACING
|
||||||
|
extern const struct opcode_struct_s opcodes_65c02[256];
|
||||||
|
extern const uint8_t opcodes_65c02_numargs[256];
|
||||||
|
|
||||||
/* -------------------------------------------------------------------------
|
/* -------------------------------------------------------------------------
|
||||||
CPU Tracing routines
|
CPU Tracing routines
|
||||||
|
|
|
@ -294,6 +294,7 @@ const struct opcode_struct_s opcodes_65c02[256] = {
|
||||||
|
|
||||||
const struct opcode_struct_s *opcodes = opcodes_65c02;
|
const struct opcode_struct_s *opcodes = opcodes_65c02;
|
||||||
|
|
||||||
|
#if CPU_TRACING
|
||||||
const uint8_t opcodes_65c02_numargs[256] = {
|
const uint8_t opcodes_65c02_numargs[256] = {
|
||||||
0, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 2, 2, 2, 0, // 0x00-0x0F
|
0, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 2, 2, 2, 0, // 0x00-0x0F
|
||||||
1, 1, 1, 0, 1, 1, 1, 0, 0, 2, 0, 0, 2, 2, 2, 0, // 0x10-0x1F
|
1, 1, 1, 0, 1, 1, 1, 0, 0, 2, 0, 0, 2, 2, 2, 0, // 0x10-0x1F
|
||||||
|
@ -312,6 +313,7 @@ const uint8_t opcodes_65c02_numargs[256] = {
|
||||||
1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 2, 2, 2, 0, // 0xE0-0xEF
|
1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 2, 2, 2, 0, // 0xE0-0xEF
|
||||||
1, 1, 1, 0, 0, 1, 1, 0, 0, 2, 0, 0, 0, 2, 2, 0, // 0xF0-0xFF
|
1, 1, 1, 0, 0, 1, 1, 0, 0, 2, 0, 0, 0, 2, 2, 0, // 0xF0-0xFF
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
const struct opcode_struct_s opcodes_6502[256] = {
|
const struct opcode_struct_s opcodes_6502[256] = {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user