Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo C - <b>mk_fp() make a far pointer</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
MK_FP()                  Make a Far Pointer

 #include   <dos.h>

 void       far *MK_FP(seg,off);
 unsigned   seg;                         Segment
 unsigned   off;                         Offset

    MK_FP() is a macro that makes a far pointer from its component
    segment 'seg' and offset 'off' parts.

    Returns:    A far pointer.

See Also: FP_SEG() FP_OFF() movedata() segread()

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