|  |  | @ -25,29 +25,6 @@ extern "C" int main() { | 
			
		
	
		
		
			
				
					
					|  |  |  |   //TextWindow tw_global = TextWindow(0, 80, 0, 25, true);
 |  |  |  |   //TextWindow tw_global = TextWindow(0, 80, 0, 25, true);
 | 
			
		
	
		
		
			
				
					
					|  |  |  |   //tw_global.reset(' ', CGA::Attribute(CGA::LIGHT_GREEN, CGA::BLUE, false));
 |  |  |  |   //tw_global.reset(' ', CGA::Attribute(CGA::LIGHT_GREEN, CGA::BLUE, false));
 | 
			
		
	
		
		
			
				
					
					|  |  |  |    |  |  |  |    | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   TextWindow kout = TextWindow(0, 80, 0, 12, true); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   kout.reset(); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   kout.setPos(0,0); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   kout.print("Corem ipsum dolor sit amit", 26); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   kout.setPos(0,-1); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   kout.print("test", 4, CGA::Attribute(CGA::BLACK, CGA::BLUE)); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   int x,y; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   kout.getPos(x,y); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   kout.setPos(x+1,y); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   kout.reset(' ', CGA::Attribute(CGA::LIGHT_GREEN, CGA::BLUE, false)); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   TextWindow dout0 = TextWindow(0,20,13,10, false); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   dout0.reset(); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   dout0.reset(' ', CGA::Attribute(CGA::LIGHT_GREEN, CGA::BLUE, false));  |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   ////test Serial
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   Serial s = Serial(); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   s.write('a'); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   // test SerialStream
 |  |  |  |   // test SerialStream
 | 
			
		
	
		
		
			
				
					
					|  |  |  |   SerialStream ss = SerialStream(); |  |  |  |   SerialStream ss = SerialStream(); | 
			
		
	
		
		
			
				
					
					|  |  |  |   ss.print("test", 4); |  |  |  |   ss.print("test", 4); | 
			
		
	
	
		
		
			
				
					|  |  | @ -76,5 +53,28 @@ extern "C" int main_ap() { | 
			
		
	
		
		
			
				
					
					|  |  |  |   DBG_VERBOSE << "CPU core " << static_cast<int>(Core::getID()) << " / LAPIC " |  |  |  |   DBG_VERBOSE << "CPU core " << static_cast<int>(Core::getID()) << " / LAPIC " | 
			
		
	
		
		
			
				
					
					|  |  |  |               << static_cast<int>(LAPIC::getID()) << " in main_ap()" << endl; |  |  |  |               << static_cast<int>(LAPIC::getID()) << " in main_ap()" << endl; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   TextWindow kout = TextWindow(0, 80, 0, 12, true); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   kout.reset(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   kout.setPos(0,0); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   kout.print("Corem ipsum dolor sit amit", 26); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   kout.setPos(0,-1); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   kout.print("test", 4, CGA::Attribute(CGA::BLACK, CGA::BLUE)); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   int x,y; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   kout.getPos(x,y); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   kout.setPos(x+1,y); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   kout.reset(' ', CGA::Attribute(CGA::LIGHT_GREEN, CGA::BLUE, false)); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   TextWindow dout0 = TextWindow(0,20,13,19, false); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   dout0.reset(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   dout0.reset(' ', CGA::Attribute(CGA::LIGHT_GREEN, CGA::RED, false));  | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   ////test Serial
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   Serial s = Serial(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   s.write('a'); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |   return 0; |  |  |  |   return 0; | 
			
		
	
		
		
			
				
					
					|  |  |  | } |  |  |  | } | 
			
		
	
	
		
		
			
				
					|  |  | 
 |