-
Notifications
You must be signed in to change notification settings - Fork 0
/
g1a_header.h
52 lines (44 loc) · 1.58 KB
/
g1a_header.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
/**************************************************************************
This file is part of Minimalist Casio Assembler (MCA).
MCA is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
MCA is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with MCA. If not, see <http://www.gnu.org/licenses/>.
*************************************************************************/
#ifndef G1A_HEADER_H
#define G1A_HEADER_H
// From g1awrapper
struct G1A_Header {
char magic[14];
char checkbyte1;
char stuff1;
unsigned long inverted_filesize;
char checkbyte2;
char unknown[11];
char name_start;
char filename[8]; /* name used internally for settings etc? */
char unknown_2[2];
char estrip_count;
char unknown_3[4];
char version[10]; /* first 5 bytes shown in system menu */
char unknown_4[2];
char date[14];
char unknown_5[2];
char menu_icon[68];
char estrip_1_data[80];
char estrip_2_data[80];
char estrip_3_data[80];
char estrip_4_data[80];
char unknown_6[4];
char name[8]; /* shown in VERSION in the system menu. should be called 'title'? */
char unknown_7[20];
unsigned long filesize;
char unknown_8[12];
};
#endif /* G1A_HEADER_H */