On Mon, Dec 18, 2000 at 02:31:30PM +0100, Ramon van Handel wrote:

> >Well, can't we simply use the MMU to mark pages where MMIO can happen
> >and then use the page fault to process them ? This way, we don't
> >need to care about checking addresses. We only check them when a
> >fault happens.
> 
> Sure, that's the way it works now.  It's slow though.  I want to speed it
> up (but there are several tricks to do that.)

Well, in that case: How about using something which Virus checkers do:

- Search for specific pieces of code
- Look them up in a translation library
- Run the translated code

The idea is basically "check if this is the WinNT VGA driver and
then replace it with native code". Don't all versions of DOS use
BIOS calls to print something on the screen ? Couldn't we just
intercept this and run an optimized version ?

-- 
==============================================
Sowatec AG,       CH-8330 Pf�ffikon (ZH)
Witzbergstr. 7,   http://www.sowatec.com
Tel: +41-(0)1-952 55 55
Fax: +41-(0)1-952 55 66
----------------------------------------------
Aaron "Optimizer" Digulla, [EMAIL PROTECTED]
==============================================

Reply via email to