mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-23 03:32:32 +00:00
Map STA (d), y
to correct calculator.
This commit is contained in:
parent
da552abf75
commit
a23b0f5122
@ -479,7 +479,11 @@ struct CPU::WDC65816::ProcessorStorageConstructor {
|
|||||||
target(CycleFetchData); // AAH.
|
target(CycleFetchData); // AAH.
|
||||||
|
|
||||||
target(OperationCopyDataToInstruction);
|
target(OperationCopyDataToInstruction);
|
||||||
target(OperationConstructAbsoluteYRead);
|
if(type == AccessType::Read) {
|
||||||
|
target(OperationConstructAbsoluteYRead); // Calculate data address, potentially skipping the next fetch.
|
||||||
|
} else {
|
||||||
|
target(OperationConstructAbsoluteY); // Calculate data address.
|
||||||
|
}
|
||||||
target(CycleFetchIncorrectDataAddress); // IO.
|
target(CycleFetchIncorrectDataAddress); // IO.
|
||||||
|
|
||||||
read_write(type, is8bit, target);
|
read_write(type, is8bit, target);
|
||||||
|
Loading…
Reference in New Issue
Block a user