I need some information in order to work on the host <-> guest video
driver protocol (correct me if I'm wrong, since I don't know what & how
things are currently implemented in plex86).
I want to start with something "simple" because I also need to familiar
myself with the plex86 internals so I'm thinking about implementing a
linear framebuffer & modifying a simple kernel example to test things.
guest:
- linear frame buffer (ie ARGB8888) at a specific (maybe dynamic)
starting location
- some way to perform host API calls for
* selection of resolution
* updating the frame buffer when the guest is finished writing some
pixels
host:
- detecting API calls
- reading linear frame buffer from guest & put them onscreen
so my questions are
what functions allows me to:
* "reserve" some memory in the guest that I can use as frame buffer
* transfer memory from the guest to host
* register some API functions in the guest that are "callbacked" to
host?
--
Best regards,
Jeroen Janssen
+++
"I saw a film where there was an alien crawling around inside a
spaceship's
air ducts and it could come out wherever it liked," said Johnny
reproachfully.
"Doubtless it had a map," said the Captain.
-- (Terry Pratchett, Only You Can Save Mankind)
+++