which programming language should i learn to program for ms dos

Cawl canallia

Dragon Slayer
Level 2
33%
Joined
Mar 8, 2025
Messages
149
Level up in
101 posts
Reaction score
683
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:
Learn C.

C++ and/or Assembly if you hate yourself.
 
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?
 

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

The dream game by the dream dev team?!

A hypothetical exercise:
What is your dream game? and which dev studio would you ideally have...
Read more

Favorite rpg combat systems

Final Fantasy X
Final Fantasy X-2
Final Fantasy XIII
Grandia
All of the various Mario rpgs...
Read more

What jrpg game mechanic did you wish existed but never found?

I'd like to see a JRPG you can completely beat without turn-based combat. Something like, if you...
Read more

which programming language should i learn to program for ms dos

I'm working on a project involving MS-DOS, but the only engine I've found is Turbo C, which I...
Read more

Small things that feel like total victories

Small doses of dopamine in minimal activities that makes you feel like a champ

  • Showering...
Read more

Online statistics

Members online
151
Guests online
151
Total visitors
302

Forum statistics

Threads
11,495
Messages
280,917
Members
852,172
Latest member
Retrofan91

Advertisers

Back
Top