please dont rip this site
Function  58h	Get or Set Alloction Strategy    (Dos 3.x)

entry AH 58h

AL 00h Get Strategy Code

return AX current strategy code

01h Set Strategy Code

BX 00h first fit stratigy

01h best fit

02h last fit

return CF set if error

AX error code

note 1) The memory allocation strategies are:

First Fit: MS-DOS searches the available memory blocks from low

addresses to high addresses, assigning the first one large

enough to satisfy the block allocation request.

Best Fit: Searches all available memory blocks and assigns the

smallest available block that will satisfy the request,

regardless of its position.

Last Fit: Searches the available memory blocks from high addresses to

low adresses, assigning the highest one large enough to

satisfy the block allocation request.

2) The default MS-DOS memory allocation strategy is First Fit (code 0)

file: /Techref/INT/21f/58.htm, 0KB, , updated: 1999/2/20 11:26, local time: 2024/4/12 11:12,

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF=""> INT 21f 58</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.

Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?


Welcome to!


Welcome to!