Модуль для замены стандартных функций GetMem и FreeMem.
С помощью директивы компилятора размер "кучи" устанавливается
равным нулю. Но при этом вся оставшаяся свободная память
может быть отдана под нужды вашей программы.
This unit replaces GetMem and FreeMem.
When using the Turbo Pascal Heap (in Version 6),
you will find that you are not permitted to get more than 64 kb.
By using {$M ,0,0} in your program,
no heap is allocated for your program.
This leaves all that memory available to DOS.
You can then get blocks of this memory
from the procedures in this unit, even blocks greater than 64 kb.
Source is included. Popup help for the unit is available in .NG format. |
4k |
+--------------------------------------------------------------+
| Pure Power Software |
+--------------------------------------------------------------+
| This software is copyright by Michael Gallias. You may |
| use this software free of charge if you are simply using |
| it for home use or for a public domain product. A |
| donation would however be appreciated. If you are unable |
| to make a donation or have difficulty in making a |
| donation, a postcard would really be appreciated. Simply |
| send me a postcard with your name and address and a small |
| comment so I know that someone out there actually |
| appreciates my software and hard work. |
| |
| If you are writing commercial software or working in a |
| business or writing shareware, you are expected to make a |
| reasonable donation to the author.
|