From 5b23c60bf21e74627b146217da9188d1ba205535 Mon Sep 17 00:00:00 2001 From: starnakin Date: Sat, 7 Sep 2024 14:16:14 +0200 Subject: [PATCH] rename terminal.c to put.c to separate put and get func --- src/terminal/{terminal.c => put.c} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename src/terminal/{terminal.c => put.c} (96%) diff --git a/src/terminal/terminal.c b/src/terminal/put.c similarity index 96% rename from src/terminal/terminal.c rename to src/terminal/put.c index a898119..5eed2be 100644 --- a/src/terminal/terminal.c +++ b/src/terminal/put.c @@ -16,8 +16,8 @@ static inline uint16_t vga_entry(unsigned char uc, uint8_t color) return (uint16_t) uc | (uint16_t) color << 8; } -static const size_t VGA_WIDTH = 80; -static const size_t VGA_HEIGHT = 25; +#define VGA_WIDTH 80 +#define VGA_HEIGHT 25 size_t terminal_row; size_t terminal_column;