Date : Thu, 21 Jul 1994 18:13:36 +0100 (BST)
From : clr1@...
Subject: Re: 64K allocation (was: CR progress report...)
On Wed, 20 Jul 1994, Stephen Quan wrote:
> > ...... I've also
> > managed to allocate 64 contiguous K thanks to Stu Anderson's suggestions.
>
> How???
I'll check it up for you if you're actually wanting exact methods of
doing it, but basically I called a DOS interrupts service (int 21h, func
48h I think) with the required size set to 1000h (because each block is
16 bytes). It returns the segment number. You can then use function
somethingelse to free the memory.
+-------------------+-------------------------------------------------+
| /-- |_| /-- | (~ | "And the driving is like the driving of Jehu, |
| \-- | | | | _) | the son of Nimshi, for he drives furiously." |
+-------------------+-------------------- Second Book of Kings 9 v20 -+