FrOSt-Foundation / FrOSt

Dépôt officiel de FrOSt - OS communautaire Français pour 0x10c
GNU General Public License v3.0
13 stars 5 forks source link

Create file loader #54

Open azertyfun opened 8 years ago

azertyfun commented 8 years ago

We need a file loader, that would load ELF-like files. That would allow for the program to know the location of libraries.

I guess the program itself would be loaded from 0xA000 to 0xE000 to allow for a .org directive.

Yamakaky commented 8 years ago

In fact, I think we should design a binary format (like elf) with the code, a code relocation table and maybe debugging information.

azertyfun commented 8 years ago

A code relocation table would make it very hard to have portable code, especially since (at least for now) no assembler supports that kind of feature. Maybe we should consider it for the far future, but as of now I fear it would be way to much work to enable that functionality, both client-side and kernel-side.