[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
New Print Shop bug
Several months ago I discovered a bug in the New Print Shop CONVERT program,
which converts graphics, fonts and borders from the original Print Shop format
to the New Print Shop format. This bug effects the conversion of border files.
I have now figured out the patch that needs to be made to fix the problem. I
intend to write an Applesoft program that applies the patch. In the mean time I
will discribe how to fix it using byte zapping.
First, a description of the bug. The CONVERT program incorrectly stores
information about the background behind the border. When you choose a border,
you have the option of setting not only a border color, but a "Behind Border"
color, so that the border can be printed with a background color. The border
files contain information about which pixels should be colored with this
"Behind Border" color. Because of the bug, New Print Shop borders which have
been converted from original Print Shop will have unwanted white stripes in the
background when you set the "Behind Border" color to something other than
"Clear".
Now the fix. Be sure you do this fix to a copy of your NPS disc, not to the
master disc. That way, if something goes wrong, you have not trashed your
master disc.
It is easiest to use a program with a block editor, such as ProSel or
CopyIIPlus, Load up the CONVERT program into the block editor. The bytes which
need to be modified will be at $1A4F, $1A57 and $1A61. These bytes are
currently $8B. Change all three of them to $8A. Write the modified block back
to the disc.
If you don't have a block editor, you can load the program into memory, change
the bytes while in the Monitor or by using POKE's, and store it back on disc.
If you are running the program off a 3.5" or 5.25" copy of the original discs,
you will find the program under the PS subdirectory on your program disc. Do a
standard BLOAD to get the program in memory. It will load at $800. If you have
installed New Print Shop on a hard disc, you will still find the program under
the subdirectory PS. However, on the hard dics version, the program will have
the file type $F5. So use the command
BLOAD CONVERT,T$F5,A$800
to get it into memory at the proper place. Once the program is in memory, you
can go into the monitor and fix the bytes that are in error. They will be at
$224F, $2257 and $2261. Change them from $8B to $8A. If you want to use POKE's
from the Applesoft prompt, do the folling commands
POKE 8783,138
POKE 8791,138
POKE 8801,138
Now that the bad bytes are fixed you can put the program back on disc. To get
it back on the 3.5" or 5.25" disc, use the following command
BSAVE CONVERT,A$800,L$366A
To get it back on the hard disc, use the following command
BSAVE CONVERT,T$F5,A$800,L$366A
--
---------------------------------
Geraldine Wright
gaw717@www710.gsfc.nasa.gov
---------------------------------
"Big, fat hairy deal!" -Garfield