First post, by Nikita Afanasev
I'm making my own game engine and RTS game using Allegro 4 library and Djgpp cross-compiler.
And I'm working and testing on Ubuntu 20.04. The game runs well on Ubuntu.
But when I cross-compile the game for DOS and run it on Dosbox, a serious problem occurs.
From the first screen, where the user can select the menu, mouse pointer moves according to the movement of my mouse.
But if the pointer is on any edge of the screen, game unexpectedly exits, Dosbox says general protection fault error.
I removed all source codes associated to mouse operation, except the install_mouse() function, but it's still same.
Could anybody please help me?
I can't find any reason why it exits in Dosbox so badly. It runs very well on Ubuntu.