Category : Science and Education
Archive   : FBI10MST.ZIP
Filename : HRLE.DOC

Output of file : HRLE.DOC contained in archive : FBI10MST.ZIP

Program HRLE, version 2.0

By Ivar Sanders, Compuserve # 72306,14

Given to the public domain on August 21, 1986


This program allows the display of run-length encoded images on IBM PC
(or compatible) computers utilizing Hercules (or compatible) displays.

Instructions for running the program are obtained by typing
HRLE with no additional command line parameters.

The program HRLE.COM, the RLE image file and files ERROR.MSG and 4X6.FON
should be in the same directory.


Updated to fix version 1.0 graphics problems


After the frustration of searching for and finding no programs which would
display RLE images on an IBM PC with Hercules display (actually a
Leading Edge Model D in my case), I gave in and wrote a program myself.
I hope there as others out there who find it useful and fun, as I have.

The program is written in Turbo Pascal using the Turbo Graphix Toolbox.

Run the program by typing, for example: HRLE EXAMPLE.PIC 80

this will display the RLE file EXAMPLE.PIC with an X scale factor of 80.


which will display the file WEATHER.RLE with an X scale factor of 100.

There is a one-to-one relationship between RLE Y coordinates and Hercules
pixels vertically. The default X scale factor of 100 utilizes two Hercules
pixels for each RLE X location. The scale factor can be varied from
20 to 140 by entering the scale on the command line after the RLE file name,
thereby offering great variety in displayed aspect ratio. This
is where the Graphix Toolbox really helps. Try various scale factors,
you'll like it! Realize, however, that scaling errors may cause some
pixels to be lost if scale factors other that the default 100 are used.

The program also allows screen images to be printed on an Epson printer.
Please note, this is for Epson printers only, since Epson-specific control
codes are sent to control printing. Several Epson graphics modes are
supported, as follows:

1: 960 points per line
2: 960 points per line
3: 1920 points per line
4: 640 points per line
6: 720 points per line

The screen is dumped to the printer by pressing the number key corresponding
to the desired Epson mode (after the display is completely generated on
the screen, of course). Holding the shift key down while pressing the number
key causes the printer to invert white and black. Check your printer
manual to see which modes it supports. Mode 6 (720 points per line) works
particularly well, if your printer supports it, because it exactly matches
the Hercules horizontal resolution of 720 pixels. Allow a bit of time for
printing though, since it is a bit slow.

Thanks to Wes Meier (76703,747), whose program decodes RLE images
for the "normal" IBM display. This Hercules program is based in large part
on his program.

Please let me know if you find bugs or write enhanced versions of my program.

Ivar Sanders (72306,14)

  3 Responses to “Category : Science and Education
Archive   : FBI10MST.ZIP
Filename : HRLE.DOC

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: