/*
 *   dd2rs - Converts Commodore 64 Doodle or KoalaPainter files
 *           to SUN rasterfile format.
 *
 *   Written by Keith Pomakis in 1992.
 *   Modified in February, 1995, to handle the big-endian/litle-endian
 *   problem.
 *
 *   Public domain.
 *
 */

dd2rs - Converts Commodore 64 Doodle or KoalaPainter files
        to SUN rasterfile format.
Written by Keith Pomakis

Usage: dd2rs [<infile> [<outfile>]]

By default, stdin and stdout are used.


Included in other the directories of this directory are several classic
Commodore 64 graphics, converted to GIF format by the program DD2RS, written
by Keith Pomakis.


This program uses the following colormap, which was painstakingly verified
against a real C-64:

CODE   COLOR         RED   GREEN   BLUE
----   -----------   ---   -----   ----
   0   Black           0       0      0
   1   White         255     255    255
   2   Red           240       0      0
   3   Cyan            0     255    255
   4   Purple        225      87    168
   5   Green          85     220     72
   6   Blue            0       0    250
   7   Yellow        255     225      0
   8   Orange        255     112     70
   9   Brown         214      46     46
  10   Light Red     255      90     66
  11   Gray 1         80      70     80
  12   Gray 2        164     155    155
  13   Light Green   140     255    120
  14   Light Blue     86     152    255
  15   Gray 3        220     200    200

-end-
