Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Dos Protected Mode Interface - <b>get descriptor</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
        Get Descriptor


                 This function  copies the  descriptor table entry for a
                 specified descriptor into an eight byte buffer.

            To Call

                 AX = 000Bh
                 BX = Selector
                 ES:(E)DI =  Pointer to an 8 byte buffer to receive copy
                      of descriptor

            Returns

                 If function was successful:
                 Carry flag is clear.
                 ES:(E)DI = Pointer to buffer that contains descriptor

                 If function was not successful:
                 Carry flag is set.

            Programmer's Notes

                 o    This function  will fail if the selector specified
                      in BX is invalid or unallocated.
                 o    32-bit programs  must use  ES:EDI to  point to the
                      buffer.  16-bit programs should use ES:DI.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson