Ramon van Handel wrote:
> Is BIOS code relocatable like that ?  I'm not sure...

well, (optional) bioses are contained in their own (real-mode) segments
"starting" at offset 0. as long as you stay in the same segment there
shouldn't be any relocation problems.
 
> >note
> >that in this case it's probably "not possible" to let the guest code
> >notify the host about areas to update (so probably only fullscreen
> >updates as far as the guest is concerned). maybe we can solve this
> >later.
> 
> The page dirty bit should give some indication, look into this.

look into this? I don't know where to look :)

what function specified in plex86.h, user/user.h or user/plugin.h can I
use for getting/setting the page dirty bit?
 
> >       - HW Accelleration (ie OpenGL), no idea yet
> 
> Well, my idea on these (not VESA, just our own accellerated drivers) was this:
> 
> (1) Get an overview of the complete SDL API
> (2) Assign each SDL call a number
> (3) Make a packet interface through a port, which simply forwards the calls
>     (using the call number assigned above) to SDL.
> (4) Make a few "special" plex86 calls for initialisation (like mapping the
>     framebuffer into the guest, this still needs to be implemented).
> 
> Now, the guest can "directly" invoke SDL in the host, including all the HW
> accelleration stuff.  You can the proceed to implement directx drivers and the
> like on top of SDL.

As far as I know, SDL doesn't provide hw accelerated functions itself,
it provides the possibility to use OpenGL in combination with SDL, so
you would also need to provide OpenGL calls.

btw.. what happens when the guest (display driver) crashes during gfx
output? this could affect host stability, right? would it be "wise" to
allow guest code to invoke SDL in this way?

> >looking at the display framebuffer again, do we have a "nice" way to
> >provide "video memory" to the guest? (it would be nice if I could
> 
> Not yet, I'm still looking into this (it's more complicated than I thought,
> and I have very little spare time at the moment.  Should improve in a few
> weeks...).

ok, is there any good "workaround" for the moment?
-- 
        Best regards,
                
                Jeroen Janssen

+++
"Oh, a very useful philosophical animal, your average tortoise.
Outrunning
metaphorical arrows, beating hares in races... very handy."
        -- (Terry Pratchett, Small Gods)
+++


Reply via email to