<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.temlib.org/AtariForumWiki/index.php?action=history&amp;feed=atom&amp;title=Tiny_file_format</id>
	<title>Tiny file format - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.temlib.org/AtariForumWiki/index.php?action=history&amp;feed=atom&amp;title=Tiny_file_format"/>
	<link rel="alternate" type="text/html" href="https://www.temlib.org/AtariForumWiki/index.php?title=Tiny_file_format&amp;action=history"/>
	<updated>2026-05-06T18:36:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.2</generator>
	<entry>
		<id>https://www.temlib.org/AtariForumWiki/index.php?title=Tiny_file_format&amp;diff=18885&amp;oldid=prev</id>
		<title>&gt;Lp: New page</title>
		<link rel="alternate" type="text/html" href="https://www.temlib.org/AtariForumWiki/index.php?title=Tiny_file_format&amp;diff=18885&amp;oldid=prev"/>
		<updated>2017-01-02T23:49:04Z</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;
Tiny    *.TNY (any resolution)&lt;br /&gt;
        *.TN1 (low resolution)&lt;br /&gt;
        *.TN2 (medium resolution)&lt;br /&gt;
        *.TN3 (high resolution)&lt;br /&gt;
&lt;br /&gt;
   Several people have reported sightings of mutated Tiny pictures that&lt;br /&gt;
do not follow the standard format, so let's be careful out there.  What&lt;br /&gt;
is described here is the format that David Mumper's original&lt;br /&gt;
TNYSTUFF.PRG produces. The TN4 extension has been found on animated low&lt;br /&gt;
resolution files. One can assume the same person(s) will also use TN5 and &lt;br /&gt;
TN6 for extensions for animated medium and high resolution.&lt;br /&gt;
&lt;br /&gt;
1 byte          resolution (same as NEO, but +3 indicates rotation&lt;br /&gt;
                information also follows)&lt;br /&gt;
&lt;br /&gt;
If resolution &amp;gt; 2 {&lt;br /&gt;
1 byte          left and right color animation limits.  High 4 bits&lt;br /&gt;
                hold left (start) limit; low 4 bits hold right (end) limit&lt;br /&gt;
1 byte          direction and speed of color animation (negative value&lt;br /&gt;
                indicates left, positive indicates right, absolute value&lt;br /&gt;
                is delay in 1/60's of a second.&lt;br /&gt;
1 word          color rotation duration (number of iterations)&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
16 words        palette&lt;br /&gt;
1 word          number of control bytes&lt;br /&gt;
1 word          number of data words&lt;br /&gt;
3-10667 bytes   control bytes&lt;br /&gt;
1-16000 words   data words&lt;br /&gt;
-------------&lt;br /&gt;
42-32044 bytes  total&lt;br /&gt;
&lt;br /&gt;
Control byte meanings:&lt;br /&gt;
&lt;br /&gt;
        For a given control byte, x:&lt;br /&gt;
&lt;br /&gt;
        x &amp;lt; 0   Copy -x of unique words to take from the data section &lt;br /&gt;
                (from 1 to 128)&lt;br /&gt;
        x = 0   1 word is taken from the control section which specifies&lt;br /&gt;
                the number of times to repeat the next data word (from&lt;br /&gt;
                128 to 32767)&lt;br /&gt;
        x = 1   1 word is taken from the control section which specifies&lt;br /&gt;
                the number of unique words to be taken from the data&lt;br /&gt;
                section (from 128 - 32767)&lt;br /&gt;
        x &amp;gt; 1   Specifies the number of times to repeat the next word&lt;br /&gt;
                taken from the data section (from 2 to 127)&lt;br /&gt;
&lt;br /&gt;
Format of expanded data:&lt;br /&gt;
&lt;br /&gt;
   The expanded data is not simply screen memory bitmap data; instead, the &lt;br /&gt;
data is divided into four sets of vertical columns.  (This results in&lt;br /&gt;
better compression.)  A column consists of one specific word taken&lt;br /&gt;
from each scan line, going from top to bottom.  For example, column 1 &lt;br /&gt;
consists of word 1 on scanline 1 followed by word 1 on scanline 2, etc., &lt;br /&gt;
followed by word 1 on scanline 200.&lt;br /&gt;
   The columns appear in the following order:&lt;br /&gt;
&lt;br /&gt;
   1st set contains columns 1, 5,  9, 13, ..., 69, 73, 77 in order&lt;br /&gt;
   2nd set contains columns 2, 6, 10, 14, ..., 70, 74, 78 in order&lt;br /&gt;
   3rd set contains columns 3, 7, 11, 15, ..., 71, 75, 79 in order&lt;br /&gt;
   4th set contains columns 4, 8, 12, 16, ..., 72, 76, 80 in order&lt;br /&gt;
&lt;br /&gt;
Note that Tiny partitions the screen this way regardless of resolution; i.e., &lt;br /&gt;
these aren't bitplanes.  For example, medium resolution only has two bitplanes, &lt;br /&gt;
but Tiny still divides medium resolution pictures into four parts.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Back to [[ST Picture Formats]]&lt;/div&gt;</summary>
		<author><name>&gt;Lp</name></author>
	</entry>
</feed>