home *** CD-ROM | disk | FTP | other *** search
/ The Pier Shareware 6 / The_Pier_Shareware_Number_6_(The_Pier_Exchange)_(1995).iso / 035 / warprob.zip / GENDAC.TXT < prev    next >
Text File  |  1994-12-08  |  5KB  |  108 lines

  1.  
  2.                   README for gendac.zip
  3.  
  4. The file gendac.zip is available from /incoming in ftp.nus.sg
  5. or in any one of a number of Singapore OS/2 BBSes (eg; Open
  6. Connection at (65)-4811345).
  7.  
  8. This document may be useful for those of you with S3-805 cards
  9. with GENDAC enhanced BIOS. I successfully got 1024 x 768 x 256
  10. and 800 x 600 x 64k resolutions at 60 hz and 56 hz refresh rates
  11. respectively on an ordinary 14" SVGA monitor (MediaScan 3A). 64k
  12. colors looks better especially with AVI files. Jon Seymour (jon@zeta.org.au)
  13. emailed me the essence of the procedure.  I have not tested the procedure
  14. for other SVGA modes but there is no reason why it should not work.
  15.  
  16.  
  17. It appears that the call to pfnPMSetmonitorTimings in svgadata.pmi is
  18. at the root of the problems faced by GENDAC owners. Warp's SVGA.EXE
  19. creates a SVGADATA.PMI that uses this call.  The solution is to get
  20. a 2.1 version of SVGA.EXE and create another SVGADATA.PMI. Warp's
  21. SVGADATA.PMI is then patched by commenting out the errant call and
  22. replacing it with corresponding lines from the older SVGADATA.PMI
  23. that does not make this call. The older version of SVGA.EXE was
  24. extracted from s3os232.zip (beta S3 drivers for OS/2 2.1) and is
  25. included with this document. Warp's SVGA is also included for
  26. completeness. They are named OSVGA.EXE and WSVGA.EXE respectively.
  27.  
  28.  
  29.  
  30. 1. Copy Warp's SVGA.EXE, the older SVGA.EXE and this document on a 
  31.    diskette or someplace accessible by DOS.
  32.    
  33. 2. By running "osvga on dos" and "wsvga on dos" from raw dos, 
  34.    you will create 2 versions of svgadata.dos, one for each version 
  35.    of svga.exe. You will have to rename these files so that the second
  36.    version does not overwrite the first. If you want to be very careful,
  37.    turn the monitor off after typing the command time and before pressing 
  38.    the Enter key. Wait for half a minute to be sure that the program is 
  39.    done before turning on the monitor.
  40.    
  41. 3. The editing is best done in split-window mode. Comment out (or delete)
  42.    calls made to the pfnPMSetmonitortimings in Warp's version of
  43.    svgadata.dos. Paste the corresponding lines of code from the older
  44.    version of svgadata.dos. You need to make modifications only for
  45.    those resolutions that you will be trying out.
  46.  
  47. For example, here are the lines (for my card) for 1024 x 768 x 256
  48.  
  49.        
  50.           rmwb(0x3d4, 0x3d5, 0x55, 0xfc, 0x01);
  51.           outb(0x3c8, 0x02);
  52.           r1    = 0x56;
  53.           outb(0x3c9, r1);
  54.           r1    = 0x45;
  55.           outb(0x3c9, r1);
  56.           rmwb(0x3d4, 0x3d5, 0x55, 0xfc, 0x00);
  57.           r103 = 0x22; 
  58.           boutb(1, 0x67, 0x3d4, 0x3d5);
  59.  
  60.  
  61.  
  62. This code is very similar for other modes; seems to differ only
  63. on the r1, r1 and r103 assignments for the 2 modes I tested.
  64.  
  65.  
  66. 4. Then you can install Warp or run selective install if you have
  67.    already installed Warp. Choose the Video selection and most probably
  68.    the install program will detect your card as an S3-805.
  69.    
  70. 5.  At some point, it will ask about running some utility for setting
  71.     monitor defaults.  Choose the default settings and BEFORE saying
  72.     OK, TURN OFF THE MONITOR. 
  73.     
  74. 6.  After hard disk activity has ceased, turn on the monitor and 
  75.     supply the program with your Windows diskettes. After this, 
  76.     you can actually go to the first page of the SYSTEM object and
  77.     choose resolution and refresh rate that is supported by your
  78.     monitor. This information is saved in a file called Video.cfg.
  79.     Copy this file on a diskette or someplace for future reference.
  80.     You can reset refresh rates in video.cfg.
  81.     
  82. 7. Shut down your computer and turn it off and take a deep breath.
  83.    All the necessary SuperVga support for the S3 GENDAC has been
  84.    installed properly.  The only problem is that on your next reboot
  85.    the WPS desktop will not be pretty as the SVGADATA.PMI makes
  86.    these calls that GENDAC does not like.
  87.    
  88. 8. On the next boot of OS/2; Press Alt-F1 when the white rectangle
  89.    appears on top left. Choose "C" for command line. Remember the
  90.    SVGADATA.DOS that you patched. Rename it to SVGADATA.PMI and
  91.    copy it to the OS2 directory over the buggy version.
  92.    
  93. 9. Press Alt-Ctrl-Del and everything should be ok (As long as you
  94.    selected a refresh rate that your monitor can handle). If it
  95.    seems your monitor is out of sync, edit video.cfg with a different
  96.    rate.  Although 60hz was fine for my monitor at 1024 x 768 x 256,
  97.    it screwed up at 800 x 600 x 64k whereas 56hz worked fine.
  98.    
  99.  
  100. Sriram
  101.  
  102. swknasri@nus.sg
  103.  
  104. Singapore OS/2 user group
  105.  
  106.    
  107.       
  108.