More Debug Cleanup
git-svn-id: https://spexeah.com:8443/svn/Asuro@183 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
parent
c3825ba134
commit
2049aca0e5
BIN
bin/kernel.bin
BIN
bin/kernel.bin
Binary file not shown.
Binary file not shown.
BIN
lib/kernel.ppu
BIN
lib/kernel.ppu
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
lib/libpsystem.a
BIN
lib/libpsystem.a
Binary file not shown.
@ -60,6 +60,15 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
gdt.init();
|
gdt.init();
|
||||||
|
asm
|
||||||
|
MOV dds, CS
|
||||||
|
end;
|
||||||
|
if dds = $08 then begin
|
||||||
|
console.writestringlnex('GDT: LOAD SUCCESS.', console.combinecolors(Green, Black));
|
||||||
|
end else begin
|
||||||
|
console.writestringlnex('GDT: LOAD FAIL.', console.combinecolors(Red, Black));
|
||||||
|
halt_and_catch_fire;
|
||||||
|
end;
|
||||||
idt.init();
|
idt.init();
|
||||||
isr.init();
|
isr.init();
|
||||||
irq.init();
|
irq.init();
|
||||||
@ -73,22 +82,10 @@ begin
|
|||||||
isr32.hook(uint32(@bios_data_area.tick_update));
|
isr32.hook(uint32(@bios_data_area.tick_update));
|
||||||
|
|
||||||
//drivers
|
//drivers
|
||||||
console.writestringln('Initializing Drivers');
|
console.writestringln('DRIVERS: INIT BEGIN.');
|
||||||
pci.init();
|
pci.init();
|
||||||
keyboard.init(keyboard_layout);
|
keyboard.init(keyboard_layout);
|
||||||
console.writestringln('Drivers Initialized');
|
console.writestringln('DRIVERS: INIT END.');
|
||||||
|
|
||||||
|
|
||||||
asm
|
|
||||||
MOV dds, CS
|
|
||||||
end;
|
|
||||||
if dds = $08 then begin
|
|
||||||
console.setdefaultattribute(console.combinecolors(Green, Black));
|
|
||||||
console.writestringln('GDT: LOAD SUCCESS.');
|
|
||||||
end else begin
|
|
||||||
console.setdefaultattribute(console.combinecolors(Red, Black));
|
|
||||||
console.writestringln('GDT: LOAD FAIL.');
|
|
||||||
end;
|
|
||||||
|
|
||||||
console.writestringln('');
|
console.writestringln('');
|
||||||
console.setdefaultattribute(console.combinecolors(Green, Black));
|
console.setdefaultattribute(console.combinecolors(Green, Black));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user