Files | |
file | platform.h |
Platform Header and Inline functions (provided into kernel). | |
Modules | |
group | Platform possible values |
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. |
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
Incicates the current platform. Can be usefull for some system specific methods.
|