From 8eda325ede02d3fc606a34f7fa3c4922b05a84e4 Mon Sep 17 00:00:00 2001 From: EmulatedSeasons <89668582+EmulatedSeasons@users.noreply.github.com> Date: Thu, 18 Jul 2024 22:25:44 -0400 Subject: Remerged the std stuff into the kernel --- kernel/std/putchar.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 kernel/std/putchar.c (limited to 'kernel/std/putchar.c') diff --git a/kernel/std/putchar.c b/kernel/std/putchar.c new file mode 100644 index 0000000..f0f5783 --- /dev/null +++ b/kernel/std/putchar.c @@ -0,0 +1,11 @@ +#include + +//#include +#include + +int putchar(int ic) { + char c = (char) ic; + serial_putchar(c); + //terminal_write(&c, sizeof(c)); + return ic; +} \ No newline at end of file -- cgit v1.2.3-70-g09d2