OUTB implementation

This commit is contained in:
Jarkko Toivanen 2023-06-14 20:49:23 +03:00
parent 6547181959
commit 94657a7b47
Signed by: jt
GPG key ID: 9151B109B73ECAD5

View file

@ -1,11 +1,9 @@
#include "multiboot.h" #include "multiboot.h"
#include "vga.h" #include "vga.h"
/* static inline void outb(unsigned short port, unsigned char val) {
static inline void outb(unsigned int port, unsigned char val) {
asm volatile ("outb %0, %1" : : "a"(val), "Nd"(port) : "memory"); asm volatile ("outb %0, %1" : : "a"(val), "Nd"(port) : "memory");
} }
*/
char* itoa(int value, int base) { char* itoa(int value, int base) {
char* result; char* result;