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
1 changed files with 1 additions and 3 deletions

View File

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