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?
DJGPP compiled programs hang in DOS 6.22 on AO486 core
-
- Posts: 7
- Joined: Sat Jun 12, 2021 12:20 pm
-
- Posts: 157
- Joined: Sun Aug 30, 2020 12:04 am
- Has thanked: 98 times
- Been thanked: 46 times
Re: DJGPP compiled programs hang in DOS 6.22 on AO486 core
I've had the same issue. Tried running three or four different programs I wrote myself in DJGPP/Allegro years ago using the ao486 core to no avail.
They do run in DOSbox, though programs with joystick inputs get stuck in a direction making them unplayable.
They do run in DOSbox, though programs with joystick inputs get stuck in a direction making them unplayable.
Re: DJGPP compiled programs hang in DOS 6.22 on AO486 core
The latest I have read on this forum is some DOS extenders, at least dos/4gw, iirc, have issues running on ao486. My guess is a similar compatibility issue.
-
- Posts: 7
- Joined: Sat Jun 12, 2021 12:20 pm
Re: DJGPP compiled programs hang in DOS 6.22 on AO486 core
That would explain it, for sure. Looks like it’s back to the drawing board for my project.
-
- Posts: 7
- Joined: Sat Jun 12, 2021 12:20 pm
Re: DJGPP compiled programs hang in DOS 6.22 on AO486 core
Actually, I’m not sure how long it would take these guys to get DOS extenders running. Maybe it makes sense to sit back and wait.
-
- Top Contributor
- Posts: 468
- Joined: Sun May 24, 2020 7:17 pm
- Has thanked: 35 times
- Been thanked: 99 times
Re: DJGPP compiled programs hang in DOS 6.22 on AO486 core
Perhaps memory mapping is wrong... or memory report
CPC-Power Staff
Re: DJGPP compiled programs hang in DOS 6.22 on AO486 core
There is a lot of shit wrong with this core, otherwise everything would be working
A lot of TSR's and anti-debug routines wont work properly either from my experience. My guess at this point is that it has something with the IVT (Interrupt Vector Table). From my limited knowledge regarding DOS-extenders they would use or redirect INT's and add their own.
Now dosbox has a nice debugger, does the AO486 have an embedded debugger or do we revert to good ol' Softice?
A lot of TSR's and anti-debug routines wont work properly either from my experience. My guess at this point is that it has something with the IVT (Interrupt Vector Table). From my limited knowledge regarding DOS-extenders they would use or redirect INT's and add their own.
Now dosbox has a nice debugger, does the AO486 have an embedded debugger or do we revert to good ol' Softice?