2022-01-16 01:10:43 -05:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								# Philips SAA1099
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-06-25 03:05:30 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								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:
							 
						 
					
						
							
								
									
										
										
										
											2022-10-16 01:53:05 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								-  an instrument with envelope settings is placed on channel 2 or channel 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) 
						 
					
						
							
								
									
										
										
										
											2022-01-16 01:10:43 -05:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-09-10 20:34:13 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								## effects
  
						 
					
						
							
								
									
										
										
										
											2022-01-16 01:10:43 -05:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-06-25 03:05:30 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								-  `10xy` : **set channel mode.**  
						 
					
						
							
								
									
										
										
										
											2022-01-16 01:10:43 -05:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  -  `x`  toggles noise.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  -  `y`  toggles square.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  -  this effect affects either the first 3 or last 3 channels, depending on where it is placed.
							 
						 
					
						
							
								
									
										
										
										
											2023-06-25 03:05:30 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								-  `11xx` : **set noise frequency.**  
						 
					
						
							
								
									
										
										
										
											2022-01-16 01:10:43 -05:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  -  this effect affects either the first 3 or last 3 channels, depending on where it is placed.
							 
						 
					
						
							
								
									
										
										
										
											2023-06-25 03:05:30 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								-  `12xx` : **setup envelope.**  this is a bitmask. 
						 
					
						
							
								
									
										
										
										
											2022-01-16 01:10:43 -05:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  -  bit 7 toggles the envelope.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  -  bit 5 toggles whether to use a fixed frequency or lock to the frequency of channel 2 or 5.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  -  bit 4 sets the envelope resolution.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  -  bits 1 to 3 set the envelope shape:
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    -  `000` : always off
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    -  `001` : always on
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    -  `010` : down
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    -  `011` : down loop (saw)
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    -  `100` : up down
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    -  `101` : up down loop (triangle)
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    -  `110` : up then off
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    -  `111` : up loop (reverse saw)
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  -  bit 0 sets whether the right output will mirror the left one.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  -  this effect affects either the first 3 or last 3 channels, depending on where it is placed.
							 
						 
					
						
							
								
									
										
										
										
											2023-08-04 12:11:53 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-09-10 20:34:13 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								## info
  
						 
					
						
							
								
									
										
										
										
											2023-08-04 12:11:53 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-08-04 12:38:05 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								this chip uses the [SAA1099 ](../4-instrument/saa.md ) instrument editor.
							 
						 
					
						
							
								
									
										
										
										
											2024-07-06 15:52:07 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								## chip config
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								the following options are available in the Chip Manager window:
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  sets the rate at which the chip will run.