which programming language should i learn to program for ms dos

Cawl canallia

Demi-God
Level 2
59%
Joined
Mar 8, 2025
Messages
188
Level up in
62 posts
Reaction score
971
Points
1,227
Location
The Matrix
I'm working on a project involving MS-DOS, but the only engine I've found is Turbo C, which I can't even run sample code from the creators themselves. I'd like to find a 3D or 2D engine that I can use in a programming language that doesn't require me to search for a tutorial from 2007
 
I would guess C or C++ would be your best bet since that's what a lot of DOS programs were coded in back then. Check out Open Watcom (which still has active support) for your IDE. I don't really know much regarding engines though.
 
Then you would need the DJGPP compiler to work on a modern OS for modern hardware to even do whatever you want. My common knowledge is "use Allegro for 2D and use Mesa for 3D". Overall C and C++ are your friends for game development.
 
Hmm, I can't recall any famous DOS engines from back in the day other than Doom engine, Quake engine and BUILD, all of which are open source these days but probably not quite what you're looking for.

I found some funky things though: here and here
 
  • Learn C if you want to make real DOS programs or games.
  • Use Assembly if you want tiny, fast, low-level control.
  • Try Turbo Pascal if you want something simple and fun.
  • Use DOSBox to test your stuff.
    Or you can go ahead and use C++
 
Last edited:
Then you would need the DJGPP compiler to work on a modern OS for modern hardware to even do whatever you want. My common knowledge is "use Allegro for 2D and use Mesa for 3D". Overall C and C++ are your friends for game development.
where should i download?
 
where should i download?
Well overall starter links:



You may bump into links that end up in 404 so you need "Wayback Machine" for it. For example: https://web.archive.org/web/20020616072142/http://www.grandgent.com/gfoot/vivace/

So if you find some inaccessible useful link search that link on this to try to access snapshots of the page: https://web.archive.org/



And google "DJGPP dos game development" or something to find tutorials and stuff.

You wanna develop a DOS game but it would be realistic to find old hardware and stuff to develop them on but you can use "modern" ways to develop a DOS game on modern stuff which is what your primary goal should be. That's where DJGPP comes in.

Test the game on this: https://www.dosbox.com/download.php?main=1

Good luck, soldier. <o lol
 
Beware: There have been no replies in this thread for 90 days.
Keep that in mind when expecting a reply from the people on it,
You can also start a new thread instead. This is just a heads-up, bumping is allowed in this forum.

Users who are viewing this thread

Connect with us

Support this Site

RGT relies on you to stay afloat. Help covering the site costs and get some pretty Level 7 perks too.

Featured Video

Latest Threads

figuring out source code from fan games

I found a fan game from 2017 programmed with ruby and decided to mess with the code -
I managed...
Read more

My Christmas message to everyone.

Well, I wish everyone a Merry Christmas and a Happy New Year!Thank you for being my first...
Read more

About (very) long term preservation.

I was thinking yesterday: when we're considering preservation (video game and any other...
Read more

Genso Suikoden (Sega Saturn)

Hello Everyone!

The Sega Saturn version of Genso Suikoden is getting an English translation...
Read more

Happy holidays/end of year message for you who arrived here.

I wouldn't know where to post this, nor do I know who this post would be interesting for...
Read more

Online statistics

Members online
69
Guests online
665
Total visitors
734

Forum statistics

Threads
15,671
Messages
378,999
Members
896,999
Latest member
Garbhan6

Today's birthdays

Advertisers

Back
Top