>Ramon van Handel wrote:
>
>> Yes it is, but an optimised video driver isn't the real world --- it's a hack
>> made specifically for VMs.  You don't HAVE to make it work like in the real
>> world!  It should be possible to do what you want (if it isn't it needs to
>> be added!), but I wouldn't do it this way for the optimised driver.  What I'd
>> do:
>>
>> (1) let the guest allocate a piece of physical memory
>> (2) let the guest pass the address to the plex86 plugin using I/O ports
>> (3) the plex86 plugin will use the specified chunk of memory for its
>>     framebuffer.
>
>The VM should not waste CPU-ressources on scanning this buffer for
>changes.
>
>There should be an mechanism to tell the host-code which parts of the
>frame-buffer have to be redrawn.

Actually, my idea was to have the guest directly draw to the framebuffer
supplied by the video library, such as SDL.  The person who implements
this should first look at SDL and then translate its API into plex86 plugin
form..

-- Ramon



Reply via email to