System driver simulator (syscall.dll), 1 system library simulator (syscall.dll) – Casio IT-2000W User Manual

Page 153

Advertising
background image

153

8.5.1 System Library Simulator (SysCall.DLL)

Overview

This system library simulator can be called by various libraries and application program and

simulate the operations of the dedicated IT-2000 hardware.

File name

SysCall.DLL

Note:

In the development tool package, the file name is “SysCallp.DLL”. When you use the file, change

the name of file to “SysCall.DLL”.

Function

In principle SysCall.DLL is called via the system library (LibSYSW.LIB) and makes various setups

regarding the IT-2000 hardware. Under the Windows environment call of a DLL is performed by

specifying the DLL name and exported entry name. Therefore, if a SysCall.DLL to be called has

been replaced with other one for simulation, the calling subject may not be aware of the fact.

SysCall.DLL for simulation retains the value, which, virtually, should be set in the hardware, in

memory according to the request from the application program. And, it returns this value when the

application program requests the acquisition of this value.

If, for example, the application program puts calls a function to turn on the backlight, the backlight

flag inside the SysCall.DLL for simulation will be set. Subsequently, if the application program

issues an acquisition request of the backlight status, the SysCall.DLL returns the flag value that has

been set previously. At this time, note that this simulator does not perform an exact simulation of the

IT-2000. In short, on an actual IT-2000 the backlight will be automatically turned off if the non-

operation state continues for a given period of time after it is turned on, however, this function does

not work on the simulator. The above mentioned flag in the simulator can be confirmed with the

monitor window opened on the screen. This window will be opened at the timing when a program

that calls SysCall.DLL is loaded into memory.

Advertising