home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / set6x86.zip / 6x86.cmd < prev    next >
OS/2 REXX Batch file  |  1998-01-03  |  2KB  |  50 lines

  1. REM This command file will enable the various performance and power-saving
  2. REM features of your Cyrix CPU.  Once you have tested the settings on your
  3. REM system, simply call this file from your STARTUP.CMD file located at
  4. REM the root of your OS/2 system drive (create one if it isn't there) and
  5. REM the registers will be set automatically on system startup.
  6.  
  7. echo Cyrix 6x86: Suspend-on-Halt,
  8. set6x86 -r 0xC2 -s 0x08
  9.  
  10. REM Enable protection against the Cyrix Coma bug
  11. echo NO_LOCK,
  12. set6x86 -r 0xC1 -s 0x10
  13.  
  14. echo -n "Fast ADS, "
  15. set6x86 -r 0xC2 -c 0x02
  16.  
  17. REM MAPEN (access to CCR4/5 enabled -- needed for settings below)
  18. set6x86 -r 0xC3 -s 0x10
  19.  
  20. echo -n "Fast IORT, "
  21. set6x86 -r 0xE8 -s 0x07
  22.  
  23. echo -n "Enable DTE, "
  24. set6x86 -r 0xE8 -s 0x10
  25.  
  26. echo -n "Fast LOOP, "
  27. set6x86 -r 0xE9 -c 0x02
  28.  
  29. REM This enables some performance features for the linear memory mapped
  30. REM VGA memory buffer, assuming it's on address 0xE0000000.
  31. REM
  32. REM On the original author's Linux system, memory bandwidth goes from 
  33. REM 44 MB/sec to 78 MB/sec.  DIVE performance under OS/2 gets a nice
  34. REM boost from this if your video card can handle it.  My S3 765 couldn't
  35. REM but my Matrox Millennium can.
  36. REM
  37. REM It is disabled here, because this is very system-dependent.
  38. REM
  39. REM echo -n "Fast Lin. VidMem."
  40. REM set6x86 -r 0xD6 -d 0xE0
  41. REM set6x86 -r 0xD7 -d 0x00
  42. REM set6x86 -r 0xD8 -d 0x0A
  43. REM set6x86 -r 0xE2 -d 0x09
  44.  
  45.  
  46. REM MAPEN (disable access to CCR4/5)
  47. set6x86 -r 0xC3 -c 0x10
  48.  
  49. echo
  50.