Prev: 9EEA Up: Map Next: 9F3E
9F2A: Tune data 1
Tune data basically consist of pairs of 2 bytes
Byte offset Purpose
$00 Duration
If bit 7 if set, it has a special meaning:
1000000: load new address from next two bytes
1XXXXXX: subtract XXXXXXX from address
1111111: mute channel
$01 Frequency
Bits 6-7 are used directly as bits 8-9 of the PSG frequency
Bits 0-5 are used as index into frequency_table, which produces bits 0-7 of the PSG frequency
tune_data_1 9F2A DEFB $02,$19,$02,$1B,$10,$19,$04,$FF
9F32 DEFB $04,$1B,$04,$5D,$04,$5E,$04,$60
9F3A DEFB $08,$61,$18,$60
Prev: 9EEA Up: Map Next: 9F3E