Microsoft KB Archive/42220

MSJ LIM4EX: Source for SAVSCR, SWPSCR LIM 4.0 Utilities

PSS ID Number: Q42220 Article last modified on 04-16-1991

MS-DOS

Summary: The following is a summary of the program found in the “Microsoft Systems Journal” and in the Software/Data Library: Issue: January 1988, Vol. 3, No. 1, pages 67-80 Title: “LIM 4.0: A Definition For the Next Generation of Expanded Memory” Authors: Marion Hansen and John Driscoll Keyword: LIM4EX LIM4EX can be found in the Software/Data Library by searching on the keyword LIM4EX, the Q number of this article, or S10024. LIM4EX was archived using the PKware file-compression utility. The following text is taken from the cover of the “Microsoft Systems Journal”: Version 4.0 of the Lotus/Intel/Microsoft expanded memory specification includes enhancements that provide more efficient use of memory, up to 32 MB of memory, faster performance, and 80286 and 80386 compatibility. The new features also make it easier to write applications that use expanded memory.

More Information: The contents of the archived file, LIM4EX.ARC (46931 bytes), are: 1. File: LIM4.TXT

Size: 24142 bytes Function: Contains all source code for SAVSCR.EXE, SWPSCR.EXE, MAPCALL.EXE, MODULE1.EXE, and MODULE2.EXE. Module1 and Module2 are in the Assembler, the rest are in C. 2. File: MAPCALL.EXE

Size: 18374 bytes Function: LIM 4.0 program that demonstrates code execution in LIM memory. Loads and runs two separate programs (MODULE1.EXE and MODULE2.EXE) in LIM 4.0 memory. 3. FILE: MODULE1.EXE

Size: 653 bytes Function: Changes EMS page frame and calls executable at that location. 4. File: MODULE2.EXE

Size: 583 bytes Function: Displays enter/exit message on screen. 5. File: SAVSCR.EXE

Size: 17705 bytes Function: Saves current screen to EMS memory. Initializes a blank screen in LIM memory and exits. 6. File: SWPSCR.EXE

Size: 19917 bytes Function: Saves current screen to EMS memory. Displays blank screen, screen from SAVSCR, and then the original screen.