#include <string.h>
Defines | |
| #define | PL_DOS 0 |
| Microsoft Dos compatible operating system (DJGPP). | |
| #define | PL_WIN 1 |
| Microsoft Windows 32 bits operating system (MSVC). | |
| #define | PL_LNX 2 |
| Linux compatible operating system (GCC). | |
Functions | |
| _INLINE void | __farsetsel (unsigned short selector) |
| Set selector for __far* functions Similar to _farsetsel on djgpp. | |
| _INLINE void | __farnspokeb (unsigned long addr, unsigned char val) |
| Set an unsigned char at the specified adress Works in far memory Similar to (*((unsigned char*)(addr)) = (val)); on windows and linux Similar to _farnspokeb on djgpp. | |
| _INLINE void | __farnspokew (unsigned long addr, unsigned short val) |
| Set an unsigned short at the specified adress Works in far memory Similar to (*((unsigned short *)(addr)) = (val)); on windows and linux Similar to _farnspokew on djgpp. | |
| _INLINE void | __farnspokel (unsigned long addr, unsigned long val) |
| Set an unsigned long at the specified adress Works in far memory Similar to (*((unsigned long *)(addr)) = (val)); on windows and linux Similar to _farnspokel on djgpp. | |
| _INLINE unsigned char | __farnspeekb (unsigned long addr) |
| Read an unsigned char at the specified adress Works in far memory Similar to (*((unsigned char *)(addr))) on windows and linux Similar to _farnspeekb on djgpp. | |
| _INLINE unsigned short | __farnspeekw (unsigned long addr) |
| Read an unsigned short at the specified adress Works in far memory Similar to (*((unsigned short *)(addr))) on windows and linux Similar to _farnspeekw on djgpp. | |
| _INLINE unsigned long | __farnspeekl (unsigned long addr) |
| Read an unsigned long at the specified adress Works in far memory Similar to (*((unsigned long *)(addr))) on windows and linux Similar to _farnspeekl on djgpp. | |
Variables | |
| long | Platform |
| Incicates the current platform. | |
1.3.8