00001 #ifndef DRPORTIO_H
00002 #define DRPORTIO_H
00003 #include <base/BaseUtility.h>
00004
00005 namespace Spr {
00006 class SPR_DLL WBLoadWindowsDriver;
00007
00008
00009
00010
00011
00012
00013 void WBGetPortIO();
00014 }
00015
00016 #if defined _MSC_VER
00017 #include <conio.h>
00018 #endif
00019
00020 #if defined __BORLANDC__
00021 #define _inp bcb_inp
00022 #define _outp bcb_outp
00023 #define _inpw bcb_inpw
00024 #define _outpw bcb_outpw
00025 namespace Spr {
00026 unsigned char SPR_DLL bcb_inp(unsigned short adr);
00027 void SPR_DLL bcb_outp(unsigned short adr, unsigned char v);
00028 unsigned short SPR_DLL bcb_inpw(unsigned short adr);
00029 void SPR_DLL bcb_outpw(unsigned short adr, unsigned short v);
00030 }
00031 #endif
00032
00033
00034
00035 #endif