git-svn-id: https://spexeah.com:8443/svn/Asuro@136 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
kieron 2017-05-20 13:27:05 +00:00
parent 061950ad80
commit 8424e2cf81
7 changed files with 6 additions and 6 deletions

BIN
Asuro.iso

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

2
run.sh
View File

@ -12,7 +12,7 @@ then
sleep 1
gdb -ex "target remote localhost:1234"
else
qemu-system-i386 -cdrom Asuro.iso
qemu-system-i386 -monitor stdio -cdrom Asuro.iso
fi
if [ $? -ne 0 ]

View File

@ -88,11 +88,11 @@ begin
PageDirectory^[page_number].Address:= block;
PageDirectory^[page_number].PageSize:= true;
PageDirectory^[page_number].Writable:= 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:');