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

IM: incorrect capture of Interrupt Mode #92

Open
alvieboy opened this issue May 27, 2021 · 0 comments
Open

IM: incorrect capture of Interrupt Mode #92

alvieboy opened this issue May 27, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@alvieboy
Copy link
Owner

Currently we have no means to capture Interrupt Mode correctly, which will break snapshots and makes it impossible to change+restore the interrupt mode when entering NMI.
Since we cannot read the IM, the FPGA needs to capture execution of the IM instructions and latch the values so we can read them afterwards. We can use unused bits in the FIFO status register to avoid using extra registers, this will require minor changes to the current ASM code which tests for "not zero" values to figure if FIFO is empty.

@alvieboy alvieboy added the bug Something isn't working label May 27, 2021
@alvieboy alvieboy self-assigned this May 27, 2021
alvieboy added a commit that referenced this issue Jun 25, 2021
alvieboy added a commit that referenced this issue Jun 25, 2021
alvieboy added a commit that referenced this issue Jun 25, 2021
alvieboy added a commit that referenced this issue Jun 25, 2021
alvieboy added a commit that referenced this issue Jun 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant