Now I'm developing a DOS game. I'm using Allegro4.4 as a game library, and DJGPP as a compiler.
I'm working on Ubuntu 20.04.
The game runs well on Linux, but when I run it on Dosbox in Windows 10, it freezes or exits unexpectedly.
Anyone can help me? I'm so confused about this and wondering if I have to go on this job.
The screen resolution is 800 * 600, and this is a 2D RTS game.
I think it's because the game uses too much CPU and RAM when it loads and draws images. Furthermore, whereas standard resolution of DOS game is 320 * 240 or 640 * 480 it uses 800 * 600, I think this is another reason.
I tried to draw compiled images, but CPU and RAM usage increases, and it gets worse in Dosbox.