aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorpk33 <pk33@email.com>2024-11-03 03:41:54 +0100
committerpk33 <pk33@email.com>2024-11-03 03:41:54 +0100
commit0f23d50c8291b23799e55c8653c15f16c0d752d0 (patch)
tree0fad70720f1bf647448a26636d51fdbd80bfc640 /include
parentee7cd3e6b622a8c40236ac26270e369bc28af007 (diff)
downloadengine33-0f23d50c8291b23799e55c8653c15f16c0d752d0.tar.gz
VT switcher fix
Diffstat (limited to 'include')
-rw-r--r--include/options.h22
-rw-r--r--include/system.h16
2 files changed, 16 insertions, 22 deletions
diff --git a/include/options.h b/include/options.h
index 4b6f765..2e71ad6 100644
--- a/include/options.h
+++ b/include/options.h
@@ -2,25 +2,9 @@
#define __OPTIONS_H__
-/**/
-#define DRM_DEVICE "/dev/dri/card0"
-#define DRM_MODE "1024x768"
-#define DRM_RATE 75
-/**/
-
-
-#define NEAR 1.0;
-#define FAR 24.0
-
-#define TRANSPARENT 0x0
-#define BLACK 0xff000000
-#define WHITE 0xffffffff
-#define RED 0xffff0000
-#define GREEN 0xff00ff00
-#define BLUE 0xff0000ff
-#define YELLOW 0xffffff00
-#define MAGENTA 0xffff00ff
-#define CYAN 0xff00ffff
+#define DRM_DEVICE "/dev/dri/card1"
+#define DRM_MODE "1366x768"
+#define DRM_RATE 60
#endif /* __OPTIONS_H */
diff --git a/include/system.h b/include/system.h
index 6260013..b97daff 100644
--- a/include/system.h
+++ b/include/system.h
@@ -3,12 +3,22 @@
#include "types.h"
+#define NEAR 1.0
+#define FAR 24.0
+
+#define TRANSPARENT 0x0
+#define BLACK 0xff000000
+#define WHITE 0xffffffff
+#define RED 0xffff0000
+#define GREEN 0xff00ff00
+#define BLUE 0xff0000ff
+#define YELLOW 0xffffff00
+#define MAGENTA 0xffff00ff
+#define CYAN 0xff00ffff
+
err e33_ioctl( Size fd, unsigned long req, void *arg );
boolean strcomp( String s1, String s2 );
-void clear_tty( void);
-void vprint_tty( String fmt, ... );
-err get_line (char *buff, size_t sz, char *fmt, ...);
#endif /** __SYSTEM_H__ **/