Mail Archives: djgpp/1994/03/11/13:59:02
Forgive me if this is a repeat; I *think* I sent my first attempt to
the wrong email address for the mailing list. I apologize if you
got more than one copy of this question.
I'm trying to do color, character-based screen drawing under go32.
The <pc.h> header file and the /docs/djgpp/libpc.doc help file are
pretty sketchy documentation, unfortunately, and I can't quite figure
out what's going on.
For one thing, I get an exception whenever I try to write into the
ScreenPrimary[] array directly, even though the libpc.a documentation
implies that this is perfectly legal. Should I not be trying to do this?
Furthermore, if I try to use ScreenPutChar(), I don't actually get any
characters drawn on the screen. I *suspect* I'm using a bad value for
the 'attribute' parameter - how do I tell it to draw the character in
a given color?
On a different topic - I'm brand-new to djgpp, and I'm impressed. The
gcc compiler seems surprisingly fast (I'm using C++, too!), and being
able to ignore the usual DOS memory snarl is a dream come true!
Replies by email, please; if people express interest, I'll summarize
to the mailing list.
-- Chris Tate
fixer AT faxcsl DOT dcrt DOT nih DOT gov
- Raw text -