home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / archives / msdos / announce / 375 < prev    next >
Encoding:
Text File  |  1993-01-24  |  3.4 KB  |  78 lines

  1. Newsgroups: comp.archives.msdos.announce
  2. Path: sparky!uunet!mcsun!Germany.EU.net!news.netmbx.de!mailgzrz.TU-Berlin.DE!math.fu-berlin.de!nigel.msen.com!sdd.hp.com!cs.utexas.edu!swrinde!gatech!usenet.ins.cwru.edu!wsu-cs!vela!tacom-emh1.army.mil!msdos-ann-request
  3. From: Janos_Haide@Novell.COM (Janos Haide)
  4. Subject: SWAP300.ZIP - C routines allow swap of app to disk, XMS, EMS
  5. Message-ID: <9301241533.kp7058@tacom-emh1.army.mil>
  6. Followup-To: comp.archives.msdos.d
  7. Originator: w8sdz@tacom-emh1.army.mil
  8. Sender: msdos-ann-request@tacom-emh1.army.mil
  9. Organization: The SIMTEL20 Archives
  10. Date: Sun, 24 Jan 1993 15:33:18 GMT
  11. Approved: w8sdz@tacom-emh1.army.mil
  12. Lines: 64
  13.  
  14. [Note: this is a repost to correct the subdirectory info]
  15.  
  16. I have uploaded to WSMR-SIMTEL20.Army.Mil:
  17.  
  18. pd1:<msdos.c>
  19. SWAP300.ZIP     C routines allow swap of app to disk, XMS, EMS
  20.  
  21. Excerpt from the docs:
  22.  
  23.                                   swap()
  24.                                Version 3.00
  25.                               October 4, 1990
  26.                             Copyright (C) 1990
  27.                            by Marty Del Vecchio
  28.  
  29.  
  30. This package (swap) includes an MS-DOS assembly-language routine that
  31. can be called from a C program.  It will swap most of the current
  32. program to extended memory (supplied by an XMS driver, such as HIMEM.SYS),
  33. expanded memory (EMS version 4.0), or disk, thus freeing up more memory
  34. for DOS.  It will then execute another program in its place, and re-load
  35. the original program to its original state.  This allows large DOS
  36. programs to execute other programs without the original program taking
  37. up DOS memory.
  38.  
  39. WHATS.NEW:
  40. This document lists the changes in swap() in each version.
  41.  
  42.  
  43. Revision  Date      Comments
  44. ---------------------------------------------------------------------------
  45.  1.00     4/1/90    Initial revision.  Supported swapping to expanded memory
  46.                     or disk.  Supported Small and Medium memory models.
  47.  
  48.  2.00     9/6/90    Added support for swapping to XMS extended memory.
  49.                     Added support for Compact, Large, and Huge memory
  50.                     models.  Made .ASM source file configurable.
  51.  
  52.  2.01     9/7/90    It's always something!  SWAPTEST.LNK was missing from
  53.                     the release .ZIP file.  SWAP.DOC did not have page
  54.                     numbers in the table of contents.
  55.  
  56.  2.10     9/11/90   Added code to parse the command line into the default
  57.                     FCBs (thanks to David E. Jenkins).  Changed /D[model]
  58.                     definitions to allow assembly with Turbo Assembler.
  59.  
  60.  2.11     9/28/90   Fixed problem in SWAP.ASM (variable called cmd_pad).
  61.                     This prevented execution of COMMAND.COM with arguments,
  62.                     as the pad byte (0) is interpreted by COMMAND.COM as the
  63.                     end of the command line.  Ooops!  Also, added
  64.                     information about using Microsoft C 6.00.
  65.  
  66.  3.00     10/4/90   Added full support for Microsoft C 6.00 large code
  67.                     memory models (fragmentation support).  Added complete
  68.                     information about compiling, assembling, and linking in
  69.                     all supported compiler versions and memory models.
  70.                     Fixed error in disk restore routine--it wasn't deleting
  71.                     the swap file after it was done.  Swap() no longer
  72.                     supports EMS version 3.2--EMS 4.0 and above is required.
  73.  
  74. Janos
  75. - -
  76. Janos Haide
  77. jhaide@novell.com
  78.