gba icon indicating copy to clipboard operation
gba copied to clipboard

Improve interrupt handling

Open Ruin0x11 opened this issue 2 years ago • 2 comments

  • Replaces the main interrupt handler with a new "switchboard" design that dispatches based on interrupt kind, mostly inspired by tonclib.
  • Allow setting an individual interrupt handler function per interrupt kind.
  • Add some convenience functions for enabling/disabling the triggering of each interrupt.
  • Add documentation about the interrupt handling features.

Closes #152. Closes #127.

Ruin0x11 avatar Aug 29 '21 13:08 Ruin0x11

While we're adding better IRQ handling, would it be a good idea to work on #150? The examples seem to be the only problem in the CI. I was able to build the examples by adding the new IRQ handling to the examples.

Hpmason avatar Sep 11 '21 19:09 Hpmason

sounds reasonable.

Lokathor avatar Sep 11 '21 19:09 Lokathor

This is now very stale, I'll close it.

Lokathor avatar Nov 16 '23 19:11 Lokathor