mirror of
				https://gitlab.com/sortix/sortix.git
				synced 2023-02-13 20:55:38 -05:00 
			
		
		
		
	Changing the sound frequency no longer prints to the terminal.
This commit is contained in:
		
							parent
							
								
									cd78c42c78
								
							
						
					
					
						commit
						8d86dc6f6a
					
				
					 1 changed files with 0 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -38,8 +38,6 @@ namespace Sortix
 | 
			
		|||
	
 | 
			
		||||
		void Play(nat Frequency)
 | 
			
		||||
		{
 | 
			
		||||
			Log::PrintF("Playing frequency %u\n", Frequency);
 | 
			
		||||
 | 
			
		||||
			//Set the PIT to the desired frequency
 | 
			
		||||
			uint32_t Div = 1193180 / Frequency;
 | 
			
		||||
			CPU::OutPortB(0x43, 0xB6);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue