| 1 |
# Philips SAA1099 |
| 2 |
|
| 3 |
this was used by the Game Blaster and SAM Coupé. it's pretty similar to the AY-3-8910, but has stereo sound, twice the channels and two envelopes, both of which are highly flexible. the envelopes work like this: |
| 4 |
- an instrument with envelope settings is placed on channel 2 or channel 5 |
| 5 |
- an instrument that is used as an "envelope output" is placed on channel 3 or channel 6 (you may want to disable wave output on the output channel) |
| 6 |
|
| 7 |
## effects |
| 8 |
|
| 9 |
- `10xy`: **set channel mode.** |
| 10 |
- `x` toggles noise. |
| 11 |
- `y` toggles square. |
| 12 |
- this effect affects either the first 3 or last 3 channels, depending on where it is placed. |
| 13 |
- `11xx`: **set noise frequency.** |
| 14 |
- this effect affects either the first 3 or last 3 channels, depending on where it is placed. |
| 15 |
- `12xx`: **setup envelope.** this is a bitmask. |
| 16 |
- bit 7 toggles the envelope. |
| 17 |
- bit 5 toggles whether to use a fixed frequency or lock to the frequency of channel 2 or 5. |
| 18 |
- bit 4 sets the envelope resolution. |
| 19 |
- bits 1 to 3 set the envelope shape: |
| 20 |
- `000`: always off |
| 21 |
- `001`: always on |
| 22 |
- `010`: down |
| 23 |
- `011`: down loop (saw) |
| 24 |
- `100`: up down |
| 25 |
- `101`: up down loop (triangle) |
| 26 |
- `110`: up then off |
| 27 |
- `111`: up loop (reverse saw) |
| 28 |
- bit 0 sets whether the right output will mirror the left one. |
| 29 |
- this effect affects either the first 3 or last 3 channels, depending on where it is placed. |
| 30 |
|
| 31 |
## info |
| 32 |
|
| 33 |
this chip uses the [SAA1099](../4-instrument/saa.md) instrument editor. |
| 34 |
|
| 35 |
## chip config |
| 36 |
|
| 37 |
the following options are available in the Chip Manager window: |
| 38 |
|
| 39 |
- sets the rate at which the chip will run. |