mvac7 / SDCC_PT3player_Lib

SDCC PT3 Player (Vortex Tracker) Library for MSX
21 stars 2 forks source link

Use the same definition names in the AY registers as in the AY38910 library #22

Closed mvac7 closed 3 years ago

mvac7 commented 3 years ago

https://github.com/mvac7/SDCC_AY38910_Lib

AY Registers

Label Value Description
AY_ToneA 0 Channel A Tone Period (12 bits)
AY_ToneB 2 Channel B Tone Period (12 bits)
AY_ToneC 4 Channel C Tone Period (12 bits)
AY_Noise 6 Noise Period (5 bits)
AY_Mixer 7 Mixer
AY_AmpA 8 Channel Volume A (4 bits + B5 active Envelope)
AY_AmpB 9 Channel Volume B (4 bits + B5 active Envelope)
AY_AmpC 10 Channel Volume C (4 bits + B5 active Envelope)
AY_EnvPeriod 11 Envelope Period (16 bits)
AY_EnvShape 13 Envelope Shape