论文部分内容阅读
本文介绍在采用Z-80微型机的实时控制系统中,利用一个Z-80的PIO并行出入端口,只要增加少量硬件,便可利用软件处理16个中断的方法。文中阐述了这种方法的工作原理,给出了其硬件的连接电路、程序流程图及实用程序。采用文中所给出的级联方法,可使系统处理多达480个中断。由于本方法硬件简单经济,软件实用有效,用户需做的工作仅是配备相应的中断服务子程序,故可作为扩大Z-80微型机控制系统中断处理能力的一种通用方法。
This article describes the real-time control system using the Z-80 microcomputer, the use of a Z-80 PIO parallel access port, with a small amount of added hardware, software can handle 16 interrupts. This paper describes the working principle of this method, gives its hardware connection circuit, program flow chart and utility program. Using the concatenation method given in this article, the system can handle up to 480 interrupts. Because this method is simple and economical hardware, software practical and effective, the user needs to do is only equipped with the corresponding interrupt service routine, it can be used as an extension of Z-80 microcomputer control system interrupt handling capacity of a common method.