mirror of
https://github.com/cowmonk/cowos.git
synced 2025-10-28 15:03:27 +00:00
cowos moves to 64bit! and framebuffers too ig
This commit is contained in:
parent
b78e4fc24d
commit
babc65305d
32 changed files with 4074 additions and 146 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue