mirror of
https://github.com/fergalmoran/ferglos.git
synced 2026-01-25 18:16:42 +00:00
Mouse handling working
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#include "../include/gdt.h"
|
||||
#include "../include/interrupts.h"
|
||||
#include "../include/keyboard.h"
|
||||
#include "../include/mouse.h"
|
||||
#include "../include/stdio.h"
|
||||
#include "../include/types.h"
|
||||
|
||||
@@ -20,12 +21,15 @@ extern "C" void call_constructors() {
|
||||
(*i)();
|
||||
}
|
||||
|
||||
extern "C" void ferglos_Main(const void* multiboot_structure, uint32_t /*mb_mag*/) {
|
||||
printf("Welcome to FerglOS v0.0.2!\n\n");
|
||||
extern "C" void ferglos_Main(const void* /*multiboot_structure*/, uint32_t /*mb_mag*/) {
|
||||
clear();
|
||||
printf("FerglOS v0.0.2!\n");
|
||||
printf("Floats like a lepidoptera, stings like a hymenoptera\n");
|
||||
|
||||
GlobalDescriptorTable gdt;
|
||||
InterruptManager interrupts(&gdt);
|
||||
KeyboardDriver keyboard(&interrupts);
|
||||
MouseDriver mouse(&interrupts);
|
||||
|
||||
interrupts.Activate();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user