feat: standard vga support (mode switching, framebuffer remapping)
[lunaix-os.git] / lunaix-os / includes / lunaix / lxconsole.h
index a2647662a6e8eb8d211baf62d2b137dd855221c7..fbf59a462d65568c71fa2708c74873a3d4b394fc 100644 (file)
@@ -1,6 +1,13 @@
 #ifndef __LUNAIX_LXCONSOLE_H
 #define __LUNAIX_LXCONSOLE_H
 
+#define TCINTR 0x03 // ETX
+#define TCEOF 0x04  // EOT
+#define TCBS 0x08   // BS
+#define TCLF 0x0A   // LF
+#define TCCR 0x0D   // CR
+#define TCSTOP 0x1A // SUB
+
 void
 lxconsole_init();
 
@@ -10,6 +17,15 @@ console_write_str(char* str);
 void
 console_write_char(char chr);
 
+void
+console_view_up();
+
+void
+console_view_down();
+
+void
+console_flush();
+
 void
 console_start_flushing();
 #endif /* __LUNAIX_LXCONSOLE_H */