kaitai-io / kaitai_struct_formats

Kaitai Struct: library of binary file formats (.ksy)
http://formats.kaitai.io
711 stars 204 forks source link

add description of COFF #594

Open armijnhemel opened 2 years ago

armijnhemel commented 2 years ago

A fairly simple grammar for the COFF format as used by some DOS extenders, like DJGPP. An example is the file PING.EXE from FreeDOS 1.2:

$ file PING.EXE 
PING.EXE: MS-DOS executable, COFF for MS-DOS, DJGPP go32 DOS extender

The COFF data follows the MS-DOS executable data.

Other example files can be found in FreeDOS 1.2 inside FPC.ZIP and GOPHERUS.ZIP