Hi,
Has anyone got the tutorial about paging to work. http://osdev.neopages.net/tutorials/paging.php I dont think that it does work, I have tried it many times but without luck, does anyone know where there is some decent and working code.
Thanks
Tutorial Not Working!!!
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:Tutorial Not Working!!!
i have pg setup that works at
http://cvs.sourceforge.net/cgi-bin/view ... cvs-markup , http://cvs.sourceforge.net/cgi-bin/view ... cvs-markup ,
http://cvs.sourceforge.net/cgi-bin/view ... cvs-markup
but i'm not sure this is simple enough to be considered as a tutorial ... According to me the tutorial *should* work.
http://cvs.sourceforge.net/cgi-bin/view ... cvs-markup , http://cvs.sourceforge.net/cgi-bin/view ... cvs-markup ,
http://cvs.sourceforge.net/cgi-bin/view ... cvs-markup
but i'm not sure this is simple enough to be considered as a tutorial ... According to me the tutorial *should* work.
Re:Tutorial Not Working!!!
I have tried this tutorial and was unable to get it working, even though it appears to work like the code that playos posted.
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:Tutorial Not Working!!!
hmm, just in case:
- do you have A20 line enabled ?
- do you have a page fault handler (just in case) and a correct IDT ?
- do you have a hamster (err .. no, this don't qualify ;p )
- do you have 0-aligned DS (otherwise, address translations are required) ?
- do you have A20 line enabled ?
- do you have a page fault handler (just in case) and a correct IDT ?
- do you have a hamster (err .. no, this don't qualify ;p )
- do you have 0-aligned DS (otherwise, address translations are required) ?
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:Tutorial Not Working!!!
i mean the base of your segment is 0 (and thus logical addresses - as NASM assemble them - are identical to absolute addresses - as the CPU need them for some special registers like GDTR, IDTR, CR3, etc.)PlayOS wrote: What is meant by 0-aligned?
Re:Tutorial Not Working!!!
In that case my DS is 0 aligned, however when nasm assembles the file I have [ORG 0x20000] because my second stage loader is put at 2000:0000, does this cause a problem?
Re:Tutorial Not Working!!!
Hey, if you can't get it working email me. My email is all over the site([email protected]). I will mess with the code ASAP and try to figure out what the problem is with it.
K.J.
K.J.