Add: semi-working printf implementation

This commit is contained in:
xamidev
2024-05-26 15:43:30 +02:00
parent 61dec7fe14
commit bb775dfa5b
9 changed files with 250 additions and 2 deletions

3
io.h
View File

@@ -1,7 +1,10 @@
#ifndef INCLUDE_IO_H
#define INCLUDE_IO_H
#include "stdint.h"
void outb(unsigned short port, unsigned char data);
unsigned char inb(unsigned short port);
void x86_div64_32(uint64_t dividend, uint32_t divisor, uint64_t* quotientOut, uint32_t* remainderOut);
#endif