c128lib Labels
Labels definition for C128
Loading...
Searching...
No Matches
sid.asm File Reference

Sid module. More...

Namespaces

namespace  Sid
 

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
 

Detailed Description

Sid module.

This file contains labels that map to the SID registers of the Commodore 128.; Labels are intended to be used in assembly for 6502 with KickAssembler.

The Commodore 128 has a SID chip, which is responsible for producing sound. The SID chip controls three independent audio channels, each capable of generating various waveforms and modulating frequency, resonance, attack, decay, sustain, and release.

https://c128lib.github.io/Reference/Sid

https://c128lib.github.io/Reference/D400

Author
Raffaele Intorcia raffa.nosp@m.ele..nosp@m.intor.nosp@m.cia@.nosp@m.gmail.nosp@m..com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Date
2024