From 0bff8199e4a800d5ea1bd422dcf06643d6daf008 Mon Sep 17 00:00:00 2001 From: Aleksa Vučković Date: Mon, 10 Jan 2022 22:15:15 +0100 Subject: include/setup.sh --- include/02.vga/deo10 | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 include/02.vga/deo10 (limited to 'include/02.vga/deo10') diff --git a/include/02.vga/deo10 b/include/02.vga/deo10 new file mode 100644 index 0000000..9511b21 --- /dev/null +++ b/include/02.vga/deo10 @@ -0,0 +1,10 @@ +void terminal_putchar(char c) +{ + if(c=='\n') terminal_column=0,terminal_row++; + else + { + terminal_putentryat(c, terminal_color, terminal_column, terminal_row); + next_field(); + } + if (terminal_row==VGA_HEIGHT) movescreen(); +} -- cgit v1.2.3