![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-10-31 14:53 |
47,815 topics / 349,930 posts / today 0 new / 48,290 members |
| DOS开发编程 & 发展交流 (开发室) » Question about DJGPP |
| Printable Version 1,107 / 3 |
| Floor1 szlj99 | Posted 2004-02-09 00:00 |
| 初级用户 Posts 7 Credits 123 | |
|
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. |
|
| Floor2 songjian | Posted 2004-02-10 00:00 |
| 初级用户 Posts 18 Credits 140 | |
|
Try a different DPMI Server. Use dos32 extender or something else.
|
|
| Floor3 szlj99 | Posted 2004-02-10 00:00 |
| 初级用户 Posts 7 Credits 123 | |
|
OK, I'll go try it and tell you the result tomorrow, many thanks!
|
|
| Floor4 szlj99 | Posted 2004-02-13 00:00 |
| 初级用户 Posts 7 Credits 123 | |
|
It's already solved. I was still using cwsdpmi; running it with a parameter was enough: cwscdpmi -x.
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |