mirror of
https://github.com/bradgrantham/apple2e.git
synced 2024-12-28 23:31:26 +00:00
Add way to disable 65C02 instructions.
This commit is contained in:
parent
68cfd142b1
commit
1591046c74
@ -20,6 +20,8 @@
|
||||
#include <stdlib.h>
|
||||
#include <assert.h>
|
||||
|
||||
#define SUPPORT_65C02 1
|
||||
|
||||
template<class CLK, class BUS>
|
||||
struct CPU6502
|
||||
{
|
||||
@ -1384,6 +1386,7 @@ struct CPU6502
|
||||
break;
|
||||
}
|
||||
|
||||
#if SUPPORT_65C02
|
||||
// 65C02 instructions
|
||||
|
||||
case 0x80: { // BRA imm, 65C02
|
||||
@ -1471,6 +1474,7 @@ struct CPU6502
|
||||
set_flags(N | Z, m = a - m);
|
||||
break;
|
||||
}
|
||||
#endif // SUPPORT_65C02
|
||||
|
||||
default:
|
||||
printf("unhandled instruction %02X at %04X\n", inst, pc - 1);
|
||||
|
Loading…
Reference in New Issue
Block a user