<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multimedia.cx/index.php?action=history&amp;feed=atom&amp;title=Digital_Integration_Q3</id>
	<title>Digital Integration Q3 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multimedia.cx/index.php?action=history&amp;feed=atom&amp;title=Digital_Integration_Q3"/>
	<link rel="alternate" type="text/html" href="https://wiki.multimedia.cx/index.php?title=Digital_Integration_Q3&amp;action=history"/>
	<updated>2026-09-29T13:52:32Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.5</generator>
	<entry>
		<id>https://wiki.multimedia.cx/index.php?title=Digital_Integration_Q3&amp;diff=16157&amp;oldid=prev</id>
		<title>Kostya: fill information</title>
		<link rel="alternate" type="text/html" href="https://wiki.multimedia.cx/index.php?title=Digital_Integration_Q3&amp;diff=16157&amp;oldid=prev"/>
		<updated>2026-09-27T16:16:51Z</updated>

		<summary type="html">&lt;p&gt;fill information&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This is a format used in [https://www.mobygames.com/game/620/hind/ Hind].&lt;br /&gt;
&lt;br /&gt;
File header:&lt;br /&gt;
  4 bytes - &amp;quot;ANIM&amp;quot;&lt;br /&gt;
  2 bytes - number of frames&lt;br /&gt;
  2 bytes - width&lt;br /&gt;
  2 bytes - height&lt;br /&gt;
  2 bytes - unknown&lt;br /&gt;
&lt;br /&gt;
Frame data starts with flags byte and 32-bit size.&lt;br /&gt;
&lt;br /&gt;
Flags meaning in the order they are checked:&lt;br /&gt;
* 0x20 - explicit palette size present, read 32-bit value for it (otherwise use 768)&lt;br /&gt;
* 0x01 - palette plus raw frame data&lt;br /&gt;
* 0x10 - 8x8 tiled compression&lt;br /&gt;
* 0x02 - masked update (first a bit mask for the whole frame is transmitted followed by updated pixel values)&lt;br /&gt;
&lt;br /&gt;
Tiled compression works by sending an opcode for each 8x8 tile:&lt;br /&gt;
* 0 - fill tile with single colour&lt;br /&gt;
* 1 - read two colours and 64-bit pattern telling which colour to use for each tile element&lt;br /&gt;
* 2 - similar but with four colours and two bits per pixel in mask&lt;br /&gt;
* 3 - eight colours and three bits&lt;br /&gt;
* 4 - 16 colours/4 bits&lt;br /&gt;
* 5 - leave tile unchanged&lt;br /&gt;
* 6 - masked update: read 8-bit rows update mask, for the updated tile rows read 8-bit pixel update mask and pixel values for the updated positions&lt;br /&gt;
* 7 - masked update but with simple 64-bit mask before updated pixels&lt;br /&gt;
&lt;br /&gt;
[[Category:Game Formats]]&lt;/div&gt;</summary>
		<author><name>Kostya</name></author>
	</entry>
</feed>