mirror of
https://github.com/mauiaaron/apple2.git
synced 2025-08-06 07:25:14 +00:00
unwedge test_PHP
This commit is contained in:
@@ -4974,6 +4974,7 @@ TEST test_PHP(uint8_t flags) {
|
||||
ASSERT(cpu65_opcode == 0x08);
|
||||
ASSERT(cpu65_opcycles == (3));
|
||||
|
||||
cpu65_pc = TEST_LOC;
|
||||
test_PLP(flags);
|
||||
|
||||
PASS();
|
||||
@@ -5092,6 +5093,8 @@ TEST test_PLA(uint8_t regA) {
|
||||
TEST test_PLP(uint8_t flags) {
|
||||
uint8_t sp = 0x80;
|
||||
|
||||
ASSERT(cpu65_pc == TEST_LOC);
|
||||
|
||||
testcpu_set_opcode1(0x28);
|
||||
apple_ii_64k[0][0x101+sp] = flags;
|
||||
|
||||
|
Reference in New Issue
Block a user