Post #3694683
2026-07-03 21:23 UTC
so issuing an "illegal" opcode on the game boy cpu essentially shuts the cpu down (illegal opcodes don't set the fetch flag, so the pc won't increment—and the cpu only services interrupts at the beginning of a fetch). BUT all the other peripherals on the SoC keep running! i feel like between the PPU, APU, timers, DMA, etc. there MUST be a way to "program" the game boy to do something even when the cpu is in illegal opcode zombie mode. this has no practical purpose of course but—food for thought!
Replies (1)
-
@aparrish@friend.camp 2026-07-09 04:42
discoveries made while reviewing the sameboy source code