117
7.4.2 Debugging Through Simulation
An application is debugged using the simulation driver. The configuration of simulation drivers to be
loaded varies depending on the application program to be developed.
Library or device to be used At operation on
IT-2000
When simulator is
active
1 System library SYSDRV.SYS SYSDRVP.COM
2 Keypad library SYSDRV.SYS
HWWMANP.EXE
KEYPADP.EXE
SYSDRVP.COM
MOUSE.COM
HWWMANP.COM
KEYPADP.COM
3 Touch panel
(PENMOUSE.COM)
PENMOUSE.COM MOUSE.COM
If the application program only uses the system library, register SYSDRV.SYS as the device
driver on the terminal that performs simulation. If the simulation is performed on a personal
computer, install SYSDRVP.COM on it as the resident program.
To execute an application program on a personal computer that uses the keypad library,
SYSDRVP.COM, MOUSE.COM , HWWMANP.COM, and KEYPADP.COM should be
installed on it. MOUSE.COM is used to simulate touch panel operation on the personal
computer.
If an application program is programmed assuming that the mouse (INT33h) is used, install
PENMOUSE.COM on the terminal and install MOUSE.COM on the personal computer.
In addition, if this application calls the system library, the environment defined in above is essential.
The above sample program shown calls the system library to turn on the backlight. Therefore, in
order to run this program on the personal computer, SYSDRVP.COM must reside on it.