Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

MTRRLFBE 1.5 (Announce)

posted by Zyzzle(R), 14.11.2018, 01:58

> You're welcome. 10GB/s is really impressive''probably due to shared
> RAM/VRAM. The older programs doesn't have a bug but its due to how BIOS
> initialize the MTRRs where it doesn't take care about LFB. Until 4GB of RAM
> was common the problem did't appeared.
> Just for curiosity, please send me/paste here the MTRRLFB debug log (/d)
> when it's run 1st time

This is the debug screen after typing mtrrlfbe lfb UC at the console:

VESA 3.0 Intel(R) HSW Mobile/Desktop Graphics Chipset Accelerated VGA BIOS [32704 kB]
N/A
N/A
N/A
LFB address: B0000000h
MTRR #0: base = 000000000h ( 0MB), mask = F80000000h ( 2048MB), WB, used
MTRR #1: base = 09D000000h ( 2512MB), mask = FFF000000h ( 16MB), UC, used
MTRR #2: base = 09E000000h ( 2528MB), mask = FFE000000h ( 32MB), UC, used
MTRR #3: base = 0B0000000h ( 2816MB), mask = FFF000000h ( 16MB), UC, used
Disabling MTRR #3 because it's overlapping with desired WC area
MTRR #4: base = 0C0000000h ( 3072MB), mask = FC0000000h ( 1024MB), UC, used
MTRR #5: base = 080000000h ( 2048MB), mask = FE0000000h ( 512MB), WB, used
MTRR #6: base = 0A0000000h ( 2560MB), mask = FF0000000h ( 256MB), WB, used
MTRR #7: base = 000000000h ( 0MB), mask = 000000000h ( 0MB), UC, unused
MTRR #8: base = 000000000h ( 0MB), mask = 000000000h ( 0MB), UC, unused
MTRR #9: base = 000000000h ( 0MB), mask = 000000000h ( 0MB), UC, unused
Setting MTRR #3 to desired area...
MTRR area B0000000-B0FFFFFFh was set to mode: WC

And again, after running 2nd time, MTRRLFBE lfb WC


MTRR-WC enabler for VESA LFB 1.5 (C) 2005-2018 by Martin Rehak; rayer@seznam.cz
Compiled by GCC 4.8.5 at 03:50:18, Nov 11 2018
Host machine CPU vendor: GenuineIntel, ID: 306D4h

VESA 3.0 Intel(R) HSW Mobile/Desktop Graphics Chipset Accelerated VGA BIOS [32704 kB]
N/A
N/A
N/A
LFB address: B0000000h
MTRR #0: base = 000000000h ( 0MB), mask = F80000000h ( 2048MB), WB, used
MTRR #1: base = 09D000000h ( 2512MB), mask = FFF000000h ( 16MB), UC, used
MTRR #2: base = 09E000000h ( 2528MB), mask = FFE000000h ( 32MB), UC, used
MTRR #3: base = 0B0000000h ( 2816MB), mask = FFF000000h ( 16MB), WC, used
MTRR #4: base = 0C0000000h ( 3072MB), mask = FC0000000h ( 1024MB), UC, used
MTRR #5: base = 080000000h ( 2048MB), mask = FE0000000h ( 512MB), WB, used
MTRR #6: base = 0A0000000h ( 2560MB), mask = FF0000000h ( 256MB), WB, used
MTRR #7: base = 000000000h ( 0MB), mask = 000000000h ( 0MB), UC, unused
MTRR #8: base = 000000000h ( 0MB), mask = 000000000h ( 0MB), UC, unused
MTRR #9: base = 000000000h ( 0MB), mask = 000000000h ( 0MB), UC, unused
Setting MTRR #3 to desired area...
MTRR area B0000000-B0FFFFFFh was set to mode: WC

This laptop has a total of only 8 GB RAM -- Lenovo G50. I always suspected BIOS is extremely poor and does not set LFB correctly. Also it takes away many features and is very crippled, in for example not giving full access to 640k conventional DOS memory, but reports only a max of 608k, from which all DOS TSRs, LFBs, HMA, etc is allocated, so over 32 kb of low memory is "lost" to unknown reasons and "taken off the top" by some buggy code in BIOS before DOS even has a chance to load.

 

Complete thread:

Back to the forum
Board view  Mix view
15673 Postings in 1427 Threads, 259 registered users, 7 users online (0 registered, 7 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum