mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:52:44 +00:00 
			
		
		
		
	 7a7956a595
			
		
	
	
		7a7956a595
		
	
	
	
	
		
			
			We now make three VirtualConsoles at boot: tty0, tty1, and tty2. We launch an instance of /bin/sh in each one. You switch between them with Alt+1/2/3 How very very cool :^)
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			273 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			273 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #pragma once
 | |
| 
 | |
| #include "types.h"
 | |
| 
 | |
| void vga_init();
 | |
| void vga_set_cursor(WORD);
 | |
| void vga_set_cursor(BYTE row, BYTE column);
 | |
| WORD vga_get_cursor();
 | |
| void vga_putch_at(byte row, byte column, byte ch, byte attr);
 | |
| void vga_scroll_up();
 | |
| void vga_clear();
 | |
| void vga_clear_row(word);
 |