Section Five is the final section. It is concerned with input/output for the slower, character oriented peripheral devices.
Such devices share a common buffer pool, which is manipulated by a set of standard procedures.
The set of character peripheral devices are exemplified by the following:
KL/DL11 |
interactive terminal |
PC11 |
paper tape reader/punch |
LP11 |
line printer |
[Sheet 79; Chapters 23, 24] defines the “clist” structure (used as a list head for character buffer queues), the “tty” structure (stores relevant data for controlling an individual terminal), declares the “partab” table (used to control transmission of individual characters to terminals) and defines names for many associated parameters.
[Sheet 80; Chapters 24, 25] is the device driver for terminals connected via KL11 or DL11 interfaces.
[Sheets 81..85; Chapters 23, 24, 25] contains common procedures which are independent of the attaching interfaces, for controlling transmission to or from terminals, and which take into account various terminal idiosyncrasies.
[Sheets 86,87; Chapter 22] is the device handler for the PC11 paper tape reader/punch controller.
[Sheets 88, 89; Chapter 22] is the device handler for the LP11 line printer controller.
[Sheet 90] contains procedures which provide access to main memory as though it were an ordinary file. This code has been left to the reader to survey as an exercise.