Dos Extender Article Index for
Dos
Website Links For
Dos
 

Information About

Dos Extender




The idea behind running in protected mode was that it allowed access to more than 640 Kilobyte s of memory, without relying on tricks like Expanded Memory .

Strictly speaking, DOS extenders were a tool provided by certain Compiler s to allow programs to be generated which could interact with a Memory Manager and thus use XMS or Extended Memory to store executable code. The resulting application was termed a DOS-extended program; for example, this expression is used in QEMM documentation from 1991.

The DOS extender was arguably invented by Phar Lap but the DOS/4GW extender, included in Watcom 's popular C compiler, was also widely used, for example in Id Software 's massively successful game Doom .

Famous DOS-extended applications were Autocad 11 and Microsoft Windows , starting from the Windows 3.0 release (Windows/286 2.1 was not a DOS extender, it just made use of the High Memory Area and of expanded memory). The first 16-bit DOS extender in the Windows series was Windows 3.0 when running in "standard" mode. In the "386 enhanced" mode, the kernel and VxD s were 32-bit, but the applications were 16-bit protected mode, giving a hybrid nature to the system.

All DOS extenders needed to invoke DOS in order to access the DOS API s for disk services, networking etc. On Intel 80386 CPUs this was easy, because DOS could be left running inside a Virtual 8086 Mode task which either 16-bit or 32-bit code could invoke. However, on Intel 80286 CPUs, invoking DOS was considerably trickier, as the 286 only had an instruction to switch from Real mode to Protected mode, not back again. Work-arounds included a CPU reset through the keyboard controller or the undocumented LOADALL machine instruction, or a BIOS function which used one of these methods internally.

Initially, DOS extenders performed the switch into protected mode and managed protected mode and extended memory all by themselves. Later, when it became common to use a protected-mode memory manager such as CEMM or QEMM on 80386 machines to emulate expanded memory using extended memory, it became necessary to create a way for subsequent programs to enter protected mode as well, so an API called the Virtual Control Program Interface was devised. However, this was difficult to reconcile with multitasking operating systems and was not supported by Microsoft , whose alternative, the DOS Protected Mode Interface , became more widely used.


NOTABLE DOS-EXTENDED APPLICATIONS

According to the 1991 QEMM 6.0 manual:

Others (often later ones):