Restricting IO Accesses

The Problem

This section is a copy of the section entitled “IO Port Anarchy” on page 32 from the chapter entitled “Multitasking Problems” on page 31. It is repeated here to eliminate the need to turn back to that section. It states the nature of the IO-related problem that must be dealt with in VM86 (as well as other) programs.

Assume that the currently executing task needs to initiate a disk access.

  1. To do this, it must program the disk controller's IO registers with the information defining the disk command type (e.g., disk read), the cylinder number, the head (or surface) number, the start sector number and the number of sectors to be transferred. This is accomplished by executing a series of OUT instructions that cause ...

Get The Unabridged Pentium 4 IA32 Processor Genealogy now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.