[Vesautils-devel] x86emu/lrmi integration

Matthew Garrett mjg59 at srcf.ucam.org
Thu Aug 18 02:17:58 CEST 2005


Hi,

One of the problems with lrmi is that it's x86 only. This is a bit of a
problem when it comes to dealing with getting laptop video back on x86
hardware (for instance). So last month I(*) started working on a layer
that provided the lrmi API using x86emu. On x86 hardware, programs can
carry on using vm86 mode. Elsewhere, they can use x86emu.

http://www.srcf.ucam.org/~mjg59/tmp/vbetool-0.4-bambam.tar.bz2 contains 
a mostly working "thunk" layer that translates lrmi calls to x86emu 
ones. It doesn't quite work, though - occasionally different code paths 
get executed between the x86emu and lrmi cases. We haven't managed to 
figure out why, yet. If someone's interested in having a hack at it, 
please feel free.

* With the assistence of the wonderful Jonathan McDowell, who pointed 
out all sorts of stupidities
-- 
Matthew Garrett | mjg59 at srcf.ucam.org




More information about the Vesautils-devel mailing list