| 1 |
# Commodore 64 |
| 2 |
|
| 3 |
a home computer with a synthesizer-grade sound chip of which people took decades to master. three oscillators with four selectable waveforms, ring modulation, oscillator sync, multi-mode filter and ADSR envelope. |
| 4 |
|
| 5 |
very popular in Europe and mostly due to the demoscene, which stretched the machine's limbs to no end. |
| 6 |
|
| 7 |
two versions of aforementioned chip exist: 6581 (original chip) and 8580 (improved version with working waveform mixing and somewhat more consistent filter curves). |
| 8 |
|
| 9 |
the 6581 has a hardware quirk which produces a DC output with its intensity being regulated by the global volume register. this register can be abused to produce a crude, virtual fourth 4-bit PCM channel. |
| 10 |
Furnace supports this with the "Commodore 64 (SID 6581) with software PCM" system. the later 8580 chip fixed this problem, making such PCM nearly inaudible; while other PCM playback methods have been invented, Furnace does not support them at the moment. |
| 11 |
|
| 12 |
## effects |
| 13 |
|
| 14 |
- `10xx`: **change wave.** the following values are accepted: |
| 15 |
- `00`: nothing |
| 16 |
- `01`: triangle |
| 17 |
- `02`: saw |
| 18 |
- `03`: triangle and saw |
| 19 |
- `04`: pulse |
| 20 |
- `05`: pulse and triangle |
| 21 |
- `06`: pulse and saw |
| 22 |
- `07`: pulse and triangle and saw |
| 23 |
- `08`: noise |
| 24 |
- `11xx`: **set coarse cutoff.** `xx` may be a value between `00` and `64`. |
| 25 |
- _this effect only exists for compatibility reasons, and its use is discouraged._ |
| 26 |
- use effect `4xxx` instead. |
| 27 |
- `12xx`: **set coarse duty cycle.** `xx` may be a value between `00` and `64`. |
| 28 |
- _this effect only exists for compatibility reasons, and its use is discouraged._ |
| 29 |
- use effect `3xxx` instead. |
| 30 |
- `13xx`: **set resonance.** `xx` may be a value between `00` and `0F`. |
| 31 |
- `14xx`: **set filter mode.** the following values are accepted: |
| 32 |
- `00`: filter off |
| 33 |
- `01`: low pass |
| 34 |
- `02`: band pass |
| 35 |
- `03`: low+band pass |
| 36 |
- `04`: high pass |
| 37 |
- `05`: band reject/stop/notch |
| 38 |
- `06`: high+band pass |
| 39 |
- `07`: all pass |
| 40 |
- `15xx`: **set envelope reset time.** |
| 41 |
- this is the amount of ticks the channel turns off before a note occurs in order to reset the envelope safely. |
| 42 |
- if `xx` is 0 or higher than the song speed, the envelope will not reset. |
| 43 |
- `1Axx`: **disable envelope reset for this channel.** |
| 44 |
- `1Bxy`: **reset cutoff**: |
| 45 |
- if `x` is not 0: on new note |
| 46 |
- if `y` is not 0: now |
| 47 |
- this effect is not necessary if the instrument's cutoff macro is absolute. |
| 48 |
- `1Cxy`: **reset duty cycle**: |
| 49 |
- if `x` is not 0: on new note |
| 50 |
- if `y` is not 0: now |
| 51 |
- this effect is not necessary if the instrument's duty macro is absolute. |
| 52 |
- `1Exy`: **change additional parameters.** |
| 53 |
- _this effect only exists for compatibility reasons, and its use is discouraged._ |
| 54 |
- `x` may be one of the following: |
| 55 |
- `0`: attack (`y` from `0` to `F`) |
| 56 |
- `1`: decay (`y` from `0` to `F`) |
| 57 |
- `2`: sustain (`y` from `0` to `F`) |
| 58 |
- `3`: release (`y` from `0` to `F`) |
| 59 |
- `4`: ring modulation (`y` is `0` or `1`) |
| 60 |
- `5`: oscillator sync (`y` is `0` or `1`) |
| 61 |
- `6`: disable channel 3 (`y` is `0` or `1`) |
| 62 |
- `20xy`: **set attack/decay.** |
| 63 |
- `x` is the attack. |
| 64 |
- `y` is the decay. |
| 65 |
- `21xy`: **set sustain/release.** |
| 66 |
- `x` is the sustain. |
| 67 |
- `y` is the release. |
| 68 |
- `22xx`: **pulse width slide up.** |
| 69 |
- `xx` is speed. if it is `00`, the slide is stopped. |
| 70 |
- `23xx`: **pulse width slide down.** |
| 71 |
- `xx` is speed. if it is `00`, the slide is stopped. |
| 72 |
- `24xx`: **filter cutoff slide up.** |
| 73 |
- `xx` is speed. if it is `00`, the slide is stopped. |
| 74 |
- `25xx`: **filter cutoff slide down.** |
| 75 |
- `xx` is speed. if it is `00`, the slide is stopped. |
| 76 |
- `3xxx`: **set duty cycle.** `xxx` range is `000` to `FFF`. |
| 77 |
- `4xxx`: **set cutoff.** `xxx` range is `000` to `7FF`. |
| 78 |
|
| 79 |
## info |
| 80 |
|
| 81 |
this chip uses the [C64](../4-instrument/c64.md) instrument editor. |
| 82 |
|
| 83 |
## channel status |
| 84 |
|
| 85 |
the following icons are displayed when channel status is enabled in the pattern view: |
| 86 |
|
| 87 |
- channel is silent: |
| 88 |
-  it's not |
| 89 |
-  gate bit disabled |
| 90 |
-  gate bit disabled and test bit enabled |
| 91 |
-  test bit enabled |
| 92 |
-  ch3off enabled in filter mode |
| 93 |
|
| 94 |
## chip config |
| 95 |
|
| 96 |
the following options are available in the Chip Manager window: |
| 97 |
|
| 98 |
- **Clock rate**: sets the rate at which the chip will run. |
| 99 |
- **Global parameter priority**: change the priority of macros which control global parameters, such as volume and filter. |
| 100 |
- Left to right: process channels from 1 to 3. the last one to run macros will take effect. |
| 101 |
- Last used channel: process channels from oldest to newest (since last note). the one which had the latest note on will take a effect. |
| 102 |
- **Hard reset envelope**: configure the envelope parameters used during the short reset before a note. |
| 103 |
- **Envelope reset time**: set how long will the pre-note reset last, in ticks. |
| 104 |
- 0 disables reset, which prevents notes from triggering. |
| 105 |
- 1 is short, but may exhibit SID envelope bugs. |
| 106 |
- 2 is a good value. |
| 107 |
|
| 108 |
the other options are for compatibility with old Furnace and DefleMask, so they won't be documented here. |