www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/01/17/07:41:31

Date: Wed, 17 Jan 1996 14:25:39 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "Kerry S. Hill" <kshill AT cs DOT buffalo DOT edu>
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 <jpg AT cs DOT waikato DOT ac DOT nz> .

VGA Mode-X graphics:

             - Paul Fenwick <bg914 AT FreeNet DOT Carleton DOT CA>  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?).

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019