Solution—Set a Watchdog on the DOS Application

Starting with the 386 processor, Intel®'s solution to this problem is to provide a hardware/software combination tasked with monitoring the behavior of an DOS program on an instruction-by-instruction basis and intercepting all actions which may prove injurious to the overall multitasking environment.

The OS creates a separate 32-bit TSS (see Figure 15-1 on page 331) associated with each DOS task. It cannot be a 16-bit, 286-style TSS because:

  • The 286 TSS only has a 16-bit field for the Flag register image.

  • It doesn't have a 32-bit EFlags register field containing the VM bit.

Figure 15-1. Task State Segment (TSS)

When the OS creates the TSS for a DOS task, it sets the VM bit to ...

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.