MGI
From MSX Game Library
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) |
+1 | 1 | V9990 header (if V9=1) |
7 6 5 4 3 2 1 0 ------------------------ 0 0 0 0 C3 C2 C1 C0 └──┴──┴──┴── Color format (0-15) |
+1 | 1 | Extended header (if EX=1) |
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) |