Updates:

Fans are welcome!

Ram names $ 300-3FF (Sound Engine)

Started by teremochek, April 30, 2025, 10:10:04 PM

Previous topic - Next topic

teremochek

// Sound Engine Control
$ 300   + Track over (№ 26,27,01,..)  (After boss  and getkey)
$ 301   + PauseSoundEngine1  enable = 3,2  disable = 1,0
$ 302   + PauseSoundEngine2  FF when pause = 06
$ 303    ?
$ 304   + Track number
$ 305   + General Volume
$ 306   + General Channels (S1 S2 T N) (4)
$ 307   + Not used

// To PPU reg's
$ 308-30B   Square 1
$ 30C-30F   Square 2
$ 310-313   Triangle
$ 314-317   Noise

$ 318   General Byte SubChannells

xx xx xx xx xx xx xx  (7 bytes = 7 Subchannels )
$ 319-31F   SubChannell (noise channel)
$ 320-326   (Tembr / volumeLimit)
$ 327-32D   (Atack)
$ 32E-334   (Fx)
$ 335-33B   (Tone)
$ 33С-342   (Tempo) 
$ 343-349   (Instrument) (Square1, Square2, Triangle, Noise)
$ 34A-350   (Instrument address loByte)
$ 351-357   (Instrument address hiByte)
$ 358-35E   (Tempo2)
$ 35F-365   TimerHigh
$ 366-36C   TimerHigh limit
$ 36D-373   Instrument Data 
$ 374-37A   TimerLow (-)
$ 37B-381   (note Lenght)
$ 382-388   (TembrMirror / volume)
$ 389-38F   RetryLoop counter (-)
$ 390-396   RetryLoop counter Low (only used in track 11&12)
$ 397-39D   offset_of_timer_pause
$ 39E-3A4   timer_pause
$ 3A5-3AC   Volume Fade
$ 3AB-3B2   FX_timer
$ 3B3-3B9   toneLB // Period
$ 3BA-3C0   toneHB
$ 3C1-3C7     sfx timerOffset Шаг  // sound fx only
$ 3C8-3CE     sfx timer (+)
$ 3CF-3D5     sfx small lenght
$ 3D6-3DC     sfx (Noise+Triangle tone)
$ 3DD-3E3   Track number in channell
$ 3E4-3EA   Ограничитель period High (80 80 80 80)
$ 3EB-3F1     Noise DATA   (Used only 2-3 Noise_subchannels 3EC& 3ED)
$ 3F2-3F8     Noise Addr loByte
$ 3F9-3FF     Noise Addr hiByte