A scheme for terminal I/O not requiring interrupts

ACM-SE 20 Pub Date : 1982-04-01 DOI:10.1145/503896.503909
Bruce Chittenden, J. Hyde, Jeffrey P. Radick
{"title":"A scheme for terminal I/O not requiring interrupts","authors":"Bruce Chittenden, J. Hyde, Jeffrey P. Radick","doi":"10.1145/503896.503909","DOIUrl":null,"url":null,"abstract":"In the more user-oriented interactive operating systems such as UNIX, a considerable amount of processing power is devoted to the handling of character-oriented devices such as terminals. It is desirable, therefore, to reduce this overhead as much as possible; yet, if this manipulation of characters were not done, the real virtues of this type of system would be lost. By distributing some of this processing to an intelligent terminal controller and to intelligent terminals, the main processor can be freed from much of this burden without changing the character of the operating system.This paper discusses an implementation of such a distribution of processing overhead in the hardware and software of a 16 bit UNIX based micro-computer system developed by the Paradyne Corporation. The system uses the Multibus (IEEE 796 bus) design, a Z8000 based main processor, a Z80 based terminal controller, and Z80 based terminals. The main processor remains responsible for moving data between the user process and system memory, but now the terminal controller is responsible for moving data between system memory and the terminal, and the terminal is responsible for formatting the output and editing the input.The terminal controller is able to read and write system memory without interfering with the main processor. There are two circular queues: one for communication from the main processor to the terminal controller and the other for communication from the terminal controller to the main processor. Conventional I/O commands are replaced by communication through the queues, and interrupts are eliminated by the ability of the terminal controller to schedule a process to perform queue service.The terminal performs all the character and line erase processing, expanding of tabs, carriage return and line feed processing, and message delineator processing. When the terminal has a complete message, that message is transmitted to the terminal controller. Depending upon the mode in which the terminal is operating, a message may be a single character, a line, or a full screen. Thus when the main processor receives a message from the terminal controller, all the processing associated with the proper formatting and editing of that message has already been performed by terminal.","PeriodicalId":184493,"journal":{"name":"ACM-SE 20","volume":"54 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1982-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"ACM-SE 20","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/503896.503909","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

In the more user-oriented interactive operating systems such as UNIX, a considerable amount of processing power is devoted to the handling of character-oriented devices such as terminals. It is desirable, therefore, to reduce this overhead as much as possible; yet, if this manipulation of characters were not done, the real virtues of this type of system would be lost. By distributing some of this processing to an intelligent terminal controller and to intelligent terminals, the main processor can be freed from much of this burden without changing the character of the operating system.This paper discusses an implementation of such a distribution of processing overhead in the hardware and software of a 16 bit UNIX based micro-computer system developed by the Paradyne Corporation. The system uses the Multibus (IEEE 796 bus) design, a Z8000 based main processor, a Z80 based terminal controller, and Z80 based terminals. The main processor remains responsible for moving data between the user process and system memory, but now the terminal controller is responsible for moving data between system memory and the terminal, and the terminal is responsible for formatting the output and editing the input.The terminal controller is able to read and write system memory without interfering with the main processor. There are two circular queues: one for communication from the main processor to the terminal controller and the other for communication from the terminal controller to the main processor. Conventional I/O commands are replaced by communication through the queues, and interrupts are eliminated by the ability of the terminal controller to schedule a process to perform queue service.The terminal performs all the character and line erase processing, expanding of tabs, carriage return and line feed processing, and message delineator processing. When the terminal has a complete message, that message is transmitted to the terminal controller. Depending upon the mode in which the terminal is operating, a message may be a single character, a line, or a full screen. Thus when the main processor receives a message from the terminal controller, all the processing associated with the proper formatting and editing of that message has already been performed by terminal.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
一种不需要中断的终端I/O方案
在更面向用户的交互式操作系统(如UNIX)中,相当多的处理能力用于处理面向字符的设备(如终端)。因此,尽可能地减少这种开销是可取的;然而,如果没有对角色进行这种操作,这种类型系统的真正优点就会丧失。通过将这些处理的一部分分配给智能终端控制器和智能终端,主处理器可以在不改变操作系统特性的情况下从这些负担中解脱出来。本文讨论了在parparyne公司开发的16位UNIX微机系统的硬件和软件中实现这种处理开销分配的方法。本系统采用Multibus (IEEE 796总线)设计,采用Z8000为主处理器,Z80终端控制器和Z80终端。主处理器仍然负责在用户进程和系统内存之间移动数据,但现在终端控制器负责在系统内存和终端之间移动数据,终端负责格式化输出和编辑输入。终端控制器能够在不干扰主处理器的情况下读写系统内存。有两个循环队列:一个用于从主处理器到终端控制器的通信,另一个用于从终端控制器到主处理器的通信。传统的I/O命令被通过队列的通信所取代,并且通过终端控制器调度进程来执行队列服务的能力消除了中断。终端执行所有字符和行擦除处理、展开制表符、回车和换行处理以及消息描述处理。当终端有完整的消息时,该消息被传输到终端控制器。根据终端运行的模式,消息可以是单个字符、一行或整个屏幕。因此,当主处理器从终端控制器接收消息时,与该消息的适当格式化和编辑相关的所有处理都已由终端执行。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
EPA - HERL/RTP: a DBMS application using word processing Computer graphics animation of the Tellico Reservoir water temperature simulation Realization of a translator for Janus Synthesizing abstract data type specifications An alternate approach to formal parsing methods
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1