Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TCXL Database - mk_fp, mk_fpt http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
MK_FP, MK_FPT

Create far pointers from component parts.

Header File.....TCXLfar.h

Arguments.......s  -  Segment Value
                o  -  Offset Value
                t  -  Type to cast return pointer

Notes...........These macros are used to create far pointers from
                segment/offset combinations.  MK_FP creates an anonymous
                pointer (void far *), while MK_FPT creates a "typed" far
                pointer, necessary in C++, since C++ does not permit
                assigning a VOID to a typed pointer.

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