•  Back 
  •  %Main 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
Topic       : ATARI ST Picture formats
Author      : David Baggett/Jan K⌐upka
Version     : atari_gf.hyp 0.01 (17/09/96)
Subject     : Documentation/File formats
Nodes       : 52
Index Size  : 1328
HCP-Version : 3
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : 
@help       : 
@options    : -i -s +y +z
@width      : 75STAD           *.PAC (high resolution only)

4 bytes        "pM86" (vertically packed) or "pM85" (horizontally packed)
1 byte         id byte
1 byte         pack byte (most frequently occuring byte in bitmap)
1 byte         "special" byte
7 bytes        total for header

? bytes        data

The data is encoded as follows.  For each byte x in the data section:

   x = id byte             Read one more byte, n.  Use pack byte
                           n + 1 times.
   x = "special" byte      Read two more bytes, d, and n (in order).
                           Use byte d n times.
   otherwise               Use byte x literally.