8 char revision_date[12];
10 uint32_type mod_tbl_offset;
11 uint32_type sym_tbl_size;
12 uint32_type sym_count;
13 uint32_type sym_tbl_offset;
14 uint32_type xref_count;
15 uint32_type xref_lst_offset;
16 } oasys_archive_header_type;
19 int32_type mod_number;
23 int32_type depee_count;
24 int32_type sect_count;
25 int32_type file_offset;
26 int32_type mod_name_length;
27 } oasys_module_table_type;
31 oasys_record_is_end_enum = 0,
32 oasys_record_is_data_enum = 1,
33 oasys_record_is_symbol_enum = 2,
34 oasys_record_is_header_enum = 3,
35 oasys_record_is_named_section_enum = 4,
36 oasys_record_is_com_enum = 5,
37 oasys_record_is_debug_enum = 6,
38 oasys_record_is_section_enum = 7,
39 oasys_record_is_debug_file_enum = 8,
40 oasys_record_is_module_enum = 9,
41 oasys_record_is_local_enum = 10
42 } oasys_record_enum_type;
51 } oasys_record_header_type;
54 oasys_record_header_type header;
57 uint8e_type data[256];
58 } oasys_data_record_type;
61 oasys_record_header_type header;
62 int8_type version_number;
64 char module_name[26-6];
65 char description[64-26];
66 } oasys_header_record_type;
68 #define OASYS_VERSION_NUMBER 0
69 #define OASYS_REV_NUMBER 0
71 oasys_record_header_type header;
76 } oasys_symbol_record_type;
78 typedef int8e_type relocation_byte;
80 #define RELOCATION_PCREL_BIT 0x80
81 #define RELOCATION_32BIT_BIT 0x40
82 #define RELOCATION_TYPE_BITS 0x30
83 #define RELOCATION_TYPE_ABS 0x00
84 #define RELOCATION_TYPE_REL 0x10
85 #define RELOCATION_TYPE_UND 0x20
86 #define RELOCATION_TYPE_COM 0x30
87 #define RELOCATION_SECT_BITS 0x0f
91 oasys_record_header_type header;
96 } oasys_section_record_type;
99 oasys_record_header_type header;
104 } oasys_end_record_type;
107 #define OASYS_MAX_SEC_COUNT 16
110 oasys_record_header_type header;
111 oasys_data_record_type data;
112 oasys_section_record_type section;
113 oasys_symbol_record_type symbol;
114 oasys_header_record_type first;
115 oasys_end_record_type end;
116 uint8e_type pad[256];
117 } oasys_record_union_type;