← C21C Draw the options screen Map C2A9 → Options-row screen addresses
C2A3: Busy-wait delay of BC iterations
Busy-waits BC iterations (0 means 65536) – the game's general-purpose pause for attract screens and inter-screen waits.
Input
BC iteration count; 0 means 65536
Output
BC zero, because the loop runs until the count reaches it
delay C2A3 DEC BC Count the 16-bit value down and loop until it reaches zero.
C2A4 LD A,B
C2A5 OR C
C2A6 JR NZ,delay
C2A8 RET
← C21C Draw the options screen Map C2A9 → Options-row screen addresses
Fork me on GitHub