omos-tcnj2024/sys/drv/vga/include/video.h

17 lines
245 B
C
Raw Normal View History

2024-02-17 20:34:30 +01:00
#ifndef VIDEO_H
#define VIDEO_H
2024-02-17 23:19:28 +01:00
#include <types.h>
2024-02-18 01:39:28 +01:00
#define VGA_SIZE 4000
2024-02-18 02:16:03 +01:00
#define VGA_TEXT_SIZE 2000
2024-02-18 01:41:27 +01:00
s32 unused = 0;
2024-02-17 20:34:30 +01:00
2024-02-18 01:39:28 +01:00
s8 *vga_vidmem = (s8 *)0xb8000;
s8 vga_unused = 0;
2024-02-17 23:19:28 +01:00
2024-02-18 03:53:36 +01:00
void vga_write(s8 *, s16, s8);
2024-02-18 01:16:13 +01:00
void vga_clearscreen(void);
2024-02-17 20:34:30 +01:00
#endif