<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://temlib.org/AtariForumWiki2018/index.php?action=history&amp;feed=atom&amp;title=DEGAS_Elite_Compressed_file_format</id>
		<title>DEGAS Elite Compressed file format - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://temlib.org/AtariForumWiki2018/index.php?action=history&amp;feed=atom&amp;title=DEGAS_Elite_Compressed_file_format"/>
		<link rel="alternate" type="text/html" href="https://temlib.org/AtariForumWiki2018/index.php?title=DEGAS_Elite_Compressed_file_format&amp;action=history"/>
		<updated>2026-10-18T20:17:30Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://temlib.org/AtariForumWiki2018/index.php?title=DEGAS_Elite_Compressed_file_format&amp;diff=3035&amp;oldid=prev</id>
		<title>AtariWikiSysop: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://temlib.org/AtariForumWiki2018/index.php?title=DEGAS_Elite_Compressed_file_format&amp;diff=3035&amp;oldid=prev"/>
				<updated>2018-06-03T22:51:48Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 22:51, 3 June 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>AtariWikiSysop</name></author>	</entry>

	<entry>
		<id>https://temlib.org/AtariForumWiki2018/index.php?title=DEGAS_Elite_Compressed_file_format&amp;diff=3034&amp;oldid=prev</id>
		<title>Lp: New page</title>
		<link rel="alternate" type="text/html" href="https://temlib.org/AtariForumWiki2018/index.php?title=DEGAS_Elite_Compressed_file_format&amp;diff=3034&amp;oldid=prev"/>
				<updated>2017-01-02T23:30:26Z</updated>
		
		<summary type="html">&lt;p&gt;New page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
DEGAS Elite (Compressed)        *.PC1 (low resolution)&lt;br /&gt;
                                *.PC2 (medium resolution)&lt;br /&gt;
                                *.PC3 (high resolution)&lt;br /&gt;
 &lt;br /&gt;
1 word          resolution (same as Degas, but high order bit is set;&lt;br /&gt;
                i.e., hex 8000 = low res, hex 8001 = medium res,&lt;br /&gt;
                hex 8002 = high res).  Other bits may be used in the&lt;br /&gt;
                future; use a simple bit test rather than checking&lt;br /&gt;
                for specific word values.&lt;br /&gt;
16 words        palette&lt;br /&gt;
                For high resolution pictures the least significant bit of&lt;br /&gt;
                the first word determines whether the picture is black on &lt;br /&gt;
                white (bit set) or white on black (bit not set)&lt;br /&gt;
&amp;lt; 32000 bytes   control/data bytes&lt;br /&gt;
4 words         left color animation limit table (starting color numbers)&lt;br /&gt;
4 words         right color animation limit table (ending color numbers)&lt;br /&gt;
4 words         animation channel direction flag [0 = left, 1 = off, 2 = right]&lt;br /&gt;
4 words         128 - animation channel delay in 1/60's of a second. [0 - 128]&lt;br /&gt;
                (I.e., subtract word from 128 to get 1/60th's of a second.)&lt;br /&gt;
-----------&lt;br /&gt;
&amp;lt; 32066 bytes   total&lt;br /&gt;
 &lt;br /&gt;
Compression Scheme:&lt;br /&gt;
 &lt;br /&gt;
   PackBits compression is used (see below).  Each scan line is compressed&lt;br /&gt;
separately; i.e., all data for a given scan line appears before any data&lt;br /&gt;
for the next scan line.  The scan lines are specified from top to bottom&lt;br /&gt;
(i.e., 0 is first).  For each scan line, all the data for a given bit plane&lt;br /&gt;
appears before any data for the next higher order bit plane.  Note that this&lt;br /&gt;
is identical to the IFF 'BODY' image data.&lt;br /&gt;
   To clarify:  The first data in the file will be the data for the lowest&lt;br /&gt;
order bit plane of scan line zero, followed by the data for the next higher&lt;br /&gt;
order bit plane of scan line zero, etc., until all bit planes have been&lt;br /&gt;
specified for scan line zero.  The next data in the file will be the data&lt;br /&gt;
for the lowest order bit plane of scan line one, followed by the data for&lt;br /&gt;
the next higher order bit plane of scan line one, etc., until all bit planes&lt;br /&gt;
have been specified for all scan lines.&lt;br /&gt;
 &lt;br /&gt;
Caveats:&lt;br /&gt;
 &lt;br /&gt;
   DEGAS Elite's picture loading routine places some restrictions on&lt;br /&gt;
compressed DEGAS files:&lt;br /&gt;
 &lt;br /&gt;
        o Elite uses a 40-byte buffer to store data being decompressed.&lt;br /&gt;
 &lt;br /&gt;
        o Whenever a control command is encountered, bytes are stuffed&lt;br /&gt;
        in this buffer.&lt;br /&gt;
 &lt;br /&gt;
        o The buffer is only emptied when there are EXACTLY 40&lt;br /&gt;
        characters in it.&lt;br /&gt;
 &lt;br /&gt;
The important conclusion here is that&lt;br /&gt;
 &lt;br /&gt;
        No control command may cause the buffer to have more than 40&lt;br /&gt;
        bytes in it.  In other words, all control commands must end on&lt;br /&gt;
        or before the 40-byte boundary.&lt;br /&gt;
 &lt;br /&gt;
Any picture violating the last condition will cause Elite to get a bus&lt;br /&gt;
error when the picture is loaded.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
See also [[PackBits Compression Algorithm]]&lt;br /&gt;
&lt;br /&gt;
Back to [[ST Picture Formats]]&lt;/div&gt;</summary>
		<author><name>Lp</name></author>	</entry>

	</feed>