home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 September / Simtel20_Sept92.cdr / msdos / filutl / hgc_view.arc / HVIEW.DOC < prev    next >
Text File  |  1986-08-24  |  3KB  |  66 lines

  1. HVIEW allows you to display the contents of a file on your Hercules (or
  2. compatible) monochrome graphics card.  The program uses the very high
  3. graphics mode resolution of the card to give a 180 x 43 character display.
  4. Since very few files use all 180 columns, the screen is split vertically
  5. into two 90 x 43 panels.  After one screenful is displayed, you can type
  6. Ctrl-break or Ctrl-C to stop the program or press any other key to continue
  7. displaying the file.
  8.  
  9.  
  10. There are two versions of HVIEW:
  11.  
  12.   HVIEW0 uses graphics page zero.  Use this version if you also have
  13.          a color card installed, since graphics page one and the color
  14.          card both use the same memory space.  When the program exits,
  15.          the screen will be cluttered with apparent garbage.  This is
  16.          normal, believe it or not, and a simple CLS will clean up the
  17.          screen.
  18.  
  19.   HVIEW1 uses graphics page one.  This is the preferred version since the
  20.          text page is preserved and will not conflict with the graphics
  21.          display.
  22.  
  23.  
  24. The syntax for the command is
  25.  
  26.   HVIEWx <filename.typ
  27.  
  28. where x is either 0 or 1 depending on which version you want to use
  29. and filename.typ is the file to be displayed.  The file must be a standard
  30. ASCII file.  IBM extended graphics characters are supported.  If the
  31. "<filename.typ" is omitted, then keyboard input will be displayed on the
  32. graphics screen.  (Note, however, that since keyboard input is buffered,
  33. what you type will not appear until you press Enter.  Also, when you are
  34. dont diddling with the screen, type ctrl-Z to "close" the keyboard file,
  35. the press a key to return to the normal display.)
  36.  
  37. The program doesn't try very hard to prevent nasty things from happening.
  38. If the lines of the input file are very long, they will display rather
  39. unappealingly when they wrap.  Also, if you manage to exit the program
  40. without the text screen reappearing (you can tell if this has happened if,
  41. when you type DIR <enter>, the drive light goes on.  If you are using
  42. HVIEW0, the screen will change in weird ways, too) the simplest way to get
  43. back to the text screen is to type
  44.  
  45. HVIEWx   (replace x with either 0 or 1)
  46. <ctrl-z> <Enter>
  47. <Enter>
  48.  
  49. And the text screen should be back.
  50.  
  51. Also supplied are the following:
  52.  
  53. HVIEW.ASM : Source code in CHASM format.
  54.  
  55. BIT8.BAS : A BASIC program that lets you redesign the characters, if you
  56.            really dislike the ones that I made.
  57.  
  58. BIT8.PAT : the bit patterns for the various characters.  It is a BLOAD-type
  59.            file (i.e. it has the annoying 7-byte header).  If you recompile
  60.            HVIEWx, you must tack this file onto the end of HVIEWx.COM via
  61.            DEBUG.  Remember to remove the 7-byte header.  Otherwise, your
  62.            characters will look funny.
  63.  
  64.  
  65. Enjoy! Raymond J Chen 24 Aug 86
  66.