N/A
git-svn-id: https://spexeah.com:8443/svn/Asuro@20 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
parent
da08dfd941
commit
8a4074b888
@ -17,12 +17,16 @@ implementation
|
|||||||
procedure kmain(mbinfo: Pmultiboot_info_t; mbmagic: DWORD); stdcall; [public, alias: 'kmain'];
|
procedure kmain(mbinfo: Pmultiboot_info_t; mbmagic: DWORD); stdcall; [public, alias: 'kmain'];
|
||||||
var
|
var
|
||||||
c : byte;
|
c : byte;
|
||||||
|
mbi : Pmultiboot_info_t;
|
||||||
|
mbm : DWORD;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
|
mbi:= mbinfo;
|
||||||
|
mbm:= mbmagic;
|
||||||
gdt.init();
|
gdt.init();
|
||||||
console.init();
|
console.init();
|
||||||
console.writestringln('Booting Asuro...');
|
console.writestringln('Booting Asuro...');
|
||||||
if (mbmagic <> MULTIBOOT_BOOTLOADER_MAGIC) then begin
|
if (mbm <> MULTIBOOT_BOOTLOADER_MAGIC) then begin
|
||||||
console.setdefaultattribute(console.combinecolors(Red, Black));
|
console.setdefaultattribute(console.combinecolors(Red, Black));
|
||||||
console.writestringln('Multiboot Compliant Boot-Loader Needed!');
|
console.writestringln('Multiboot Compliant Boot-Loader Needed!');
|
||||||
console.writestringln('HALTING');
|
console.writestringln('HALTING');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user