This function Allocates one or more descriptors in the client's descriptor
table. The descriptor(s) allocated must be initialized by the application with
other function calls.
In :
AX = 0000h
CX = number of descriptors to allocate
Out:
if successful:
carry flag clear
AX = base selector
if failed:
carry flag set
Notes:
If more that 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 expand-up writeable data, with
the present bit set and a base and limit of zero. The privilege level of the
descriptor(s) will match the client's code segment privilege level.