GetSel Allocate a new selector.

Inputs: AX = 0ff03h

Outputs: Carry set on error else,

BX = Selector.

Errors: Approximately 8192 selectors are available initially. While this is a large quantity, it is obviously possible to run out.

Notes: A selector is allocated and initialized with a base of 0, a limit of 0 and as read/write expand up data. Use SetSelDet to make the selector useful, setting an appropriate base and limit.

GetSelDet Get selector linear base and limit.

Inputs: AX = 0ff07h

BX = Selector

Outputs: Carry set on error else,

CX:DX = Linear base.

SI:DI = Byte granular limit.

Errors: If an invalid selector is passed in BX, this function returns with carry set.

GetSelDet32 Get selector linear base and limit.

Inputs: AX = 0ff08h

BX = Selector

Outputs: Carry set on error else,

EDX = Linear base.

ECX = Byte granular limit.

Errors: If an invalid selector is passed in BX, this function returns with carry set.

Next Page

Previous Page

Go to Table of Contents

Go back to Devore Software & Consulting home page