[Previous][Up][Next] |
The %ds and %es selector MUST always contain the same value or some system routines may crash when called. The %fs selector is preloaded with the DOSMEMSELECTOR variable at startup, and it MUST be restored after use, because again FPC relys on this for some functions. Luckily we asm programmers can still use the %gs selector for our own purposes, but for how long ?
|
Get CS selector |
|
|
Get DS Selector |
|
|
Return SS selector |
|
|
Allocate a number of descriptors |
|
|
Free a descriptor |
|
|
Map segment address to descriptor |
|
|
Return selector increment value |
|
|
Return base address from descriptor table |
|
|
Set descriptor's base address |
|
|
Set descriptor limit |
|
|
Create new descriptor from existing descriptor |