Module sid

Module sid 

Source
Expand description

Registers for the MOS Technology 6581/8580 SID (Sound Interface Device)

SID is the built-in programmable sound generator chip of Commodore’s CBM-II, Commodore 64, Commodore 128 and Commodore MAX Machine home computers. It was one of the first sound chips of its kind to be included in a home computer.

Structs§

MOSSoundInterfaceDevice
MOS Technology Sound Interface Device (SID)
SIDRng
Random number generator using the SID oscillator
Voice
Registers for a single SID voice/channel
VoiceControlFlags
Control flags for the Voice::control register

Enums§

AttackTime
Attack times for ATDCY, bits 4-7 (milliseconds, Ms)
DecayTime
Sustain times for ATDCY, bits 0-3 (milliseconds, Ms)

Traits§

SidTune
Trait for loading and parsing a PSID file at compile time

Functions§

combine_attack_decay
Combines attack and decay times for register ATDCY