I enabled interrupts inside a long handler because I wanted the music tick to stay punctual. It worked in the quiet test and then ate the stack during the busy scene. Lesson received.
Is nested IRQ handling ever worth it on a C64 project, or should I split the long work instead?
Can one IRQ safely interrupt another?
2 replies · opened AUG 5 ago
Split the work. Nested handlers can be designed safely, but the proof burden is much higher than moving noncritical work out.
Your stack story has convinced me not to learn this lesson experimentally.
Want to add to this transmission?
SIGN IN TO REPLY →