mirror of
https://github.com/mauiaaron/apple2.git
synced 2024-12-23 11:31:41 +00:00
Don't check for the I flag on PLP and RTI
* Apparently the I flag is not set for PLP and RTI, or rather, our implementation of mockingboard seems to expect it not to be set for these opcodes...
This commit is contained in:
parent
c1e2e99c26
commit
cb04d39c37
@ -5112,7 +5112,7 @@ TEST test_PLP(uint8_t flags) {
|
|||||||
ASSERT(cpu65_current.x == 0x03);
|
ASSERT(cpu65_current.x == 0x03);
|
||||||
ASSERT(cpu65_current.y == 0x04);
|
ASSERT(cpu65_current.y == 0x04);
|
||||||
ASSERT(cpu65_current.sp == sp+1);
|
ASSERT(cpu65_current.sp == sp+1);
|
||||||
ASSERT(cpu65_current.f == (flags | fB | fX | fI));
|
ASSERT(cpu65_current.f == (flags | fB | fX));
|
||||||
|
|
||||||
ASSERT(cpu65_debug.ea == TEST_LOC);
|
ASSERT(cpu65_debug.ea == TEST_LOC);
|
||||||
ASSERT(cpu65_debug.d == 0xff);
|
ASSERT(cpu65_debug.d == 0xff);
|
||||||
@ -5671,7 +5671,7 @@ TEST test_RTI(uint8_t flags) {
|
|||||||
ASSERT(cpu65_current.a == 0x02);
|
ASSERT(cpu65_current.a == 0x02);
|
||||||
ASSERT(cpu65_current.x == 0x03);
|
ASSERT(cpu65_current.x == 0x03);
|
||||||
ASSERT(cpu65_current.y == 0x04);
|
ASSERT(cpu65_current.y == 0x04);
|
||||||
ASSERT(cpu65_current.f == (flags | fB | fX | fI));
|
ASSERT(cpu65_current.f == (flags | fB | fX));
|
||||||
ASSERT(cpu65_current.sp == 0x83);
|
ASSERT(cpu65_current.sp == 0x83);
|
||||||
|
|
||||||
ASSERT(cpu65_debug.ea == TEST_LOC);
|
ASSERT(cpu65_debug.ea == TEST_LOC);
|
||||||
|
Loading…
Reference in New Issue
Block a user