论文部分内容阅读
以 IBM—PC 为核心的实时控制系统正以其性能/价格比之优势而逐渐出现在工业监控系统中。DOS 操作系统提供的 BASIC 语言具有功能完善、人机对话灵活、作图制表方便等优点,而 ASM 汇编语言则具有码效高、速度快、I/O 灵活、内存处理方便等长处。因此在软件设计中取两种语言之长,避其之短,根据系统功能划分的各自特点,分别采用不同语言编制软件,再将其有效地结合在一起运行,则可以满足实时控制系统实时性高、人机对话功能强等需求。本文主要分析了在 IBM—PC 上实现 BA8IC 与汇编软件相接的几种方式,提出了适应于实时系统的最佳方案。
Real-time control systems based on IBM-PC are emerging in industrial monitoring systems with their performance / price ratio advantages. The BASIC language provided by the DOS operating system has the advantages of perfect functions, flexible man-machine conversation and convenient mapping, while the ASM assembly language has the advantages of high code efficiency, fast speed, flexible I / O and convenient memory processing. Therefore, in the software design to take the length of the two languages, to avoid the short, according to the characteristics of the system functions divided into different languages, respectively, the preparation of software, and then effectively combined with the operation, you can meet the real-time control system High, strong man-machine dialogue and other needs. This article mainly analyzes several ways to realize the connection between BA8IC and assembly software on IBM-PC, and presents the best solution to adapt to real-time system.