Original script Written by Mr.F355 on 1998/11/15
English Translation by Sandy on 2002/09/13

-------------------------------------------------------------------------------------------------
1998/11/15

Contents of this file 
readme.txt:  This file
5x86reg.xls: Easy Calculation file for Register setting.


5x86reg.xls is a simple program for caliculating HEX vallues for register parameters of
ET586.EXE by Evergreen which activates registers specially defined in Cyrix 5x86 CPU and
control it's cache function and other usefull functions.

Each cells( items ?) in excel sheet of which functions are unable to define or are not
recomended to activate are locked and greyed out so that user can not change them.

This program requires Microsoft Excel Ver 5.0 and higher.
In order to use this program properly, please check "analyzing tool" is activated in
TOOL>ADD-IN> window of your Excel program. 

In the register explanation sheet, each cells of each Register lines indicate what kind of
function is assigned to the corresponding bit number up on the collum.

How to use
 Set "1" for each functuion you want to activate, put "0" if you don't want to activate.
 You'll get HEX vallue automatically in "HX" collum of the concerning register line. 
 For instance, if you get "80" in HEX colum of PCPR0 then you have to indicate the vallue
 /PCPR0=80 as a switch.   



[Example 1]
 Stock condition of Reply PowerBoard( M.70 ) without cache driver.

Register/Index  7       6       5       4       3       2       1       0       HEX
[PCR0]          1       0       0       0       0       0       0       0       80
[CCR1]          0       0       0       0       0       0       0       0       00
[CCR2]          0       0       0       1       0       1       1       0       16
[CCR3]          0       0       0       1       0       0       0       0       10
[CCR4]          0       0       0       1       1       0       0       1       19
[SMAR0]         0       0       0       0       0       0       0       0       00
[SMAR1]         0       0       0       0       0       0       0       0       00
[SMAR2]         0       0       0       0       0       0       0       0       00
[PMR]           0       0       0       0       0       0       1       1       03
[DIR0]          0       0       1       0       1       1       0       1       2D
[DIR1]          0       0       0       1       0       0       1       1       13

  It equals to the syntax like below.
 
  INSTALL=C:\ETI\ET586.EXE /PCR0=80 /CCR1=16 /CCR3=10 /CCR4=19 /PMR=3 /WBE

   ** now I'm using JP keyboard. so please covert "\" to back slash if you can't
   ** read properly.
  
   /WBE means Write back cache enable, ( if you want disable it change to /WBD )
 
 Before you try to change switches, I recomend you to verify defaul condition 
 of your system with Cyrix CPU and interposer installed.
 
 After you installed ET586.exe on your system, I advise you to see your system
 condition in followin steps. 

 1). Boot your system. Right after you get "starting MS-DOS" on your screen, press
     F5 to bypass your config.sys and autoexec.bat.

 2). Change dir to where you installed Evergreen programs. Change dir where you 
     installed Evergreen program.  Run et586.exe with /S switch.

      ET586.EXE /S 

 3). You will get register setting of your system like example 1 aboe.

 4). Take note HEX valeues for eache registers.

 5). Reboot your system, run Windows and open 5x86REG.EXL.
     Obtain desired HEX vallues for registers using 5x86reg.exl.
  
 6). You no need to define registers which is same with system default you have
     in step 3/4. 

 7). You may have following line at the top of your config.sys if you installed
     ET586.EXE with default instalation.

    INSTALL=C:\ETI\ET586.EXE /CCR4=1D 

    It means installer changed vallue in CCR4 from system default( I meam vallues 
    defined by your hardware; planar and interposer ) "19" to "1D".
    The rest of the register are remain unchanged.
  
 8) If you want to change setting, you need to change or add register vallue you
    want. For example if you want to change PCR0 to 2 and CCR2 to 22 then the top
    line of your config.sys should be changed as follows.

    INSTALL=C:\ETI\ET586.EXE /PCR0=2 /CCR2=22 /CCR4=1D /PMR=3 /WBE

    ** you may not inclue /PMR=2 and  /WBE **
 
 Following example is the one with which I've experienced good performance result on my 
 M.70 PowerBoard with bench mark programs such as DOS Dhrystones in ETDIAG.EXE by Evergreen 
 and HDBENCH; Japanese bench mark program for Windows 9x and NT ).

[Example 2  Best setting for M.70 PowerBoard ]
 I got a god result with following setteing.

Register/Index  7       6       5       4       3       2       1       0       HEX
[PCR0]          0       0       0       0       0       0       1       0       02
[CCR1]          0       0       0       0       0       0       0       0       00
[CCR2]          0       0       0       1       0       1       1       0       16
[CCR3]          0       0       0       0       0       0       0       0       00
[CCR4]          0       0       1       1       1       0       0       1       39
[SMAR0]         0       0       0       0       0       0       0       0       00
[SMAR1]         0       0       0       0       0       0       0       0       00
[SMAR2]         0       0       0       0       0       0       0       0       00
[PMR]           0       0       0       0       0       0       1       1       03
[DIR0]          0       0       1       0       1       1       0       1       2D
[DIR1]          0       0       0       1       0       0       1       1       13

  In above case, following line should be included in config.sys
 
   INSTALL=C:\ETI\ET586.EXE /PCR0=2 /CCR3=0 /CCR4=39 /PMR=3 /WBE 


Additional information
 et586.exe is not a TSR program which permanently reside in system memory.
 Some of cache programs are TSR type and these kind of cache drivers will be a cause of 
 MS-DOS compatibility mode under Windows 95.
 In case you use such kind of TSR program you may solve the problem in following procedure.
   1)  Open  ios.ini under windows dir.
   2)  Add the drive name under [SafeList] section, then save it. 
   
 If you set WB function enabled and your system frequently hungs with "Illegal Transaction" 
 or "General Protection Error",  following procedure may help.
 
   1) copy WB16OFF.EXE under Win95 Dir in your Win95 CD to Windows Dir in your boot drive.
   2) Add  "C:\WINDOWS\WB16OFF.EXE" at the last line in your autoexec.bat.
   3) Reboot your system.
 

This text and REG5x86_E.EXL are written refering the data sheet of ST5x86, a compatible
CPU with Cyrix 5x86, which was producted by SGS-THOMSON MICROELECTORONICS.  
 
By F355
1998/11/15

-----------------------------------------------------------------------------------------------