c128lib Chipset
Various chipset functionalities.
Loading...
Searching...
No Matches
Sid Namespace Reference

Variables

label SID = $D400
 
label VOICE1_FREQ_REGISTER_LOW = SID
 
label VOICE1_FREQ_REGISTER_HI = SID + 1
 
label VOICE1_PULSEWIDTH_LOW = SID + 2
 
label VOICE1_PULSEWIDTH_HI = SID + 3
 
label VOICE1_CONTROL_REGISTER = SID + 4
 
label VOICE1_ATTACK_DECAY = SID + 5
 
label VOICE1_SUSTAIN_RELEASE = SID + 6
 
label VOICE2_FREQ_REGISTER_LOW = SID + 7
 
label VOICE2_FREQ_REGISTER_HI = SID + 8
 
label VOICE2_PULSEWIDTH_LOW = SID + 9
 
label VOICE2_PULSEWIDTH_HI = SID + 10
 
label VOICE2_CONTROL_REGISTER = SID + 11
 
label VOICE2_ATTACK_DECAY = SID + 12
 
label VOICE2_SUSTAIN_RELEASE = SID + 13
 
label VOICE3_FREQ_REGISTER_LOW = SID + 14
 
label VOICE3_FREQ_REGISTER_HI = SID + 15
 
label VOICE3_PULSEWIDTH_LOW = SID + 16
 
label VOICE3_PULSEWIDTH_HI = SID + 17
 
label VOICE3_CONTROL_REGISTER = SID + 18
 
label VOICE3_ATTACK_DECAY = SID + 19
 
label VOICE3_SUSTAIN_RELEASE = SID + 20
 
label CUTOFF_FREQ_LOW = SID + 21
 
label CUTOFF_FREQ_HI = SID + 22
 
label RESONANCE_FILTER_CONTROL_REGISTER = SID + 23
 
label VOLUME_FILTER_MODE_REGISTER = SID + 24
 
label PADDLE_X_POSITION = SID + 25
 
label PADDLE_Y_POSITION = SID + 26
 
label VOICE3_OSCILLATOR = SID + 27
 
label VOICE3_ENVELOPE = SID + 28
 

Variable Documentation

◆ SID

label SID = $D400

Sid main address

◆ VOICE1_FREQ_REGISTER_LOW

label VOICE1_FREQ_REGISTER_LOW = SID

Frequency register for voice 1 (low byte)

◆ VOICE1_FREQ_REGISTER_HI

label VOICE1_FREQ_REGISTER_HI = SID + 1

Frequency register for voice 1 (high byte)

◆ VOICE1_PULSEWIDTH_LOW

label VOICE1_PULSEWIDTH_LOW = SID + 2

Pulsewidth for voice 1 (low byte)

◆ VOICE1_PULSEWIDTH_HI

label VOICE1_PULSEWIDTH_HI = SID + 3

Pulsewidth for voice 1 (high byte)

◆ VOICE1_CONTROL_REGISTER

label VOICE1_CONTROL_REGISTER = SID + 4

Control register for voice 1

◆ VOICE1_ATTACK_DECAY

label VOICE1_ATTACK_DECAY = SID + 5

Attack/decay register for voice 1

◆ VOICE1_SUSTAIN_RELEASE

label VOICE1_SUSTAIN_RELEASE = SID + 6

Sustain/release register for voice 1

◆ VOICE2_FREQ_REGISTER_LOW

label VOICE2_FREQ_REGISTER_LOW = SID + 7

Frequency register for voice 2 (low byte)

◆ VOICE2_FREQ_REGISTER_HI

label VOICE2_FREQ_REGISTER_HI = SID + 8

Frequency register for voice 2 (high byte)

◆ VOICE2_PULSEWIDTH_LOW

label VOICE2_PULSEWIDTH_LOW = SID + 9

Pulsewidth for voice 2 (low byte)

◆ VOICE2_PULSEWIDTH_HI

label VOICE2_PULSEWIDTH_HI = SID + 10

Pulsewidth for voice 2 (high byte)

◆ VOICE2_CONTROL_REGISTER

label VOICE2_CONTROL_REGISTER = SID + 11

Control register for voice 2

◆ VOICE2_ATTACK_DECAY

label VOICE2_ATTACK_DECAY = SID + 12

Attack/decay register for voice 2

◆ VOICE2_SUSTAIN_RELEASE

label VOICE2_SUSTAIN_RELEASE = SID + 13

Sustain/release register for voice 2

◆ VOICE3_FREQ_REGISTER_LOW

label VOICE3_FREQ_REGISTER_LOW = SID + 14

Frequency register for voice 3 (low byte)

◆ VOICE3_FREQ_REGISTER_HI

label VOICE3_FREQ_REGISTER_HI = SID + 15

Frequency register for voice 3 (high byte)

◆ VOICE3_PULSEWIDTH_LOW

label VOICE3_PULSEWIDTH_LOW = SID + 16

Pulsewidth for voice 3 (low byte)

◆ VOICE3_PULSEWIDTH_HI

label VOICE3_PULSEWIDTH_HI = SID + 17

Pulsewidth for voice 3 (high byte)

◆ VOICE3_CONTROL_REGISTER

label VOICE3_CONTROL_REGISTER = SID + 18

Control register for voice 3

◆ VOICE3_ATTACK_DECAY

label VOICE3_ATTACK_DECAY = SID + 19

Attack/decay register for voice 3

◆ VOICE3_SUSTAIN_RELEASE

label VOICE3_SUSTAIN_RELEASE = SID + 20

Sustain/release register for voice 3

◆ CUTOFF_FREQ_LOW

label CUTOFF_FREQ_LOW = SID + 21

Filter cutoff frequency (low byte)

◆ CUTOFF_FREQ_HI

label CUTOFF_FREQ_HI = SID + 22

Filter cutoff frequency (high byte)

◆ RESONANCE_FILTER_CONTROL_REGISTER

label RESONANCE_FILTER_CONTROL_REGISTER = SID + 23

Resonance/filter control register

◆ VOLUME_FILTER_MODE_REGISTER

label VOLUME_FILTER_MODE_REGISTER = SID + 24

Volume/filter mode register

◆ PADDLE_X_POSITION

label PADDLE_X_POSITION = SID + 25

Potentiometer (paddle) x position

◆ PADDLE_Y_POSITION

label PADDLE_Y_POSITION = SID + 26

Potentiometer (paddle) y position

◆ VOICE3_OSCILLATOR

label VOICE3_OSCILLATOR = SID + 27

Voice 3 oscillator output

◆ VOICE3_ENVELOPE

label VOICE3_ENVELOPE = SID + 28

Voice 3 envelope generator output