Date: Wed, 17 Jan 1996 14:25:39 +0200 (IST) From: Eli Zaretskii To: "Kerry S. Hill" Cc: djgpp AT delorie DOT com Subject: Re: Need help building graphics engine On 17 Jan 1996, Kerry S. Hill wrote: > I am in the process of building a game engine but can't figure > out how to access the VGA card directly since DJGPP runs in protected > mode. How do I do this? I would like to skip using function calls if > possible, do I need assembly to do this? Some preliminary info is in the DJGPP FAQ list (faq102.zip from the same place you get DJGPP), chapters 10 and 18. You might also look at the following packages: Game programming: - Try the Jlib gaming/graphics library, at ftp://x2ftp.oulu.fi/pub/msdos/programming/djgpp2/jlib_NNN.zip written by J P Griffiths . VGA Mode-X graphics: - Paul Fenwick wrote an X-Mode package Xlib, at ftp://ftp.delorie.com/pub/djgpp/contrib/xlib_dj2.zip or Xlib at OULU, at ftp://x2ftp.oulu.fi/pub/msdos/programming/djgpp2/xlib_dj2.zip Latest DJGPP v2.0 beta releases support direct access to the VGA, look in the libc docs, under _enable_nearptr (sp?).