flat assembler
Message board for the users of flat assembler.
Index
> MenuetOS > Desktop redrawing |
Author |
|
djca 18 Jul 2004, 16:17
up
|
|||
18 Jul 2004, 16:17 |
|
Sniper 18 Jul 2004, 16:32
Did you activate MTRR graphics acceleration?
|
|||
18 Jul 2004, 16:32 |
|
Gomer73 18 Jul 2004, 17:21
What exactly is MTTR anyways?
|
|||
18 Jul 2004, 17:21 |
|
mike.dld 18 Jul 2004, 18:20
It's because original ICON application uses 1st function (put pixel) to draw window and pixels are calculated in time between two pixel puts:
1. calculate pixel color 2. put pixel (function 1) 3. goto 1 You can try my version if ICON (http://meosfiles.narod.ru/index_eng.htm) which draws to buffer and then uses 7th function (put image), and supports 32x32 32-bit .ICO files also BTW |
|||
18 Jul 2004, 18:20 |
|
f0dder 18 Jul 2004, 18:36
Iirc MTRR is an abbreviation for "Memory Type Range Registers". There's a few of these, programmed with MSRs (Model Specific Registers, see RDMSR/WRMSR).
The MTRR's can control things like cachability, write-combining, and such. It's probably documented in the intel docs, probably the Systems Programming ones, if not it should be on sandpile.org . |
|||
18 Jul 2004, 18:36 |
|
bloglite 18 Jul 2004, 20:10
[quote="Gomer73"]What exactly is MTTR anyways?[/quote]
A bit on MTTR. On Intel P6 family processors (Pentium Pro, Pentium II and later) the Memory Type Range Registers (MTRRs) may be used to control processor access to memory ranges. This is most useful when you have a video (VGA) card on a PCI or AGP bus. Enabling write-combining allows bus write transfers to be combined into a larger transfer before bursting over the PCI/AGP bus. This can increase performance of image write operations 2.5 times or more. The Cyrix 6x86, 6x86MX and M II processors have Address Range Registers (ARRs) which provide a similar functionality to MTRRs. For these, the ARRs are used to emulate the MTRRs. The AMD K6-2 (stepping 8 and above) and K6-3 processors have two MTRRs. These are supported. The AMD Athlon family provide 8 Intel style MTRRs. The Centaur C6 (WinChip) has 8 MCRs, allowing write-combining. The VIA Cyrix III and VIA C3 CPUs offer 8 Intel style MTRRs. L8r |
|||
18 Jul 2004, 20:10 |
|
fasm9 18 Jul 2004, 21:55
benchmark with or without mtrr?
BTW, it will be good IF menuetos is more faster regardless of MTRR. |
|||
18 Jul 2004, 21:55 |
|
Mike Hibbett 22 Jul 2004, 13:15
Mike, I tried your icon app; I couldn't get it to work with .ico files. Can you explain how to do this?
Thanks, Mike. |
|||
22 Jul 2004, 13:15 |
|
profkid13 22 Jul 2004, 17:04
Quote: Mike, I tried your icon app; I couldn't get it to work with .ico files. Can you explain how to do this? Just replace the original icon by his one, to use ico files (only 32x32xtrue color) just use the extension .ico in your icon manager it doesnt works (yet) with ico files that contain more than one resolution |
|||
22 Jul 2004, 17:04 |
|
mike.dld 22 Jul 2004, 19:23
Well, .ico file must contain only one icon 32x32, 32-bit, it means, transparency works. File size - 4286 bytes.
|
|||
22 Jul 2004, 19:23 |
|
Mike Hibbett 22 Jul 2004, 21:37
I created some 32 colour icons, and got it to work :o)
Thanks, Mike |
|||
22 Jul 2004, 21:37 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.