142
8.2 Notes on Developing Application
The use of double clicks on this terminal extremely difficult. Develop your application program
so that only single click is enabled
Any program that uses the COM port must turn on the power to it in advance using the system
library. The power to the COM port remains on once it has been turned on, or until it is turned
off by the system library or until the RESET button is pressed. Therefore, do not forget to turn
off the power to the COM port when it is no longer required. This power is automatically
turned off during the suspend state, but power is restored to it if system operation is resumed.
Accordingly, the application program side does not have to be aware of the power condition.
If a program is running on MS-DOS/MS-Windows, data may not always be written in the
physical disk each time the file write function is called. MS-DOS/MS-Windows will hold the
write data in memory until a given amount of data is accumulated. Do not turn the power off
and on or remove and insert the card if this occurs. If this event occurs, the programmer should
create an application which calls the COMMIT command form MS-DOS after attempting a
write to the disk. This COMMIT function can also be called using the _dos_commit () function
of Microsoft-C.
While a file in SRAM card is being opened under Windows, the operation of the access to the
card is aborted if suspend is executed. This will cause INT24 error when the access to the
SRAM card for writing or closing is continued after the resume. When you use an SRAM card
under Windows, please be sure to perform the operation steps in sequence of “open write
close”.