home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / MISC / OS2 / SVGA.ZIP / SVGA
Encoding:
Text File  |  1992-04-28  |  13.1 KB  |  258 lines

  1.  
  2. Revision 2.0                                               April 27, 1992
  3.                           OS/2 SVGA NETINFO
  4.                        -----------------------
  5.   INTRO:
  6.  
  7. This document is a collection of information about OS/2 and SVGA video
  8. adapters.  I'll start out with known problems, some FAQs, and then
  9. go into a description of all the SVGA-related files under OS/2 and thier uses.
  10. If you find erroneous or incomplete information, please send a note to the
  11. email address that the end of this document.  Thanks and enjoy!
  12.  
  13.     KNOWN PROBLEMS, AFFECTED SYSTEMS, AND SOLUTIONS:
  14.  
  15. P:  Video goes out of sync entering a DOS or WINOS2 fullscreen.
  16. A:  Video adapters using the Tseng ET4000 chipset with batch #TC6059AF or
  17.     higher.
  18. S:  Get the new VSVGA.SYS dated 4-8-92 or later.
  19.  
  20. P:  When I window a DOS fullscreen running in SVGA I often get a Trap E.
  21. A:  Will be prevalent on overcommited (low-memory) systems.  The PM driver you
  22.     are using can also have an effect.
  23. S:  Get the new VSVGA.SYS dated 4-20-92 or later.
  24.  
  25. P:  Install / bootup hangs
  26. A:  Video cards based on the Western Digital PVGA1D chipset.
  27. S:  Get the new BVHSVGA.DLL dated 4-21-92 or later.
  28.  
  29. P:  Get a SYS3176 error starting any DOS session
  30. A:  Tseng ET3000 based adapters
  31. S:  ? Soon
  32.  
  33. P:  ? Install
  34. A:  Oak technologies video cards
  35. S:  ?
  36.  
  37.     The latest VSVGA.SYS and BVHSVGA.DLL files will be distributed wherever
  38.     possible..I don't know how they will find there way to you..but if you
  39.     need them, ask around and look for them.  On the internet, the latest fixes
  40.     will be on HOBBES.NMSU.EDU, which happens to be an excellent FTP site for
  41.     all kinds of OS/2 goodies.
  42.  
  43.     QUESTIONS AND ANSWERS:
  44.  
  45. Q:  I'm having problems with my video.
  46. A:  Start by reading the README in your root directory.
  47.  
  48. Q:  What SVGA support is actually provided with OS/2 2.0 GA edition?
  49. A:  The only support that is provided in the shrink wrapped version is the
  50.     ability to switch away from a DOS or OS/2 fullscreen and have the current
  51.     state of your video card saved.. and this is only after you have turned
  52.     SVGA ON, and if you have one of the adapters listed in the readme..although
  53.     everyone with a Tseng, Trident, ATI, Headland, or Western Digital chipset
  54.     should try turning SVGA ON at least for a while to see if it fixes any
  55.     unseemly video problems they might be having.
  56.  
  57. Q:  What is the most important thing to remember about turning SVGA ON?
  58. A:  When you type SVGA ON (as per readme) it must be in a DOS FULLSCREEN!
  59.  
  60. Q:  For what adapters has DOS + OS/2 fullscreen save/restore been tested?
  61. A:  ATI VGA Wonder XL
  62.     Boca Reseach SVGA
  63.     Orchid Prodesigner II
  64.     STB Powergraph
  65.     Trident 8900C and 8900B
  66.     Video 7 VRAM II
  67.     Paradise VGA Professional
  68.  
  69. Q:  Are these the only cards which are "compatable" with OS/2?
  70. A:  NO. Our support is designed to be generic for the Trident, Tseng, ATI,
  71.     Headland, and Western Digital chipsets.  There are likely many more cards
  72.     which work under OS/2 which we havn't even tried.  If you have a card which
  73.     isn't on this list, but does work, please send a note to the email address
  74.     at the bottom of this document with the name of the card and any small
  75.     limitations you found.
  76.  
  77. Q:  How do I get my PM desktop to use SVGA?
  78. A:  OS/2 does not provide any PM SVGA drivers.. they are available from the
  79.     video board manufacturers.  Trident has an amazing set of OS/2 2.0 16-bit
  80.     PM drivers that include seamless windows support and virtual desktops.
  81.     Orchid has 16-bit 2.0 drivers in beta test..maybe released. And there are
  82.     many OS/2 1.3 drivers around which function fine under 2.0.  Do not be
  83.     deterred from using a PM display driver labeled for OS/2 version 1.3
  84.  
  85. Q:  What is the difference between 16-bit and 32-bit PM drivers?
  86. A:  Because OS/2 shipped at the end of March without the 32-bit
  87.     graphics engine, the video subsystem is all 16-bit.  Therefore, all PM
  88.     drivers that work on OS/2 2.0 GA are 16-bit.  This will change come summer
  89.     when the 32-bit graphics engine ships.  At that point it will become
  90.     possible to have a fully 32-bit graphics subsystem. BTW: 32-bit does not
  91.     imply 32-bit color, it only means 32-bit computation and data transfer.
  92.  
  93. Q:  What is a virtual desktop?
  94. A:  It is a PM display driver that uses all of the adapter's video memory to
  95.     store a desktop that is bigger than what's actually displayed.  So, you
  96.     could have 1024x1024 of desktop space, with only 640x480 being displayed on
  97.     the screen.  You move to other portions of the desktop by dragging the
  98.     mouse to the edge of the screen, which scrolls the desktop.  Because of the
  99.     way OS/2 is designed, this is an extremely quick operation and will be very
  100.     smooth even on the slowest video cards.  The PM driver has to be coded to
  101.     support virtual desktops, and Trident is so far the only chipset to support
  102.     it.
  103.  
  104. Q:  What is Seamless Windows, and can it co-exist with SVGA?
  105. A:  Seamless windows is the ability to run Windows 3.x programs on the PM
  106.     desktop.. Microsoft said it could never be done!!  The way it is achieved
  107.     is by making a "hole" in the PM desktop that the seamless windows driver
  108.     writes into.  Special code has to be put into both the windows driver and
  109.     the PM display driver to support this.  Stone Li from Trident was able to
  110.     produce 800x600/16 seamless drivers for Trident in about a week, and has
  111.     been the only one to produce SVGA seamless support so far.
  112.  
  113. Q:  Will my Windows 3.0 drivers work in WinOS2?
  114. A:  Yes, you should be able to simply update the SYSTEM.INI to point to a new
  115.     windows display driver, or just copy over VGA.DRV in the
  116.     OS2\MDOS\WINOS2\SYSTEM directory.   Keep in mind, however, that Windows in
  117.     SVGA will only work if you have SVGA ON.
  118.  
  119. Q:  Why do I have to deal with this SVGA ON and OFF crap?
  120. A:  Because we've torn out many clumps of hair discovering all of the crazy
  121.     things that can happen when you try to provide video support for for so
  122.     many different boards, each with their own quirks.  Most importantly, we
  123.     found that turning SVGA ON actually caused some system's video to become
  124.     worse.. so we had to have a way to give the user the ability to switch back
  125.     and forth.  And so was born the SVGA ON OFF thing.  Hopefully a more
  126.     elegant system will be developed in the future.
  127.  
  128. Q:  I have an ATI 8514 Ultra or Graphics Ultra, does it work under OS/2?
  129. A:  This card is 100% 8514 compatable, and OS/2 detects and treats it like an
  130.     8514.  On difference, though, is that you should update the video line in
  131.     your CONFIG.SYS that reads:
  132.     DEVICE=\OS2\MDOS\VVGA.SYS
  133.                                     to:
  134.     DEVICE=\OS2\MDOS\VSVGA.SYS
  135.     Because OS/2 detects it as 8514, you can use OS/2's 8514 PM in WinOS2
  136.     display drivers with no problems.
  137.  
  138. Q:  What is the outlook for OS/2 support for boards based on the S3 or TI
  139.     chipsets?
  140. A:  Boards which are co-processed are the fastest, but also take the longest to
  141.     develop software for.  No manufacturers have announced dates yet for
  142.     support for any of these cards.  The more these manufacturers are
  143.     "encouraged" by owners of their cards, the faster the support will arrive.
  144.     So, get on the phone and call! (but be pleasant :-)
  145.  
  146. Q:  I'm getting some corruption returning to my WinOS2 fullscreen
  147. A:  Set your VIDEO_SWITCH_NOTIFICATION in the DOS SETTINGS to ON.
  148.  
  149. Q:  Even in VGA, games in a DOS fullscreen are shakey
  150. A:  Set your VIDEO_RETRACE_EMULATION in the DOS SETTINGS to OFF.
  151.  
  152. Q:  Alot of DOS apps in a window have messed up colors
  153. A:  This is a limitation of the VGA desktop.  The color palatte of the DOS
  154.     session has to be translated to PM, and the 640x480/16 desktop doesn't
  155.     offer enough colors to do a good translation.  The only solution to the
  156.     problem is to use a 256 color PM driver.
  157.  
  158. Q:  The graphics of some of my apps are completely screwed up when in a window
  159. A:  Chances are, this app is using a non-standard VGA mode that the card can
  160.     support, but which OS/2 doesn't. Support for some of these modes (like
  161.     320x400/256 and 360x480/256) will likely be added in base OS/2 support
  162.     soon.
  163.  
  164. Q:  My friend has the same video card as me, and it doesn't work.. can't I
  165.     just give him a working SVGADATA.PMI file?
  166. A:  No. The SVGADATA.PMI has to be specific to each adapter/monitor setup.
  167.  
  168. Q:  If I have SVGA ON, can I use 132 column modes in an OS/2 fullscreen?
  169. A:  yep.
  170.  
  171. Q:  If I have SVGA ON, can I window a DOS fullscreen onto the PM desktop, even
  172.     if it is Super VGA?
  173. A:  yep!
  174.  
  175. Q:  If I have SVGA ON, can I take a window with a SVGA image in it can paste
  176.     to the clipboard?
  177. A:  YEP!
  178.  
  179.  
  180.     THE FILES:
  181.  
  182.   \OS2\SVGADATA.PMI
  183.           This file serves as a flag to tell OS/2 whether SVGA support has been
  184.           enabled with SVGA ON.  The file actually contains data on
  185.           1. What video chipset your SVGA card has.
  186.           2. What SVGA modes, from the supported list, your adapter is capable of
  187.              setting.  The list of supported modes is:
  188.                   a. 640x480/256
  189.                   b. 800x600/16
  190.                   c. 800x600/256
  191.                   d. 1024x768/16
  192.                   e. 1024x768/256
  193.                   f. 132x25 text
  194.                   g. 132x43 or 44 text
  195.           3. What values are in the video registers when the card is in each
  196.              mode..  this data is used by OS/2 to save and restore the registers
  197.              to their proper state when switching between sessions with
  198.              different SVGA modes set.
  199.           This data file must be generated by typing SVGA ON from a DOS
  200.           FULLSCREEN, because what SVGA ON actually does is set all the possible
  201.           modes using the video card's BIOS and then read out the values of the
  202.           registers into the .PMI file. If SVGA ON is run from a DOS window,
  203.           OS/2's video virtualization takes over, and the BIOS doesn't set the
  204.           svga modes properly.
  205.   \OS2\SVGA.EXE
  206.           This is the utility that generates the .PMI file and places it in the
  207.           \OS2 subdirectory. Syntax is SVGA [ON][OFF][STATUS], where
  208.             ON: creates the \OS2\SVGADATA.PMI file and enables SVGA support.
  209.             OFF: deletes the .PMI file.
  210.             STATUS: returns the chipset type OS/2 thinks your card is.
  211.   \OS2\DLL\DISPLAY.DLL
  212.           This file determines what video resolution the PM desktop uses.
  213.           This is the PM display driver and the heart of OS/2 video.  The
  214.           equivalent file on a Windows system is the VGA.DRV (in the case of
  215.           VGA) file.  For the first release, SVGA systems will have a VGA
  216.           display driver installed on their system.  Already, SVGA drivers are
  217.           available from most of the main board manufacturers. In
  218.           this document, I'll try to list some of the ones that are working.
  219.   \OS2\DLL\BVHSVGA.DLL
  220.           This file is the Base Video Handler for OS/2.  Any OS/2 application
  221.           that sets a video mode calls this DLL.  In most cases, however, the
  222.           only application that sets any video modes is the PM display driver
  223.           and the MODE.EXE utility (for setting 132 column modes).  The first
  224.           time this DLL would be called is after the OS/2 bitmap logo appears
  225.           (PM starts up then).  This DLL is specified in the CONFIG.SYS in the
  226.           following manner:
  227.              SET VIO_VGA=DEVICE(BVHVGA,BVHSVGA)
  228.           BVHVGA is used to set, save, and restore VGA modes, BVHSVGA for SVGA
  229.           modes.
  230.   \OS2\MDOS\VSVGA.SYS
  231.           This is the virtual video device handler for DOS sessions.  All calls
  232.           to change the video mode from a DOS session are handled through this
  233.           driver.  This driver's job is to allow the user to set a SVGA mode, and
  234.           when the user switches away, save the current state of the video card
  235.           (its registers and its video RAM).  Then, when the user returns to the
  236.           DOS session, restore the video card to it's previous state. When there
  237.           is no .PMI file (SVGA is OFF) this driver acts like a VGA driver,
  238.           except for adapter-specific code in it to make sure the VGA modes work
  239.           right on the SVGA adapter.  Therefore, even if you don't want SVGA,
  240.           you'll probably want VSVGA.
  241.   \OS2\MDOS\WINOS2\SYSTEM\VGA.DRV
  242.   \OS2\MDOS\WINOS2\SYSTEM\SWINVGA.DRV
  243.           These are the WINOS2 and seamless WINOS2 drivers, respectively.  They
  244.           determine what resolution WINSO2 uses.
  245.  
  246. Bernie Thompson PSU student and IBM co-op
  247. Send comments/additions to:
  248.     BERNIET@BCRVMPC1.VNET.IBM.COM
  249.  
  250.   ***************************************************************************
  251.   *                              DISCLAIMER                                 *
  252.   *                              ----------                                 *
  253.   *  The opinions and suggestions contained herein are my own and not those *
  254.   *  of my employer. This document does not represent any sort of guarantee *
  255.   *  or assurance. Just tips guys... nothing legal, get it?  Good.  :-)     *
  256.   ***************************************************************************
  257.  
  258.