Make your own free website on Tripod.com
Up ] Docs Home ]

Format of old Phar Lap .EXP file header

Back ] Next ]

Offset Size Description

00h

2 BYTEs

"MP" (4Dh 50h) signature

02h

WORD

remainder of image size / page size (page size = 512h)

04h

WORD

size of image in pages

06h

WORD

number of relocation items

08h

WORD

header size in paragraphs

0Ah

WORD

minimum number of extra 4K pages to be allocated at the end of program, when it is loaded

0Ch

WORD

maximum number of extra 4K pages to be allocated at the end of program, when it is loaded

0Eh

DWORD

initial ESP

12h

WORD

word checksum of file

14h

DWORD

initial EIP

18h

WORD

offset of first relocation item

1Ah

WORD

overlay number

1Ch

WORD

??? (wants to be 1)

See Also:

#01620