Mail Archives: djgpp/2003/02/01/12:15:08.1
> > From: "deckerben" <deckerben AT freenet DOT de>
> > At the heart of libXemu is the GRX (v1!) graphics engine. All calls to this
> > libary are, naturally in GRX 1 style and apparently very different from v2.
>
> DJGPP v1.x had special hooks in its DOS extender (go32.exe) for GRX's
> sake. With DJGPP v2.x, the DOS extender is gone, so the functionality
> that relied on those hooks needs to be reimplemented in some other
> way.
The only two things I am aware of were the linear graphics buffer at a fixed
address and the event library support. The event library can be done in
V2.x - and the linear buffer can be handled with near pointers if the
video card supports a linear buffer.
I hacked some GRX 1.x code to work under 2.x about 8 years ago. It wouldn't
work on all systems, but it would work on many. I'm not sure if it would
be worth the effort compared to swapping to the new library, however.
I've actually provided a test version of CWSDPMI which allows you to
do the page fault emulated LFB to a user; you can also set up the LFB
as GRX 1.x expected with a simple page table manipulation. But this is
a DOS only solution.
- Raw text -