Discussion about software development for the old-school Gameboys, ranging from the "Gray brick" to Gameboy Color
(Launched in 2008)
You are not logged in.
Hi,
do you please knows if on REAL hardware halt bug skips next INSTRUCTION or next BYTE?
I happen to have empty main loop and do most of the work in stat and vblank interrupt handler. My question is if following main loop works or not:
loop:
halt
jr loop
jr loop
If yes it would potentially save a lot of cpu cycles on nop execution overtime. Is it worth it?
Thx
Offline
Nah, please ignore. I re-read pandocs with thinking about the text and it contains the answer. BYTE.
Offline