***************************************************************************
AMD K6, K6-2, K6-2 CXT - Utility SetK6, c't, Andreas Stiller -- November 98
***************************************************************************

Included in this .zip file --
-----------------------------
SetK6.exe	32-Bit-Version for Win95/98 and NT
SetK6D.exe	DOS-Version
Direct95.VXD	Drivers for Win95/98
DirectNT.SYS	Drivers for NT
SetK6.txt	German Readme file
SetK6-Eng.txt	English Readme file

Overview
--------
SetK6 controls and sets the internal processor registers for Write Allocation (K6-2)
and Write Combining (only K6-2 CXT).  If the processor's BIOS is not aware and
does not correctly initialize,  the processor runs on average about five percent
more slowly than optimum.

Usage
-----
One should call SETK6 under Windows from the MSDOS Shell as a console application,
if one wants to set parameters. SETK6 can be included in autoexec.bat (DOS) or the
Windows Startup Folder (Win95/98/NT), so its executes automatically at Startup.

***************************************************************************
Setting Write Allocation on K6-2 and K6-2 CXT
***************************************************************************

Options
-------
SetK6		Setk6D without parameters outputs the current status. 
Setk6 /on	activate Write Allocation for all memory under Windows.
Setk6 /off	deactivate Write Allocation 
Setk6 /on xxM	activate the memory to xx MByte or briefly:
Setk6 xxM	with xx: in decimal with attached M, thus e.g.. set 64M

NOTE : In DOS the memory amount must be indicated! 


*********************************************************************************************
Setting Write Combining on K6-2 CXT
*********************************************************************************************

The CXT processor supports so-called Write Combining for uncached MEMORY.
Concerning this can be managed in particular faster accesses on the Linear Frame Buffer
(LFB) of the diagram card (similar to the Pentium II). for this purpose offers the K6-2 CXT
two Memory Type Range Register (MTRR), which one can adjust to the physical address position
and the size of the LFBs. setk6 gets the address position from the PCI header, however 
several resources can be entered here.

Options
------- 
setk6 /M0:LFB,xxM MTRR0			sets on the first found entry in the header with xxM as size of
					(default 64M) on attribute WC (Write Combining) 
setk6 /M0:LFB2,xxM MTRR0		sets on the second found entry 
setk6 /M1:LFB,xxM			accordingly for MTRR1 One can explicitly indicate an attribute, 
					e.g. setk6 / M0:LFB, 16m, wc or...,uc(UnCached) ne(No Effect)
setk6 / M0:E0000000 or / M0:3584M	In case the entries in the PCI header do not correspond to the
				 	actual Framebuffer,one can instead input the adress. Note that
					the 'M' suffix denotes a decimal number. No 'M' defaults to Hex.

setk6 / M:LFB:			 Without specification of the MTRR number setk6 takes the next free MTRR thus: 
 				first free MTRR set on LFB in accordance with PCI headers with a default
				setting of 64M setk6 also outputs the comparison with/without Write Allocation
				 the filling rate (Memset) for 32 KByte a large memory area into the memory. 



 -----------------------------
| SETK6 Utility was	      |
| Written by Andreas Stiller  | 
 -----------------------------