Prev: 9C1C Up: Map Next: 9C46
9C39: Handle absolute or relative jump
Used by the routine at process_tune_byte.
process_abs_rel_jump 9C39 JP P,L9C4B If bit 7 is not set, then jump ahead
Duration byte has bit 7 set
9C3C AND $7F Clear bit 7
9C3E JR NZ,L9C46 If it wasn't $80 then jump ahead
Duration byte is $80: absolute jump
9C40 LD E,(HL) Get address from tune data
9C41 INC HL ...
9C42 LD D,(HL) ...
9C43 EX DE,HL HL = next address
9C44 JR process_tune_byte_0 Jump to check if finished
Prev: 9C1C Up: Map Next: 9C46