General Cleanup, Implemented DMA Allocation
[tpg/acess2.git] / Kernel / drv / vterm.c
index afd53ff..09f85ff 100644 (file)
@@ -24,6 +24,7 @@
 #define        DEFAULT_COLOUR  (VT_COL_BLACK|(0xAAA<<16))
 
 #define        VT_FLAG_HIDECSR 0x01
+#define        VT_FLAG_HASFB   0x10    //!< Set if the VTerm has requested the Framebuffer
 
 enum eVT_InModes {
        VT_INMODE_TEXT8,        // UTF-8 Text Mode (VT100 Emulation)
@@ -184,7 +185,7 @@ int VT_Install(char **Arguments)
        DevFS_AddDevice( &gVT_DrvInfo );
        
        // Set kernel output to VT0
-       //Debug_SetKTerminal("/Devices/VTerm/0");
+       Debug_SetKTerminal("/Devices/VTerm/0");
        
        return 0;
 }
@@ -493,6 +494,10 @@ void VT_KBCallBack(Uint32 Codepoint)
                case KEY_F10:   VT_SetTerminal(9);      return;
                case KEY_F11:   VT_SetTerminal(10);     return;
                case KEY_F12:   VT_SetTerminal(11);     return;
+               case KEY_PGUP:
+                       break;
+               case KEY_PGDOWN:
+                       break;
                }
        }
        

UCC git Repository :: git.ucc.asn.au