|
RA3900医用处理系统的开发
目录:
第一章: 绪 论 ..............................................................
1.
第一节 问题的提出 .........................................................
1.
第二节 国内外系统的概况和背景 ...................................... 1.
1.1.2. 为什么选用DOS下的编译器编程 ..................................
1.
1.1.2 本文的主要目的及其实现思想 .............................. 2.
第二章: 系统设计基础 ......................................................
4.
第一节 对所用软件DJGPP的功能及特点的简要介绍 ............ 4.
2.1.1 为什么选用D J G P P编译器 .....................................
4.
2.1.2 完全免费的软件 ......................................................
4.
2.1.3 DJGPP编译器的一些突出优点 .....................................
5.
2.1.4 DJGPP及其套件发展概况 ...........................................
5.
2.1.5 同 BORLAND C 相比较的优点 .....................................
6.
第二节 DJGPP软件的ALLEGRO库的简介 .............................. 6.
2.2.1 Allegro 概述 ........................................................
6.
2.2.2 Allegro的突出特点 .................................................
6.
第三节 所用的相关知识的简要介绍 ..................................... 8.
2.3.1 常驻内存的程序的概念 ...............................................
8.
2.3.2 中断地基本概念 .......................................................
9.
2.3.3 软中断和硬中断 ........................................................
9.
2.3.4 BIOS中断与 DOS中断 ................................................
12.
2.3.5 利用它们编制C语言程序需要注意的问题 ......................... 14.
2.3.6 中断处理程序的基本设计方法 .....................................
15.
2.3.7 设计中断处理程序的一些一般原则: ............................. 15.
第四节、 中断处理程序的嵌套 .................................................
15.
第五节、 常驻程序设计的一般设计方法 ......................................
16.
第三章: 几种可行性方案的提出及比较 ................................. 18.
第一节 几种可行方案的提出 .............................................
18.
3.1.1 使用屏幕打印中断 ...................................................
18.
3.1.2 使用热键中断 .........................................................
19.
3.1.3 利 用 键 盘 缓 冲 区 ..............................................
20.
第二节 使用常驻内存( TSR )方法的POP-UP程序 ........................ 23.
第三节 各方案的性能及优缺点比较 .................................... 30.
第四节 遇到的主要问题及解决方法 .................................. 30.
3.4.1 热键冲突问题 .........................................................
30.
3.4.2 修改时间中断引起的问题 ..........................................
32.
3.4.3 争夺链头位置 ........................................................
32.
3.4.4 显示问题 ..............................................................
32.
第四章: 所得结论 ..............................................................
35.
致谢 ................................................................................
37.
相关书籍、资料目录 ...........................................................
38.
毕业设计小结 ......................................................................
39.
附录: 翻译及其原稿 ........................................................
40.
摘要:
为了适应RA3900医用处理系统底层对实时性的要求,本文选用了一种和流行的WINDOWS编程不同的方法来实现实时性的要求。
首先,采用了 DOS 下编程,而不是在WINDOWS环境下编程,实现了高稳定性。
其次,采用了DJGPP编译器进行保护模式下32位编程,而不是我们常用的VC 6。0 等编译器,实现了对DOS 的可用内存的扩充。
最后,采用常驻内存 (TSR) 的方法,实现了DOS 下的多线程。
本文先简要介绍了国内外背景,然后提出我们需要解决的问题,并提供了几种可行的解决方案,而且还对他们的优缺点进行了相应的比较,最后编制了利用键盘模拟硬件中断的TSR程序。并由此得出结论。
关键字: 常驻内存程序 中断向量 地址表
ABSTRACT:
To adapt for the real time demand of the bottom layer of
the RA3900 medical process system, this article select a
programming method that different with today's popular programming
method--programming under WINDOWS condition to achieve the
real time require .
First, we can obtain high stability through adopting the
method of programming under DOS condition but WINDOWS condition.
Secondly, introduce the DJGPP compiling language instead
of VC6.0 to put up 32-bit programme under the protected
mode, achieved the extension of the momory that DOS could
use.
At last, by using TSR way ,we could attain multiline under
DOS.
This article in the first place simplely recommoded the
background of this field,;and then put forward the question
that we ought to settle,provide several feasible solve scheme
at the same time, even compared them relatively with their
advantages and disadvantages; finally programming a TSR
program that by using keyboard to simlate hardware interrupt
.And just draw a conclusion with it.
Key words: memory resident programe interrupt vector
Address table
|