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

Hardware CPU: Save/Restore R8 to R12 in shadow registers during INT #172

Closed
sy2002 opened this issue Oct 19, 2020 · 4 comments
Closed

Hardware CPU: Save/Restore R8 to R12 in shadow registers during INT #172

sy2002 opened this issue Oct 19, 2020 · 4 comments
Assignees
Labels

Comments

@sy2002
Copy link
Owner

sy2002 commented Oct 19, 2020

Enhance CPU to save/restore R8 to R12 in shadow registers during interrupts (hardware and software)

Context:
#77 (comment)

@MJoergen
Copy link
Collaborator

I'm updating the maze2d game to include a timer interrupt based clock. It works in the emulator, and it would be great to have it working in hardware too. Just to let you know I hope you implement this soon :-D

@sy2002
Copy link
Owner Author

sy2002 commented Oct 19, 2020

I plan to do it today evening :-D

@MJoergen
Copy link
Collaborator

I've implemented this now. I've verified no regression with the cpu_test.asm program, and I've extended the int_test.asm program to test the new feature.

The implementation is somewhat verbose, and can perhaps be refactored.

@sy2002
Copy link
Owner Author

sy2002 commented Oct 28, 2020

Thank you - due to my end of year crazyness it is unlikely that I contribute anything meaningful "before Christmas" :-)
And indeed: This does need refactoring - but this is not urgent, so I close this issue.

@sy2002 sy2002 closed this as completed Oct 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants