ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/12/06/15:03:28

Date: Wed, 06 Dec 95 13:14:39 EST
From: "William Parsons Newhall, Jr." <NEWHALL AT american DOT edu>
Organization: The American University
Subject: Best way to access Vesa linear FB and mouse int handling?
To: DJGPP AT sun DOT soe DOT clarkson DOT edu

I've been using DJGPP(first 1.0, now 2.0) to develop a suite of graphics
applications that unfortunately do not run very fast.  I've determined
that the problem is that it takes too many operations for my software to
plot a pixel(I'm using farpoke, the DOS frame buffer window at A000:0000,
and my own window paging) and it would run considerably faster if my
mouse user interface was interrupt driven instead of just polling.  In the
FAQ they give a method for wrapping a protected mode function with a real
mode callback function as a solution for driving the mouse---does this
also apply for DJGPP 2.0? If so does someone have a code example I can look
at?  Also, does anyone have a method for setting up a segment selector
which points to a contiguous video memory buffer so I can unload all the
expensive paging operations that go on every time I plot a pixel?

Any tips or help appreciated!

\/\/illiam |\|ewhall

- Raw text -


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