New interrupt handling instructions!
A tiny addition today, I added three new instructions. One for manually raising interrupts, one for toggling interrupts and one for changing the IVT (Interrupt Vector Table).
The latter allows you to change the addresses for existing interrupts and add new interrupts up to 255. (When an undefined interrupt is raised, the PC will be set to the start of RAM)
Changes
Nothing today
What will I work on next?
I will probably fix the jump instruction because some things bug me about it.
The screenshot
The screenshot below shows terminal output. Most of the output is debug messages, but one important thing is the line ‘Handling interrupt! Type 4’. Type 4 is a custom interrupt!
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.