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>poke() store value at a given memory location</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
poke()                   Store Value at a Given Memory Location

 #include   <dos.h>

 void       poke(segment,offset,value);
 int        segment;                     Segment
 int        offset;                      Offset
 int        value;                       Value to be stored

    poke() stores the integer 'value' at the memory location
    'segment:offset'.

    Returns:    There is no return value.

      Notes:    If <dos.h> is included, poke() is treated as a macro.  If
                <dos.h> is not included or #undef is used on it, the
                function poke() will be used.

See Also: harderr() peek() peekb() pokeb()

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