delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/12/18:29:26

Date: Fri, 12 Mar 1999 17:29:13 -0600 (CST)
From: Peter Johnson <locke AT Mcs DOT Net>
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
cc: djgpp AT delorie DOT com
Subject: Re: djgpp with windows nt
In-Reply-To: <Pine.SUN.3.91.990312100448.29491A-100000@is>
Message-ID: <Pine.BSF.3.95.990312172141.33713A-100000@Venus.mcs.net>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

I ported (using NASM) the Mode-X routines given in Michael Abrash's book
"The Black Book of Graphics Programming".  I did nothing special to get
them to work under NT/DJGPP, other than changing the register sizes in
some cases (if you're interested, I can email you the modified Mode-X
routines).  Here is a somewhat exhaustive list of the output ports I
used:
 03c4h (Sequence Controller)
 03ceh (Graphics Controller)
 03d4h (CRT Controller)
 03c2h (Misc. Output Register)
 03dah (Input Status 1 register)
 03c8h (VGA Color Control)
 03c9h (VGA Color Register)

If you have any questions, post or email.

Peter Johnson
locke AT mcs DOT net

On Fri, 12 Mar 1999, Eli Zaretskii wrote:

> 
> On Thu, 11 Mar 1999, Peter Johnson wrote:
> 
> > Hmm, I have written a DJGPP program that accesses I/O ports with no
> > problems under NT (it runs in Mode X, so it uses them quite
> > extensively).
> 
> Please tell more about this.  Which ports did you access, did you have to 
> do anything special to enable hat access, etc.
> 

- Raw text -


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