How to load the kernel after entering pmode

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
ru2aqare
Member
Member
Posts: 342
Joined: Fri Jul 11, 2008 5:15 am
Location: Hungary

Re: How to load the kernel after entering pmode

Post by ru2aqare »

djsilence wrote:HI!

So, If I know right, int13 can load not more than 64Kb file? If it is so, then how can I load more than 64Kb and not to 1Mb? For example i'd like to load at 0xC0000000? (3GB)

Thanks!
My bootloader uses v86 mode to read from the floppy. When the v86 monitor finishes executing the int13h call, the caller copies it to its destination (over the 1Mb mark).
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: How to load the kernel after entering pmode

Post by Combuster »

And there tends to be no memory at 0xC0000000, that's a paging trick
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
Post Reply