home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / VGAUTILS.ZOO / vgautils.doc < prev    next >
Text File  |  1989-07-09  |  13KB  |  269 lines

  1. VGAUTILS.DOC FILE FOR VGA MONITOR SETUP/TEST UTILITIES:
  2. VGRID.EXE, VGRID-M.EXE, VBOX.EXE, VGACOLOR.EXE
  3.  
  4. Contained in this "package" (the file VGAUTILS.ARC) are four 
  5. utilities that you can use to test and align your VGA display 
  6. adapter/monitor combination, along with this file, VGAUTILS.DOC.  
  7. VGRID.EXE, VGRID-M.EXE, and VBOX.EXE require a VGA or 100% 
  8. compatible display adapter and a VGA or VGA-compatible 
  9. multiscanning monitor.  They may work with certain "Super EGA" 
  10. cards with 640 x 480 16 color modes that are compatible with VGA 
  11. mode 18 (decimal) when used with a monitor capable of displaying 
  12. this resolution.  Beyond this, I cannot make any claims for the 
  13. compatibility of these programs with your equipment.
  14.  
  15. VGACOLOR.EXE requires a VGA or MCGA (or 100% compatible) display 
  16. adapter, and a VGA or compatible monitor.
  17.  
  18. These programs were written and compiled in Microsoft QuickBASIC 
  19. version 4.5.  They are to be considered as FREE software for 
  20. everyone's use and enjoyment.  The descriptions of the programs 
  21. are as follows:
  22.  
  23.  
  24. VGRID.EXE
  25.  
  26. This program puts a white grid on your monitor screen in VGA mode 
  27. 18 (decimal), -the 640 x 480 16 color graphics mode.  The outer 
  28. border of the grid is 640 pixels wide by 480 pixels high.  The 
  29. individual boxes of the grid are 40 pixels on a side.  This 
  30. screen pattern is useful for testing and aligning you VGA or 
  31. multiscanning monitor for the following:
  32.  
  33.      FOCUS - The grid should, of course, be sharp all the way 
  34.      across your monitor screen.  If it is not, the focus may 
  35.      need to be adjusted.  Some poorly designed monitors may have 
  36.      trouble maintaining focus in the corners when the center of 
  37.      the screen is sharp.  
  38.  
  39.      VERTICAL AND HORIZONTAL SIZE - The accurate display of 
  40.      graphics is important when using CAD or paint programs, -the 
  41.      size and shape of displayed objects must be correct.  This 
  42.      requires that the vertical and horizontal size controls of 
  43.      your monitor be correctly set.  Since the borders of the 
  44.      VGRID screen display measure the full 640 by 480 pixels 
  45.      (width to height) of the VGA mode 18 screen, they should be 
  46.      displayed at an aspect ratio of 4 units wide to 3 units high 
  47.      (or 1.33 to 1, if you're so inclined).  If this is not the 
  48.      case, adjust your monitor's vertical size control and/or the 
  49.      horizontal size control for the correct screen aspect ratio. 
  50.      You can set this by actually measuring the size of the grid 
  51.      on the screen, or you can simply set your monitor so that 
  52.      the individual boxes that make up the grid appear to be 
  53.      square.  You can also set your monitor's screen height and 
  54.      width visually using the program VBOX.EXE.
  55.  
  56.      CENTERING - If your monitor's horizontal and vertical 
  57.      position controls are set correctly, the grid display should 
  58.      be centered on the screen.  Adjust these controls accord-
  59.      ingly if this is not the case.
  60.  
  61.      HORIZONTAL AND VERTICAL LINEARITY - The boxes that make up 
  62.      the grid display should (ideally) appear as perfect squares 
  63.      of the same size across the entire screen display.  If they 
  64.      are not all the same size, the horizontal and vertical 
  65.      linearity adjustments of your monitor may be incorrectly 
  66.      set.  Please note that it may be impossible to achieve 
  67.      perfect linearity across the screen, -sometimes a compromise 
  68.      setting may have to be determined to achieve the best 
  69.      overall display quality.
  70.  
  71.      CURVILINEAR DISTORTION - The horizontal and vertical lines 
  72.      in the grid should appear perfectly straight.   They may, 
  73.      however, be curved outward (barrel distortion) or inward 
  74.      (pincushion distortion) in monitors that are out of adjust-
  75.      ment or just plain poorly designed.  Some monitors have 
  76.      provisions to correct for these problems, others may not.
  77.  
  78.      CONVERGENCE - In a color monitor, the three electron beams 
  79.      for each of the primary colors (red, green, and blue) must 
  80.      be aligned so that they meet ("converge") to form the 
  81.      smallest possible point on the screen.  If convergence is 
  82.      improperly set, there is a loss of sharpness in the form of 
  83.      colored fringes on text and graphics.  The white grid 
  84.      display of VGRID.EXE, when used in conjunction with the 
  85.      magenta grid produced by VGRID-M.EXE, can be used to check 
  86.      and set your monitor's convergence.
  87.  
  88.  
  89. The VGRID display will remain on your screen until you press a 
  90. key.
  91.  
  92.  
  93. VGRID-M.EXE
  94.  
  95. VGRID-M.EXE can be used along with VGRID.EXE to check and align 
  96. convergence in color monitors.  VGRID-M produces a display 
  97. identical to that of VGRID, except that the grid is magenta 
  98. instead of white.
  99.  
  100. The NEC Multisync II service manual recommends using magenta and 
  101. white "crosshatch" displays (such as those produced by VGRID-M 
  102. and VGRID) to set convergence.  The magenta grid display is used 
  103. first to set the alignment of blue and red.  There are tabs along 
  104. the neck of the monitor's CRT tube that move small permanent 
  105. magnets which control the convergence of these beams in both the 
  106. horizontal and vertical directions.  The idea is to get the 
  107. horizontal and vertical magenta lines to appear as sharp as 
  108. possible, without red or blue fringes.
  109.  
  110. Next, a white grid display (VGRID.EXE) is used to set the 
  111. convergence of magenta (red + blue) with green.  A different set 
  112. of tabs along the neck of the CRT are used this time, but the 
  113. principle is the same as that used in the red/blue alignment.  
  114. The white grid lines should appear as sharp as possible, with no 
  115. colored fringes.  When this condition has been obtained, all 
  116. three colors are properly converged.
  117.  
  118. The procedure for the convergence alignment of monitors other 
  119. than the NEC Multisync II should be similar.  It is recommended 
  120. that you obtain the service manual for your particular brand and 
  121. model of monitor, and adhere to its recommendations for setting 
  122. convergence and any other monitor adjustments.  Care must be 
  123. taken, as there may be control tabs near those used for con-
  124. vergence that are used to set other things (such as color purity) 
  125. that you DON'T normally want to disturb.
  126.  
  127. CAUTION: Aligning convergence and other monitor settings usually 
  128. requires that you remove the cover from your monitor, thus 
  129. exposing yourself to the dangerous voltages that are inside.  
  130. Care must be taken to avoid electrical shock!  Nonconducting 
  131. plastic alignment tools (available at places like Radio Shack) 
  132. should be used.  Again, the best advice is to obtain the service 
  133. manual for your monitor, and follow its recommendations.  
  134.  
  135. It may be impossible to obtain perfect convergence across the 
  136. full width of your monitor's screen.  Typically, convergence 
  137. error is greater in the corners.  As is the case with linearity, 
  138. a compromise setting may be necessary to obtain the best overall 
  139. alignment across the entire display width.
  140.  
  141.  
  142. VBOX.EXE
  143.  
  144. This is a program that generates a screen display especially made 
  145. for setting the vertical and horizontal size controls of your 
  146. monitor.  The circles should appear to be perfectly round, and 
  147. the boxes should be perfectly square.  The border of the display 
  148. measures 640 pixels wide by 480 pixels high, so the screen aspect 
  149. ratio should be 4 to 3 (or 1.33 to 1).
  150.  
  151.  
  152. VGACOLOR.EXE
  153.  
  154. This is a demo program that shows the capabilities of the
  155. 320 x 200 256 color mode (decimal mode 19) of the VGA or MCGA 
  156. display adapters.  The 256 colors used can be chosen from a total 
  157. "palette" of "256K" (actually 262,144) possible colors, which 
  158. vary in hue (shade), intensity (brightness), and saturation.  
  159. The colors of the palette are produced from all the possible 
  160. combinations of the three primary colors (red, green, and blue), 
  161. each of which can be varied through 64 steps of intensity (64 x 
  162. 64 x 64 = 262,144).  On monochrome monitors, these colors are 
  163. displayed as 64 shades of gray.
  164.  
  165. The first screen shows the "default" color settings of the 256 
  166. screen color attributes.  The numbers and letters along the top 
  167. and left side of the color bar display are hexadecimal numbers.  
  168. You can determine the hex attribute number of a displayed color 
  169. bar by using the numeral displayed to the left of its horizontal 
  170. display row as the first digit, and the numeral directly above 
  171. its vertical display column as the second digit.
  172.  
  173. The top row (attributes 00H to 0FH) of the first screen is the same 
  174. as the "default" color set used by the EGA.  The second row (10H 
  175. to 1FH) shows the range of 64 gray levels possible in 16 evenly 
  176. spaced steps.  Attributes 20H through F7H consist of 24 color 
  177. groups, each consisting of nine shades of a color.  Three 
  178. intensity levels and nine saturation levels are provided for each 
  179. shade.  Attributes F8H through FFH are set to black for reasons 
  180. known only to the designers of the VGA standard.
  181.  
  182. The second screen uses attributes 20H through FFH to show how the 
  183. colors used can be varied in hue (shade) and intensity (bright-
  184. ness).  Hue is varied along the vertical axis of the display.  
  185. The primary colors (red, green, blue), secondary colors (yellow, 
  186. magenta, cyan), and some intermediate shades are shown.   The 
  187. "spacing" of the hues shown is not "even" in the sense of the 
  188. numerical values of each color, but were chosen to visually 
  189. present discrete "steps" of hue variation.  Exactly how 
  190. this looks to you will depend on the contrast and brightness 
  191. settings of your monitor, as well as your own eyes.  The 64 step 
  192. range of intensity/brightness for each displayed hue is varied 
  193. from left to right in 16 evenly spaced steps ranging from "0" 
  194. (black) to full intensity.
  195.  
  196. The third screen uses attributes 20H through FFH to show how 
  197. colors can be varied in saturation.  As in the previous screen, 
  198. hue is varied in the vertical axis.  The 64 step range of color 
  199. saturation is shown from left to right in 16 evenly spaced steps 
  200. ranging from "no saturation" (pure white) to full color 
  201. saturation.
  202.  
  203. VGACOLOR, besides being a demonstration of the capabilities of 
  204. VGA/MCGA mode 19 (decimal) can be useful for setting the 
  205. brightness and contrast settings of your monitor.  It is also 
  206. an aid in convincing your spouse that the hundreds of dollars 
  207. that you spent on a VGA adapter and monitor were worth it.
  208.  
  209.  
  210. NOTES ON MONITOR VERTICAL/HORIZONTAL SIZE SETTINGS
  211.  
  212. Depending on the brand and model of your display adapter and 
  213. monitor, the display vertical and horizontal size settings that 
  214. you determine using VGRID.EXE or VBOX.EXE may only be valid for 
  215. the VGA 640 x 480 mode.  Other screen resolutions may require 
  216. that the monitor be readjusted for the proper display aspect 
  217. ratio.
  218.  
  219. The reason for this is that different monitors can behave in 
  220. dissimilar ways as the video horizontal and vertical scan rates 
  221. are varied for different on-screen resolutions.  Normally, if 
  222. nothing is done by the monitor to compensate for these changes, 
  223. the size of the displayed image will vary considerably with scan 
  224. frequency.  
  225.  
  226. Normally, this is not a problem with the standard VGA display 
  227. modes and VGA-only monitors.  The VGA standard specifies a 
  228. constant horizontal scan frequency of 31.5 KHz regardless of the 
  229. video mode, with a vertical scan rate of either 60 or 70 Hz.  
  230. Most VGA display adapters adhere to this, and most VGA monitors 
  231. expect this range of scan rates, and all is well.
  232.  
  233. However, problems can arise with some of the non-standard, 
  234. higher resolution "Super VGA" modes (800 x 600, 1024 x 768, and 
  235. the like) found in some display adapters when those modes are 
  236. used with the "multiscanning" or "multisync" monitors needed to 
  237. display the higher resolutions.  In the Super VGA modes, the 
  238. horizontal scan rate may be as high as 35 KHz, while the vertical 
  239. scan frequency may be as low as a flickery 50 Hz (this is done to 
  240. keep the overall video bandwidth down to something most monitors 
  241. can handle).  Different monitors deal with these changes in 
  242. horizontal and vertical scan frequencies in various ways.  Most 
  243. multiscanning displays have some sort of "autosizing" circuitry 
  244. built into them to maintain a constant image size despite changes 
  245. in scanning rates.  In some of these monitors, the autosizing 
  246. feature works very well, and once you have set the width and 
  247. height for one display standard, it is also correctly set for 
  248. other modes as well.  Other monitors have autosizing circuits 
  249. that do not work as well, or they may lack this feature entirely.  
  250. With these displays, you may have to reset the screen vertical 
  251. and horizontal size controls when switching between different 
  252. resolutions and display modes.
  253.  
  254. It is also possible that the centering of the image on your 
  255. monitor screen may vary with the resolution being displayed.  
  256. This is particularly true for the horizontal image position.  
  257. Some multiscanning monitors (such as the NEC Multisync II) have a 
  258. separate horizontal image centering control for each of several 
  259. horizontal scan frequency ranges. 
  260.  
  261.  
  262. QUESTIONS AND COMMENTS
  263.  
  264. You can leave questions or comments regarding these programs for 
  265. me on CompuServe (73710,2014).
  266.  
  267.  
  268. -Arthur Stoppe
  269.  July, 1989