summaryrefslogtreecommitdiff
path: root/include/io.h
diff options
context:
space:
mode:
authorElizabeth Alexander Hunt <me@liz.coffee>2026-10-11 14:22:26 -0700
committerElizabeth Alexander Hunt <me@liz.coffee>2026-10-11 14:27:23 -0700
commit7c870e6eabd53f7a8cb0c9b5ecb477797b4de09a (patch)
tree9c52c9ffb4f036ffcbeb785b8ed2b8bd0dfbf61a /include/io.h
parentc74bd1baa844eac1fcb17a266ef720ed0c1ae616 (diff)
downloadmacaroni-main.tar.gz
macaroni-main.zip
Scroll some pixels on the fuckin screenHEADmain
Diffstat (limited to 'include/io.h')
-rw-r--r--include/io.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/io.h b/include/io.h
new file mode 100644
index 0000000..ed71e6f
--- /dev/null
+++ b/include/io.h
@@ -0,0 +1,13 @@
+#include <stdint.h>
+
+#ifndef IO_H
+#define IO_H
+
+uint8_t inportb(uint16_t port);
+void outportb(uint16_t port, uint8_t data);
+void init_serial();
+void serial_putc(char c);
+void serial_puts(const char* s);
+void serial_puthex(uint32_t h);
+
+#endif // IO_H \ No newline at end of file