Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:docs:dpmi:api:int31:00:00 [2021/08/26 06:02] – prokushev | en:docs:dpmi:api:int31:00:00 [2021/08/27 01:23] (current) – created prokushev | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| {{page> | {{page> | ||
| - | ====== Int 31H, AH=00H, AL=01H ====== | + | ====== Int 31H, AH=00H, AL=00H ====== |
| ===== Version ===== | ===== Version ===== | ||
| Line 9: | Line 9: | ||
| ===== Brief ===== | ===== Brief ===== | ||
| - | Frees an LDT descriptor. | + | Allocate |
| ===== Input ===== | ===== Input ===== | ||
| - | AX = 0001H | + | |
| - | BX = selector for the descriptor | + | |
| ===== Return ===== | ===== Return ===== | ||
| Line 20: | Line 20: | ||
| if function successful | if function successful | ||
| Carry flag = clear | Carry flag = clear | ||
| + | AX = base selector | ||
| | | ||
| if function unsuccessful | if function unsuccessful | ||
| Carry flag = set | Carry flag = set | ||
| AX = error code | AX = error code | ||
| - | | + | |
| | | ||
| ===== Notes ===== | ===== Notes ===== | ||
| - | Each descriptor allocated | + | Allocates one or more descriptors in the task's Local Descriptor Table (LDT). The descriptor(s) allocated must be initialized by the application |
| - | Under DPMI 1.0 hosts, any segment registers which contain | + | If more than one descriptor was requested, the function returns a base selector |
| + | |||
| + | The allocated descriptor(s) will be set to " | ||
| Refer to the rules for descriptor usage in Appendix D. | Refer to the rules for descriptor usage in Appendix D. | ||




