All Topics  
DOS extender

 

   Email Print
   Bookmark   Link






 

DOS extender



 
 
Developed in the 1980s to cope with the memory limitations of MS-DOS
MS-DOS

MS-DOS is an operating system commercialized by Microsoft. It was the most commonly used member of the DOS family of operating systems and was the main operating system for personal computers during the 1980s....
 and its derivatives, DOS extenders are programs which enable software to run under the protected mode
Protected mode

In computing, protected mode, also called protected virtual address mode, is an operational mode of x86-compatible central processing units ....
 environment initially introduced with the Intel 80286
Intel 80286

The Intel 286, introduced on February 1, 1982, was an x86 16-bit microprocessor with 134,000 transistors.It was widely used in IBM PC compatible computers during the mid 1980s to early 1990s....
 processor and later expanded upon with the Intel 80386
Intel 80386

The Intel 80386, otherwise known as the i386 or just 386, is a microprocessor which has been used as the central processing unit of many personal computers and workstations since 1986....
, even if the host operating system is only capable of operating in real mode
Real mode

Real mode, also called real address mode, is an operating mode of 80286 and later x86-compatible Central processing unit. Real mode is characterized by a 20 bit segmented memory address space , direct software access to BIOS routines and peripheral hardware, and no concept of memory protection or computer multitasking at the hardware le...
.

S extender is a program that does exactly what its name implies: it "extends" DOS so that programs running in protected mode can transparently interface with the underlying MS-DOS API
MS-DOS API

The MS-DOS API is an API used originally in MS-DOS/PC-DOS, and later by other DOS systems. Most calls to the DOS API invoke software interrupt 21h ....
.






Discussion
Ask a question about 'DOS extender'
Start a new discussion about 'DOS extender'
Answer questions from other users
Full Discussion Forum



Encyclopedia


Developed in the 1980s to cope with the memory limitations of MS-DOS
MS-DOS

MS-DOS is an operating system commercialized by Microsoft. It was the most commonly used member of the DOS family of operating systems and was the main operating system for personal computers during the 1980s....
 and its derivatives, DOS extenders are programs which enable software to run under the protected mode
Protected mode

In computing, protected mode, also called protected virtual address mode, is an operational mode of x86-compatible central processing units ....
 environment initially introduced with the Intel 80286
Intel 80286

The Intel 286, introduced on February 1, 1982, was an x86 16-bit microprocessor with 134,000 transistors.It was widely used in IBM PC compatible computers during the mid 1980s to early 1990s....
 processor and later expanded upon with the Intel 80386
Intel 80386

The Intel 80386, otherwise known as the i386 or just 386, is a microprocessor which has been used as the central processing unit of many personal computers and workstations since 1986....
, even if the host operating system is only capable of operating in real mode
Real mode

Real mode, also called real address mode, is an operating mode of 80286 and later x86-compatible Central processing unit. Real mode is characterized by a 20 bit segmented memory address space , direct software access to BIOS routines and peripheral hardware, and no concept of memory protection or computer multitasking at the hardware le...
.

DOS extender operation

A DOS extender is a program that does exactly what its name implies: it "extends" DOS so that programs running in protected mode can transparently interface with the underlying MS-DOS API
MS-DOS API

The MS-DOS API is an API used originally in MS-DOS/PC-DOS, and later by other DOS systems. Most calls to the DOS API invoke software interrupt 21h ....
. This was necessary because many of the functions provided by DOS require 16-bit segment and offset addresses pointing to memory locations within the first 640 kilobytes of memory
Conventional memory

In computing, conventional memory is the first 640 kilobytes of the memory on IBM PC compatible systems....
. Protected mode, however, uses an incompatible addressing method where the segment registers (now called selectors) are used to point to an entry in a table
Page table

A page table is the data structure used by a virtual memory system in a computer operating system to store the mapping between virtual addresses and physical addresses....
 which describes the characteristics of the segment. The two methods of addressing are mutually exclusive, with the processor having to make costly switches to real (or V86
Virtual 8086 mode

In the 80386 microprocessor and later, Virtual 8086 mode, also called virtual real mode or VM86, allows the execution of real mode applications that are protected mode#Real_mode_application_compatibility directly in protected mode....
) mode to service non-protected mode requests.

In addition to setting up the environment and loading the actual program to be executed, the DOS extender also provides (amongst other things) a translation layer that maintains buffers
Buffer (computer science)

In computing, a buffer is a region of Memory used to temporarily hold data while it is being moved from one place to another. Typically, the data is stored in a buffer as it is retrieved from an input device or just before it is sent to an output device ....
 allocated below the 1MB real mode memory barrier. These buffers are used to transfer data between the underlying real mode operating system and the protected mode program. Since switching between real/V86 mode and protected mode is a relatively time consuming operation, the extender attempts to minimize the number of switches by duplicating the functionality of many real mode operations within its own protected mode environment. As DOS uses interrupts extensively for communication between the operating system and user level software, DOS extenders intercept many of the common hardware (e.g. the real-time clock
Real-time clock

A real-time clock is a computer clock that keeps track of the current time. Although the term often refers to the devices in personal computers, server s and embedded systems, RTCs are present in almost any electronic device which needs to keep accurate time....
 and keyboard controller) and software (e.g. DOS itself and the mouse API) interrupts. Some extenders also handle other common interrupt functions, such as video BIOS routines.

Essentially, a DOS extender is like a miniature operating system, handling much of the functionality of the underlying operating system itself.

Development history

The DOS extender was arguably invented by Phar Lap
Phar Lap (company)

Phar Lap was a software company specializing in software development tools for DOS operating systems. They were most noted for their software allowing developers to access memory beyond the 640 KiB limit of DOS and were an author of the VCPI standard....
, but it was Tenberry Software, Inc.'s (formerly Rational Systems) 386 extender DOS/4GW
DOS/4GW

DOS/4GW is a 32-bit DOS extender that allows DOS programs to eliminate the 640 kilobyte conventional memory limit by addressing up to 64 megabyte of extended memory on Intel 80386 and above machines....
 that brought protected mode DOS programs to the masses. Included with Watcom
Watcom

Watcom International Corporation was founded in 1981 by three former employees of the Computer Systems Group at the University of Waterloo, in Waterloo, Ontario, Ontario, Canada....
's C, C++ and Fortran compilers for 386 class processors, it soon became a ubiquitous mainstay of PC games and applications such as id Software
Id Software

id Software is an American video game developer from Mesquite, Texas. The company was founded in 1991 by four members of the computer company Softdisk: game programmer John D....
's successful game DOOM
Doom

Doom is a 1993 first-person shooter computer game by id Software that is a landmark title in the first-person shooter video game genre, and in First person in general....
.

While initially it was the memory hungry business applications that drove the development of DOS extenders, it would be PC games that truly brought them into the spotlight. As a result of the development of DOS extenders, two new software interfaces were created to take care of the many potential conflicts that could arise from the varied methods of memory management that already existed, as well as provide a uniform interface for client programs.

The first of these interfaces was the Virtual Control Program Interface, but this was rapidly overshadowed by the DOS Protected Mode Interface Specification, which grew from the Windows 3.0 development. They provided an API through which an extended program could interface with real mode software, allocate memory, and handle interrupt services. They also provided an easy method for the extender to set up the switch to protected mode, and allowed multiple protected mode programs to coexist peacefully.

DOS extenders

  • Tenberry Software, Inc.'s DOS/4G and DOS/4GW
    DOS/4GW

    DOS/4GW is a 32-bit DOS extender that allows DOS programs to eliminate the 640 kilobyte conventional memory limit by addressing up to 64 megabyte of extended memory on Intel 80386 and above machines....
     and DOS/16M
  • Phar Lap
    Phar Lap (company)

    Phar Lap was a software company specializing in software development tools for DOS operating systems. They were most noted for their software allowing developers to access memory beyond the 640 KiB limit of DOS and were an author of the VCPI standard....
    's 286|DOS Extender and 386|DOS Extender
  • 's CauseWay 386 DOS extender
  • Thomas Pytel
    Thomas Pytel

    Tomasz Pytel is a Polish-American programmer, better known as Tran / Renaissance in the demoscene. He is notable for the creating the Timeless demo in 1994, and for co-creating the PMODE DOS extender with Charles Scheffold ....
     and Charles Sheffold's PMODE
    PMODE

    PMODE is a DOS extender used in several IBM PC compatible DOS applications in the mid and late 1990s. It was created by Thomas Pytel, and the first version became publicly available in 1994....
     and PMODE/W. The latter was for Watcom C as an alternative to DOS/4GW, and was quite popular with demoscene
    Demoscene

    The demoscene is a computer art subculture that specializes in producing Demo , which are non-interactive audio-visual presentations that run in Real-time computing on a computer....
     programmers
  • Naresh Kumar's
  • Ergo (formerly Eclipse, formerly A. I. Architects) OS/286 and OS3/86 extenders, and DPM16 and DPM32 extenders
  • Microsoft Windows
    Microsoft Windows

    Microsoft Windows is a series of software operating systems and graphical user interfaces produced by Microsoft. Microsoft first introduced an operating environment named Windows in November 1985 as an add-on to MS-DOS in response to the growing interest in graphical user interfaces ....
     (DOS based versions) included both a DPMI server and DOS extender .
  • HX DOS Extender
    HX DOS Extender

    HX DOS-Extender is a free DOS extender with built-in Win32 Portable Executable support. Usually the purpose of a DOS extender is to make protected mode features, especially large memory and 32-bit addressing, available for DOS applications....
      provides limited Win32 support
  • DOS extender, by Doug Huffman
  • CWSDPMI
    CWSDPMI

    CWSDPMI is a DOS Protected Mode Interface host written by Charles W Sandmann. It can provide DPMI services for programs compiled with latest versions of DJGPP compiler system and can also be used for programs requiring a DPMI stub....
     written by Charles W. Sandmann (technically this is not a DOS extender, it is a DPMI server used to provide DPMI services to programs generated with DJ Delorie
    DJ Delorie

    DJ Delorie is an American software developer. He initiated and maintains the DJGPP project, a very successful, free port of the GNU C programming language/C++ compiler and tools suite, targeted to IBM PCs running MS-DOS or DOS terminals under Microsoft Windows....
    's port of the GNU Compiler Collection
    GNU Compiler Collection

    The GNU Compiler Collection is a compiler system produced by the GNU Project supporting various programming languages. GCC is a key component of the GNU toolchain....
     to 32-bit protected mode DOS, DJGPP
    DJGPP

    DJGPP is a 32-bit C /C++/Objective C/Objective C/Ada /Fortran development suite for x86+ PC compatibles that runs under DOS or compatibles. It is guided by DJ Delorie, who started the project in 1989....
    )
  • GO32, used in older (pre-v2) versions of DJ Delorie
    DJ Delorie

    DJ Delorie is an American software developer. He initiated and maintains the DJGPP project, a very successful, free port of the GNU C programming language/C++ compiler and tools suite, targeted to IBM PCs running MS-DOS or DOS terminals under Microsoft Windows....
    's port of the GNU Compiler Collection
    GNU Compiler Collection

    The GNU Compiler Collection is a compiler system produced by the GNU Project supporting various programming languages. GCC is a key component of the GNU toolchain....
    , and Free Pascal
    Free Pascal

    Free Pascal is a free software, Portability , open source, Pascal programming language and Object Pascal compiler. The 32/64-bit multi-CPU architecture and cross-platform compiler implements the Borland Pascal programming language dialects as well as some MacPascal constructs, and is available for...


Notable DOS extended applications

  • Adobe Acrobat Reader 1.0 (uses an early version of DOS/4GW professional)
  • AutoCAD 11 (PharLap 386)
  • Lotus 1-2-3
    Lotus 1-2-3

    Lotus 1-2-3 is a spreadsheet program from Lotus Software . It was the IBM PC's first "killer application"; its huge popularity in the mid-1980s contributed significantly to the success of the IBM PC in the corporate environment....
     Release 3
  • Oracle
    Oracle Corporation

    Oracle Corporation specializes in developing and marketing enterprise software products ? particularly database management systems. Through organic growth and a number of high-profile acquisitions, Oracle enlarged its share of the software market....
     Professional
  • IBM
    IBM

    International Business Machines Corporation, abbreviated IBM and nicknamed "Big Blue" , is a multinational corporation computer technology and consulting corporation headquartered in Armonk, New York, New York, United States....
     Interleaf
    Interleaf

    Founded in 1981, Interleaf was a company that produced a technical publishing software product with the same name. It was a competitor of the Adobe Systems FrameMaker product....
  • Major BBS
    Major BBS

    The Major BBS was developed by Tim Stryker and launched in 1986 by Stryker's company Galacticomm, as a demonstration of the abilities of the Galacticomm Software Breakthrough Library ....
    , a 1980s BBS
    BBS

    BBS may refer to:* Bulletin board system, a computer that allows users to dial into the system over a phone line or telnet connection.* Bankenes Betalingssentral, a Norwegian bank clearing company...
     software package that utilized the Phar Lap
    Phar Lap (company)

    Phar Lap was a software company specializing in software development tools for DOS operating systems. They were most noted for their software allowing developers to access memory beyond the 640 KiB limit of DOS and were an author of the VCPI standard....
     DOS extender.
  • Quarterdeck
    Quarterdeck

    Quarterdeck may refer to*A part of a ship. See Deck *Quarterdeck Office Systems...
     DESQview
    DESQview

    DESQview was a text mode computer multitasking program developed by Quarterdeck Office Systems which enjoyed modest popularity in the late 1980s and early 1990s....
     and DESQview/X multitasking software
  • Watcom
    Watcom

    Watcom International Corporation was founded in 1981 by three former employees of the Computer Systems Group at the University of Waterloo, in Waterloo, Ontario, Ontario, Canada....
    's C
    C (programming language)

    C is a general-purpose computer programming language originally developed in 1972 by Dennis Ritchie at the Bell Telephone Laboratories to implement the Unix operating system....
    , C++
    C++

    C++ is a general-purpose programming language. It is regarded as a middle-level language, as it comprises a combination of both high-level programming language and low-level programming language language features....
     and Fortran
    Fortran

    Fortran is a general-purpose programming language, procedural programming language, imperative programming language programming language that is especially suited to numerical analysis and scientific computing....
     compiler
    Compiler

    A compiler is a computer program that transforms source code written in a programming language into another computer language . The most common reason for wanting to transform source code is to create an executable program....
    s for the X86
  • Countless DOS games from the early to mid 1990s, mostly using DOS/4GW, including:
    • id Software
      Id Software

      id Software is an American video game developer from Mesquite, Texas. The company was founded in 1991 by four members of the computer company Softdisk: game programmer John D....
      's DOOM
      Doom

      Doom is a 1993 first-person shooter computer game by id Software that is a landmark title in the first-person shooter video game genre, and in First person in general....
       and its sequels, as well as Quake
      Quake

      Quake is a first-person shooter computer game that was released by id Software on June 22, 1996. It was the first game in the popular Quake of computer and video games....
       (built with DJGPP
      DJGPP

      DJGPP is a 32-bit C /C++/Objective C/Objective C/Ada /Fortran development suite for x86+ PC compatibles that runs under DOS or compatibles. It is guided by DJ Delorie, who started the project in 1989....
      )
    • Looking Glass Studios
      Looking Glass Studios

      Looking Glass Studios was a Video game development company during the 1990s.The company originally formed as Looking Glass Technologies, when Blue Sky Productions and Lerner Research merged....
      ' System Shock
      System Shock

      System Shock is an action role-playing game developed by Looking Glass Studios and published by Origin Systems. Released in 1994 in video gaming, the game is set aboard the fictional Citadel Station in a cyberpunk vision of 2072....
      ,
    • Parallax Software
      Parallax Software

      Parallax Software was a video game developer best known for creating the Descent series of personal computer game. Parallax Software was started in 1993 by Matt Toschlog and Mike Kulas....
      's Descent
      Descent (computer game)

      Descent is a 3D computer graphics first-person shooter video game developed by Parallax Software and released in 1995. It is still cherished by a strong community of fans, particularly for its online multiplayer, and new levels continue to be developed....
    • Crack dot com's Abuse
      Abuse (computer game)

      Abuse is a Shoot 'em up#Run and gun computer game developed by Crack dot Com, and published by Origin Systems/Electronic Arts. It was 1996 in video gaming, and runs on DOS and GNU/Linux operating systems....
    • Blizzard Entertainment
      Blizzard Entertainment

      Blizzard Entertainment is an American video game developer and video game publisher headquartered in Irvine, California. It is a division of Activision Blizzard....
      's Warcraft: Orcs & Humans and Warcraft II: Tides of Darkness
    • 3D Realms
      3D Realms

      '3D Realms' is a video game developer and video game publisher based in Garland, Texas established in 1987. It is best known for popularizing the shareware distribution model and as the creator of franchises on the Personal computer such as Duke Nukem , and also the publisher of other franchises such as Commander Keen and Wolfenstein...
      ' Duke Nukem 3D
      Duke Nukem 3D

      Duke Nukem 3D is a first-person shooter video game developed by 3D Realms and published by Apogee Software. It was released on January 29, 1996....
    • Midway
      Midway Games

      'Midway Games' is an United States video game publisher and video game developer. Midway's legacy includes landmark titles such as Mortal Kombat , Ms....
      's Mortal Kombat
      Mortal Kombat (video game)

      Mortal Kombat was the first entry in the famous and highly controversial Mortal Kombat fighting game series by Midway Games, released in Video arcade in 1992....


External links

  • multi-platform C, C++ and Fortran compilers
  • David Lindauer's 32-bit C compiler for DOS and WIndows
  • C compiler
  • DOS extended port of the GNU Compiler Collection and associated programs
  • Makers of DOS/4G extender
  • Makers of the Causeway extender
  • Wuschel's DOS eXtender
  • Home of the HX DOS extender