From 0f23d50c8291b23799e55c8653c15f16c0d752d0 Mon Sep 17 00:00:00 2001 From: pk33 Date: Sun, 3 Nov 2024 03:41:54 +0100 Subject: VT switcher fix --- include/options.h | 22 +++------------------- include/system.h | 16 +++++++++++++--- 2 files changed, 16 insertions(+), 22 deletions(-) (limited to 'include') 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__ **/ -- cgit v1.2.3