-
Notifications
You must be signed in to change notification settings - Fork 0
/
output.h
89 lines (78 loc) · 2.8 KB
/
output.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
#ifndef __OUTPUT_H__
#define __OUTPUT_H__
#include "rom.h"
#include "os_structs.h"
#define DETAIL_NONE 0
#define DETAIL_HEADER 1
#define DETAIL_RECORD 2
#define DETAIL_RECORD_INTERP 3
#define DETAIL_RECORD_DETAIL 4
#define DETAIL_RECORD_RAW 5
extern void Output_ROM (ROMPtr pROM,
UInt32 offsetAdj,
UInt16 bShowNV,
UInt16 bShowHeap,
UInt16 bShowChunks,
UInt16 bShowDB);
extern void Output_CardHeader (CardHeaderPtr pCard,
UInt32 offsetAdj);
extern void Output_StorageHeader (StorageHeaderPtr pStore,
UInt16 bShowNV,
UInt32 offsetAdj);
extern void Output_MemHeapHeader (MemHeapHeaderUnionType* pHeader,
UInt16 nHeap,
UInt16 bShowHeap,
UInt16 bShowChunks,
UInt32 offsetAdj);
extern void Output_MemMstrPtrTable (MemMstrPtrTableUnionType* pTable,
UInt16 ver,
UInt32 offsetAdj);
extern void Output_HeapList (HeapListPtr pHeapList,
UInt16 bShowHeap,
UInt16 bShowChunks,
UInt32 offsetAdj);
extern void Output_MemChunks (MemChunkHeaderUnionType* pChunk,
UInt16 version,
UInt16 bIndent,
UInt32 offsetAdj);
extern void Output_MemChunkHeader (MemChunkHeaderUnionType* pChunk,
UInt16 version,
UInt32 offsetAdj);
extern void Output_RawBytes (UInt8* pData,
UInt32 nBytes,
UInt32 offsetAdj,
int nIndent);
extern void Output_RecordEntry (ROMPtr pROM,
RecordEntryPtr pRecord,
DatabaseHdrPtr pDatabase,
UInt32 size,
UInt32 offsetAdj,
int nIndent,
UInt32 bDetail);
extern void Output_RsrcEntry (ROMPtr pROM,
RsrcEntryPtr pResource,
DatabaseHdrPtr pDatabase,
UInt32 size,
UInt32 offsetAdj,
int nIndent,
UInt32 bDetail);
extern void Output_RecordList (ROMPtr pROM,
DatabaseHdrPtr pDatabase,
UInt32 highAddr,
RecordListPtr pRecordList,
UInt32 offsetAdj,
UInt16 lType,
UInt16 bDetail);
extern void Output_DatabaseList (ROMPtr pROM,
DatabaseListPtr pList,
UInt32 offsetAdj,
UInt16 bBrief,
UInt16 bNoLabel,
UInt16 bDetail);
extern void Output_DatabaseHdr (ROMPtr pROM,
UInt32 highAddr,
DatabaseHdrPtr pDatabase,
UInt32 offsetAdj,
UInt16 bBrief,
UInt16 bDetail);
#endif // __OUTPUT_H__