Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

65816: Emulation mode: New instructions should not page wrap #79

Open
ReverendGumby opened this issue Apr 20, 2024 · 0 comments
Open

65816: Emulation mode: New instructions should not page wrap #79

ReverendGumby opened this issue Apr 20, 2024 · 0 comments

Comments

@ReverendGumby
Copy link

According to 65C816 Opcodes by Bruce Clark, because these instructions / addressing modes are new (not present on 65*02), they should not page wrap:

  • 17.e.json: ORA [d],y
  • 57.e.json: EOR [d],y
  • 77.e.json: ADC [d],y
  • 97.e.json: STA [d],y
  • d4.e.json: PEI

Further, PLB should read from $0200 when S=$FF.

  • ab.e.json: PLB

A patch is attached.
0001-65816-Fix-emulation-mode-tests-that-should-not-page-.patch

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant