home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / r / romfnt15.zip / ROMFNT.DOC < prev    next >
Text File  |  1993-03-03  |  6KB  |  121 lines

  1. ROMFNT  1.5 The ROM font loader.         Copyright 1993 Tim Godfrey
  2.  
  3. Before running this program, read the >>CAUTION<< section below!
  4.  
  5. This program writes new fonts into the VGA BIOS ROM (which must be already
  6. loaded into shadow RAM). If your motherboard doesn't support shadowing the
  7. video BIOS, then you can't use this program. You will have to enable video
  8. BIOS shadowing in your CMOS setup before ROMFNT can work. The new fonts
  9. will be permanent, and will survive mode changes. (and on some machines,
  10. even a warm boot). This program is not a TSR, and doesn't change anything
  11. in the VGA except the font data and ROM Checksum.
  12.  
  13. I wrote ROMFNT because I don't like the default "double dot" fonts (which
  14. date back to the CGA and TV set monitors, but are still faithfully copied
  15. by every VGA card). I don't like giving up memory to TSRs unless I have to,
  16. either. ROMFNT will load a set of 'thin' fonts as a default if no font
  17. files are supplied. Other fonts in suitable format are supplied with Tseng
  18. Labs based VGA cards, as well as the Personics Ultravision product.
  19.  
  20. This program currently supports the following motherboard chipsets:
  21.  
  22.    Chips and Technologies NEAT chipsets for the 286 and 386. 
  23.    Informtech IT386 motherboard with TI 386 chipset.
  24.    SIS chipset for 386  (85C310).
  25.    ETEQ chipset for 386 (82C491).
  26.    OPTI chipset for 486 (82C493).
  27.    UMC chipset for 486  (82C481).
  28.  
  29.            >>>>>>>>>>>>>> CAUTION!<<<<<<<<<<<<<<<<<<<<
  30.  
  31. In order for this program to do what it does, it has to set bits in very low 
  32. level hardware configuration registers of the motherboard chipsets. There 
  33. are no standards for these registers between motherboards. I have written 
  34. this program to work with motherboards I have access to and could test on. 
  35. If your motherboard is different, there is no way to predict what could 
  36. happen. Possible side effects could cause a lockup requiring a cold boot or 
  37. power off, and in extreme cases, erasing of the CMOS setup information. Be 
  38. sure you know what's in your CMOS setup before using this program for the 
  39. first time. This program does _not_ ever intentionally modify the CMOS data, 
  40. but strange things can (and do) happen.
  41.  
  42.  
  43.  
  44.  
  45. Command Line Options:   (options can be flagged with a - or a / character)
  46.  
  47. -? option: 
  48.          
  49.          Help Screen
  50.  
  51. -D option: 
  52.  
  53.          Debug mode: status information is output
  54.  
  55. -L option: 
  56.  
  57.          Set lines of text on screen.
  58.          -L25     Puts screen in 25 line mode after loading, with new font
  59.          -L28     Puts screen in 28 line mode after loading, with new font
  60.          -L50     Puts screen in 50 line mode after loading, with new font
  61.  
  62.          Note: If a -L option is not specified, the new fonts won't take
  63.          effect until the next video mode change.
  64.  
  65. Filename.ext
  66.  
  67.          Up to 3 font file names can be supplied on the command line
  68.          The three font formats are 8 line, 14 line and 16 line.
  69.          These files must be in straight binary format, and must include the
  70.          entire 256 character set. 
  71.          
  72.          The size of the file determines what kind of font it contains. IE,
  73.          (file size / 256) = # lines of font. Font files need to be in the
  74.          current directory, ROMFNT's directory, or on the path. 
  75.          
  76.          Example:  ROMFNT thisfont.fnt thatfont.fnt -L50
  77.  
  78. -H option: 
  79.  
  80.          Some font file formats include a "header" with some extra bytes
  81.          at the start of the font. (IE: Tseng labs uses a 8 byte header, so
  82.          the parameter would be -H8) the -Hnn parameter, where nn is an
  83.          integer, will ignore the first nn bytes of the the font file. The
  84.          header size will be taken into account in the file size/font size
  85.          computation. (There can be only one -H parameter, so all font
  86.          files must be in the same format).
  87.  
  88. -X option: 
  89.  
  90.          ROMFNT has three internal "thin" fonts. Normally, if all 3 font
  91.          sizes are not specified as files on the command line, the default
  92.          fonts are loaded into the unspecified sizes. If the -X option is
  93.          used, the default fonts will not be loaded, and the original fonts
  94.          will remain unchanged. Only the file font(s) will be loaded.
  95.  
  96. -@xxxx : 
  97.  
  98.          Chipset specification. ROMFNT is able to detect some chipsets
  99.          who's makers managed to include some sort of ID bits. With all the
  100.          varieties of motherboards in use, there are many ways the chipset
  101.          check could be confused or wrong. It is also possible for just the
  102.          process of checking to lock up machines based on other (unknown)
  103.          chipsets. This parameter bypasses the software check, and directly
  104.          specifies a chipset. Be sure you use the correct one! Note: SIS
  105.          and ETEQ chips MUST be selected with the -@ parameter. 
  106.          
  107.          Currently supported choices are :
  108.                C&T286 C&T386 INF33 SIS ETEQ OPTI UMC
  109.  
  110. -Z option: ROMFNT normally only works with Chipsets that are internally 
  111.          supported. If the video bios is shadowed into writable RAM at the 
  112.          properlocation, IE segment C000, the Z option will bypass Chiset 
  113.          Checking. Most Shadow RAM implementations have a hardware write 
  114.          protect that must be deactivated before ROMFNT -Z can work. See the 
  115.          enclosed program, CHIPSET.PAS which is a prototype of shell program 
  116.          to do this. You will have to edit the parameters to correspond with 
  117.          the specifics of your chipset, and then re-compile with Turbo 
  118.          Pascal (V 4 or later will work). Note: Using the -Z option with 
  119.          QEMM stealth will probably crash your machine, since the fonts will 
  120.          overwrite the programs that are loaded high in the VGA rom space.
  121.