Date: Fri, 12 Mar 1999 17:29:13 -0600 (CST) From: Peter Johnson To: Eli Zaretskii cc: djgpp AT delorie DOT com Subject: Re: djgpp with windows nt In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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. >