DOS Extenders

by Emilian Frankard.

Share
|
Homepage | Submit your article | Contact | TOS
More articles on microsoft os family  

You are here: Categories » Computers and technology » Microsoft OS family

A few powerful DOS programs broke the normal DOS rules and were able to leap into protected mode and take advantage of its vast addressing range. They are able to stretch into extended memory using DOS extenders, software toolkits comprising pre-coded memory management routines, that become embedded in the application itself. When a program is written using a DOS extender, it gets its own built-in memory manager. (You never see the DOS extender; you can only appreciate its results.)

DOS extenders work by loading a program through DOS in real mode, then switching program control to protected mode. The DOS extender then provides all services normally given by DOS (because DOS can only operate in real mode). When an application in protected mode needs to step back for a function normally provided by DOS in real mode, the extender translates virtual protected-mode addresses into physical addresses, copies necessary data from extended memory into conventional memory, and switches back to real mode to carry out the function. When the real-mode function completes, the extender reverses the process and switches back to protected mode.

DOS extenders proved to be a temporary solution of the last generation of computers. The acceptance of protected mode operating systems has made DOS extenders superfluous if not obsolete. Most applications that use DOS extenders typically have "386" in their names-for example Paradox 386 or AutoCAD 386-indicating they are part of the 386 generation, and they have disappeared from the market-out of place in a world dominated by Intel's Pentium. Moreover, programs specifically written to use OS/2 or Windows have access to extended memory without the need for a built-in DOS extender. (Of course, programs written for OS/2 or Windows are not DOS applications but OS/2 or Windows applications).

The larger expanses of extended memory add greater potential for program problems. With multiple megabytes out there for the taking, you can be tempted to run several extended DOS programs or operating systems, that each have a built-in memory manager, at the same time. Because DOS does not control how programs interact in extended memory, two programs in extended memory could potentially run into conflicts if both try to use the same block of RAM.

To prevent such conflicts, software writers developed several methods for allocating extended memory among programs. The most primitive way is for a program that uses extended memory to reserve the blocks of extended memory it needs. Each extended memory program steals its own chunk of memory and that's that. The big problem is that programs only make this allocation when they load, so it cannot change with the program's needs. Should an application need multiple megabytes for only one little-used task, it would have to reserve all those megabytes when it starts, depriving all other programs of access to that memory.

Three standards have developed for extended memory managers to allow extended memory programs to work together: Extended Memory Specification, Virtual Control Program Interface, and DOS Protected Mode Interface.

Leave a comment or ask a question
Total comments: 0

Microsoft OS family Disclaimer

  • The e-articles directory is not responsible for any and all copyright infringements by writers and authors. If you suspect the information contained by this page for any copyright infringements, please contact us to investigate the issue
Delegate Control of an OU to a User - Rather than use the Delegation of Control Wizard, use this script to delegate authority over an organizational unit (OU) to a particular user. By delegating administrative responsibilit (more...)
Automatically Windows Log On After Booting - It's sometimes convenient to configure machines to log on automatically when booted. Here are three ways to do this. In all versions of Windows that are based on Windows NT (including W (more...)
Bit Mapped Graphics - Windows marked the transition of the primary operating mode of PC display systems. From character-based displays, Windows ushered in the age of the bit-mapped display. Bit-mapped graphics (more...)
The Evolution of Microsoft Windows ~ Windows XP 64 bit Editions - The CPU story is not over, however. The need for processors capable of handling far more than 4GB of memory has led to development of two competing 64-bit architectures. Intel developed and pro (more...)
MS DOS Alternatives - IBM and several other PC manufacturers all sold customized versions of Microsoft's MS-DOS, and that there was a competitor called DR-DOS. Gary Kildall, whom we left several pages ago sp (more...)
SharePoint - The recent adoption of the web and web-related technologies makes portal technologies an obvious choice. Because portal technologies are web-based, decision makers can access important informatio (more...)
Printing from DOS Applications - If you are still using MS-DOS applications, printing is one of the more problematic areas. Many modern inexpensive inkjet and laser printers don’t support output from DOS programs beca (more...)
Snow Leopard Improves Mac Integration with Microsoft Exchange - Apple is set to release their new version of OSX, the operating system known as Snow Leopard, in September. They have said that the 10.6 version of the OS is not so much a replacement for 10.5 (Leo (more...)
Troubleshooting Internet Explorer 7.0 Issues - Introduction: Internet Explorer 7 (IE7) is light years ahead of its predecessors, but by no means does that proclamation mean that the browser is perfect. You are still (more...)
Edit a Picture in Paint - 1. Choose Start➪All Programs➪Accessories➪Paint. 2. In the resulting Paint window, choose File➪Open. Locate a picture file that you want to edit, select it, and clic (more...)

 
free content
    Copyright © 2006 - 2012 e-articles.info.
The texts, articles and tutorials in the directory are property of their respective owners and authors.