Prev: F29D Up: Map Next: F2B6
F2A2: writing the full register set?
Used by the routine at play_siren_sfx_128k.
write_registers_128k F2A2 LD HL,$A21E Address of sound register value(s) -- other values must be earlier
F2A5 LD A,$0B Select AY-3-8912 sound chip register 11: envelope fine duration
F2A7 LD C,$FD
wr_loop F2A9 LD B,$FF
F2AB OUT (C),A
F2AD LD B,$BF Write to the register from (HL), then decrement B and HL
F2AF OUTD
F2B1 DEC A Next register down
F2B2 JP P,ls_809D Loop to wr_loop while +ve
F2B5 RET Return
Prev: F29D Up: Map Next: F2B6