Added AMAZING boot menu to KBOOT

This commit is contained in:
2025-01-05 18:20:15 +01:00
parent 707733e449
commit 94ca8c935f
22 changed files with 651 additions and 16 deletions
+12
View File
@@ -0,0 +1,12 @@
#include "stdint.h"
#include "port.h"
#include "kbd.h"
// TODO: Maybe do some setup?
int keyboardInit() { return 0; }
uint8_t getScancode() {
while (inb(PS2_STAT_PORT) & 0x01 == 0);
return inb(PS2_DATA_PORT);
}