1 /**
2  * @namespace   biew_plugins_auto
3  * @file        plugins/bin/mz.h
4  * @brief       This file contains MZ executable file definitions.
5  * @version     -
6  * @remark      this source file is part of Binary vIEW project (BIEW).
7  *              The Binary vIEW (BIEW) is copyright (C) 1995 Nickols_K.
8  *              All rights reserved. This software is redistributable under the
9  *              licence given in the file "Licence.en" ("Licence.ru" in russian
10  *              translation) distributed in the BIEW archive.
11  * @note        Requires POSIX compatible development system
12  *
13  * @author      Nickols_K
14  * @since       1995
15  * @note        Development, fixes and improvements
16 **/
17 #ifndef __MZ_INC
18 #define __MZ_INC
19 
20 #ifndef __BIEWUTIL__H
21 #include "biewutil.h"
22 #endif
23 
24 #ifdef __HAVE_PRAGMA_PACK__
25 #pragma pack(1)
26 #endif
27 
28 typedef struct tagMZHEADER
29 {
30  tUInt16 mzPartLastPage;
31  tUInt16 mzPageCount;
32  tUInt16 mzRelocationCount;
33  tUInt16 mzHeaderSize;
34  tUInt16 mzMinMem;
35  tUInt16 mzMaxMem;
36  tUInt16 mzRelocationSS;
37  tUInt16 mzExeSP;
38  tUInt16 mzCheckSumm;
39  tUInt16 mzExeIP;
40  tUInt16 mzRelocationCS;
41  tUInt16 mzTableOffset;
42  tUInt16 mzOverlayNumber;
43 }MZHEADER;
44 
45 #ifdef __HAVE_PRAGMA_PACK__
46 #pragma pack()
47 #endif
48 
49 #endif
50