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 next selector increment value</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
        Get Next Selector Increment Value


                 Some functions  such as  allocate LDT  descriptors  and
                 allocate  DOS   memory  can   return  more   than   one
                 descriptor.   You must  call this function to determine
                 the value  that must  be added  to a selector to access
                 the next descriptor in the array.

            To Call

                 AX = 0003h

            Returns

                 Carry flag clear (this function always succeeds)
                 AX = Value to add to get to next selector

            Programmer's Notes

                 o    Do not  make any  assumptions about the value this
                      function will return.
                 o    The increment  value returned  will be  a power of
                      two.

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