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/12/21 07:38,
3.143.214.86: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://massmind.org/techref/INT/21f/58.htm"> INT 21f 58</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232! |
.