Mail Archives: djgpp/1999/03/12/18:29:26
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 -