Rewrote x86 initialize program in C

This commit is contained in:
2021-04-11 17:20:57 -05:00
parent e16cbd4ec9
commit 259aa3fabc
3 changed files with 107 additions and 61 deletions

9
include/tty.h Normal file
View File

@@ -0,0 +1,9 @@
#pragma once
#include <stddef.h>
int putchar(int c);
int printf(const char *format, ...);
int sprintf(char *str, const char *format, ...);