Hello,
A year ago , I downloaded a tutorial regarding on "How to load a kernel at 1 mb + 64 kb extended memory". I badly needed now, but I lost the file and could not find it in Google.
Can someone give me the link so I can download it?
I would appreciate it very much!
Load kernel at 1 MB + 64 KB
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:LOAD KERNEL AT 1 MB + 64 KB
well, you can use unreal mode, as stated in faq
or just switch to GRUB (i'll have to do that too, and believe me, i now wish i did it earlier)
or just switch to GRUB (i'll have to do that too, and believe me, i now wish i did it earlier)
Re:Load kernel at 1 MB + 64 KB
Don't shout in your topic title.
Re:Load kernel at 1 MB + 64 KB
Loading kernel above 1mb is quite easy, just load kernel below 1mb, then run into protected mode and copy all loaded kernel above 1mb, and jump to it.
Re:Load kernel at 1 MB + 64 KB
Then you sure need GDT for kernel below 1mb and for above 1mb. If suppose you want to make BIOS calls what will you do? You come back to kernel below 1 mb and make BIOS calls then return back to kernel above 1mb. In mean time you might somehow override the kernel below 1mb. You might not no where you have overwritten and debugging will take a lot of time.
So my advice is to do all the things you needed in Real mode itself. Don't jump to protected mode at the beginning itself. Be sure about your design( whether you are going back to real mode? like that). Giese's material will be quite useful on pmode.
My advice is to use GRUB. However is you want to understand a lot, try the hard way.
So my advice is to do all the things you needed in Real mode itself. Don't jump to protected mode at the beginning itself. Be sure about your design( whether you are going back to real mode? like that). Giese's material will be quite useful on pmode.
My advice is to use GRUB. However is you want to understand a lot, try the hard way.