These libraries do not have to be always used. And, in as far as standard MS-Windows is pursued, they do not have to be used at all. The sole exception is that the COM port power must be turned on via the system library if the user wants to control the COM port directly.

8.3.3Simulation Driver

As explained above, the libraries for this terminal only control hardware that is compatible with the IBM PC/AT. This is important to remember if application programs for the terminal are developed on a personal computer. Although each library is linked to the application program to form an executable program, they do not contain code that is specific to the hardware of the handy terminal. Consequently, if a simulation driver is used rather than one of the drivers dependent on the terminal hardware, the application program can be made to run, without modification, on the personal computer. This is the basic concept of simulation.

The diagram below shows the simulation environment that has been constructed on the personal computer. By replacing SysCall.DLL with the simulator, there will not be any part which depends on the IT-2000 hardware. This allows the simulation program to run on the personal computer without having no software modification for application program.

Fig. 8.2

Application Program

Mouse Event

LibSYSW.LIB

LibOBRW.LIB LibYMOD.LIB

LibYMOD.LIB

 

 

 

 

Display Req.

 

 

 

 

Std. VGA Drv.

 

 

MS-Windows

 

 

 

 

 

 

Std. Mouse Drv.

OBRLIB.DLL

YMODEM.DL

PADCTRL.VBX

FLINK.DLL

Std. COM Drv.

 

LibSYSW.LIB

 

 

SysCall.DLL (Simulator)

AT Architecture

For information about SysCall.DLL for simulation refer to Chapter 8.5.1 "System Driver

Simulator (SysCall.DLL)".

144

Page 144
Image 144
Casio IT-2000W manual Simulation Driver