User:Pararaum
From C64-Wiki
Jump to navigationJump to search
To edit:
Memory Addresses of the SID[edit | edit source]
| register | address (decimal) | function | |||||||
|---|---|---|---|---|---|---|---|---|---|
| $00 (00) | $d400 (54272) | frequency voice 1 low byte | |||||||
| $01 (01) | $d401 (54273) | frequency voice 1 high byte | |||||||
| $02 (02) | $d402 (54274) | pulse wave duty cycle voice 1 low byte | |||||||
| 7..4 | 3..0 | ||||||||
| $03 (03) | $d403 (54275) | — | pulse wave duty cycle voice 1 high byte | ||||||
| $04 (04) | $d404 (54276) | control register voice 1 | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ||
| noise | pulse | sawtooth | triangle | test | ring modulation with voice 3 | synchronize with voice 3 | gate | ||
| 7..4 | 3..0 | ||||||||
| $05 (05) | $d405 (54277) | attack duration | decay duration voice 1 | ||||||
| $06 (06) | $d406 (54278) | sustain level | release duration | ||||||
| $07 (07) | $d407 (54279) | frequency voice 2 low byte | |||||||
| $08 (08) | $d408 (54280) | frequency voice 2 high byte | |||||||
| $09 (09) | $d409 (54281) | pulse wave duty cycle voice 2 low byte | |||||||
| 7..4 | 3..0 | ||||||||
| $0a (10) | $d40a (54275) | — | pulse wave duty cycle voice 2 high byte | ||||||
| $0b (11) | $d40b (54283) | control register voice 2 | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ||
| noise | pulse | sawtooth | triangle | test | ring modulation with voice 1 | synchronize with voice 1 | gate | ||
| 7..4 | 3..0 | ||||||||
| $0c (12) | $d40c (54284) | attack duration | decay duration voice 2 | ||||||
| $0d (13) | $d40d (54285) | sustain level | release duration voice 2 | ||||||
| $0e (14) | $d40e (54286) | frequency voice 3 low byte | |||||||
| $0f (15) | $d40f (54287) | frequency voice 3 high byte | |||||||
| $10 (16) | $d410 (54288) | pulse wave duty cycle voice 3 low byte | |||||||
| 7..4 | 3..0 | ||||||||
| $11 (17) | $d411 (54275) | — | pulse wave duty cycle voice 3 high byte | ||||||
| $12 (18) | $d412 (54290) | control register voice 3 | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ||
| noise | pulse | sawtooth | triangle | test | ring modulation with voice 2 | synchronize with voice 2 | gate | ||
| 7..4 | 3..0 | ||||||||
| $13 (19) | $d413 (54291) | attack duration | decay duration voice 3 | ||||||
| $14 (20) | $d414 (54292) | sustain level | release duration voice 3 | ||||||
| $15 (21) | $d415 (54293) | — | filter cutoff frequency low byte | ||||||
| $16 (22) | $d416 (54294) | filter cutoff frequency high byte | |||||||
| $17 (23) | $d417 (54295) | filter resonance and routing | |||||||
| 7..4 | 3 | 2 | 1 | 0 | |||||
| filter resonance | external input | voice 3 | voice 2 | voice 1 | |||||
| $18 (24) | $d418 (54296) | filter mode and main volume control | |||||||
| 7 | 6 | 5 | 4 | 3..0 | |||||
| mute voice 3 | high pass | band pass | low pass | main volume | |||||
| $19 (25) | $d419 (54297) | paddle x value (read only) | |||||||
| $1a (26) | $d41a (54298) | paddle y value (read only) | |||||||
| $1b (27) | $d41b (54299) | oscillator voice 3 (read only) | |||||||
| $1c (28) | $d41c (54300) | envelope voice 3 (read only) | |||||||
| $d500..$d7ff (54528-55295) | SID registers mirrored (not in C128) | ||||||||