Experts, I have the following question, many thanks!
I used djgpp+allegro to write a DOS program. For debugging convenience, I have been compiling and testing it all along in the virtual DOS under WIN2000. Now that the program is about to be finished, I 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 all the experts, how can this be solved?
I feel it is a DOS environment setup problem, but I don't know where to start solving it???
The execution sequence is as follows:
set djgpp=c:\djgpp\djgpp.env
path c:\djgpp\bin
cwsdpmi.exe
main.exe this is my application
Then the error appears, reporting a bunch of memory addresses.
I used djgpp+allegro to write a DOS program. For debugging convenience, I have been compiling and testing it all along in the virtual DOS under WIN2000. Now that the program is about to be finished, I 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 all the experts, how can this be solved?
I feel it is a DOS environment setup problem, but I don't know where to start solving it???
The execution sequence is as follows:
set djgpp=c:\djgpp\djgpp.env
path c:\djgpp\bin
cwsdpmi.exe
main.exe this is my application
Then the error appears, reporting a bunch of memory addresses.


