/* This source file is part of the LynxLib miscellaneous library by Robert Fischer, and is Copyright 1990 by Robert Fischer. It costs no money, and you may not make money off of it, but you may redistribute it. It comes with ABSOLUTELY NO WARRANTY. See the file LYNXLIB.DOC for more details. To contact the author: Robert Fischer \\80 Killdeer Rd \\Hamden, CT 06517 USA (203) 288-9599 fischer-robert@cs.yale.edu */ #include poke_ibm(addr, val) /* Byte-reverses val, and puts it into address addr, even an odd address */ BYTE *addr; WORD val; { *addr++ = val & 0xFF; *addr = (val >> 8); } /* ------------------------------------------------------------- */