mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 23:52:26 +00:00
Add note to self about first diagnosis.
This commit is contained in:
parent
ba2803c807
commit
5af03d74ec
@ -248,6 +248,10 @@ template <typename M68000> struct Tester {
|
|||||||
|
|
||||||
@implementation M68000OldVsNewTests
|
@implementation M68000OldVsNewTests
|
||||||
|
|
||||||
|
// List of known deviations of the new from the old, to check out:
|
||||||
|
//
|
||||||
|
// 1) address error following an RTE now raises the interrupt level to 7; before it left it untouched.
|
||||||
|
|
||||||
- (void)testOldVsNew {
|
- (void)testOldVsNew {
|
||||||
RandomStore random_store;
|
RandomStore random_store;
|
||||||
auto oldTester = std::make_unique<Tester<OldProcessor>>(random_store, 0x01);
|
auto oldTester = std::make_unique<Tester<OldProcessor>>(random_store, 0x01);
|
||||||
@ -262,6 +266,11 @@ template <typename M68000> struct Tester {
|
|||||||
|
|
||||||
// Test only defined opcodes.
|
// Test only defined opcodes.
|
||||||
const auto instruction = decoder.decode(uint16_t(c));
|
const auto instruction = decoder.decode(uint16_t(c));
|
||||||
|
// if(
|
||||||
|
// instruction.operation != InstructionSet::M68k::Operation::RTE
|
||||||
|
// ) {
|
||||||
|
// continue;
|
||||||
|
// }
|
||||||
if(
|
if(
|
||||||
instruction.operation == InstructionSet::M68k::Operation::Undefined ||
|
instruction.operation == InstructionSet::M68k::Operation::Undefined ||
|
||||||
instruction.operation == InstructionSet::M68k::Operation::STOP
|
instruction.operation == InstructionSet::M68k::Operation::STOP
|
||||||
|
Loading…
Reference in New Issue
Block a user