blob: aa9440a1e982f455ca7bf8582ad7f89c5196b96b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#ifndef MELVIX_VGA_H
#define MELVIX_VGA_H
#include <stddef.h>
#include <stdint.h>
#include "vesa.h"
// VGA
enum vga_color;
void terminal_initialize(void);
void terminal_set_color(uint8_t color);
void terminal_clear();
void terminal_write_string(const char *data);
void terminal_put_char(char c);
void terminal_write_line(const char *data);
// VESA/VBE
void init_graphics();
struct vbe_best best;
#endif
|