论文部分内容阅读
YEE8100微型机是云南电子设备厂组装的微型计算机。本机与TRS-80微型机软件通用,主机的ROM内容与逻辑也完全相同。在扩展箱中YEE8100比TRS-80多了S-100总线、RS-232串行接口和Z41、Z42、Z45三块片子。本文就如何设计新外设的硬件和软件的接口问题进行了分析和试验,所述的方法同样也适用于TRS-80机。因为Z-80CPU可根据程序的控制,以三种可用的方式对可屏蔽中断作出响应,现分别给予说明。一、外设使用中断方式0工作本机在扩展箱中装有供中断方式0使用的硬件(Z41、Z42、Z45),当CPU响应中断时,可在数据总线上得到一条RST指令代码。在TRS-80机中RST的八个出口地址中ROMBASIC和磁盘BASIC占用了7个,只留下38H。LEVEL Ⅱ ROM把RST中7个地址转移
YEE8100 miniature machine is a miniature computer assembled by Yunnan Electronic Equipment Factory. The machine and TRS-80 microcomputer software common, the host’s ROM content and logic are exactly the same. In the expansion box YEE8100 more than TRS-80 S-100 bus, RS-232 serial interface and Z41, Z42, Z45 three films. This article analyzes and tests how to design hardware and software interfaces for new peripherals. The same approach applies to the TRS-80. Because the Z-80CPU can respond to maskable interrupts in three possible ways, according to the control of the program, the instructions are given separately. First, the use of peripheral interrupt 0 work This machine is equipped with an expansion box for the use of interrupt mode 0 hardware (Z41, Z42, Z45), when the CPU interrupt response, you can get an RST instruction code on the data bus. In the TRS-80 machine RST eight export address ROMBASIC and disk BASIC occupied 7, leaving only 38H. The LEVEL II ROM transfers the seven addresses in RST