Virtual 86 mode


processor, programming
(Or “virtual mode” or “virtual 8086 mode”) An operating mode provided by the Intel 80386 and later processors to allow real mode programs to run under operating systems which use protected mode. In this sub-mode of protected mode, an operating environment is created which mimics the address calculation in real mode.
In virtual 86 mode the segment MMU is practically turned off and the segment registers exhibit the same behaviour as in real mode. The paged MMU, however, still operates. This means that the one megabyte address space of real mode can be remapped in four kilobyte pages to anywhere in the 32 bit physical address space. Each page can be protected separately from read or write accesses.
Virtual mode is handled on a per-task-basis, so each exception (from protection violations or interrupts) switches the processor back into protected mode. It is therefore possible to have multiple tasks in virtual mode which run concurrently under the control of an operating system which runs in protected mode.
Most operating system services in MS-DOS systems are called by software interrupts, which are a kind of exception. If an MS-DOS application runs in virtual mode under the control of a protected mode operating system, each call to MS-DOS causes a switch to protected mode. The operating system emulates the MS-DOS service and switches back to the application in virtual mode. From the viewpoint of the application nothing differs from real mode.
Microsoft Windows, Windows NT, and OS/2 use this feature to implement “DOS-boxes” in which both MS-DOS and real mode application programs can run.

Read Also:

  • Virtual address

    1. A memory location accessed by an application program in a system with virtual memory such that intervening hardware and/or software maps the virtual address to real (physical) memory. During the course of execution of an application, the same virtual address may be mapped to many different physical addresses as data and programs are paged […]

  • Virtual cache

    A cache which uses virtual address, i.e. it is between the processor and the memory management unit. A virtual cache cannot recognise external access to physical address, e.g. from DMA. The whole cache must be flushed when swapping between tasks which share same virtual address space. (1994-11-30)

  • Virtual cautery

    virtual cautery vir·tu·al cautery (vûr’chōō-əl) n. See potential cautery.

  • Virtual circuit

    networking A connection-oriented network service which is implemented on top of a network which may be either connection-oriented or connectionless (packet switching). The term “switched virtual circuit” was coined needlessly to distinguish an ordinary virtual circuit from a permanent virtual circuit. (One of the perpetrators of this confusion appears to be [“Networking Essentials”, 1996, Microsoft […]

  • Virtual circuit identifier

    networking (VCID) An identifier used for the routing of a virtual circuit. An ATM switch may route according to a Virtual Circuit Identifier, a Virtual Path Identifier, or a combination. (2001-05-16)


Disclaimer: Virtual 86 mode definition / meaning should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional. All content on this website is for informational purposes only.