DJGPP COFF

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.
Post Reply
pepito
Posts: 23
Joined: Thu Oct 21, 2004 11:00 pm
Location: México D.F.

DJGPP COFF

Post by pepito »

Hello:

It seems that this is the first question into the new OSDev web site...

I just need information about how to write a DJGPP COFF loader, I have read the document posted at http://www.delorie.com/djgpp/doc/coff/ but I think it have not enough information.

pepito
User avatar
chase
Site Admin
Posts: 710
Joined: Wed Oct 20, 2004 10:46 pm
Libera.chat IRC: chase_osdev
Location: Texas
Discord: chase/matt.heimer
Contact:

Re: DJGPP COFF

Post by chase »

Take a look at the COFF and PE spec at Microsoft.

It's a Word document but after using Open Office to export to PDF it's pretty readable.
User avatar
chase
Site Admin
Posts: 710
Joined: Wed Oct 20, 2004 10:46 pm
Libera.chat IRC: chase_osdev
Location: Texas
Discord: chase/matt.heimer
Contact:

Re: DJGPP COFF

Post by chase »

Actually this (http://alexfru.chat.ru/los4d_manual.html) might be just what you are looking for. Also check out the COFF link on the left of http://alexfru.chat.ru/eindex.html.
damyan_mitev
Posts: 1
Joined: Sat Oct 30, 2004 11:00 pm

Re: DJGPP COFF

Post by damyan_mitev »

I agree that the DJGPP COFF specification is not very well explained, but after a few readings over it (well, more than few) I realized that it is all I needed to code a simple linker. If it was hevily explained you would need to strip out the words and again you have the bare strucrutes. But this spec really needs some human language around and Microsoft's papers and Alex's tutorial will be of help. Good luck coding!
Post Reply