Difference between revisions of "MGV"

From MSX Game Library

Line 9: Line 9:
 
! Offset !! Size !! Desc. !! Value
 
! Offset !! Size !! Desc. !! Value
 
|-
 
|-
| 0000h || 4 || Signature || "MGLV"
+
| 0x0000 || 4 || Signature || "MGLV"
 
|-
 
|-
| 0004h || 1 || Format
+
| 0x0004 || 1 || Format
 
|
 
|
  
Line 25: Line 25:
  
 
=== Commands ===
 
=== Commands ===
 +
 +
{| class="wikitable"
 +
|-
 +
! Cmd !! Values !! Desc.
 +
|-
 +
| <tt>0x00</tt> || || End of data
 +
|-
 +
| <tt>0x01</tt> || || End of frame
 +
|-
 +
| <tt>0x02</tt> || || End of segment
 +
|-
 +
| <tt>0x04</tt> || <tt>nn</tt> || Skip nn + 1 bytes (1-256)
 +
|-
 +
| <tt>0x05</tt> || <tt>nnnn</tt> || Skip nnnn + 1 bytes (1-65536)
 +
|-
 +
| <tt>0x06</tt> || <tt>nn,vv</tt> || Fill nn + 1 bytes (1-256) with vv value
 +
|-
 +
| <tt>0x07</tt> || <tt>nnnn,vv</tt> || Fill nnnn + 1 bytes (1-65536) with vv value
 +
 +
 +
 +
* <tt>0x00</tt>:
  
  
 
== Extension ==
 
== Extension ==
 
<tt>.MGLV</tt> (for Windows/Linux) or <tt>.MGV</tt> (for MSX-DOS)
 
<tt>.MGLV</tt> (for Windows/Linux) or <tt>.MGV</tt> (for MSX-DOS)

Revision as of 20:57, 30 March 2024

MGLV is a video format for MSXgl.

Format

Header

Offset Size Desc. Value
0x0000 4 Signature "MGLV"
0x0004 1 Format
7 6 5 4 3 2 1 0
0 0 0 0 0 0 0 0


Commands

Cmd Values Desc.
0x00 End of data
0x01 End of frame
0x02 End of segment
0x04 nn Skip nn + 1 bytes (1-256)
0x05 nnnn Skip nnnn + 1 bytes (1-65536)
0x06 nn,vv Fill nn + 1 bytes (1-256) with vv value
0x07 nnnn,vv Fill nnnn + 1 bytes (1-65536) with vv value


  • 0x00:


Extension

.MGLV (for Windows/Linux) or .MGV (for MSX-DOS)