DJGPP compiled programs hang in DOS 6.22 on AO486 core
Posted: Sat Jun 26, 2021 1:24 am
Hey, so I got the DE-10 Nano and MiSTer Add-one USB.
I also followed the instructions to get the AO486 core on the unit, and with the pre-build DOS 6.22 setup found here: https://www.jamesfmackenzie.com/2021/03 ... isk-image/
However, when I’ve tried to run a game I’ve building using DJGPP with Allegro, the program hangs at the console immediately after execution.
I’ve tried another game written in the early 90’s (Galactic Battle) and it worked fine. Strange.
I tried another game compiled with DJGPP/Allegro, and it also hung.
I got down to a simple “Hello World” program compiled with DJGPP only. Just stdio and no explicitly linked libraries. Freaking Hello World didn’t even run without hangcrashing. And I’ve tried it on all three memory configurations.
I’ve included the 32-bit DOS extender CWSDPMI.EXE with my programs, as it’s required to run DJGPP-compiled stuff. Does anyone here know if I’m doing something wrong? Or if there’s a compatibility issue I’m missing?
I also followed the instructions to get the AO486 core on the unit, and with the pre-build DOS 6.22 setup found here: https://www.jamesfmackenzie.com/2021/03 ... isk-image/
However, when I’ve tried to run a game I’ve building using DJGPP with Allegro, the program hangs at the console immediately after execution.
I’ve tried another game written in the early 90’s (Galactic Battle) and it worked fine. Strange.
I tried another game compiled with DJGPP/Allegro, and it also hung.
I got down to a simple “Hello World” program compiled with DJGPP only. Just stdio and no explicitly linked libraries. Freaking Hello World didn’t even run without hangcrashing. And I’ve tried it on all three memory configurations.
I’ve included the 32-bit DOS extender CWSDPMI.EXE with my programs, as it’s required to run DJGPP-compiled stuff. Does anyone here know if I’m doing something wrong? Or if there’s a compatibility issue I’m missing?