MTRRLFBE.EXE v1.1 (freeware)
RayeR's Homepage/Programming
http://rayer.ic.cz/programm/programe.htm



INTRO
=====

MTRR-WC enabler for VESA LFB.
I wrote this small program which allows you to set MTRR mode independently for
VGA (A0000h) area and LFB area (address of LFB is autodetected).
If you will set W-C mode, you may gain performance of your existing programs
which displays through VESA VBE.
On my machine: Celeron Tualatin 1466, Intel BX chipset, SVGA GeForce MX440 I
have got transfer rate (RAM -> VRAM) gain eg. in 800x600/32 LFB mode from 62
MB/s to 315 MB/s.

Intel document [PDF]:
http://download.intel.com/design/PentiumII/applnots/24442201.pdf



COMMAND LINE SWITCHES
=====================

Run MTRRLFBE by itself from any DOS prompt to view its command line switches:

MTRRLFBE

MTRR-WC enabler for VESA LFB 1.1 (C) 2005-2007 by Martin Rehak; rayer@seznam.cz
Compiled by GCC 4.1.0 at 23:43:06, Jan  8 2007

SYNTAX: MTRRLFBE area mode
area: "VGA" or "LFB" (address range to apply mode change) or
      "USER:base_address:size" (base_address is a hexa-number, size is in kB)
mode: "UC" - UnCached, "WP" - Write-Protected, "WT" - Write-Through,
mode: "WB" - Write-Back, "WC" - Write-Combining

Then run desired command(s) only from native/real/true/pure DOS/MS-DOS to
enable individual features.

How to enable LFB WC (Linear Frame Buffer Write Combining):

MTRRLFBE LFB WC

How to enable VGA WC (Banked VGA Write Combining):

MTRRLFBE VGA WC

You can add line(s) above to your AUTOEXEC.BAT file (found in C:\ root).
Edit your AUTOEXEC.BAT using EDIT in DOS or Notepad in Windows.
Backup original file first.

MTRRLFBE does not occupy any memory.



IMPORTANT
=========

MTRRLFBE is NOT COMPATIBLE with Microsoft EMM386.EXE or ANY other 3rd party
upper/expanded/extended memory managers: Quarterdeck QEMM386.SYS, Helix
NetRoom RM386.EXE, Lineo (Caldera) DR-DOS EMM386.EXE, Qualitas 386MAX.SYS etc.
Therefore you MUST use HIMEM.SYS by itself in your CONFIG.SYS [without upper
memory support :(], or BETTER, install UMBPCI.SYS, to provide access to the
Upper Memory Area (UMA) and load ALL your devices/drivers/TSRs "high":
http://www.mdgx.com/umb.htm
