@KS@Elizafox I have never used setjmp/longjmp. I know how it works, in the off chance I will need them, but the code you just shared, well, I would love to know more about the context in which this was needed.
@loke@Elizafox The names probably give away the fact that this is for a game; I need to be able to jump out of a loop of title screen / demonstration gameplay at any time in response to a hardware interrupt