Chapter 12: Cash Drawer Interface 12-21
WaitForSingleObject( g_hHWPortMutex, INFINITE );
if ((m_nOSVersion == OS_WINDOWS_95) || (m_nOSVersion == OS_WINDOWS_CE))
{ // WIN 95 I/O config
//********************************PART A
*************************************
_outpd(m_nIOConf, n_configGPIOReqData); // request communication
with GPIO_BASE
gpioport = (LOWORD(_inpd(m_4)))
& 0x0FFC0; // get GPIO base address
(only 10 bits)
m_nIOPort_select = (WORD)guc_gpsel_offset;
// GP Sel Base
address from GPIO Base Register
m_nIOPort = (WORD)guc_gp_offset;
// GPO Base address from GPIO
Base Register
nUsePort = (WORD)guc_gpuse_offset;
} //Win95
else // WIN NT I/O Config
{
if (m_bPortDrvr == TRUE) // if Wedge NT driver opened successfully
{
//********************************PART A
*************************************
SetFilePointer( g_hPortDrvr, m_nIOConf, (PLONG)&FileOffset, FILE_BEGIN);
// request communication with GPIOBASE
if ( WriteFile(
g_hPortDrvr, // Handle to device
(LPSTR) &n_configGPIOReqData,
(DWORD) 4, // Length of buffer in bytes
&DataWritten, // bytes written
NULL ) == FALSE ) // NULL means wait till I/O completes.
{
DWORD hr = GetLastError();
result = FALSE;
return
result;
}
else
{
SetFilePointer( g_hPortDrvr, (m_4), (PLONG)&FileOffset,
FILE_BEGIN);
//TIGER +4
// get GPIO base address
if ( result &&
(
ReadFile(
Summary of Contents for RealPOS 70
Page 1: ...NCR RealPOS 70 7402 Release 1 4 User Guide B005 0000 1463 Issue N ...
Page 18: ...xvi ...
Page 96: ...3 34 Chapter 3 Touch Screen Calibration Windows MT 7 12 ...
Page 103: ...Chapter 4 Touch Screen Calibration Windows MT 5 64 SR4 4 7 8 Select Finish 9 Select Calibrate ...
Page 119: ...Chapter 4 Touch Screen Calibration Windows MT 5 64 SR4 4 23 2 Select the Advanced button ...
Page 124: ......
Page 148: ...5 24 Chapter 5 Touch Screen Calibration Windows MT 5 64 SR6 ...
Page 152: ...6 4 Chapter 6 Touch Screen Calibration DOS ...
Page 218: ...9 18 Chapter 9 Installing the Terminal in an Integrated Configuration ...
Page 223: ...Chapter 10 2x20 Customer Display Interface 10 5 CP437 ...
Page 224: ...10 6 Chapter 10 2x20 Customer Display Interface CP858 ...
Page 225: ...Chapter 10 2x20 Customer Display Interface 10 7 CP866 ...
Page 226: ...10 8 Chapter 10 2x20 Customer Display Interface CP932 ...
Page 238: ...11 12 Chapter 11 APA Customer Display Interface 5X7 Character Table ...
Page 239: ...Chapter 11 APA Customer Display Interface 11 13 10x14 Character Table ...
Page 268: ......
Page 280: ...14 6 Chapter 14 Maintenance ...
Page 288: ...16 4 Chapter 16 BIOS Updating Procedures ...
Page 302: ...B 4 Appendix B Feature Kits ...