Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hd6309.cpp: Fix index addressing modes #12016

Merged
merged 3 commits into from
Feb 9, 2024
Merged

Conversation

tlindner
Copy link
Member

@tlindner tlindner commented Feb 6, 2024

Add case statements to enable indirect register W references. Problem discovered by Glenn Hewlett. Patch by Ciaran Anscomb.
When an illegal index addressing mode is executed, pop next CPU state off stack to ensure vector is correctly jumped to. Problem discovered by Glenn Hewlett.

…addressing mode caused illegal operation trap."

This reverts commit a4be799.
@rb6502 rb6502 merged commit ce124e0 into mamedev:master Feb 9, 2024
2 of 5 checks passed
Mokona pushed a commit to Mokona/mame that referenced this pull request Feb 28, 2024
* Add missing index addressing modes. Pop CPU state if indexed addressing mode caused illegal operation trap.
stonedDiscord pushed a commit to stonedDiscord/mame that referenced this pull request Apr 8, 2024
* Add missing index addressing modes. Pop CPU state if indexed addressing mode caused illegal operation trap.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants