![]() |
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 22:19 |
47,815 topics / 349,930 posts / today 0 new / 48,290 members |
| DOS开发编程 & 发展交流 (开发室) » Are there any DJGPP programming experts? Please help take a look. |
| Printable Version 1,360 / 10 |
| Floor1 savling | Posted 2003-06-08 00:00 |
| 初级用户 Posts 5 Credits 122 | |
|
Recently I used DJGPP to write a fairly large graphics program. Everything is normal when it first runs (including floating-point operations), but after it runs for a while, an exception occurs saying the coprocessor cannot be accessed. The runtime before the exception is not fixed, but when the exception occurs, the IP value is always the same. When the program terminates, it shows that both the CS and SS selectors are invalid.
Machine specs: CPU: Cyrix MMX-S 233 Memory: 128M Hard disk (electronic disk): 32M Could some expert help analyze what the problem is? I've been struggling with it for nearly a month and still have no clue at all. 3X |
|
| Floor2 Dark-Destroy | Posted 2003-06-08 00:00 |
| 元老会员 Posts 3,551 Credits 8,312 | |
|
How about trying an Intel processor instead~
|
|
| Floor3 savling | Posted 2003-06-08 00:00 |
| 初级用户 Posts 5 Credits 122 | |
|
Hehe, since the product has already been finalized, changing the processor is basically impossible.
![]() Is there any other way? |
|
| Floor4 ko20010214 | Posted 2003-06-08 00:00 |
| 版主 Posts 1,628 Credits 7,296 | |
|
Just this much (brief) information? Even if others want to help, they can't.
|
|
| Floor5 Wengier | Posted 2003-06-08 00:00 |
| 系统支持 Posts 10,521 Credits 27,736 | |
|
Please explain it in more detail.
|
|
| Floor6 savling | Posted 2003-06-08 00:00 |
| 初级用户 Posts 5 Credits 122 | |
| Floor7 savling | Posted 2003-06-09 00:00 |
| 初级用户 Posts 5 Credits 122 | |
|
The detailed information is above, please help take a look.
Thanks! |
|
| Floor8 Wengier | Posted 2003-06-09 00:00 |
| 系统支持 Posts 10,521 Credits 27,736 | |
|
There are two possibilities:
1: There may be some errors in the program itself; 2: The DJGPP version being used is too old, you can try updating it. |
|
| Floor9 savling | Posted 2003-06-09 00:00 |
| 初级用户 Posts 5 Credits 122 | |
|
1, The program runs without any problem on a PII350 machine; I don't know whether this can rule out a problem with the program itself;
2, The DJGPP version I'm using is 2.01. I don't know what the latest version is, or where to download it? |
|
| Floor10 Wengier | Posted 2003-06-09 00:00 |
| 系统支持 Posts 10,521 Credits 27,736 | |
|
Download the latest version of DJGPP here:
http://www.delorie.com/djgpp/ |
|
| Floor11 fsblm | Posted 2006-02-18 10:17 |
| 初级用户 Posts 10 Credits 28 | |
|
It may be that you are repeatedly calling the graphics-reading function, causing a memory overflow.
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |