cowos moves to 64bit! and framebuffers too ig

This commit is contained in:
cowmonk 2025-05-23 17:24:25 -07:00
parent b78e4fc24d
commit babc65305d
32 changed files with 4074 additions and 146 deletions

View file

@ -22,7 +22,7 @@ enum vga_color {
VGA_COLOR_LIGHT_MAGENTA = 13,
VGA_COLOR_LIGHT_BROWN = 14,
VGA_COLOR_WHITE = 15,
}
};
static inline uint8_t
vga_entry_color(enum vga_color fg, enum vga_color bg)
@ -39,7 +39,7 @@ vga_entry(unsigned char uc, uint8_t color)
/* using mode 3 of VGA 80x25 */
#define VGA_WIDTH 80
#define VGA_HEIGHT 25
#define VGA_MEMORY 0xB8000 /* VGA memory location */
#define VGA_MEMORY 0xA0000 /* VGA memory location */
void term_init(void);
void term_setcolor(uint8_t color);