

                       MSXCNV12

         Conversion MSX-2+ screen 12 from PCX format

           (c) Hans Otten may 1999


Why this program
----------------

Screen 12 of the MSX2+ is a very powerfull facility of the MSX.
But with a rather complicated internal format. It took several years
(this program has been coming since 1991..) to decode it.
This program allows to transfer graphics from other sources to
this screen format.

How to use the program
----------------------

The program is a DOS program, to be run from the DOS command line.
It will run on any version of Windows (95,98, NT 3, NT4) in a DOS box.

Syntax:

MSXCNV12 <pcxfile name> [<msx file name>]

The PCX file must be a 24 bit 256x212 PCX format. Easy to produce with
most graphic programs. I use Paintshop PRO 5.
If the PCX file is invalid, an error message will be given.

The result is a MSX screen 12 image, to be used in the
basic statement BLOAD "msx filename",S

If the msx filename is omitted a greytone picture of the PCX file is shown.


Copyright
---------

This program was written by 

Hans Otten

This program is freeware.
Source (Turbo Pascal 5.5 or above) is included.

Thanks
------

The algorithm for coding the RGB to YJK is from Hans Schoormans,
and was given to me by Maarten ter Huurne.
The original text and qbasic program is in the archive as CNV12.TXT
If you want to use the qbasic program you will need qbasic as found in
MS-DOS 6.x. Raw files as used in the qbasic program can be produced with
Paintshop PRO. The basic program is quite slow but on a Pentium, well,
a minute is long.
