I have been developing a simple RTS game using C++ in Linux. By the DJGPP, I can also cross-compile the game to DOS build. In Linux, once the game starts, it only uses about 25MB of RAM though many game objects such as game units are created. But when it runs in DOSbox, it is very slow at the beginning and getting slower while the number of created game units is increased. Of course, DOS is old, but I think 25 MB is enough to run the game there.
Could you let me know what's wrong with me?
So my questions are following;
- The game uses about 25MB of RAM in Linux, so does it have to use such an amount in DOS, too?
- Is there a boundary value that limits the usage of RAM in DOS?