/****************************************** How to shrink use of extended memory (c) 1995 by Topical Software Demo programm of DOS-Extender Swallow ******************************************/ #include #include #include #include #include "swallow.h" void main() { highvideo(); cprintf("Call the DOS command \"MEM\" to see, how few EXTENDED memory Swallow uses!\r\n\r\n"); lowvideo(); cprintf("Type EXIT to return to the example program...\r\n"); ShrinkMem(16000); // release all unused extended memory system(""); highvideo(); cprintf("You saw: soo few EXTENDED-memory is used by TSR's based on Swallow.\r\n"); lowvideo(); }