Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| en:docs:dpmi:api:int31:00:00 [2021/08/26 06:37] – removed prokushev | en:docs:dpmi:api:int31:00:00 [2021/08/27 01:23] (current) – created prokushev | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | {{page> | ||
| + | |||
| + | ====== Int 31H, AH=00H, AL=00H ====== | ||
| + | |||
| + | ===== Version ===== | ||
| + | |||
| + | 0.9 | ||
| + | |||
| + | ===== Brief ===== | ||
| + | |||
| + | Allocate LDT Descriptors | ||
| + | |||
| + | ===== Input ===== | ||
| + | |||
| + | AX = 0000H | ||
| + | CX = number of descriptors to allocate | ||
| + | |||
| + | ===== Return ===== | ||
| + | |||
| + | if function successful | ||
| + | Carry flag = clear | ||
| + | AX = base selector | ||
| + | | ||
| + | if function unsuccessful | ||
| + | Carry flag = set | ||
| + | AX = error code | ||
| + | 8011H descriptor unavailable | ||
| + | | ||
| + | ===== Notes ===== | ||
| + | |||
| + | Allocates one or more descriptors in the task's Local Descriptor Table (LDT). The descriptor(s) allocated must be initialized by the application with other function calls. | ||
| + | |||
| + | If more than one descriptor was requested, the function returns a base selector referencing the first of a contiguous array of descriptors. The selector values for subsequent descriptors in the array can be calculated by adding the value returned by Int 31H Function 0003H. | ||
| + | |||
| + | The allocated descriptor(s) will be set to " | ||
| + | |||
| + | Refer to the rules for descriptor usage in Appendix D. | ||
| + | | ||
| + | ===== See also ===== | ||
| + | |||
| + | |||
| + | |||
| + | ===== Note ===== | ||
| + | |||
| + | Text based on [[http:// | ||
| + | |||
| + | {{page> | ||
| + | |||
| + | |||




