Okay wow i forgot to commit a bunch of stuff

I added some work on a keyboard driver here
also changed the emulation system, since bochs was giving me headaches when it came to keyboard input
added some todo stuff.. probably some cleanup, idk
This commit is contained in:
2025-06-03 19:08:45 -04:00
parent ca77157344
commit af92026a74
11 changed files with 160 additions and 156 deletions

View File

@ -7,6 +7,9 @@
#include <kernel/x86/gdt.h>
#include <kernel/x86/idt.h>
#include <kernel/x86/io.h>
#include <kernel/x86/keyb.h>
void kmain(void)
{
@ -21,18 +24,8 @@ void kmain(void)
terminal_initialize();
serial_initialize();
#endif
/**
* The computer is now hanging on INTERRUPT 32,
* this is good because that means the PIC is working, its the timer interrupt, except... the PIT is masked off...
* we need to now implement the ISR routines in exception_handler,
* first i want to implement all of the code for the basic exceptions..
* then i want to setup the PIC triggers
*
* now for keyboard stuff, i believe i need to start looking into setting up a ps/2 driver before the interrupts will even start arriving..
*
*/
init_kb();
printf("Entering loop...\n");
while (1) {