Sign in Join
FPDoc Onlineexperiment

get_segment_base_address function

In unit go32

Return base address from descriptor table.

Declaration

pascal
function get_segment_base_address(d: Word): DWord

Description

Returns the 32-bit linear base address from the descriptor table for the specified segment.

Parameters:

d
selector of the descriptor you want the base address of.

Return values: Linear base address of specified descriptor.

For an example, see allocate_ldt_descriptors.

Errors

Check the int31error variable.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.