From 4c7934102bea39f002f637ebf12863bf99dd99a7 Mon Sep 17 00:00:00 2001 From: Xander Date: Mon, 3 Jul 2023 15:13:48 +0200 Subject: Implemented newline --- kernel/writer.sats | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'kernel/writer.sats') diff --git a/kernel/writer.sats b/kernel/writer.sats index e6baef5..3ccfd7b 100644 --- a/kernel/writer.sats +++ b/kernel/writer.sats @@ -1,4 +1,6 @@ -#define N 80 * 25 +#define BUFFER_HEIGHT 23 +#define BUFFER_WIDTH 80 +#define N BUFFER_HEIGHT * BUFFER_WIDTH datatype color = | Black -- cgit v1.2.3