home *** CD-ROM | disk | FTP | other *** search
/ MPC Wizard 3.0 / WIZARD3_0.ISO / drivers / graf_h_o / ncr / disk1 / smivesa / softmode.doc < prev    next >
Text File  |  1993-01-26  |  12KB  |  308 lines

  1.  
  2. ****************************************************************************
  3.                             NCR VGA Drivers
  4.                       SoftSet.Exe and SoftMode.Sys
  5.                          Versions 2.xI and 2.xP
  6.                      Copyright (c) NCR Corporation, 1992
  7. ****************************************************************************
  8.  
  9. Contents:
  10. ---------
  11.         - Why Should You Use SoftMode?
  12.         - Setting up SoftMode with SoftSet.exe
  13.         - Setting up SoftMode to support VESA calls
  14.         - Dot Clock Frequencies of SoftMode 2.xI and 2.xP
  15.         - Setting up 132x25, 132x50, 80x25, and 80x50 text.
  16.         - Using SoftMode.Sys without SoftSet.exe.
  17.         - CONFIG.SYS Example
  18.         - Setting a Mode
  19.         - Setting up SoftMode for 8-bit wide memory
  20.         - Problem List
  21.  
  22. Why Should You Use SoftMode?
  23. ---------------------------------------
  24.         The reasons you should use SoftMode:
  25.  
  26.         - Extended Modes:
  27.           There is no support in ROM BIOS for modes beyond
  28.           1024x768 256 color (mode 62h).  SoftMode provides
  29.           the ability to set modes beyond mode 62h including
  30.           the new HiColor 32k and 64k color modes.  The NCR
  31.           Windows drivers rely on SoftMode to properly set these
  32.           extended modes.  In addition, the NCR AutoCad 11 drivers
  33.           require the use of SoftMode.
  34.  
  35.         - Mode Timing Selection:
  36.           There is no way you can tell ROM BIOS which timing to use
  37.           for a given mode number.  SoftMode supports a variety of
  38.           timing sets for certain modes.  This enables you to select
  39.           the timing which best suits your monitor.
  40.  
  41.         - Image Centering:
  42.           There is no way you can center the video image using
  43.           BIOS.  By running SoftSet to initially select the mode
  44.           timings for SoftMode, you can also center each mode for
  45.           your monitor.  This way you won't need to touch the monitor
  46.           each time a different mode is set by applications.
  47.  
  48.         - VESA BIOS Extensions:
  49.           There are no VESA extensions built into the ROM BIOS.
  50.           SoftMode supports VESA version 1.2 BIOS extensions.
  51.  
  52.  
  53. Setting up SoftMode with SoftSet.exe
  54. ------------------------------------
  55.         It is recommended that you run SOFTSET to setup SoftMode.
  56.         SoftSet.exe provides the user with an easy way to setup
  57.         SoftMode.Sys.  To Run SoftSet make sure that both files,
  58.         softmode.sys and softset.exe, are in the same directory.
  59.         Go to that directory and type SOFTSET <return>.
  60.  
  61.         Softset allows you to test and observe each of the mode settings
  62.         provided in SoftMode.  You may then "Use" or "Not Use" each setting.
  63.         All of the used settings are assembled in a list which is added
  64.         to a command line in the CONFIG.SYS file.  Users may edit the
  65.         CONFIG.SYS file themselves or allow SoftSet to add the command
  66.         line automatically.
  67.  
  68.  
  69. Setting up SoftMode to support VESA calls
  70. -----------------------------------------
  71.  
  72. SoftMode 1.6x supports VESA BIOS extensions.  To enable VESA
  73. functions, include the /V switch on the command line.  This
  74. can be done with SoftSet.exe version 1.55 or later.
  75.  
  76. Dot Clock Frequencies of SoftMode
  77. ---------------------------------
  78.  There are two versions of SoftMode.
  79.  SoftMode.sys 2.xI assumes that the dot clocks of Table 1a are selectable.
  80.  SoftMode.sys 2.xP assumes that the dot clocks of Table 1b are selectable.
  81.  
  82.         Table 1a: Dot Clock Frequencies for the ICS2494-253 and ICS1394-073.
  83.  
  84.       Hex Address      Frequency in Mhz
  85.  
  86.         0              25.175
  87.         1              28.322
  88.         2              40.000
  89.         3              65.000
  90.         4              44.900
  91.         5              50.000
  92.         6              56.000
  93.         7              75.000
  94.         8              25.175
  95.         9              28.322
  96.         A              00.000
  97.         B              00.000
  98.         C              60.000
  99.         D              80.000
  100.         E              00.000
  101.         F              00.000
  102.  
  103.  
  104.         Table 1b: Dot Clock Frequencies for the AV9194-46 and ICS2494-277.
  105.  
  106.       Hex Address      Frequency in Mhz
  107.  
  108.         0               25.175
  109.         1               28.322
  110.         2               36.000
  111.         3               65.000
  112.         4               44.900
  113.         5               50.000
  114.         6               80.000
  115.         7               75.000
  116.         8               56.644
  117.         9               63.000
  118.         A               72.000
  119.         B              130.000
  120.         C               90.000
  121.         D              100.000
  122.         E              110.000
  123.         F              120.000
  124.  
  125.  
  126. Setting up 132x25, 132x50, 80x25, and 80x50 text.
  127. ------------------------------------------------
  128.  
  129.  There is a new version of SETMODE.EXE to replace the old SETMODE.COM.
  130.  The old setmode.com was a TSR which provided high resolution text.
  131.  Now, this feature is built into SoftMode.  Use SETMODE.EXE to set up
  132.  the resolution required the same way the old TSR was used.
  133.  See SETMODE.DOC for details.
  134.  
  135.  
  136.  
  137. Using SoftMode.Sys Without SoftSet.exe
  138. --------------------------------------
  139.  SoftMode's purpose is to allow access to extended graphics modes
  140.  without up-grading BIOS.  In addition, the user may specify
  141.  which timings apply when a specific mode is called for by an
  142.  application. This usually depends on the monitor.
  143.  
  144.  For example, if the monitor is an NEC 4d, then the user would
  145.  want this driver to allow a non-interlaced timing for the
  146.  1024x768 256 color mode. At the same time, the 1280x1024 mode
  147.  must be limited to an interlaced timing.
  148.  
  149.  To accomplish the above, it is necessary to supply command
  150.  line parameters following the DEVICE=softmode.sys statement.
  151.  The following is a list of rules required to set up the parameters:
  152.  
  153.         - The parameter list must be preceded by the /M: switch.
  154.  
  155.         - Each parameter must be a decimal number taken from the
  156.           list of supported setting numbers of Table 2 below.
  157.  
  158.         - Multiple parameters must be separated by commas.
  159.  
  160.  
  161.  
  162.   Table 2: Graphics Modes with Frequency Info and Setting Numbers.
  163.  
  164.     Frequencies:
  165.     Vertical   Horizonatal    Dot          Type           Setting Number
  166.     --------   -----------    ---          ----           --------------
  167. 12h: 640x480,16 colors
  168.     72.874  Hz  37.967 KHz  32.500 MHz  Non-Interlaced   ( Setting # 13 )
  169.     60.004  Hz  35.403 KHz  28.322 MHz  Non-Interlaced   ( Setting # 17 )
  170. 5fh: 640x480,256 colors,  VESA Mode 101
  171.     72.814  Hz  37.791 KHz  32.500 MHz  Non-Interlaced   ( Setting # 12 )
  172.     59.940  Hz  31.469 KHz  25.175 MHz  Non-Interlaced   ( Setting # 2 )
  173. 58h: 800x600,16 colors,  VESA Mode 102
  174.     71.971  Hz  48.077 KHz  50.000 MHz  Non-Interlaced   ( Setting # 8 )
  175.     60.317  Hz  37.879 KHz  40.000 MHz  Non-Interlaced   ( Setting # 0 )
  176.     56.021  Hz  35.461 KHz  40.000 MHz  Non-Interlaced   ( Setting # 15 )
  177. 5ch: 800x600,256 colors,  VESA Mode 103
  178.     71.971  Hz  48.077 KHz  50.000 MHz  Non-Interlaced   ( Setting # 10 )
  179.     60.317  Hz  37.879 KHz  40.000 MHz  Non-Interlaced   ( Setting # 4 )
  180.     56.021  Hz  35.461 KHz  40.000 MHz  Non-Interlaced   ( Setting # 16 )
  181. 5dh: 1024x768,16 colors,  VESA Mode 104
  182.     70.069  Hz  56.476 KHz  75.000 MHz  Non-Interlaced   ( Setting # 14 )
  183.     70.059  Hz  56.818 KHz  75.000 MHz  Non-Interlaced   ( Setting # 1 )
  184.     60.530  Hz  48.363 KHz  65.000 MHz  Non-Interlaced   ( Setting # 9 )
  185.     87.064  Hz  35.522 KHz  44.900 MHz  Interlaced       ( Setting # 3 )
  186. 62h: 1024x768,256 colors,  VESA Mode 105
  187.     70.099  Hz  56.991 KHz  75.000 MHz  Non-Interlaced   ( Setting # 11 )
  188.     60.004  Hz  48.363 KHz  65.000 MHz  Non-Interlaced   ( Setting # 6 )
  189.     87.064  Hz  35.522 KHz  44.900 MHz  Interlaced       ( Setting # 5 )
  190. 6ah: 1280x1024,256 colors,  VESA Mode 107
  191.     60.024  Hz  63.025 KHz  90.000 MHz  Non-Interlaced   ( Setting # 107 )
  192.     86.938  Hz  48.077 KHz  75.000 MHz  Interlaced       ( Setting # 7 )
  193. 5eh: 640x400,256 colors,  VESA Mode 100
  194.     60.055  Hz  31.469 KHz  28.322 MHz  Non-Interlaced   ( Setting # 20 )
  195. 6ch: 1280x1024,16 colors,  VESA Mode 106
  196.     86.938  Hz  48.077 KHz  75.000 MHz  Interlaced       ( Setting # 67 )
  197. 5ah: 1024x768,2 colors
  198.     87.064  Hz  35.522 KHz  44.900 MHz  Interlaced       ( Setting # 19 )
  199. 70h: 640x480,32k colors,  VESA Mode 110
  200.     59.974  Hz  31.486 KHz  50.000 MHz  Non-Interlaced   ( Setting # 100 )
  201. 78h: 640x480,64k colors,  VESA Mode 111
  202.     59.974  Hz  31.486 KHz  50.000 MHz  Non-Interlaced   ( Setting # 110 )
  203. 71h: 800x600,32k colors,  VESA Mode 113
  204.     59.979  Hz  38.986 KHz  80.000 MHz  Non-Interlaced   ( Setting # 102 )
  205.     56.230  Hz  36.550 KHz  75.000 MHz  Non-Interlaced   ( Setting # 101 )
  206. 79h: 800x600,64k colors,  VESA Mode 114
  207.     59.979  Hz  38.986 KHz  80.000 MHz  Non-Interlaced   ( Setting # 112 )
  208.     56.230  Hz  36.550 KHz  75.000 MHz  Non-Interlaced   ( Setting # 111 )
  209. 72h: 1024x768,32k colors,  VESA Mode 116
  210.     84.902  Hz  35.489 KHz  90.000 MHz  Interlaced       ( Setting # 108 )
  211.     75.468  Hz  31.546 KHz  80.000 MHz  Interlaced       ( Setting # 105 )
  212. 7ah: 1024x768,64k colors,  VESA Mode 117
  213.     84.902  Hz  35.489 KHz  90.000 MHz  Interlaced       ( Setting # 109 )
  214.     75.468  Hz  31.546 KHz  80.000 MHz  Interlaced       ( Setting # 106 )
  215. 50h: 640x480,16M colors,  VESA Mode 112
  216.     60.024  Hz  31.513 KHz  75.000 MHz  Non-Interlaced   ( Setting # 103 )
  217. 51h: 800x600,16M colors,  VESA Mode 115
  218.     97.777  Hz  33.733 KHz  90.000 MHz  Interlaced       ( Setting # 114 )
  219.     86.913  Hz  29.985 KHz  80.000 MHz  Interlaced       ( Setting # 113 )
  220.  
  221.  
  222.   The following text modes are also included in SoftMode:
  223.   setting#   mode
  224.       30      3
  225.       54     54
  226.       55     55
  227.  
  228.  
  229.  
  230.  
  231. CONFIG.SYS Example
  232. ------------------
  233.      To tell SoftMode to enable non-interlaced timings for mode 5d,
  234. but interlaced timings for mode 62, the user must create the following line
  235. in his or her config.sys file:
  236.  
  237.         DEVICE = path\SOFTMODE.SYS /M:1,5
  238.  
  239. where path is the path to the directory location of the Softmode.sys file.
  240. After modifying the config.sys file, the system must be re-booted.
  241.  
  242. Upon loading at boot time, SoftMode will respond by displaying:
  243.  
  244. Modes and settings enabled:
  245. 5d.....1
  246. 62.....5
  247.  
  248. Note that the above example produces the following results:
  249.  
  250.         - Modes 5d and 62 will be set by SoftMode.sys.
  251.         - Any standard modes (57 hex or below) will be set by BIOS.
  252.         - Any modes above 57 hex, other than 5d and 62, will not be set.
  253.  
  254.  
  255. If the setting number 30 was specified with the /M:30 switch, then
  256. mode 3 would be set by SoftMode and not by BIOS.
  257. If no parameters are given, SoftMode will not be loaded and an error
  258. message will appear on the screen.
  259.  
  260.  
  261. Setting a Mode
  262. --------------
  263.  
  264. Once the system is re-booted and SoftMode is loaded successfully, the
  265. video mode will be, as always, mode 3 set by BIOS. To activate one of the
  266. modes that you have enabled in SoftMode, you can use the SETVID.EXE
  267. utility as follows:
  268.  
  269. In the above example, modes 5d and 62 are the only possible mode choices
  270. for SoftMode to set.
  271.  
  272. To activate mode 5d, simply type:
  273.  
  274.                 SETVID 5d  <return>
  275.  
  276. Then, mode 5d will be selected using the timings of number one, i.e. non-
  277. interlaced 70Hz timings.
  278.  
  279. To return to mode 3 set by BIOS, type SETVID 3  <return>.
  280.  
  281.  
  282.  
  283.  
  284. Setting up SoftMode for 8-bit wide memory
  285. -----------------------------------------
  286.  
  287. A conflict with some adapter cards may require the VGA to
  288. use 8-bit wide memory.  To force the VGA into 8-bit mode, include
  289. the /8 switch on the command line.
  290.  
  291. The Softset program may not allow the user to add the /8
  292. switch automatically.  Use an editor to add the /8 switch after
  293. using SoftSet.
  294.  
  295.  
  296. Problem List
  297. ------------
  298.  
  299.       - SoftMode.Sys does not currently support any functions other
  300.         than the setting of a mode.  Therefore, all other INT 10 calls
  301.         are routed to BIOS.  If the user has BIOS which
  302.         lacks, for example, the write tty function for the mode
  303.         selected,  the screen may not be legible when the mode is
  304.         set with SETVID.  The mode is, however, useful when set
  305.         by an application driver, such as a Windows 3.0 driver.
  306.  
  307.  
  308.