Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ 3.0r4 - <b>_x386_get_abs_addr</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
_X386_get_abs_addr

Usage

   #include <dos.h>
   unsigned _X386_get_abs_addr(unsigned seg, unsigned off)

Description

   This function is implemented for the X memory model only. This returns a
   32 bit address relative to zero with a protected mode segment selector
   and a 32 bit offset for inputs. This can be used to find the starting
   address of DGROUP as follows:

   dgroup_address = _X386_get_abs_addr(getDS(),0);

Return Value

   A 32 protected mode address relative to zero.


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