Experts, I'd like to ask the following question, many thanks!
I've been using djgpp+allegro to write a DOS program. For debugging convenience, I've always been compiling and testing it in the virtual DOS under WIN2000. Now that the program is about to be finished, I've found that a program which runs normally in virtual DOS will produce a memory error and abort when run under DOS7. I'd like to ask the experts, how can this be solved?
I feel it's a DOS environment setup problem, but I don't know where to start solving it???
The execution order is as follows:
set djgpp=c:\djgpp\djgpp.env
path c:\djgpp\bin
cwsdpmi.exe
main.exe this is my application
Then an error appears, reporting a pile of memory addresses.
I've been using djgpp+allegro to write a DOS program. For debugging convenience, I've always been compiling and testing it in the virtual DOS under WIN2000. Now that the program is about to be finished, I've found that a program which runs normally in virtual DOS will produce a memory error and abort when run under DOS7. I'd like to ask the experts, how can this be solved?
I feel it's a DOS environment setup problem, but I don't know where to start solving it???
The execution order is as follows:
set djgpp=c:\djgpp\djgpp.env
path c:\djgpp\bin
cwsdpmi.exe
main.exe this is my application
Then an error appears, reporting a pile of memory addresses.

