Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Blinker 5.10 Online Reference - <b> swap function overview</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Swap function overview
------------------------------------------------------------------------------
 The integrated memory swap function allows you to `shell' out from your DOS
 program and execute another program, such as a word processor, a backup
 utility or the DOS command prompt. Almost all the memory occupied by the
 parent program is freed for use by the child program.

 This differs from the conventional exec(), SHELL or RUN commands which your
 language library may provide, since they leave the parent program in memory
 during execution of the child program.

 The following sequence of events occurs when the swap function (SWPRUNCMD())
 is executed:

 . The currently executing program (parent) is saved to XMS, EMS or
   disk leaving a small resident kernel in memory
 . The child program is executed
 . The parent program image is restored, and execution continues

 Please also read the section entitled `Running protected mode programs' in
 Chapter 3 for certain details and restrictions on nesting multiple DOS
 extended programs. A particular example of this is when running a DOS
 extended program in a DOS box of Windows and then swapping to PKZIP, which
 is also DOS extended. The PKZIP command line parameter `-)' must be
 specified in order to disable the use of DPMI by PKZIP.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson