
13
Appendix
Appendix
Appendix
AppendixA
A
A
A:::: Drivers
Drivers
Drivers
Drivers Installation
Installation
Installation
Installation
The shipping package includes a Driver CD in which you can find every individual driver and utility
that enables you to install the drivers on the system.
After install the operation system successfully, please insert the Driver CD into the drive and install the
driver:
HK900A (D525) need to install the “Chipset”, “VGA”, “Audio”. “LAN” driver.
HK91XA (H61) need to install the “Framework”, “DirectX9C”, “INF”, “Graphics”, “ME”, “Audio”,
“LAN” driver.
Appendix
Appendix
Appendix
Appendix B.
B.
B.
B. sample
sample
sample
sample C++
C++
C++
C++ cash
cash
cash
cash drawer
drawer
drawer
drawer code
code
code
code for
for
for
for DOS
DOS
DOS
DOS
:
// Borland C++3.1 + DOS6.22
//HS-525TD
const int BASE_HS-525TD = 0x1180;
#ifndef byte
#define byte unsigned char
#endif
#ifndef Sleep
#define Sleep(x) delay(x)
#endif
//Initialization
(
Initialized when the program starts, do not always need to initialize
)
void InitHS-525TD(void)
{
byte by = inportb(BASE_HS-525TD + 0x01);
by = by | 0x60;
//bit5,bit6
outportb( BASE_HS-525TD + 0x01, by);
by = inportb(BASE_HS-525TD + 0x05);
by = by | 0x20; //bit 5 input
by = by & 0xBF; //bit 6 output
outportb( BASE_HS-525TD + 0x05, by);
}
//OpenDrawer
int OpenDrawer()
{
byte by = inportb(BASE_HS-525TD + 0x0D);
Australia Sole Administration Office
Tel: +61(3)99953610 Email: [email protected]
Aumei INTL(Australia) Pty. Ltd.
Address: Level 23, HWT T
.AUMEIWORLD.COM
, 40 City Road, Southbank, VIC, 3006, Australia
WWW
ower
13