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 10:26, local time: 2024/11/25 06:37,
18.219.25.226:LOG IN
|
©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? <A HREF="http://sxlist.com/techref/INT/21f/58.htm"> INT 21f 58</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.