From 1c5161108f2de250f05706e8d563b992370e787c Mon Sep 17 00:00:00 2001 From: "Hazal2.Veziroglu@live.uwe.ac.uk" <hazal2.veziroglu@live.uwe.ac.uk> Date: Fri, 6 Dec 2024 10:01:24 +0000 Subject: [PATCH] Update 2 files - /tiny-os/include/fb.h - /tiny-os/include/io.h --- tiny-os/include/fb.h | 8 ++++++++ tiny-os/include/io.h | 6 ++++++ 2 files changed, 14 insertions(+) create mode 100644 tiny-os/include/fb.h create mode 100644 tiny-os/include/io.h diff --git a/tiny-os/include/fb.h b/tiny-os/include/fb.h new file mode 100644 index 0000000..0252c72 --- /dev/null +++ b/tiny-os/include/fb.h @@ -0,0 +1,8 @@ +#ifndef FB_H +#define FB_H + +void fb_clear(); +void fb_print(const char *str, unsigned short row, unsigned short col); +void fb_move(unsigned short row, unsigned short col); + +#endif diff --git a/tiny-os/include/io.h b/tiny-os/include/io.h new file mode 100644 index 0000000..1eb3629 --- /dev/null +++ b/tiny-os/include/io.h @@ -0,0 +1,6 @@ +#ifndef IO_H +#define IO_H + +void outb(unsigned short port, unsigned char val); + +#endif -- GitLab