Abstract
There are two main methods of communicating external equipment, either they are mapped into the physical memory and given a real address on the address bus (memory mapped I/O) or they are mapped into a special area of input/output memory (isolated I/O). Figure 15.1 shows the two methods. Devices mapped into memory are accessed by reading or writing to the physical address. Isolated I/O provides ports which are gateways between the interface device and the processor. They are isolated from the system using a buffering system and are accessed by four machine code instructions. The IN instruction inputs a byte, or a word, and the OUT instruction outputs a byte, or a word. A Pascal compiler interprets the equivalent high-level functions and produces machine code which uses these instructions.
Preview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Copyright information
© 1998 William Buchanan
About this chapter
Cite this chapter
Buchanan, W. (1998). Interfacing. In: Mastering Pascal and Delphi Programming. Macmillan Master Series. Palgrave, London. https://doi.org/10.1007/978-1-349-14770-0_15
Download citation
DOI: https://doi.org/10.1007/978-1-349-14770-0_15
Publisher Name: Palgrave, London
Print ISBN: 978-0-333-73007-2
Online ISBN: 978-1-349-14770-0
eBook Packages: Palgrave Business & Management CollectionBusiness and Management (R0)