Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

dos graphics in MVC C++ 6.0

This topic is 5856 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi, im trying to figure out how to use dos graphics in c++, unfortuantly my computer science teacher doesnt know so im posting here. Im looking for graphics similar to the basic ones in well BASIC like circle, line etc.Any Help?

Share this post


Link to post
Share on other sites
Advertisement
goto google:

search for: DOS Graphics Library

tons of links there

-me

[edited by - Palidine on May 1, 2002 8:12:40 PM]

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
If you''re talking about graphics as in lighting up one pixel at a time, you have to use software interrupts to call BIOS and MSDOS functions - which does get tricky if you''re not familiar with assembly and how interrupts work.

Share this post


Link to post
Share on other sites
i''m pretty sure he means things like drawCircle(center_x, center_y, radius). or line(begin_x, begin_y, end_x, end_y).

i did some stuff with that back in high school. the teacher provided us with a DOS graphics API. that''s way to long ago for me to remember so i''d follow that google trail.

-me

Share this post


Link to post
Share on other sites
And that stuff won''t work in VC6 anyway. If you want to do graphics, you''ll need to use GDI, DirectX, or a wrapper lib such as Allegro, SDL, or ClanLib.

Share this post


Link to post
Share on other sites
quote:
Original post by Martee
And that stuff won''t work in VC6 anyway. If you want to do graphics, you''ll need to use GDI, DirectX, or a wrapper lib such as Allegro, SDL, or ClanLib.


Actually, I''m pretty sure it WOULD work on VC6, provided that you set it up correctly! Remember, VC6 still can do DOS apps.

To the original poster, this link will provide you with everything you need to get started doing VGA graphics in 13h (320x240x256).

http://www.brackeen.com/home/vga/index.html

"I am governed by none other than the Laws of the Universe."

Share this post


Link to post
Share on other sites
quote:
Original post by i8degrees
[quote]Original post by Martee
Remember, VC6 still can do DOS apps.


Not true. VC++6 can only do 32 bit Windows applications.



Share this post


Link to post
Share on other sites
quote:
Original post by Arild Fines
Not true. VC++6 can only do 32 bit Windows applications.



I think he''s mixing up DOS and console apps (which VC++ 6 can definately do).

Mike

Share this post


Link to post
Share on other sites
Hmm, guess I will actually have to install VC6++ and see myself, I always thought that you could...

"I am governed by none other than the Laws of the Universe."

Share this post


Link to post
Share on other sites
use SDL (they have a MSVC makefile, and i have written a very basic primitives library.. see the post on this board about gfx utilities

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!