Prev: EC71 Up: Map Next: F1AE
EFAF: Per-frame AY register cache and tone-period lookup table
$EFAF-$EFBA (12 bytes): the per-frame AY register cache, refreshed each frame by ts_music_service/compute_channel_ay_registers and flushed to the AY chip by tms_output_registers (registers 0-11: 3 channels' tone-period pairs, noise period, mixer, 3 channels' volumes, envelope-period-fine). Initial contents here are just start-up defaults, overwritten before first use.
$EFBC onward: an AY tone-period lookup table (2 bytes/entry, one per note), indexed by note number via compute_channel_ay_registers ($EEF1 LD HL,$EFBC).
Further sub-tables referenced elsewhere in this driver, contents not decoded byte-by-byte (raw lookup data, not algorithmic): $F07C (indexed pointer table, see EE5A), $F123 (indexed pointer table, see ts_music_service_4). $F225 onward: the per-tune channel-pointer table used by start_tune, 7 bytes/entry -- see start_tune for the layout.
EFAF DEFB $00,$00,$00,$00,$00,$00,$00,$3F
EFB7 DEFB $0F,$0F,$0F,$00,$00,$F8,$0E,$10
EFBF DEFB $0E,$60,$0D,$80,$0C,$D8,$0B,$28
EFC7 DEFB $0B,$88,$0A,$F0,$09,$60,$09,$E0
EFCF DEFB $08,$58,$08,$E0,$07,$7C,$07,$08
EFD7 DEFB $07,$B0,$06,$40,$06,$EC,$05,$94
EFDF DEFB $05,$44,$05,$F8,$04,$B0,$04,$70
EFE7 DEFB $04,$2C,$04,$F0,$03,$BE,$03,$84
EFEF DEFB $03,$58,$03,$20,$03,$F6,$02,$CA
EFF7 DEFB $02,$A2,$02,$7C,$02,$58,$02,$38
EFFF DEFB $02,$16,$02,$F8,$01,$DF,$01,$C2
F007 DEFB $01,$AC,$01,$90,$01,$7B,$01,$65
F00F DEFB $01,$51,$01,$3E,$01,$2C,$01,$1C
F017 DEFB $01,$0B,$01,$FC,$00,$EF,$00,$E1
F01F DEFB $00,$D6,$00,$C8,$00,$BD,$00,$B2
F027 DEFB $00,$A8,$00,$9F,$00,$96,$00,$8E
F02F DEFB $00,$85,$00,$7E,$00,$77,$00,$70
F037 DEFB $00,$6B,$00,$64,$00,$5E,$00,$59
F03F DEFB $00,$54,$00,$4F,$00,$4B,$00,$47
F047 DEFB $00,$42,$00,$3F,$00,$3B,$00,$38
F04F DEFB $00,$35,$00,$32,$00,$2F,$00,$2C
F057 DEFB $00,$2A,$00,$27,$00,$25,$00,$23
F05F DEFB $00,$21,$00,$1F,$00,$1D,$00,$1C
F067 DEFB $00,$1A,$00,$19,$00,$17,$00,$16
F06F DEFB $00,$15,$00,$13,$00,$12,$00,$11
F077 DEFB $00,$10,$00,$0F,$00,$14,$14,$2E
F07F DEFB $30,$32,$34,$39,$3E,$43,$44,$49
F087 DEFB $54,$59,$71,$74,$77,$7A,$89,$8E
F08F DEFB $93,$80,$0C,$0C,$00,$00,$00,$00
F097 DEFB $00,$00,$00,$00,$00,$00,$00,$00
F09F DEFB $00,$00,$00,$00,$00,$00,$00,$00
F0A7 DEFB $00,$00,$00,$00,$80,$00,$04,$87
F0AF DEFB $00,$03,$88,$00,$05,$89,$00,$00
F0B7 DEFB $00,$03,$03,$83,$00,$00,$00,$05
F0BF DEFB $05,$85,$00,$00,$00,$04,$04,$84
F0C7 DEFB $00,$8C,$00,$00,$00,$08,$08,$88
F0CF DEFB $0C,$0C,$0C,$0C,$0C,$0C,$00,$00
F0D7 DEFB $00,$00,$00,$80,$00,$00,$03,$03
F0DF DEFB $07,$87,$0C,$00,$00,$00,$00,$00
F0E7 DEFB $00,$00,$00,$00,$00,$00,$00,$00
F0EF DEFB $00,$00,$00,$00,$00,$00,$00,$00
F0F7 DEFB $00,$00,$80,$00,$05,$07,$8C,$00
F0FF DEFB $05,$0A,$8C,$00,$05,$09,$8C,$00
F107 DEFB $00,$00,$00,$04,$04,$04,$04,$07
F10F DEFB $07,$07,$07,$0C,$0C,$0C,$8C,$00
F117 DEFB $00,$01,$01,$07,$87,$00,$00,$03
F11F DEFB $03,$05,$85,$80,$3A,$F1,$42,$F1
F127 DEFB $47,$F1,$4C,$F1,$54,$F1,$5D,$F1
F12F DEFB $65,$F1,$78,$F1,$90,$F1,$96,$F1
F137 DEFB $9F,$F1,$01,$0F,$0F,$0E,$0D,$0C
F13F DEFB $08,$87,$02,$0E,$0F,$0E,$87,$02
F147 DEFB $0E,$0F,$0B,$87,$04,$0F,$0F,$0F
F14F DEFB $0E,$0D,$0A,$87,$04,$0F,$09,$08
F157 DEFB $06,$05,$04,$03,$87,$00,$0F,$0E
F15F DEFB $0D,$0C,$0B,$06,$87,$02,$0F,$0F
F167 DEFB $0E,$0D,$0C,$0B,$0A,$09,$08,$07
F16F DEFB $06,$05,$04,$03,$02,$01,$00,$87
F177 DEFB $06,$09,$0A,$0B,$0C,$0D,$0E,$0F
F17F DEFB $0E,$0D,$0C,$0B,$0A,$09,$08,$07
F187 DEFB $06,$05,$04,$03,$02,$01,$00,$87
F18F DEFB $00,$0F,$0E,$0C,$06,$87,$01,$0F
F197 DEFB $0D,$0C,$0A,$08,$07,$06,$87,$02
F19F DEFB $0A,$0B,$0C,$0D,$0E,$0F,$0E,$0D
F1A7 DEFB $0C,$0B,$0A,$09,$08,$07,$87
Prev: EC71 Up: Map Next: F1AE