VGA graphics in Windows NT (Visual C++)

Killbat

Diamond Member
Jan 9, 2000
6,641
1
0
I want to do VGA graphics, but the only environment I have is Windows XP, and the development set I have is Visual Studio. Basically, just calling interrupts is out of the question, Windows won't let me do that.
I have a bunch of old DOS programs that use VGA, and they work fine in XP. What's the secret? How can I do low-level VGA graphics in VC++/XP?
 

CaptainGoodnight

Golden Member
Oct 13, 2000
1,427
30
91
Do you want to MAKE VGA graphics calls or just draw on the Console window?

If want the to just draw on the Console window, try this: draw.c

It uses some windows GDI....I am too tried to explain it. (not much to explain) :) Email/IM me if you have questions.
 

EagleKeeper

Discussion Club Moderator<br>Elite Member
Staff member
Oct 30, 2000
42,591
5
0
You will issue a command to go into graphics mode rather than text mode (default).

After that you are using the drawing commands just like you would do in Windows.