-
Notifications
You must be signed in to change notification settings - Fork 22
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
Address pushed by BRK (and presumably interrupts) onto stack is too high by 1 #1
Labels
Comments
Need to:
|
gardners
added a commit
that referenced
this issue
Jan 26, 2014
gardners
added a commit
that referenced
this issue
Jan 26, 2014
Implemented the fix, and confirmed that the right values get written on the stack, and C64 ROMs start up fine with it. However, the BRKN stress test still complain that the wrong data gets written to the stack. Not sure what exactly is wrong now. |
Fixed wrong way. Should be PC+1, not PC-1. Fixed in commit f5dd623, which will hopefully fix this issue. |
Fixed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
BRK, RTI and interrupts must all use the same semantics for the machine to run.
They do, but the pushed address is too high by one.
The text was updated successfully, but these errors were encountered: