![]() |
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-08-17 07:49 |
47,813 topics / 349,903 posts / today 0 new / 48,259 members |
| DOS疑难解答 & 问题讨论 (解答室) » [Help] Problem Caused by Interrupts under DOS, Help, Help, Help! |
| Printable Version 754 / 1 |
| Floor1 anne_zhaoyan | Posted 2003-03-28 00:00 |
| 初级用户 Posts 1 Credits 105 | |
|
I used TC++3.0 to write a program that runs under DOS (compiled in large model), using timer interrupts to process some sampled data. The program basically runs normally, but after interrupts are enabled, some if statements start behaving incorrectly. It clearly does not meet the condition and should jump to the else branch, but the program just keeps executing in sequence without making the judgment. Extremely strange!!! I ask all the experts to point me in the right direction! (Note: when interrupts are not enabled, the if works normally)
|
|
| Floor2 zszhengyu | Posted 2005-04-17 00:00 |
| 初级用户 Posts 2 Credits 107 | |
|
It should be caused by incorrect floating-point handling in the program, not an interrupt issue!
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |