ds
git-svn-id: https://spexeah.com:8443/svn/Asuro@145 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
1 parent
d53b41750a
commit
126ec01343
14 files changed
+129
-37
No files matched your search
@@ -53,7 +53,7 @@
|
|||||||
#display_library: amigaos
|
#display_library: amigaos
|
||||||
#display_library: beos
|
#display_library: beos
|
||||||
#display_library: carbon
|
#display_library: carbon
|
||||||
#display_library: macintosh
|
display_library: sdl
|
||||||
#display_library: nogui
|
#display_library: nogui
|
||||||
#display_library: rfb, options="timeout=60" # time to wait for client
|
#display_library: rfb, options="timeout=60" # time to wait for client
|
||||||
#display_library: sdl, options="fullscreen" # startup in fullscreen mode
|
#display_library: sdl, options="fullscreen" # startup in fullscreen mode
|
||||||
@@ -775,5 +775,5 @@ i440fxsupport: enabled=1
|
|||||||
# romimage: file=:bios:BIOS-bochs-latest, address=0xf0000
|
# romimage: file=:bios:BIOS-bochs-latest, address=0xf0000
|
||||||
# floppya: 1_44=[fd:], status=inserted
|
# floppya: 1_44=[fd:], status=inserted
|
||||||
#=======================================================================
|
#=======================================================================
|
||||||
display_library: sdl
|
#display_library: sdl
|
||||||
magic_break: enabled=1
|
#magic_break: enabled=1
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+4
-6
@@ -24,23 +24,21 @@ implementation
|
|||||||
procedure kmain(mbinfo: Pmultiboot_info_t; mbmagic: uint32); stdcall; [public, alias: 'kmain'];
|
procedure kmain(mbinfo: Pmultiboot_info_t; mbmagic: uint32); stdcall; [public, alias: 'kmain'];
|
||||||
var
|
var
|
||||||
c : uint8;
|
c : uint8;
|
||||||
mbi : Pmultiboot_info_t;
|
|
||||||
mbm : uint32;
|
|
||||||
z : uint32;
|
z : uint32;
|
||||||
dds : uint32;
|
dds : uint32;
|
||||||
pint : puint32;
|
pint : puint32;
|
||||||
pint2 : puint32;
|
pint2 : puint32;
|
||||||
|
|
||||||
keyboard_layout : array [0..1] of TKeyInfo;
|
keyboard_layout : array [0..1] of TKeyInfo;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
mbi:= mbinfo;
|
multibootinfo:= mbinfo;
|
||||||
mbm:= mbmagic;
|
multibootmagic:= mbmagic;
|
||||||
|
|
||||||
console.init();
|
console.init();
|
||||||
|
|
||||||
console.writestringln('Booting Asuro...');
|
console.writestringln('Booting Asuro...');
|
||||||
|
|
||||||
if (mbm <> 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.writestringln('Multiboot Compliant Boot-Loader Needed!');
|
console.writestringln('Multiboot Compliant Boot-Loader Needed!');
|
||||||
console.writestringln('HALTING');
|
console.writestringln('HALTING');
|
||||||
|
|||||||
@@ -54,6 +54,10 @@ type
|
|||||||
mtype: uint32;
|
mtype: uint32;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
var
|
||||||
|
multibootinfo : Pmultiboot_info_t = nil;
|
||||||
|
multibootmagic : uint32;
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
end.
|
end.
|
||||||
+115
-25
File diff suppressed because it is too large.
Load diff
@@ -81,14 +81,14 @@ begin
|
|||||||
mov eax, rldpd
|
mov eax, rldpd
|
||||||
mov CR3, eax
|
mov CR3, eax
|
||||||
end;
|
end;
|
||||||
console.writestringln('New Page Added:');
|
console.writestringln('VMM: New Page Added:');
|
||||||
|
|
||||||
console.writestring('- P:');
|
console.writestring('VMM: - P:');
|
||||||
console.writehex(page_number);
|
console.writehex(page_number);
|
||||||
console.writestring('-->B:');
|
console.writestring('-->B:');
|
||||||
console.writehexln(block);
|
console.writehexln(block);
|
||||||
|
|
||||||
console.writestring('- P:[');
|
console.writestring('VMM: - P:[');
|
||||||
console.writehex(page_number SHL 22);
|
console.writehex(page_number SHL 22);
|
||||||
console.writestring(' - ');
|
console.writestring(' - ');
|
||||||
console.writehex(((page_number+1) SHL 22));
|
console.writehex(((page_number+1) SHL 22));
|
||||||
|
|||||||
Reference in new issue
Block a user