home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 September
/
Simtel20_Sept92.cdr
/
msdos
/
filutl
/
hgc_view.arc
/
HVIEW.DOC
< prev
next >
Wrap
Text File
|
1986-08-24
|
3KB
|
66 lines
HVIEW allows you to display the contents of a file on your Hercules (or
compatible) monochrome graphics card. The program uses the very high
graphics mode resolution of the card to give a 180 x 43 character display.
Since very few files use all 180 columns, the screen is split vertically
into two 90 x 43 panels. After one screenful is displayed, you can type
Ctrl-break or Ctrl-C to stop the program or press any other key to continue
displaying the file.
There are two versions of HVIEW:
HVIEW0 uses graphics page zero. Use this version if you also have
a color card installed, since graphics page one and the color
card both use the same memory space. When the program exits,
the screen will be cluttered with apparent garbage. This is
normal, believe it or not, and a simple CLS will clean up the
screen.
HVIEW1 uses graphics page one. This is the preferred version since the
text page is preserved and will not conflict with the graphics
display.
The syntax for the command is
HVIEWx <filename.typ
where x is either 0 or 1 depending on which version you want to use
and filename.typ is the file to be displayed. The file must be a standard
ASCII file. IBM extended graphics characters are supported. If the
"<filename.typ" is omitted, then keyboard input will be displayed on the
graphics screen. (Note, however, that since keyboard input is buffered,
what you type will not appear until you press Enter. Also, when you are
dont diddling with the screen, type ctrl-Z to "close" the keyboard file,
the press a key to return to the normal display.)
The program doesn't try very hard to prevent nasty things from happening.
If the lines of the input file are very long, they will display rather
unappealingly when they wrap. Also, if you manage to exit the program
without the text screen reappearing (you can tell if this has happened if,
when you type DIR <enter>, the drive light goes on. If you are using
HVIEW0, the screen will change in weird ways, too) the simplest way to get
back to the text screen is to type
HVIEWx (replace x with either 0 or 1)
<ctrl-z> <Enter>
<Enter>
And the text screen should be back.
Also supplied are the following:
HVIEW.ASM : Source code in CHASM format.
BIT8.BAS : A BASIC program that lets you redesign the characters, if you
really dislike the ones that I made.
BIT8.PAT : the bit patterns for the various characters. It is a BLOAD-type
file (i.e. it has the annoying 7-byte header). If you recompile
HVIEWx, you must tack this file onto the end of HVIEWx.COM via
DEBUG. Remember to remove the 7-byte header. Otherwise, your
characters will look funny.
Enjoy! Raymond J Chen 24 Aug 86