Not logged in, Join Here! or Log In Below:  
News Articles Search    

 Home / General Programming / Simple Drawing in DOS app with C Account Manager
Archive Notice: This thread is old and no longer active. It is here for reference purposes. This thread was created on an older version of the flipcode forums, before the site closed in 2005. Please keep that in mind as you view this thread, as many of the topics and opinions may be outdated.

April 09, 2005, 06:43 AM


What do I need if I just want to draw some lines etc in a DOS program? (not windows)
If I program it in C what library will I need? I don't need anything fancy.



April 09, 2005, 07:31 AM

Hiyah, the totally simplest way I know of is using screen Mode 13, it's really simple, just 64K of none paged video RAM, and you just need a few lines of code to get started.

I even have the source to an old 2d engine lying around somewhere if you want a look...


April 09, 2005, 07:34 AM

This one looks ok to me:

The classic are Denthors tut's (which are in pascal), they can be found here for example:'s%20Asphyxia%20Tutorials


April 10, 2005, 08:41 AM

Great, Thanks, that was a super fast set of replies! I just got DJGPP working so I can try this stuff out now! I'm making a program that does a 3d rotation of a spitfire so I'll post a link when its finished.


April 10, 2005, 05:18 PM

You also had Allegro, you have everything for 2d, and some 3d software rendering stuffs. It works with DOS/DJGPP, easy to understand and use.

Jari Komppa

April 10, 2005, 11:15 PM

And if you want to move to windows (linux, mac, whatever), there are free tools available that you can use. See my tutorial at - the tutorial is based on pixel-level graphics; no d3d or opengl.

This thread contains 6 messages.
Hosting by Solid Eight Studios, maker of PhotoTangler Collage Maker.