Subj : djgpp program only runs in DOSBox. To : ignatius From : mark lewis Date : Tue Oct 27 2015 06:31:30 26 Oct 15 21:31, you wrote to All: ig> Hi, first of all, I hope this is the right base for this. might be ;) ig> I ported a program from Linux to DOS. And I compile it with DJGPP. The ig> problem is, that it only runs properly in DOSBox. This is very strange ig> behaviour. I even try to execute it through FreeDOS, and it works. So, ig> as long as it's in DOSBox. ok... let me see if i understand this... 1. you ported a program from linux to dos. 2. it runs in dosbox. 3. it runs in freedos. 4. it runs in dosbox in freedos. ig> Anyone have an ideas what might cause this behaviour? what memory model (http://www.digitalmars.com/ctg/ctgMemoryModel.html) did you compile with if DJGPP has such an offering? are you trying to use EMS or XMS memory? https://en.wikipedia.org/wiki/Expanded_memory https://en.wikipedia.org/wiki/Extended_memory have you tried running your program in ""real"" dos? like MSDOS 6.22 or whatever the last version of PCDOS was... )\/(ark .... The only rose without thorns is friendship. --- * Origin: (1:3634/12.73) .