![]() |
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 18:31 |
47,815 topics / 349,930 posts / today 0 new / 48,290 members |
| DOS开发编程 & 发展交流 (开发室) » Is the real-time performance of DOS good? |
| Printable Version 4,089 / 8 |
| Floor1 at89c51 | Posted 2007-06-29 18:52 |
| 新手上路 Posts 1 Credits 4 | |
|
Is the real-time performance of DOS good?
|
|
| Floor2 THREEKS | Posted 2007-07-03 22:41 |
| 初级用户 Posts 21 Credits 50 | |
| Floor3 sunx | Posted 2007-07-26 10:22 |
| 初级用户 Posts 17 Credits 38 | |
|
Without an interrupt scheduling mechanism and without context switching, can it be more real-time, you say?
|
|
| Floor4 netwinxp | Posted 2007-07-27 01:48 |
| 高级用户 Posts 366 Credits 741 | |
|
Not having an interrupt scheduling mechanism is not necessarily a good thing. When multiple programs hook the same interrupt, or you can't finish the required work in a single clock interrupt cycle, then trouble will arise.
|
|
| Floor5 sunx | Posted 2007-07-27 16:13 |
| 初级用户 Posts 17 Credits 38 | |
|
So, the book emphasizes for interrupt programming:
You should set STI as soon as possible, and output to 20h, AL as soon as possible. This is to avoid blocking other programs. You should set reentrancy flags and plan the stack. This is to ensure the reentrancy safety of your own program. Originally posted by netwinxp at 2007-7-27 01:48: |
|
| Floor6 gmy | Posted 2007-09-01 18:32 |
| 版主 Posts 392 Credits 1,113 | |
|
I understand what the LZ means, but I just know that DOS is single-tasking, not easy to crash, and relatively more stable than WINDOWS.
|
|
| Floor7 windowsvesta | Posted 2007-09-12 10:33 |
| 初级用户 Posts 67 Credits 138 From 云南 | |
|
In embedded applications, where high precision is required, DOS is better than Windows. This is for scenarios where the system can often change positions and be used by non-professional personnel!
In system integration, where precision requirements are not high, Windows is better than DOS. This is for scenarios where the system is generally fixed in position and used and maintained by professional technicians! [ Last edited by windowsvesta on 2007-9-12 at 10:44 AM ] Windows, besides having weak real-time performance, is that the operating system needs to be reinstalled after the device has been used for a while! When a非正常shutdown occurs, Windows needs to scan the disk, and the boot time will make you wait a long time. If the disk is not scanned for a long time, the system will soon crash! |
|
| Floor8 jojand | Posted 2007-10-30 14:33 |
| 初级用户 Posts 57 Credits 117 | |
|
No matter which system, if the program is good, the real-time performance is good!
|
|
| Floor9 netwinxp | Posted 2007-11-12 12:11 |
| 高级用户 Posts 366 Credits 741 | |
|
When using timing interrupts under DOS, and if a Chinese system (even a direct screen-writing Chinese system that also uses timing interrupts) is used, it is very easy to have interrupt reentrancy, leading to a system crash. If you use the method of receiving messages and then post-processing in Windows, instead of intercepting messages, it also has good real-time performance (remember to disable unnecessary service processes as much as possible). Windows has a very large advantage in interface processing, driver program processing, I/O port processing, etc. The real-time processing part of Windows needs to be written using.SYS.
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |