MGI

From MSX Game Library

Revision as of 01:10, 29 October 2024 by Aoineko (talk | contribs)

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