more core things for building

This commit is contained in:
shockrahwow
2019-09-12 11:51:47 -07:00
parent ee4026a89e
commit c1254944ab
3 changed files with 1 additions and 1 deletions

7
core/io.asm Normal file
View File

@@ -0,0 +1,7 @@
global out_buffer
out_buffer:
mov al, [esp+8]
mov dx, [esp+4]
out dx, al
ret

6
core/io.h Normal file
View File

@@ -0,0 +1,6 @@
#ifndef INCLUDE_IO_H
#define INCLUDE_IO_H
void out_buffer(unsigned short port, unsigned char data);
#endif