Difference between revisions of "MGI"
From MSX Game Library
Line 13: | Line 13: | ||
| 0x0000 || 3 || Signature || "MGI" | | 0x0000 || 3 || Signature || "MGI" | ||
|- | |- | ||
− | | 0x0003 || 1 || | + | | 0x0003 || 1 || Header |
| | | | ||
<syntaxhighlight lang="txt> | <syntaxhighlight lang="txt> | ||
7 6 5 4 3 2 1 0 | 7 6 5 4 3 2 1 0 | ||
+ | ------------------------ | ||
+ | EX V9 IL LN M3 M2 M1 M0 | ||
│ │ │ │ └──┴──┴──┴── Image format (0-15) | │ │ │ │ └──┴──┴──┴── Image format (0-15) | ||
│ │ │ └────────────── Lines (0: 192, 1: 212) or if V9=1 (0: NTSC, 1: PAL) | │ │ │ └────────────── Lines (0: 192, 1: 212) or if V9=1 (0: NTSC, 1: PAL) | ||
│ │ └───────────────── Interlace (0: false, 1: true) | │ │ └───────────────── Interlace (0: false, 1: true) | ||
│ └──────────────────── V9 mode (0: MSX, 1: V9990) | │ └──────────────────── V9 mode (0: MSX, 1: V9990) | ||
− | └─────────────────────── Extended | + | └─────────────────────── Extended header included (0: false, 1: true) |
</syntaxhighlight> | </syntaxhighlight> | ||
+ | |- | ||
+ | | 0x0004 || 1 || Extended header | ||
|} | |} | ||
[[Category:Format]] | [[Category:Format]] |
Revision as of 01:10, 29 October 2024
MGI is a image format for MSXgl.
Format
Header
Offset | Size | Desc. | Value |
---|---|---|---|
0x0000 | 3 | Signature | "MGI" |
0x0003 | 1 | Header |
7 6 5 4 3 2 1 0 ------------------------ EX V9 IL LN M3 M2 M1 M0 │ │ │ │ └──┴──┴──┴── Image format (0-15) │ │ │ └────────────── Lines (0: 192, 1: 212) or if V9=1 (0: NTSC, 1: PAL) │ │ └───────────────── Interlace (0: false, 1: true) │ └──────────────────── V9 mode (0: MSX, 1: V9990) └─────────────────────── Extended header included (0: false, 1: true) |
0x0004 | 1 | Extended header |