loading an ELF
Posted: Tue Dec 15, 2009 1:13 am
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)
(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)