git-svn-id: https://spexeah.com:8443/svn/Asuro@463 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
parent
bce58215eb
commit
95f581f7bd
@ -57,8 +57,8 @@ type
|
|||||||
|
|
||||||
|
|
||||||
var
|
var
|
||||||
storageDevices : array[0..25] of PStorage_Device; //index in this array is global drive id
|
storageDevices : array[0..25] of TStorage_Device; //index in this array is global drive id
|
||||||
fileSystems : array[0..31] of PFilesystem;
|
fileSystems : array[0..31] of TFilesystem;
|
||||||
|
|
||||||
procedure init();
|
procedure init();
|
||||||
|
|
||||||
|
@ -91,21 +91,13 @@ begin
|
|||||||
multibootmagic:= mbmagic;
|
multibootmagic:= mbmagic;
|
||||||
|
|
||||||
console.init();
|
console.init();
|
||||||
console.writestringln('A');
|
|
||||||
|
|
||||||
terminal.init();
|
terminal.init();
|
||||||
|
|
||||||
console.writestringln('B');
|
|
||||||
terminal.registerCommand('MEMINFO', @terminal_command_meminfo, 'Print Simple Memory Information.');
|
terminal.registerCommand('MEMINFO', @terminal_command_meminfo, 'Print Simple Memory Information.');
|
||||||
|
|
||||||
console.writestringln('C');
|
|
||||||
terminal.registerCommand('BSOD', @terminal_command_bsod, 'Force a Panic Screen.');
|
terminal.registerCommand('BSOD', @terminal_command_bsod, 'Force a Panic Screen.');
|
||||||
|
|
||||||
console.writestringln('Booting Asuro...');
|
console.writestringln('Booting Asuro...');
|
||||||
|
|
||||||
while true do begin
|
|
||||||
end;
|
|
||||||
|
|
||||||
if (multibootmagic <> MULTIBOOT_BOOTLOADER_MAGIC) then begin
|
if (multibootmagic <> MULTIBOOT_BOOTLOADER_MAGIC) then begin
|
||||||
console.setdefaultattribute(console.combinecolors(Red, Black));
|
console.setdefaultattribute(console.combinecolors(Red, Black));
|
||||||
console.outputln('KERNEL', 'Multiboot Compliant Boot-Loader Needed!');
|
console.outputln('KERNEL', 'Multiboot Compliant Boot-Loader Needed!');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user