Main Page | Modules | Data Structures | File List | Data Fields | Globals

Platforms compatibilty

Functions to keep platforms compatibility. More...


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.

Detailed Description

Functions to keep platforms compatibility.


Function Documentation

_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.

See also:
__farsetsel

_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.

See also:
__farsetsel

_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.

See also:
__farsetsel

_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.

See also:
__farsetsel

_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.

See also:
__farsetsel

_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.

See also:
__farsetsel


Variable Documentation

long Platform
 

Incicates the current platform.

Can be usefull for some system specific methods.

See also:
PlatformValues


Generated on Fri Oct 29 14:32:53 2004 for oZone GUI by doxygen 1.3.8