Mail Archives: djgpp/2002/12/13/19:31:31
>I have an existing DJGPP app that displays images, plots, etc. by doing
>direct writes to video memory. The graphics in this app won't work
>under NT or 2000, for well-known reasons. I would like to get this
>program to work under NT/2000 by redirecting the graphics writing to a
>malloc'ed region (which I can do easily), then calling a Windows
>function to copy the image to a window. Thus, I'd have two windows
>open; a text window just as before, and a graphics window.
>
>Is this feasible to do? I have looked at 3.6 of the FAQ, but am still
>uncertain how to proceed. I don't want a Windows-hosted compiler (the
>DJGPP tools suit me just fine :-), nor do I need to create full-blown
>Windows apps.
If you change your app to use Allegro then it will work for some
graphics modes under 2K and XP. It does not allow you to access some
of the Vesa 3 or linear modes from the testing I did about 6 months
ago,
Once you convert the app to Allegeo then you can use the same source
if it does not use any other specific OS calls to Linux, Windows, QNX,
BeOS and possibly some more.
I would suggest that you download Allegro 4.1.6 (make that 4.1.7 now)
from the allegro site:-
http://alleg.sourceforge.net/
- Raw text -