Very hackish implementation, but we now get actual registers at the time of the interrupt happening
I had weird problems with interrupts but everything should work now