2022-01-16 01:10:43 -05:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								# NES
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								the console from Nintendo that plays Super Mario Bros. and helped revive the agonizing video game market in the US during mid-80s.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2022-04-29 01:18:55 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								also known as Famicom. It is a five-channel PSG: first two channels play pulse wave with three different duty cycles, third is a fixed-volume triangle channel, fourth is a noise channel (can work in both pseudo-random and periodic modes) and fifth is a (D)PCM sample channel.
							 
						 
					
						
							
								
									
										
										
										
											2022-01-16 01:10:43 -05:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								# effects
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2022-04-29 01:18:51 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								-  `11xx` : write to delta modulation counter. 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  -  this may be used to attenuate the triangle and noise channels.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  -  will not work if a sample is playing.
							 
						 
					
						
							
								
									
										
										
										
											2022-01-16 01:10:43 -05:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								-  `12xx` : set duty cycle or noise mode of channel. 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  -  may be 0-3 for the pulse channels and 0-1 for the noise channel.
							 
						 
					
						
							
								
									
										
										
										
											2022-02-01 18:28:48 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								-  `13xy` : setup sweep up. 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  -  `x`  is the time.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  -  `y`  is the shift.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  -  set to 0 to disable it.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  `14xy` : setup sweep down. 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  -  `x`  is the time.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  -  `y`  is the shift.
							 
						 
					
						
							
								
									
										
										
										
											2022-05-02 04:42:40 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  -  set to 0 to disable it.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  `18xx` : set PCM channel mode. 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  -  `00` : PCM (software).
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  -  `01` : DPCM (hardware).
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  -  when in DPCM mode, samples will sound muffled (due to its nature), availables pitches are limited and loop point is ignored.