mirror of
https://github.com/nikhilroxtomar/Simple-Operating-System-from-Scratch.git
synced 2025-08-13 14:01:15 +00:00
30 lines
667 B
C
30 lines
667 B
C
#include "../cpu/gdt.h"
|
|
#include "../cpu/idt.h"
|
|
#include "../cpu/irq.h"
|
|
#include "../include/print.h"
|
|
#include "../include/input.h"
|
|
#include "../include/about.h"
|
|
#include "../user/shell/shell.h"
|
|
#include "../user/taskbar/taskbar.h"
|
|
|
|
void main(){
|
|
clear(0xf0);
|
|
print_color("\nLoading GDT............................[OK]\n", 0xf9);
|
|
print_color("Loading ISR............................[OK]\n", 0xf9);
|
|
irq_install();
|
|
print_color("Loading IRQ............................[OK]\n", 0xf9);
|
|
timer_install();
|
|
print_color("Loading Shell..........................[OK]\n", 0xf9);
|
|
keyboard_install();
|
|
|
|
int i=0;
|
|
for(i=0;i<COLS;i++){
|
|
print("_");
|
|
}
|
|
|
|
os_about();
|
|
taskbar();
|
|
shell();
|
|
|
|
}
|