git-svn-id: https://spexeah.com:8443/svn/Asuro@127 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
kieron 2017-05-19 23:58:12 +00:00
parent 2788d81f7c
commit e68c1f686c
10 changed files with 7 additions and 7 deletions

BIN
Asuro.iso

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.

View File

@ -54,8 +54,8 @@ begin
pmemorymanager.init();
vmemorymanager.init();
vmemorymanager.new_page(0);
pint:= puint32(0);
vmemorymanager.new_page(1);
pint:= puint32(1 SHL 22);
console.writestringln('Writing 1234 to Logical Address $00000000');
pint^:= 1234;
if pint^ = 1234 then console.writestringln('Read 1234 back from Logical Address $00000000!!!');

View File

@ -78,11 +78,11 @@ begin
PageDirectory^[page_number].Present:= true;
PageDirectory^[page_number].Address:= block;
PageDirectory^[page_number].PageSize:= true;
rldpd:= uint32(PageDirectory) - KERNEL_VIRTUAL_BASE;
asm
mov eax, rldpd
mov CR3, eax
end;
// rldpd:= uint32(PageDirectory) - KERNEL_VIRTUAL_BASE;
// asm
// mov eax, rldpd
// mov CR3, eax
// end;
new_page:= true;
console.writestringln('New Page Added:');