ok, use I grub for the moment, however, am looking to move over to a custom bootloader.
(for various reasons)
All I have access to is the PE file layout to load a PE .EXE kernel.
I cant find anything on ELF. I have the libs, however, even translated to Pascal, they wont do me any good until I can load the pascal ELF kernel.
I have a working bootloader in assembly. I just need to figure out how to load the compiled kernel I already have.
Its in ELF format.
GRUB is nice, but it takes too much to figure out how to bomb back from PASCAL_MAIN to RM. I need to support this for APM poweroff and this is where GRUB gets in the way.I know how to exit the mainloop, its not without headahce, but entirely possible.I have the APM poweroff code already implemented.
My OS is not homework. Im not far from a filesystem. Im in school for hardware, not software. I actually plan on competing with current OSes like Ubuntu.(eventually). I code when am able, but Im only one guy. Haven't had much help lately.
Any hints?
(please keep it ON topic)
loading an ELF
Re: loading an ELF
You do know there exists a wiki, right?shadowH3 wrote:I cant find anything on ELF.
The article on ELF is quite long, and even includes links to multiple specifications that probably even repeat information between them.
- Combuster
- 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: loading an ELF
Please check the forum rules, You already broke half of them:Any hints
Beginner Mistakes
Search before posting
Read the wiki, also before posting.
Make it easy for us to solve your problem
Please don't give us all the reasons not to. Calm down, read through the links, try to apply them, then ask again (and in 90% of the cases, the last step isn't even necessary)(please keep it ON topic)