3 ms·
My understanding is the trouble with interrupting is that from the point of view of mainstream code, the state of all the global variables just changed out from
by ZenPsycho 11y ago
My understanding is the trouble with interrupting is that from the point of view of mainstream code, the state of all the global variables just changed out from under you. as if by another thread with shared memory.
Which makes me naively wonder if you could just run interrupts on a parallel thread.
- Drakim 11y agoThe NES just let developers deal with that, pretty much all interrupt code starts with the developer frantically saving the registers somewhere so that he can restore them at the end of the interrupt.
- niccaluim 11y agoIsn't that required of interrupt handlers on any architecture, even modern ones?