www.retrosoftware.co.uk
http://www.retrosoftware.co.uk/forum/

Useful BeebSID resources
http://www.retrosoftware.co.uk/forum/viewtopic.php?f=62&t=699
Page 1 of 1

Author:  danielj [ Sat Oct 29, 2011 2:32 pm ]
Post subject:  Useful BeebSID resources

Hi,
I've popped together a list of the SID registers with the BeebSID addresses in it. Thought it'd be useful for some.

d.
Code:
Voice 1
$FC20   64544   Frequency Lo Byte
$FC21   64545   Frequency Hi Byte
$FC22   64546   Pulse Width Lo
$FC23   64547   Pulse Width Hi (bits 4-7 not used)
$FC24   64548   Control Register:
            Bit 0 = GATE for Env. Generator
            Bit 1 = Sync Oscillator 1 with 3
            Bit 2 = Ring Mod Comb of 1 and 3
            Bit 3 = Test (Lock Osc 1 at 0)
            Bit 4 = Triangle Waveform
            Bit 5 = Sawtooth Waveform
            Bit 6 = Square Waveform
            Bit 7 = Noise
$FC25   64549   Attack/Decay
            Bits 4-7 = Select attack value (1-16)
            Bits 0-3 = Select decay value (1-16)
$FC26   64550   Sustain/Release
            Bits 4-7 = Select sustain value (1-16)
            Bits 0-3 = Select release value (1-16)
Voice 2
$FC27   64551   Frequency Lo Byte
$FC28   64552   Frequency Hi Byte
$FC29   64553   Pulse Width Lo
$FC2A   64554   Pulse Width Hi (bits 4-7 not used)
$FC2B   64555   Control Register:
            Bit 0 = GATE for Env. Generator
            Bit 1 = Sync Oscillator 2 with 1
            Bit 2 = Ring Mod Comb of 2 and 1
            Bit 3 = Test (Lock Osc 1 at 0)
            Bit 4 = Triangle Waveform
            Bit 5 = Sawtooth Waveform
            Bit 6 = Square Waveform
            Bit 7 = Noise
$FC2C   64556   Attack/Decay
            Bits 4-7 = Select attack value (1-16)
            Bits 0-3 = Select decay value (1-16)
$FC2D   64557   Sustain/Release
            Bits 4-7 = Select sustain value (1-16)
            Bits 0-3 = Select release value (1-16)
Voice 3
$FC2E   64558   Frequency Lo Byte
$FC2F   64559   Frequency Hi Byte
$FC30   64560   Pulse Width Lo
$FC31   64561   Pulse Width Hi (bits 4-7 not used)
$FC32   64562   Control Register:
            Bit 0 = GATE for Env. Generator
            Bit 1 = Sync Oscillator 1 with 3
            Bit 2 = Ring Mod Comb of 1 and 3
            Bit 3 = Test (Lock Osc 1 at 0)
            Bit 4 = Triangle Waveform
            Bit 5 = Sawtooth Waveform
            Bit 6 = Square Waveform
            Bit 7 = Noise
$FC33   64563   Attack/Decay
            Bits 4-7 = Select attack value (1-16)
            Bits 0-3 = Select decay value (1-16)
$FC34   64564   Sustain/Release
            Bits 4-7 = Select sustain value (1-16)
            Bits 0-3 = Select release value (1-16)
Filter
$FC35   64565   Filter cutoff Freq Lo (bits 3-7 not used)
$FC36   64566   Filter cutoff Freq Hi
$FC37   64567   Res/Filt
            Bits 4-7 = Resonance setting (1-16)
            Bit 0   = if 0, don't filter voice 1
            Bit 1   = if 0, don't filter voice 2
            Bit 2   = if 0, don't filter voice 3
            Bit 3   = if 0, don't filter external input
$FC38   64568   Mode/Volume
            Bit 4 = Low pass filter select
            Bit 5 = Band pass filter select
            Bit 6 = High pass filter select
            Bit 7 = Turn off voice 3 audio
            Bits 0-3 = select volume (1-16)

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/