{
switch(ch)
{
+ case 'q': *((int*)1) = 0; break;
case 'd': __asm__ __volatile__ ("xchg %bx, %bx"); break;
case 'p': Threads_Dump(); break;
}
#define MAX_INPUT_CHARS32 64
#define MAX_INPUT_CHARS8 (MAX_INPUT_CHARS32*4)
#define VT_SCROLLBACK 2 // 2 Screens of text
-//#define DEFAULT_OUTPUT "VGA"
-#define DEFAULT_OUTPUT "BochsGA"
+#define DEFAULT_OUTPUT "VGA"
+//#define DEFAULT_OUTPUT "BochsGA"
//#define DEFAULT_OUTPUT "Vesa"
#define DEFAULT_INPUT "PS2Keyboard"
#define DEFAULT_WIDTH 80
Uint64 Vesa_Read(tVFS_Node *Node, Uint64 off, Uint64 len, void *buffer)\r
{\r
#if DEBUG >= 2\r
- LogF("Vesa_Read: () - NULL\n");\r
+ Log("Vesa_Read: () - NULL\n");\r
#endif\r
return 0;\r
}\r
int Vesa_Int_SetMode(int mode)\r
{ \r
#if DEBUG\r
- LogF("Vesa_Int_SetMode: (mode=%i)\n", mode);\r
+ Log("Vesa_Int_SetMode: (mode=%i)", mode);\r
#endif\r
\r
// Sanity Check values\r
giVesaPageCount = (gVesa_Modes[mode].fbSize + 0xFFF) >> 12;\r
gVesaFramebuffer = (void*)MM_MapHWPages(gVesa_Modes[mode].framebuffer, giVesaPageCount);\r
\r
- LogF("Vesa", "Framebuffer (Phys) = 0x%x", gVesa_Modes[mode].framebuffer);\r
- LogF("Vesa", "Framebuffer (Virt) = 0x%x", gVesaFramebuffer);\r
+ Log("Vesa", "Framebuffer (Phys) = 0x%x", gVesa_Modes[mode].framebuffer);\r
+ Log("Vesa", "Framebuffer (Virt) = 0x%x", gVesaFramebuffer);\r
\r
// Record Mode Set\r
giVesaCurrentMode = mode;\r