#include "vga.h" // static inline void outb(unsigned int port, unsigned char val) { // asm volatile ("outb %0, %1" : : "a"(val), "Nd"(port) : "memory"); // } void kmain (void) { // Cursor disabling // TODO: outb function //outb(0x3D4, 0x0A); //outb(0x3D5, 0x20); //cls(); vga_init(VGA_COLOR_GREY, VGA_COLOR_BLACK); vga_write_line("=== KoalemOS ==="); vga_write("Testing color writing... "); vga_write_color("Yes", VGA_COLOR_BLACK, VGA_COLOR_GREEN); vga_write_color("No", VGA_COLOR_BLACK, VGA_COLOR_RED); vga_write_line("Execution finished. Halting CPU..."); }