home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1999 January / pcwk_01_1999.iso / Tajnepp / MCLK093 / MCLK.TXT < prev    next >
Text File  |  1997-05-04  |  14KB  |  328 lines

  1. 05/04/97
  2.  
  3. mclk093b.zip     // MCLK v0.93b (unofficial release)
  4.  
  5. A performance-enhancement utility, can boost thruput of certain SVGA cards
  6.  
  7. -------------------****** WARNING ******----------------------------------
  8.  
  9. This program allows alteration of SENSITIVE registers of your SVGA card.
  10. IMPROPER USE MAY CAUSE DAMAGE TO YOUR COMPUTER AND OR VIDEO CARD.
  11. I AM NOT RESPONSIBLE FOR ANY DAMAGE CAUSED BY THIS PROGRAM.
  12.  
  13.  
  14.  
  15.   *********************************************************************
  16.   ******* MISUSE OF THIS PROGRAM MAY DAMAGE YOUR VIDEO HARDWARE *******
  17.   *********************************************************************
  18.  
  19.  
  20.  
  21. --------------------------------------------------------------------------
  22.  
  23. Q:  What can I do with this program?
  24.  
  25.         If your computer is equipped with a compatible SVGA card, this
  26.         program will let you re-program your video chipset's DRAM-clock 
  27.     generator.  With this program, you can attempt to overclock your
  28.     video board!  (No guarantee that you will succeed...)
  29.  
  30.         I have received plenty of feedback regarding MCLK's performance
  31.         claims.
  32.  
  33.                 MOST users report a modest improvement (5-10%) in Windows.
  34.                 Some users report a dramatic improvement (>10%) in Windows.
  35.                 A few users report a decrease in performance (DOS/Windows.)
  36.  
  37.                 Overall, users with generic Cirrus GD-5436/46, S3/Virge,
  38.                 and S3-Trio64V+ boards see the most improvement.  I suspect
  39.                 generic video boards are more tweakable than brand-name
  40.                 boards, due to more conservative design.  
  41.  
  42.                 I have posted some VIDSPEED4 and Winbench96 benchmarks on
  43.                 my www-page (http://www.oac.uci.edu/~rliao)  These are
  44.                 benchmarks of my own equipment, not scores submitted by
  45.                 other users.
  46.  
  47.        MCLK's benefits...
  48.         + boost in DOS thruput for "high-bandwidth" display modes
  49.           (on 1mb cards, 800x600 high-color & 640x480 true-color)
  50.           (on 2mb cards, 1152x864 high-color & 800x600 true-color)
  51.  
  52.         + boost in DOS for older Cirrus GD-5426/8/9 VL cards
  53.         + boost in GUI (Win3.1/95) for any MCLK-reprogrammable card
  54.           (especially in high-bandwidth display modes)
  55.  
  56.        MCLK's limitations...
  57.         - only supports a FEW of the many SVGA chipsets out on the market
  58.         - performance gains may not be perceptible to casual user
  59.         - some video BIOSs reset the SVGA registers after video-mode sets
  60.           (eg. Cirrus GD-5434, Diamond Speedstar Pro )
  61.  
  62.  
  63.          Whenever you operate a piece of equipment beyond its rated
  64.          speed, you risk damaging it.  Please use caution when adjusting
  65.          the clock-freq of your video board.
  66.  
  67. Q:  Which chipsets does MCLK support?
  68.  
  69.         MCLK has been tested on the following boards:
  70.  
  71.         Cirrus Logic
  72.                 GD-542X - 5420, 5422, 5424, 5426, 5428, 5429
  73.             ( tested with GD-5428 VLB )
  74.                 GD-543X - 5430 ( GD-5434 NOT supported ), 5436
  75.                         The GD-5434's BIOS resets the MCLK upon every
  76.                         video mode set.
  77.                 GD-544X - 5440/M40, 5446
  78.         GD-7543 - (reprogrammable as GD-5428, use "/F")
  79.     
  80.         S3 Incorporated
  81.                 S3 86x (864/866/868) with SDAC RAMDAC
  82.                 S3 Trio (Trio32, Trio64, Trio64V+)
  83.                         (some video BIOSs reset MCLK upon every mode set.)
  84.         S3 Virge, Virge/VX, Virge/DX
  85.         no plans to support S3-911/924/928 :(
  86.  
  87.          Trident Microsystems
  88.         Trident 9440/96xx 
  89.                     The Trident MCLK code was "reverse-engineered."  It may
  90.                     not work on all Trident 9440/96xx boards.
  91.  
  92. *     Tseng Labs
  93. *        Tseng Labs ET-6000
  94. *            MCLK's ET-6000 code does not work on all ET-6000 boards.
  95. *            Chances are better with generic ET-6000 boards.
  96. *
  97. *    **************COMING SOON: MATROX MYSTIQUE SUPPORT**************
  98.  
  99. Q:  What if I don't own one of the above-mentioned SVGA cards?
  100.  
  101.         Unfortunately, you won't be able to use this program.
  102.  
  103. .....................
  104.  
  105. Q:  Is MCLK a DOS, OS/2, or Windows program?
  106.  
  107.     MCLK is a DOS command-line executable program.
  108.  
  109.         If you plan to execute MCLK from a Windows 3.x/95 environment,
  110.         you must do so from a full-screen DOS box.  Executing MCLK from a
  111.         windowed-dos box won't work : Windows will block MCLK from accessing
  112.         the SVGA registers.
  113.  
  114.         OS/2, Windows NT, Linux, etc. are not supported.
  115.  
  116. Q:  Is MCLK a TSR (terminate-stay-resident) program?
  117.  
  118.         MCLK is not a TSR, it is a normal, one-shot executable application. 
  119.  
  120. Q:  How do I use MCLK?
  121.  
  122.         MCLK's user interface is entirely command-line.
  123.  
  124.         First, let's start with the general help screen.  To pop up the
  125.         general help screen, invoke MCLk without any parameters:
  126.  
  127.                 C:\> MCLK
  128.  
  129.         MCLK will report the detected video chipset (S3, Cirrus, etc.)
  130.         and a list of supported operations.
  131.  
  132.                 0  S3 Trio/Virge MCLK programming
  133.                 1  S3 864/964/Trio memory page-mode control
  134.                 ......
  135.                 ......
  136.  
  137.         An MCLK command consists of an OPERATION (/X) followed by
  138.         user-supplied PARAMETER(S).  For example,
  139.  
  140.                 C:\> MCLK /0  65 2 2     (Set S3/Trio clock to 60MHz)
  141.                           ^^  ^^^^^^
  142.                    operation  parameters
  143.  
  144.                    The preceding line instructs MCLK to perform operation#0
  145.                    with the parameters "65", "2" and "2"  (If this command
  146.                    were executed on a system with an S3 Trio board, MCLK
  147.                    would reprogram the Trio's DRAM-clock to 60MHz.)
  148.  
  149.         If you omit the parameters, MCLK will display the STATUS of the
  150.         selected operation.  For example,
  151.  
  152.                 C:\> MCLK /0
  153.  
  154.                         (returns the current DRAM-clock frequency.)
  155.  
  156.         MCLK can parse multiple operations.
  157.  
  158.                 C:\> MCLK /0 54 2 2 /1 0 
  159.  
  160.                         (sets S3 Virge's DRAM-clock to 50MHz.)
  161.                         (sets page-memory mode to 1-cycle EDO.)
  162.  
  163.  
  164. Q:  MCLK doesn't properly autodetect my video chipset.  Can I force MCLK
  165.     to work with my chipset?
  166.  
  167.         Sometimes, MCLK will fail to autodetect your video hardware.
  168.     If MCLK cannot identify your video chipset, you can override
  169.         MCLK's auto chipset detection by using the "/F" option.  (Of course,
  170.     you must have a chipset which is supported by MCLK!)
  171.  
  172.                 C:\> MCLK /F    (MCLK reports list of video-chipset families)
  173.  
  174.                 C:\> MCLK /F 1  (MCLK reports list of CIRRUS-LOGIC chipsets)
  175.     
  176.                 c:\> MCLK /F 1 1 (manually force usage of CIRRUS-LOGIC GD-542x)
  177.  
  178.     The list of supported chipsets may change with each successive
  179.     revision of MCLK.
  180.  
  181.    example
  182.     C:\> MCLK /F 1 1 /0 32
  183.     (manually selects Cirrus GD-5424/6/8/9, changes MCLK to 57MHz)
  184.  
  185.         The parameters preceded by slashes (/F, /0, etc. ) are "commands."
  186.         MCLK parses each slashed command and necessary parameters from
  187.     left to right.  In the example above, MCLK would first parse 
  188.     "/1" along with "5"; this activates the code for option #1, using
  189.     the value "5" as input.
  190.     "/F" is a special command to override MCLK's chipset autodetection.
  191.     (If used, the /F command must be the FIRST parameter!)
  192.  
  193. Q:  Are the effects of MCLK permanent?
  194.  
  195.         No.  A power off/on cycle will reset your video board to its power-on
  196.         default settings.  Furthermore, some video BIOSs may reset
  197.         certain registers.  For example, most Cirrus GD-5434 BIOSs
  198.         re-program the DRAM-clock frequency with every modeset operation.
  199.  
  200.         If you want to keep your video card overclocked, you should add
  201.         MCLK to the AUTOEXEC.BAT.  That way your video card won't lose
  202.         changes after every reset.
  203.  
  204. +Q: I think I'm putting in the right parameters, but I can't get MCLK's
  205. +   various functions to work.
  206. +
  207. +    Several possibilities...MCLK doesn't work with your particular board
  208. +    (unfortunately, this is most likely.)  MCLK doesn't run under Windows
  209. +    NT, OS/2, etc.  It will run from Windows 3.x or Windows-95, but only
  210. +    from a FULL-SCREEN dos box.  And, of course, not all of MCLK's code
  211. +    has been thoroughly debugged.  Case in point, the Cirrus Logic
  212. +    GD-546x code doesn't work at all (...yet)  Furthermore, the Tseng
  213. +    Labs ET-6000 code works with some ET-6000 adapters, but not others.
  214. +
  215. +    Finally, your board's BIOS might reset the board's configuration,
  216. +    undoing any and all tweaks MCLK has made for you.  The Diamond
  217. +    Speedstar Pro (Cirrus GD-542x), Cirrus GD-5434, and several OEM
  218. +    BIOSs (Compaq, Packard Bell) are known to be paternalistic in this
  219. +    sense.
  220.  
  221. Q:  Why is this program called MCLK?
  222.  
  223.     A while back, I wrote a utility that allowed MCLK reprogramming on
  224.     Cirrus Logic boards.  That program was fairly simple, requiring but
  225.     a few real lines of code (the rest made up the user command-line 
  226.     interface.)  The program you see before was designed a year ago,
  227.         before I was familiar with C++.  
  228.  
  229. Q:  What other programs can boost my video performance?
  230.  
  231.     S3 owners should check out Dietmar's "S3 Speed-Up."  The same author
  232.     also has a VESA/VBE 2.0 TSR freely available.  S3 Speed-up will
  233.     accelerate many DOS/SVGA apps, by virtue of forcing the framebuffer
  234.     into linear-access mode.  Applications which already use VESA 2.0
  235.     will be unaffected, since most VESA 2.0 applications already 
  236.     initialize a linear framebuffer.  S3-speedup works because of a
  237.     performance characteristic of the S3 chipsets...I don't think
  238.     it will work for any other chipsets.  I have heard that the 
  239.     DOS performance profile of ATI's Mach64 series resembles that of the
  240.     S3 chipsets (i.e. faster in linear-framebuffer than banked-fbuffer.) 
  241.  
  242.     Trident 9440/96xx owners looking for better MCGA 320x200 performance
  243.     should check out M13SPEED.  It's available from the same place from
  244.     where you downloaded MCLK (http://www.oac.uci.edu/~rliao)
  245.         M13SPEED emulates 320x200 MCGA by using a VESA SVGA display-mode.
  246.         The end-result is faster bus-thruput for your 320x200 MCGA apps.
  247.         M13SPEED does not work with VGA "ModeX" games (Doom, Doom2,
  248.         Heretic, etc.)  And of course, games which use VESA SVGA modes aren't
  249.         affected.
  250.  
  251. Q:  I'm interested in overclocking other system components.  Where can I go?
  252.  
  253.         Check out  < http://www.sysopt.com >
  254.               and  < http://www.sysdoc.pair.com >
  255.  
  256. Q:  What is "VGADOC"?
  257.  
  258.         VGADOC is an archive of documents covering many SVGA chipsets.
  259.         The Trident MCLK code was possible because of VGADOC.
  260.         If you're interested in VGADOC, check out this URL:
  261.         http://www.datashopper.dk/~finth
  262.  
  263. +Q:  Which video boards are the most tweakable?
  264.  
  265.         After collecting quite a bit of user feedback, here are some
  266.         generalizations I'm willing to make:
  267.  
  268.         Cirrus Logic GD-542x -
  269.                 improved VL bus-performance with reduced bus timings
  270.                 DRAM-clock modestly overclockable ( 50 -> ~57MHz )
  271.         Cirrus Logic GD-5436/5446 -
  272.                 DRAM-clock moderately overclockable ( 50 -> ~70MHz )
  273.                 substantial improvement under GUI environment
  274.         substantial improvement under DOS/SVGA *high-bandwidth modes
  275.         Cirrus Logic GD-7543 (programmed as "GD-5428")
  276.                 DRAM-clock moderately overclockable ( 50 -> ~70MHz )
  277.                 substantial improvement under GUI environment
  278. +    Cirrus Logic GD-5462/5464 (doesn't work yet!)
  279. +        RAMBUS-clock minimally overclockable ( 257MHz -> 272MHz )
  280.         Trident 9440/96xx -
  281.                 DRAM-clock modestly overclockable ( 70 -> 76MHz )
  282.                 little improvement
  283.         S3 Trio64/Trio64V+
  284.                 overclockability depends on DRAM quality (45ns vs 50ns etc.)
  285.                 With 45ns EDO, up to ~69MHz 1-cycle EDO timing (64V+ only)
  286.                         2D GUI performance approaches S3/Virge
  287.                 With 60ns EDO, up to ~80MHz+ 2-cycle EDO timing
  288.                         substantial improvement under GUI environment
  289.         S3 Virge (325) and Virge/DX
  290.                 overclockability depends on DRAM quality (45ns vs 50ns etc.)
  291.         With 35ns EDO, up to ~80MHz 1-cycle EDO timing
  292.         With 40ns EDO, up to ~72MHz 1-cycle EDO timing
  293.                 With 45ns EDO, up to ~68MHz 1-cycle EDO timing
  294.                 With 50ns EDO, up to ~63MHz 1-cycle EDO timing
  295.         ... etc., etc.
  296.                 substantial improvement under 2D-GUI environment
  297.                 little improvement with 3D applications
  298.         S3 Virge/VX (988)
  299.                 STB Velocity 3D, Diamond Stealth 3D-3xx0
  300.                        mixed results - VRAM unable to handle 1-cycle EDO
  301. +    Tseng Labs ET-6000
  302. +        factory-default MCLK is quite high, 90MHz
  303. +        some users can clock up to 100MHz, other users report
  304. +        no luck (MCLK's code doesn't work with all boards)
  305.  
  306. Q:  How about support for some 3D-boards like the Rendition Verite and 3dfx?
  307.  
  308.         Rendition, like Voodoo, insists on a non-disclosure agreement.  
  309.     Furthermore, the Verite chipset does not incorporate a programmable
  310.     clock generator.  
  311.         3dfx owners should try the TWEEK.ZIP utility to adjust the 3dfx's
  312.     graphics processor clock (GRXCLK)
  313.         Check < http://www.quakehole.com > for a link to TWEEK.ZIP
  314.  
  315. +Q:  Who contributed to MCLK's development?
  316. +
  317. +    Wonderful companies who offered databooks free of charge, notably
  318. +    Cirrus Logic, S3, and now Matrox.
  319. +    VGADOC, a collectin of information on different VGA chipsets
  320. +    gracious usenet users, who sent me a free Tseng ET-6000 databook,
  321. +    helped out with PCI programming, and answered general questions
  322.  
  323. --------------------------
  324.  
  325. Questions?  Need help?
  326.     liaor@uci.edu
  327.     http://www.oac.uci.edu/~rliao
  328.