Ci-dessous, les différences entre deux révisions de la page.
back2root:ibm-pc-ms-dos:interrupts:int_21:int_21_58 [2024/01/19 23:31] – créée frater | back2root:ibm-pc-ms-dos:interrupts:int_21:int_21_58 [2024/01/19 23:32] (Version actuelle) – frater | ||
---|---|---|---|
Ligne 18: | Ligne 18: | ||
^ reg ^ | ^ reg ^ | ||
| AX | strategy code if CF clear\\ Error if CF is set (see [[back2root: | | AX | strategy code if CF clear\\ Error if CF is set (see [[back2root: | ||
+ | |||
+ | <WRAP round info> | ||
+ | * defaults to first fit, first block large enough is chosen | ||
+ | * in first fit, DOS searches the MCB chain from low addresses to high for the first block large enough to fill the request. For best fit, DOS searches all memory blocks for the closest fit. In last fit, DOS starts at high addresses and works downward and uses the high part of the chosen block | ||
+ | * any strategy value greater than 2 defaults to 2, but the last value set, even if incorrect, is the value returned by the get strategy | ||
+ | </ | ||
+ | |||
+ | |||
{{page> | {{page> |