background image

140

 Add the following to the WIN.INI file. For information about the setup value of each entry

refer to Chapter 7.9.3 "Setting Up WIN.INI File".

Setup example

   

[IrDA.COM2]

  IrDA=ON

  MaxBaudRate=115200

  SizeWindow=1

  SizeData=1024

  DisconnectThresholdTime=40

  MaxTurnAroundTime=500

  Min  TurnAroundTime=10000

  NumBOF=0

  DeviceNickName=devicenickname

  DeviceName=devicename

  DiscoverCount=0

  ServiceType=7

The above operations complete the installation procedure.

Summary of Contents for IT-2000W

Page 1: ...IT 2000W Windows version Technical Reference Manual Version 1 00 April 1998 Casio Computer Co Ltd Copyright 1998 All rights reserved ...

Page 2: ... 3 Power OFF Process 25 2 2 4 Battery Voltage Monitoring Process 27 2 2 5 Low Consumption Current Process 31 2 2 6 How to Replace or Recharge Batteries 34 2 3 Supported Devices 36 2 3 1 Display Unit 36 2 3 2 EL Backlight 38 2 3 3 Touch Panel 39 2 3 4 Disk 40 2 3 5 Serial Communication 42 2 3 6 PC Card 44 2 3 7 Clock Timer 46 2 3 8 Buzzer 47 2 3 9 Barcode Reader 48 2 3 10 Infrared Communication IR ...

Page 3: ...od 96 7 3 Clock Control Driver 97 7 3 1 Function 97 7 3 2 Startup Method 98 7 4 Keypad Driver Hardware Window Manager 99 7 4 1 Function 99 7 5 PenMouse Driver 100 7 5 1 Overview 100 7 5 2 Startup Method 101 7 6 Virtual Keyboard Driver 102 7 6 1 Function 102 7 6 2 Startup Method 103 7 7 System Library main program file 104 7 7 1 Function 104 7 7 2 Operation Method 104 7 8 Display Driver 105 7 8 1 F...

Page 4: ...Utility 257 9 1 Overview 257 9 2 Calculator Utility 258 9 3 Clock Utility 260 9 4 Calendar Utility 262 9 5 Remaining Battery Voltage Display Utility 263 9 6 FLINK Utility 264 9 6 1 Communication Parameter Setup Command 265 9 6 2 File Transmission S 267 9 6 3 File Reception R 269 9 6 4 File Append A 271 9 6 5 File Deletion D 272 9 6 6 File Move Rename N 273 9 6 7 Idle Start 274 9 6 8 Termination Co...

Page 5: ...ithout permission from Casio Computer Co Ltd Copyright Casio Computer Co Ltd All rights reserved About MS DOS 6 22 The MS DOS copyright is the proprietary of Microsoft Corporation in the United States and is protected by the United States Copyright Law and International Treaty provisions The MS DOS software shall not be modified reverse engineered decompiled or disassembled Any form of reproductio...

Page 6: ...ws the terminal to operate continuously for eight hours when the backlight is off 1 1 2 Hardware Global IBM PC AT architecture standard is adopted Compact design 85 W x 196 L x 30 H mm 430 g approx Uses a 32 bit CPU Intel 80486 GX for 25 MHz high speed operation High resolution 192 x 384 pixels large size liquid crystal touch panel Supports various interfaces including RS 232C 8 pin 14 pin IR and ...

Page 7: ...ction 256 KB Drive C image 768 KB Display and input LCD panel 192 x 384 dots FSTN semi transparent LCD with EL backlight Touch panel Analog 192 x 384 dots Interface 8 pin RS 232C 14 pin RS 232C IrDA Standards 1 0 1 1 PC Card PCMCIA Release 2 1 Power supply Main battery Lithium ion battery pack x 1 Sub battery Lithium vanadium battery x 1 lithium battery x 1 Operating hours 8 hours if backlight off...

Page 8: ... each model please consult with your local Casio representative Model RAM FlashROM Total Remark IT 2000W20 4 Mbytes 4 Mbytes 8 Mbytes IT 2000W30 4 Mbytes 8 Mbytes 12 Mbytes IT 2000W40 4 Mbytes 12 Mbytes 16 Mbytes IT 2000W50 4 Mbytes 16 Mbytes 20 Mbytes IT 2000W60 4 Mbytes 24 Mbytes 28 Mbytes ...

Page 9: ...ttery Primary sub battery IrDA Driver Receiver RS 232C driver PC card slot IrDA 1 1 IrDA 1 0 16550 PC card controller Analog touch panel Keyboard controller NAND FLASH NAND interface Key LCD LCTC VGA controller PMU COM 1 COM 2 Battery voltage monitoring sensor Temperature sensor Illumination sensor 8 pin 14 pin UART SIR BUS Controller PMU ASIC RTC RTC EL Backlight BL controller ...

Page 10: ... C In drive C 768 KB of memory area in the DINOR FLASH ROM 1 MB is allocated Because of the capacity limitation only the essential MS DOS files are stored in drive C Therefore if using an MS DOS file that is not included in the main part copy it from the Backup CD ROM title on CD ROM MS DOS version 6 22 Software to the F ROM drive D or RAM disk A For information about each MS DOS file refer to an ...

Page 11: ...e driver VKD 386 SDK Virtual key driver IRDA DLL IRCOMM DRV SDK IR communication drivers Utilities For information about the utilities refer to Chapter 9 Utility File name Storage location Description WCAL EXE SDK Calendar utility WCALC EXE SDK Calculator utility WCLOCK EXE SDK Clock utility WCHKBATT EXE SDK Power status indication utility XY EXE XY utility DOS program FLINK EXE Basic drive C FLIN...

Page 12: ...lop an application program File name Storage location Description LIBSYSW LIB SYSCALL DLL SYSCALLP DLL SYSLIB H SDK System library PADCTRL VBX PADCTRL H SDK Keypad library LIBOBR LIB OBRLIB H OBRLIB DLL SDK OBR library LIBYMOD LIB YMODEM DLL YMODEM H SDK YMODEM utility library FLINK LIB FLINK DLL FLINK H SDK FLINK utility library COM2KEY EXE Basic driver C COM KEY for DEBUG DOS program PMON COM PM...

Page 13: ...herwise if system operation is suspended while writing to an SRAM card or ATA card the data on the card may be damaged To activate this flash out process use the _dos_commit function of Visual C C or Commit Function 68h of DOS VGA controller is installed in IT 2000 Logically it can display 16 different colors each in single color though only 4 colors at a time are distinguishable In case of develo...

Page 14: ... OFF APO function are 0 minute 1 minute and 30 seconds 2 minutes and 30 seconds up to a maximum of 15 minutes and 30 seconds This timer has an error of 23 seconds Do not open the battery compartment lid while the power is on If it is opened accidentally an emergency alarm sounds In case such the event occurs close the lid at once When you change the main battery be sure to switch off the power bef...

Page 15: ...e the calibration program from the DOS prompt screen then return to Windows The input process from the touch panel should be designed so that every designation can be accepted with a single click On this terminal a double click can be ignored For this system the two display drivers of VGA_C DRV and VGA_NC DRV are provided The former will display the mouse cursor and the latter will not display the...

Page 16: ...uration of the IT 2000W Fig 2 1 SysCall DLL LibSYSW LIB Application Program LibOBRW LIB PADCTRL VBX PenMouse drv OBRLIB DLL Handy Terminal Original Hardware ROM BIOS LibYMOD LIB YMODEM DL FLINK DLL Mouse Event LibSYSW LIB MS Windows AT Architecture ROM BIOS IrDA Driver VKD 386 VGA_NC drv Display Req FLINK LIB ...

Page 17: ...00 is as follows Fig 2 2 Extended Memory ROM BIOS NAND DISK BIOS VGA BIOS Memory Mapped Disk I F 100000h 0F0000h 0E0000h 0DC000h 0D8000h 0C8000h 0C0000h 000000h 0A0000h PC Card I F EMS Windows 16 KB x 4 Reserved Video Buffer 128 KB System RAM 640 KB ...

Page 18: ... The drive size storage capacity differs depending on the model Drive for Windows files Drive E Read Only A ROM that stores Windows files is assigned to the drive E This is a reserved drive on IT 2000D models In this case note that if this drive is accessed an INT24h error will occur Drive for booting up from card Drive F Read Only This read only drive functions only while a card is being booted F...

Page 19: ...he RESET switch is used to either re start the system or to initiate the System Menu which is the maintenance program Press this RESET switch to start hardware initialization followed by initiation of the System Menu This process is called the System Menu boot process If an OFF event occurs while the System Menu is operating the system shifts to the OFF state If the ON key is pressed in the OFF st...

Page 20: ...OEXEC BAT located in drive C for starting up the MS DOS Application boot process Searches for CONFIG SYS and AUTOEXEC BAT prepared by the user and starts up MS DOS from the drive where they are located Resume process Restores the memory conditions that existed before the power was turned off and continues operating according to the conditions ...

Page 21: ...er OFF due to lower battery voltage Note For more information power OFF factors refer to Chapter 2 2 3 Power OFF Process This ON process is divided into two processes the Resume process for continuing the previous process and the Boot process for re loading MS DOS The Boot process can be further broken into the Application boot and the System Menu boot processes Fig 2 4 Application Boot Process Se...

Page 22: ... boots MS DOS from it Consequently if the CONFIG SYS and AUTOEXEC BAT files created by the user are located on one drive MS DOS will be booted from the drive assigned as the current drive Under factory defaults it is apparent that the CONFIG SYS and AUTOEXEC BAT files created by the user cannot be found If this occurs therefore the CONFIG SYS and AUTOEXEC BAT files located in drive C are selected ...

Page 23: ...of the resume process However these default setting can be modified so that the system reacts differently to OFF factors by means of the system library For example according to the default settings pressing the Power switch will suspend and resume the execution of an application program However it is also possible to simply reboot the system with the Power switch without activating the resume func...

Page 24: ...utomatically turned on as soon as this terminal is mounted on the I O Box However this function is effective only if power is supplied to the I O Box This function is enabled by default however it can be disabled using the system library System operation after the power is turned on proceeds according to the sequence described in Relationship between OFF Factors and ON Processes Relationship betwe...

Page 25: ...ocess Before this suspend process is executed the application currently running is informed of the suspend request OFF factor by the system Then the system stores the information required for resumption and turns off the power Hereinafter the suspend process or OFF process refers to the normal suspend process For information about the method used by each application to detect the occurrence of an ...

Page 26: ...age may reach the LB0 level If this occurs the system will execute the critical suspend process and forcibly turn off the power Therefore if the LB1 alarm sounds recharge or replace the battery as soon as possible Critical Power OFF due to RESET switch pressed Press the RESET switch to forcibly turn off the system power If this is attempted to initiate the System Menu it is strongly recommended to...

Page 27: ...tops the supply of power to the main circuit and PC card but continues to supply power to the DRAM and charge the secondary sub battery In this route neither the primary nor the secondary sub batteries are used B This is a power supply route operating where the main battery is absent or not fully charged The DRAM is back upped by the voltage of the secondary sub battery The primary sub battery is ...

Page 28: ...t the sub battery voltage has reached a limit level that requires a warning to be issued Since the system does not issue an alarm the application program must execute a warning by acquiring the status from the system library The sub battery must be replaced according to the procedure described later Low SRAM card battery voltage warning level LB3 SRAM card battery Indicates that the SRAM card batt...

Page 29: ...off to protect the data c If the main battery voltage falls further and reaches LB0 the system automatically shuts off the power to the main unit critical suspend d If the main battery voltage drops below LB0 the main unit power cannot be turned on even if the power switch is pressed e If the main unit is mounted on the I O Box or connected to the AC adaptor charging of the battery is initiated an...

Page 30: ...hat it must be replaced For information about the method used to replace the sub battery refer to Chapter 2 2 6 How to Replace or Recharge Batteries SRAM Card Battery Voltage Monitoring This function monitors the SRAM card battery voltage Application programs are permitted through the system library to monitor this voltage and determine if it is lower than the warning level LB3 However the system ...

Page 31: ... below With respect to the PC card which is a removable device the APM functions are provided from the specific APM driver CS_APM EXE Fig 2 7 Basically APM functions in the following two ways APM BIOS which is in the background controls the power conditions of each device Applications can call the APM BIOS functions to obtain or control the power conditions An application that uses the APM BIOS fu...

Page 32: ...ivity is also used in the later description of the ABO function but it has a different meaning Activity monitored by APO Touch panel input Key input Access to files Access to COM1 Auto Backlight OFF Function ABO This function automatically turns off the backlight if it no access to the touch panel or keys has been attempted for a specified period of time This time interval has been set to twenty s...

Page 33: ... shifts to the RUN state whenever the user attempts an action However the clock speed is quickly reduced and CPU operation is slow if high speed processing is attempted intentionally or if system operation continues without user action e g in a long calculation In order to avoid this disable the power management function by means of the system library refer to Chapter 8 6 2 System Library Activity...

Page 34: ... is on If it is opened accidentally an emergency alarm sounds In case such the event occurs close the lid at once Sub battery replacement Hold down the Power switch for more than one second to turn off the main unit power Make sure that the fully charged main battery is installed Replace the primary sub battery button type lithium battery with a new one Note Make sure that the main battery is inst...

Page 35: ...ery be replaced only after making a backup of the data to avoid accidental loss Main Battery Recharge The main battery can be recharged using either of the following methods Recharging with the charger According to the Main battery replacement procedure described on the previous page remove the main battery and place it on the charger Recharging with the AC adaptor While keeping the main battery t...

Page 36: ...d VGA compatible VRAM 512 KB RAM for hardware window 32 KB Note With B W liquid crystal displays the actual display colors will be changed to reverse video About the Display Screen Since this terminal has a VGA controller it can internally control the entire VGA 640 x 480 dots screen However only the 192 x 384 dots which corresponds to the upper left portion of the VGA screen can be displayed Fig ...

Page 37: ...40 x 480 16 A000h Hardware Window The hardware window provides the superimpose function for the VGA controller With this hardware window a pop up screen can be displayed without affecting the operation of the application program This hardware window is used in the keypad driver and various utility programs Contrast Adjustment The contrast of the liquid crystal display automatically compensates for...

Page 38: ...o turn on or off the backlight Auto Backlight OFF Function This function automatically turns off the backlight when no key or touch panel input has been occurred in the specified period of time The time interval until the backlight is automatically turned off can be set with the System Menu or the system library Auto Backlight Control Function This function detects the intensity of ambient light a...

Page 39: ...o pieces of software are provided PENMOUSE COM With this PENMOUSE COM application programs can acquire touch panel input through the mouse I F refer to Chapter 7 5 PenMouse Driver KEYPAD EXE With this keypad driver application programs can perform character input through the touch panel However it cannot be used concurrently with PENMOUSE COM refer to Chapter 7 4 Keypad Driver Hardware Window Mana...

Page 40: ... on and off since they are backed up by the main battery and the sub batteries The contents of the RAM disk are not affected by pressing the RESET switch either Since this RAM disk permits the use of INT13h it can be used as the built in fixed disk Its drive name is A Note Since the RAM disk shares part of the main memory installed in the main unit a large RAM disk size may affect the operation of...

Page 41: ...rive C to format the F ROM drive For more information about the TFORMAT EXE operation refer to Appendix A TFORMAT Since this F ROM drive supports the INT13h interrupt it can be used as the built in fixed drive Its drive name is D PC Card Drive If either an SRAM card or ATA F ROM card is inserted in the PC card slot it can be used as the drive G Drive F for models without the F ROM drive If the ATA...

Page 42: ...ched via the system library COM3 3E8h 3EFh Modem card Modem card If a modem card is used COM4 2E8h 2EFh IrDA 1 1 Communication with an I O Box or between two IT2000s Direct control not possible COM1 This is a COM port for RS 232C communication This port can be used after turning on the power to the 8 pin serial I F via the system library The 8 pin serial I F is located on the side panel of the mai...

Page 43: ...IrDA then turn on the power The 14 pin serial I F is located on the rear of the panel Pin assignment Pin 1 GND Pin 2 GND Pin 3 N C Pin 4 SD Pin 5 RD Pin 6 RS Pin 7 ER Pin 8 CS Pin 9 CI Pin 10 DR Pin 11 CD Pin 12 EXTSW Pin 13 VH Pin 14 VH Fig 2 11 COM3 A modem card if one is inserted in the PC card slot can be used as the COM3 port refer to Chapter 2 3 6 PC Card COM4 The COM4 port is dedicated for ...

Page 44: ...RMAT G COM Port of Modem Card COM Port COM3 IRQ 11 I O Address 3E8h to 3EFh Notes This port is not applicable for a 3 3V card CardBus or a ZV port Neither turn off the power nor remove the card while accessing the card If this is done system operation becomes unstable Before using each type of PC card the PC card driver should be installed by means of the CONFIG SYS file For information about the ...

Page 45: ...card can be made usable only after it has been inserted in the slot and the switch has been locked properly However since some types of cards do not allow this card lock switch to be closed a library routine to disable this switch is supported For more information refer to Chapter 8 6 2 System Library ...

Page 46: ... operation is set using the INT1Ah or system library it is possible to cause an INT4Ah interrupt at the specified time to issue the alarm Normally a buzzer sounds if an INT4Ah occurs however the application program side can hook this interrupt and perform its unique alarm process It is also possible to automatically turn on the power at the specified alarm time by means of the system library refer...

Page 47: ... the power is turned off by the Power switch If the PC card is inserted removed If a key input is accepted for matrix key and keypad Enable disable can be set with the system library refer to Chapter 8 6 2 System Library If the key buffer is full At a low battery voltage LB1 If an alarm interrupt INT4Ah occurs When the battery lid is opened while the power is on At a hardware anomaly For calibrati...

Page 48: ...nication between the OBR and this terminal use the OBR library The various settings such as an objective readout codes can be set up by transmitting the set up commands from this terminal to the OBR Notes The OBR power is controlled by the OBR library function Before connecting the OBR to this terminal turn off the main power Every OBR can write the current setup values in the EEPROM built into ea...

Page 49: ... at a maximum rate of 4 Mbps by means of the dedicated utility FLINK utility IrDA 1 0 Item Specification Remark Synchronization Asynchronous Conforms to IrDA1 0 Baud Rate 115 2 Kbps max COM Port COM2 IrDA 1 1 Synchronization Frame synchronization Conforms to IrDA1 1 see note below Baud Rate 4 Mbps max COM Port COM4 Cannot be controlled directly from the application Note The distance between the tw...

Page 50: ...available Key Layout See the following key layout Fig 2 12 Fn key The Fn key should be used in combination with the numeric key Hold down the Fn key and press a numeric key Fn 0 Function key F10 Fn 1 to 6 Function key F1 to F6 Fn 7 Backlight on off Fn 8 Increase the contrast Fn 9 Decrease the contrast For more information refer to Chapter 6 Keyboard Controller Fn 7 8 9 4 5 6 CLR 0 1 2 3 ...

Page 51: ...he ambient temperature It is used for Automatic Brightness Adjustment ABA of the liquid crystal display It cannot be controlled directly from the application For more information about the system library refer to Chapter 6 Keyboard Controller Battery voltage level sensor Detects the voltage levels of the main battery sub batteries and card battery It is used by the system to take action against lo...

Page 52: ...eased a short beep will sound and after a short while a screen as shown in Fig 3 1 will appear The calibration touch panel adjustment program is initiated first and it must be executed before entering to the system menu selection stage If this terminal is used for the first time or if the touch screen is out of line adjust the touch panel using this calibration program For information about adjust...

Page 53: ...initiated the operator is required to enter a password for system security purposes For information about password entry refer to Chapter 3 17 Password Entry 3 3 List of Functions Command Screen Description Key Click Sound Switch ON or OFF the key click sound Buzzer Volume Set volume of buzzer LCD Contrast Adjust the brightness of contrast Auto Backlight Set the control of auto backlight Auto Powe...

Page 54: ...set to OFF Fig 3 3 Operation Select ON OFF with the 0 or 1 key then confirm the selection with the RET key Key Operation Function 0 key Sets the key click sound to OFF 1 key Sets the key click sound to ON decimal key Toggles to ON and OFF of the key click sound RET key Confirms the current setup and exits the current operation CLR key Cancels the setup and exits the current operation Others Invali...

Page 55: ...ion Make a selection with a key 0 to 3 and confirm the selection with the RET key Key Operation Function 0 to 3 keys Selects the corresponding number decimal key Toggles between two selections RET key Confirms the currently selected setup and exits this operation CLR key Cancels the currently selected setup and exits this operation Others Invalid ...

Page 56: ...ontrast RET key Confirms the currently selected contrast setup and exits this operation CLR key Cancels the currently selected contrast setup Others Invalid Note Depending on whether the parameters are being modified the CLR key activates differently For example if the CLR key is pressed while a parameter is being changed that parameter will be reset to the previous value However if the CLR key is...

Page 57: ...or 1 key then confirm the selection with the RET key Key Operation Function 0 key Turns the auto backlight control to OFF 1 key Sets the auto backlight control to ON decimal key Toggles to ON and OFF of the auto backlight control RET key Confirms the current setup and exits this operation CLR key Cancels the current setup and exits this operation Others Invalid ...

Page 58: ...nd when the power of system is shut off automatically Fig 3 7 Operation Set the APO time out period with the 2 or 8 key then confirms the setting with the RET key Key Operation Function 8 key Increase the APO timeout period 2 key Decrease the APO timeout period If DISABLE appears the APO function is disabled RET key Confirms the current setup and exits this operation CLR key Cancels the current se...

Page 59: ...ylus from the touch panel After the in the upper left corner disappears and the arrow moves to the in the upper right corner touch it in the same way Do the same for the s in the lower left and lower right corners When all four s are touched by the stylus the touch panel calibration is completed If any improper operation has been done press the 1 key to perform the touch panel calibration again If...

Page 60: ...e next position even if the mark has been touched by the stylus an incorrect position was likely touched Touch the correct position Key Operation Function 1 key Adjusts the touch panel calibration starting from the beginning 2 key Returns to the menu screen Others Invalid ...

Page 61: ...ompatible machine PC and an IT 2000 main unit referred to as PC to HT communication A dedicated 9 pin DSUB 8 pin cross type cable DT 9689AX is required to connect both the terminals This utility does not have functions to allow communication between HT and HT Use the FLINK function for the HT to HT communication Fig 3 9 Fig 3 10 Fig 3 11 ...

Page 62: ... and the time stamp of IT 2000 files are accordingly controlled based on the local time The XY utility for file transmission reception by means of the YMODEM protocol will convert a time stamp in Greenwich standard time to a time stamp in local time or vice versa This time conversion is achieved according to the environment variable TZ In communication between two IT 2000 terminals if for example ...

Page 63: ...nsmitted file with its full path name including the drive name then press the RET key Pressing the RET key starts file transfer When the Normal End message is displayed file transmission has been completed If the CLR key is pressed during file transfer transfer will be interrupted It will take about 10 seconds for communication to completely stop 3 SEND ALL TO HT transfer all files in the user dri...

Page 64: ...following table If the CLR key is pressed during communication file reception will be interrupted It will take about 10 seconds for communication to completely stop The following table shows the possible destination drive directory for copy purposes FROM drive D RAM disk A Copy destination drive directory Installed FROM drive D Installed Not installed FROM drive D ...

Page 65: ...is can be implemented either as PC to HT AT compatible machine to IT 2000 communication or as HT to HT between two IT 2000 terminals communication To perform PC to HT communication an I O Box for IT 2000 and a PC side communication utility LMWIN EXE is required Fig 3 13 Fig 3 12 Fig 3 14 ...

Page 66: ...ERVER at the reception side to prepare for reception If the file name input screen appears at the transmission side specify the transmitted file by its full pathname including the drive name then press the RET key Press the RET key to start file transfer If the Normal End message is displayed file transmission has been completed Note If the CLR key is pressed during file transfer transfer will be ...

Page 67: ...munication to completely stop About communication with PC To achieve communication between a PC and IT 2000 it is necessary to prepare an I O Box for IT 2000 and PC side communication utility LMWIN EXE Windows version The following procedure shows the steps required for communication with a PC Connect the I O Box and PC using a communication cable Turn on the power of I O Box Mount the IT 2000 on ...

Page 68: ...ioned on the minute setting the current setup is confirmed Note that the seconds can not be specifically set When the date and time is modified the seconds will be set to 0 The year can be set to between 1980 and 2099 If the entered value includes an invalid number the setup operation will result in an error when the entire entry has been completed If this occurs reenter from the beginning Key Ope...

Page 69: ...mpt screen An appropriate DOS command can be inputted through the keypad This DOS command prompt is the result of calling COMMAND COM as a child process from the system menu Consequently if the EXIT command is entered operation returns to the system menu Fig 3 16 ...

Page 70: ...up with the RET key When the Hit Any Key message is displayed press any key other than the Fn key The IT 2000 is turned off After making sure that it turns off press the reset switch on the IT 2000 again After the IT 2000 is turned on again the format confirmation screen as shown below will be displayed during system start up Then press the 1 key This properly formats the RAM disk After formatting...

Page 71: ...ze RET key Confirms the currently selected RAM disk size and exits this operation CLR key Cancels the currently selected RAM disk size 1 key Formats the RAM disk Format confirmation screen 0 key Aborts formatting of the RAM disk Others Invalid Operations with the touch panel are not permitted ...

Page 72: ...or user drive is to be formatted then press the RET key This makes the following screen appear In this screen press the 1 key to move the cursor onto YES and press the RET key to start formatting If either the RET key is pressed while the cursor is on NO or CLR key is pressed while the cursor is on YES the formatting operation will be canceled Fig 3 19 Fig 3 20 ...

Page 73: ...ive selection screen 0 key Does not perform formatting formatting start screen 1 key Starts formatting formatting start screen decimal key Toggles YES and NO options of formatting RET key Confirms the current setting CLR key Cancels the current setting Others Invalid ...

Page 74: ...The following table shows the available key operations Key Operation Function 0 key Does not initialize the system 1 key Initializes the system decimal key Toggles YES and NO options of initialization RET key Confirms the current setting CLR key Cancels the current setting and exits this operation Others Invalid ...

Page 75: ...y is pressed with characters having been entered the characters entered so far will be canceled and the password entry operation must be performed again This password will if it is accepted once be valid and will not have to be entered again unless the system menu is re started Key Function RET key Confirms the entry CLR key Either clears or cancels the entered characters Others Inputted as a char...

Page 76: ... AUTOEXEC BAT files and sets it as the current drive then MS DOS is loaded into the main memory As a result the CONFIG SYS and AUTOEXEC BAT files in the current drive can be processed through MS DOS The CONFIG SYS and AUTOEXEC BAT files will be searched in the following order PC card drive RAM disk F ROM drive Basic drive The CONFIG SYS and AUTOEXEC BAT files on the basic drive will be executed on...

Page 77: ...s the CONFIG SYS and AUTOEXEC BAT first in the RAM disk Fig 4 2 Example 2 In the following example the RAM disk contains only CONFIG SYS As a result MS DOS is loaded from the F ROM drive designated as the current drive Fig 4 3 Example 3 The following example shows a case where there is no F ROM drive The search order is also the same in this case However in this case CONFIG SYS and AUTOEXEC BAT in...

Page 78: ...CASIOAPM COM program is initiated from AUTOEXEC BAT etc In other words the MENU command should only be used in the application program development processes Example of CONFIG SYS The following example shows a typical CONFIG SYS file script Since this example assumes that the system is booted from either the RAM disk or NAND F ROM drive it is necessary to partially modify it if booting up from the ...

Page 79: ...000 C7FF X D800 DFFF I C800 D7FF Always specify the above options if using the EMS Options other than the X option can be eliminated if the EMS is not used 6 DEVICE C CARDSOFT SS365SL EXE SKT 1 DEVICE C CARDSOFT CS EXE POLL 1 DEVICE C CARDSOFT CSALLOC EXE DEVICE C CARDSOFT ATADRV EXE S 1 DEVICE C CARDSOFT MTSRAM EXE DEVICE C CARDSOFT MTDDRV EXE DEVICE C CARDSOFT MTDAPM SYS DEVICE C CARDSOFT CARDID...

Page 80: ... the ATA card refer to Chapter 4 3 Card Boot 1 C ENDATA Required 1 2 C CASIOAPM Required 2 3 Environment variables setup and application call etc Optional Note 1 C ENDATA Disables the card boot function in the BIOS For more information refer to Chapter 4 3 Card Boot 2 C CASIOAPM Enables the touch panel and power switch operations The touch panel and power switch operations cannot be used until thi...

Page 81: ...d This function is assigned to the drive F drive E for models without an F ROM and the ATA card looks from MS DOS like a physical drive As a result when BIOS recognizes the presence of an ATA card during the boot process it will search for CONFIG SYS and AUTOEXEC BAT in the ATA card prior to loading MS DOS If these files are found the BIOS will load MS DOS into main memory and shift control to MS ...

Page 82: ...T scripts used to boot a card Example of CONFIG SYS FILES 30 BUFFERS 20 DOS HIGH NOUMB DEVICE C SYSDRV SYS DEVICE C HIMEM SYS M 2 DEVICE C POWER EXE DEVICE C TIME SYS DEVICE C EMM386 EXE FRAME C800 X C000 C7FF X D800 DFFF I C800 D7FF SHELL C COMMAND COM C P E 1024 DEVICE C CARDSOFT SS365SL EXE SKT 1 DEVICE C CARDSOFT CS EXE POLL 1 DEVICE C CARDSOFT CSALLOC EXE DEVICE C CARDSOFT ATADRV EXE S 1 DEVI...

Page 83: ...and non resident part The non resident part will be overwritten by a large application program if it is loaded into the main memory The resident part checks if the non resident part has been destroyed at the termination of an application program and will if it is found to have been destroyed reload the non resident part again from the disk In this case accessing the drive F would not cause an erro...

Page 84: ...tion about WINST EXE This installation method is called network install and is employed if multiple users share MS Windows on the network With respect to the MS Windows operating environment of this terminal as shown in Fig 5 1 below D WINDOWS is considered the disk of a local computer and E WINDOWS is considered the shared directory on the network Fig 5 1 The advantage of this method is that a li...

Page 85: ...d during the development of application programs or for the purpose of demonstration To initiate the program manager for the above purpose use the following procedure Create the D WINDOWS directory Copy the entire content of E WINDOWS LOCAL onto the created directory The following files are to be copied WIN COM WIN INI WIN CLN WFWSYS CFG SYSTEM INI MOUSE INI PROGMAN INI SERIALNO INI CONTROL INI MA...

Page 86: ...the entire contents of E WINDOWS LOCAL onto the created directory To edit system ini on a personal computer copy D WINDOWS SYSTEM INI onto the ATA or SRAM card Open system ini with the editor and insert the application program name to be initiated in the shell line of the boot section Create the CONFIG SYS and AUTOEXEC BAT files Remember to add D WINDOWS E WINDOWS to the existing path Then specify...

Page 87: ...o controlling the keyboard touch panel backlight and various sensors This chapter describes major tasks assigned to this sub CPU Fig 6 1 Main CPU Sub CPU Temperature Sensor Illumination Sensor Battery Voltage Sensor Buzzer Volume El Backlight LCD Brightness Keyboard Touch Panel Command Data ...

Page 88: ...when the corresponding key is released Primary Secondary Code A code generated if an INT09h interrupt occurs will be converted to a primary code and a secondary code through the BIOS and set in the key buffer They can be acquired from the application program by calling INT16h Primary code Basically a character code refer to the code table on the next page is assigned to each key except that 00h is...

Page 89: ...erate a system scanning code for the F1 key and Fn 0 keys generate a system scan code for the F10 key However Fn 7 to 9 keys will not generate a system scanning code that corresponds to any function keys because they have already been assigned to the following internal functions to be executed internally Operation Function Fn 7 Toggles the backlight on and off Fn 8 Increases the LCD screen contras...

Page 90: ...hat correct coordinate values can be calculated The calculated coordinates will be passed to a ROM resident program called PEN BIOS when mouse interrupt occurs The following diagram shows an operational flow until the coordinates acquired by the keyboard controller are passed to the application program as a mouse event Fig 6 4 Touch Panel Keyboard Controller ROM BIOS IRQ12 and P260 PENMOUSE DRV Us...

Page 91: ... be used to automatically compensate the LCD brightness Illumination sensor Detects the ambient light intensity to automatically turn on and off the backlight This function is called the Auto Backlight Control ABC function and it can be enabled or disabled with the System Menu or application programs Remaining battery voltage sensor Used to acquire the remaining battery voltage Application program...

Page 92: ...on or off the backlight by detecting the ambient light intensity Every second it determines the amount of light received by the illumination sensor and automatically turns on or off the backlight depending on whether the amount of light is less than the given amount or more than the given amount Fig 6 5 In the above graph the marginal light amount across which the backlight is turned ON is at a se...

Page 93: ...e may be incident to the sensor Consequently this requires manual ON OFF control even if under ABC control This leads to a further problem wherein the user may forget to turn it on or off To avoid these problems this system employs the following rules for transition between ABC manual operation ON function OFF function and ABO Fig 6 6 ABC Control ON OFF OFF function or ABO time OFF function ABC ON...

Page 94: ...5 ABC temporaril y disabled Backlight ON state 4 3 3 Ignore 2 3 4 6 ABC temporaril y disabled Backlight OFF state 3 Ignore 2 4 4 Note 1 The backlight turns ON or OFF depending on the current light intensity 2 ABO event does not occur during ABC However if the terminal is left in a dark place the APO Auto Power OFF function will turn off the backlight 3 Since the backlight is presently ON the norma...

Page 95: ...cations via the keypad library PenMouse driver PENMOUSE DRV Driver to simulate the Microsoft mouse driver operation on the touch panel Virtual keyboard driver VKD 386 Driver that enables access to the keyboard controller It is installed automatically by the installer System library SYSCALL DLL This library can be called by application program or utility which use the library Display driver VGA_C D...

Page 96: ...iver will hook the interrupt and ring the buzzer And the driver will notify to the user Adjustment of the number of display lines On a general VGA screen twenty five lines if video mode 03h of text are displayed However on this terminal it is limited to twenty four lines because of the screen size To make display possible the system driver modifies the number of allowable lines to twenty four The ...

Page 97: ... the clock tick counter is initialized only once at the initial boot Therefore the clock time may be slightly off if the terminal is operated for a long period of time To avoid this problem the terminal uses this driver to control the clock in cooperation with POWER EXE so that the time can be directly read from the RTC This ensures that the correct time can always be obtained irrespective of the ...

Page 98: ...hod This driver is loaded by defining the DEVICE statement in the CONFIG SYS file TIME SYS is stored in the basic drive C Format DEVICE C TIME SYS Start option None Note TIME SYS must be loaded immediately after POWER EXE ...

Page 99: ...dware window Therefore the use of the keypad driver requires the residence of the hardware window manager The keypad driver is also used by some utilities refer to Chapter 9 Utility supported for this terminal Therefore before executing an application program or utility that uses the keypad driver make it reside in the main memory The relationship between the keypad driver hardware window manager ...

Page 100: ...uter However perfect simulation cannot be achieved because of the physical difference between the mouse and touch panel For example no touch panel operation can simulate a right mouse button click However application developers do not have to be particularly concerned with this difference This is because a right mouse button click can be recognized as a Pen UP state The relationship between the Pe...

Page 101: ...loaded automatically to F ROM drive D when Windows is installed by using the Windows installer SYSTEM INI is also created automatically The driver is supplied as an SDK Format boot mouse drv penmouse drv Note If the above format is deleted from SYSTEM INI or from PENMOUSE DRV the mouse operations on Windows cannot be performed ...

Page 102: ...rogram the user does not have to be aware of its existence Some of the system libraries use the functions of the keyboard controller However Windows applications cannot directly access the hardware Therefore they use this virtual keyboard driver to access the keyboard controller assuming that it is a virtual machine The relationship between the virtual keyboard driver and application programs is s...

Page 103: ...DK If Windows is installed by the installer VDK 386 will be automatically copied into the F ROM drive D and SYSTEM INI will also be automatically created Therefore the user does not have to be concerned with this setup process Format 386Enh keyboard vkd 386 Note If the above script is deleted from SYSTEM INI or if VDK 386 is removed Windows may not operate properly ...

Page 104: ...e they use the virtual keyboard driver to access the keyboard controller assuming that it is a virtual machine The relationship between the virtual keyboard driver and application programs is shown in the following diagram Fig 7 5 7 7 2 Operation Method Copy the SYSCALL DLL file into the directory to which the path is established The setup file does not need to be modified at all If Windows is ins...

Page 105: ...play driver for various display modes VGA_C DRV Displays a mouse cursor VGA_NC DRV Does not display a mouse cursor 7 8 2 Startup Method Display Driver can be loaded by making the following specification in the boot section of SYSTEM INI VGA_C DRV or VGA_NC DRV are included in SDK If Windows is installed by the installer VGA_C DRV will be automatically copied into the F ROM drive D and SYSTEM INI i...

Page 106: ...106 Note If the above script is deleted from SYSTEM INI or PENMOUSE DRV is removed no display operation is permitted on Windows ...

Page 107: ...stalled hardware H W IrDA SIR Infrared Data Association Serial Infrared Interface conforms to UART 16550 and IrDA FIR Infrared Data Association First Infrared Interface uses the CASIO gate array with NEC CB C8VM NAFIRL IrLAP IrLMP Layer The IrLAP Infrared Link Access Protocol layer supports only one connection link and IrLMP Infrared Link Management Protocol layer can support a maximum of three co...

Page 108: ...ion of user data 3 Wire Includes RS 232C setup communication error and break signal handling functions in addition to being able to perform transmission reception of user data 9 Wire Includes both the 3 Wire functions and signal line control functions Signal lines will be emulated as follows Fig 7 8 IAS will respond with the following data Parameters 0x00 0x01 Wire type This wire type can be set b...

Page 109: ...shComm Transmits characters from the communication device 116 GetCommError Reads the communication status into the buffer 117 GetCommEventMask Acquires the event mask then clears it 120 OpenComm Opens the communication device 121 GetCommState Reads the device control block into the buffer 123 ReadComm Reads data from the communication device into the buffer 124 SetCommBreak Sets the communication ...

Page 110: ...S DOS commands lpdcb Pointer to the DCB structure that receives the converted character string This structure defines the control setups to be sent to the serial communication device Return value Returns zero if the function is terminated normally Otherwise it returns 1 Note The BuildCommDCB function simply stores a value in the buffer The application program side should set the value on the port ...

Page 111: ...be canceled The OpenComm function will return this value Return value Returns zero if the function is terminated normally If an valid device was not identified by idComDev parameter 1 is returned Note The function cancels the break state of the communication device that was set with the SetCommState function Note on IrDA This will only function if the 9 Wire or 3 Wire connection is established It ...

Page 112: ...er threshold time number of transmitted data pieces in the user defined transmission queue and reception queue and number of transmitted data pieces in the transmission buffer and reception buffer in the IrDA driver If the number of transmitted data pieces in the transmission queue and transmission buffer is equal to or greater than one that data will be transmitted If the number of data pieces re...

Page 113: ...abled or disabled If this parameter is NULL EnableCommNotification will disable the posting of the message to the current window cbWriteNotify Specifies the number of bytes to be written in the input queue of the application with the COM driver before the notification message is transmitted A message requesting it to read the information from the input queue will be sent to the application cbOutQu...

Page 114: ...ication will not be made It a time out occurs before the number of bytes specified by the cbWriteNotify parameter is written in the input queue a WM_COMMNOTIFY message with a set CN_RECEIVE flag will be sent In this case the next message will not be sent until the number of bytes in the input queue is less than the value specified by the cbWriteNotify parameter Similarly a WM_COMMNOTIFY message wi...

Page 115: ...turns the maximum value of the COM port identifier supported by the system This value ranges between 0x00 and 0x7F 0x00 corresponds to COM1 0x01 corresponds to COM2 and 0x02 corresponds to COM3 and so on GETMAXLPT Not supported RESETDEV Not supported SETDTR Sends a DTR data terminal ready signal This will function if a 9 Wire connection is established SETRTS Sends an RTS request to send signal Thi...

Page 116: ...ption queue is flushed Return value Returns zero if the function is terminated normally If the device specified by the idComDev parameter is not valid or if the queue specified by the fnQueue parameter is not valid a value other than zero is returned If the specified device has an error a positive value will be returned For more information about the error values refer to the GetCommError function...

Page 117: ...s terminated normally the error value of the communication function which called the specified device most recently is returned Error values CE_BREAK Indicates that the break state is detected This functions if 9 Wire or 3 Wire connection is established CE_CTSTO Not supported CE_DNS Not supported CE_DSRTO Not supported CE_FRAME Indicates that a framing error is detected This functions if 9 Wire or...

Page 118: ...nsmission buffer becomes full This function is not supported because it is considered inappropriate for CE_TXFULL to be used in such a case Note on IrDA Some of the above listed error values are not supported at present Those which are currently supported will function only if 9 Wire connection is established or if both 9 Wire and 3 Wire connections are established Some other functions are current...

Page 119: ...ormation about the communication device Members status Indicates the transfer status This member consists of the following flags CSTF_CTSHOLD Not supported CSTF_DSRHOLD Not supported CSTF_RLSDHOLD Not supported CSTF_XOFFHOLD Not supported CSTF_XOFFSENT Not supported CSTF_EOF Not supported CSTF_TXIM Not supported cbInQue Indicates the number of characters in the reception buffer cbOutQue Indicates ...

Page 120: ...tCommEventMask function Return value Returns a value that indicates the current event word of the specified communication device if the function is terminated normally Each bit of the event word represents whether the specified event occurred If the event actually occurred the corresponding bit is set to 1 Note The application must enable the event using the SetCommEventMask function before the Ge...

Page 121: ...ues IE_BADID The device ID is invalid or not supported IE_BAUDRATE The device baud rate is not supported IE_BYTESIZE The specified byte size is invalid IE_ DEFAULT The default parameter is incorrect IE_HARDWARE The hardware is not available locked by another device IE_MEMORY The function cannot assign a queue IE_NOPEN The device is not open IE_OPEN The device is already open If calling this functi...

Page 122: ...n the XID command can be used to perform the discovery operation for the required number of times If this is done when the terminal is successfully connected to the secondary station it operates as the primary station after this function is terminated normally In other cases if the terminal fails to connect with the secondary station e g specified class or attribute is absent or if the specified n...

Page 123: ...vice for which the DCB is to be checked The OpenComm function returns this value lpdcb This is a pointer to the DCB structure that receives the current device control block The DCB structure defines how to control the device Return value Returns zero if the function is terminated normally Otherwise it returns a value less than zero Note on IrDA This function will read the parameter values set by t...

Page 124: ...urns a value less than zero and the absolute value of the return value indicates the number of bytes that were read Note If an error occurs the user can survey the cause of the error by acquiring the error value and status via the GetCommError function Since an error may occur if no bytes are present in the buffer always make sure that an error has not occurred using the GetCommError function even...

Page 125: ...m function returns this value Return value Returns zero if the function is terminated normally Otherwise a value less than zero will be returned Note The communication device continues to be interrupted until the application calls the ClearCommBreak function Note on IrDA The SetCommBreak function will operate only if 9 Wire or 3 Wire connection is established It will not function if 3 Wire RAW con...

Page 126: ...This functions if the 9 Wire connection is established EV_ERR Set if the line status error occurs The line status error will be either CE_FRAME CE_OVERRUN or CE_RXPARITY This functions if the 9 Wire or 3 Wire connection is established EV_PERR Not supported EV_RING Set if the ring indicator status is indicated during the last modem interrupt This functions if the 9 Wire connection is established EV...

Page 127: ... the communication device event shows a line status error the application should call the GetCommError function after calling the GetCommEventMask function Note on IrDA Some of the events are not supported at present Some of the supported functions will operate only if 9 Wire connection is established or if both 9 Wire and 3 Wire connections are established ...

Page 128: ...nated normally Otherwise it returns a value less than zero Note This function will re initialize all the control items defined by the DCB structure but will not clear the transmission and reception queues Note on IrDA Some of the control items defined by the DCB structure are not supported at present Some of the supported functions will operate only if the 9 Wire connection is established or if bo...

Page 129: ...NIT fDtrDisable Ignores DTR at initialization UNIT fOutX Enables XON XOFF at output UNIT fnInX Enables XON XOFF at input UNIT fPeChar Execute replacement because of a parity error UNIT fNull Enables Null stripping UNIT fChEvt Enables the transmission character event UNIT fDtrflow DTR handshake at input UNIT fRtsflow RTS handshake at input UNIT fDummy2 Reserved char XonChar XON character for transm...

Page 130: ...d Parity Indicates the parity check method to be used This member takes one of the following values This function operates if both the 9 Wire and 3 Wire connections are established EVENPARITY Even number MARKPARITY Mark NONPARITY No parity check ODDPARITY Odd number StopBits Indicates the number of stop bits to be used This member takes one of the following values A value of 1 5 bits is not suppor...

Page 131: ...ce is opened and will be turned off if the device is closed This function operates if the 9 Wire connection is established fOutX Not supported fnInX Not supported fPeChar Not supported fNull Not supported fChEvt Not supported fDtrflow Not supported fRtsflow Not supported fDummy2 Reserved XonChar Not supported XoffChar Not supported XonLim Not supported XoffLim Not supported PeChar Not supported Eo...

Page 132: ...ess than zero Note If the device is not transmitting a character the TransmitCommChar function cannot be called repeatedly If a character has been placed in the communication queue with the TransmitCommChar function that character must be transmitted so that the function can be called again If the previous character has not been transmitted yet this function returns an error value Note on IrDA Dat...

Page 133: ...v Specifies the communication device which receives the characters The OpenComm function returns this value chUnget Specifies the characters to be placed in the reception queue Return value Returns zero if the function is terminated normally Otherwise it returns a value less than zero Note The UngetCommChar function cannot be called repeatedly To make it possible to call this function again it is ...

Page 134: ... the absolute value of the return value indicates the number of bytes that were written Note To judge if an error occurred use the GetCommError function to acquire the error value and error status In the case of a serial port the WriteComm function will delete the data in the transmission queue if it is full and has no space for more byte data Therefore before calling the WriteComm function the ap...

Page 135: ...ple IrDA COM2 IrDA ON MaxBaudRate 115200 SizeWindow 1 SizeData 1024 DisconnectThresholdTime 40 MaxTurnAroundTime 500 MinTurnAroundTime 10000 NumBOF 0 DeviceNickName devicenickname DeviceName devicename DiscoverCount 0 ServiceType 7 Each item has the following definition IrDA Sets to the COM port irrespective of whether IrDA protocol is used Parameter ON COM port uses IrDA protocol OFF default COM ...

Page 136: ... negotiation parameters Parameter 64 default Data size is 64 bytes 128 Data size is 128 bytes 256 Data size is 256 bytes 512 Data size is 512 bytes 1024 Data size is 1024 bytes 2048 Data size is 2048 bytes DisconnectThresholdTime Sets the maximum value of the disconnect threshold time It is one the negotiation parameters A parameter with a value smaller than those listed bellow will be set by OR P...

Page 137: ...10 ms NunBOF Sets the number of BOFs to be added It is one of the negotiation parameters Parameters 0 default 0 BOF is added 1 1 BOF is added 2 2 BOFs are added 3 3 BOFs are added 6 6 BOFs are added 12 12 BOFs are added 24 24 BOFs are added 48 48 BOFs are added DeviceNickName Sets the nickname included in the device information of the XID frame A maximum of sixteen 1 byte characters can be set The...

Page 138: ...s function is set so it operates on the secondary station it waits for a discovery result from the primary station Parameters 0 Operates on the secondary station n Operates on the primary station and performs discovery n times If the n discovery have been made it operates on the secondary station 1 Operates on the primary station and performs only one discovery ServiceType Sets the Wire service ty...

Page 139: ...made in the Windows system and that installation is made from the card drive G in D WINDOWS Copy IRDA DLL and IRCOMM DRV into D WINDOWS or D WINDOWS SYSTEM Copy COMM DRV into the MASK ROM drive into D WINDOWS then rename it Modify the contents of the SYSTEM INI file as follows Modify the following settings in the boot section Before modification comm drv comm drv After modification comm drv ircomm...

Page 140: ...tting Up WIN INI File Setup example IrDA COM2 IrDA ON MaxBaudRate 115200 SizeWindow 1 SizeData 1024 DisconnectThresholdTime 40 MaxTurnAroundTime 500 Min TurnAroundTime 10000 NumBOF 0 DeviceNickName devicenickname DeviceName devicename DiscoverCount 0 ServiceType 7 The above operations complete the installation procedure ...

Page 141: ...dard input output operations In the IT 2000 a dedicated mouse driver has been installed to support the touch panel Application program can acquire the tapping on the touch panel as it is clicked by the button on the left side of mouse However there is one limitation which does not allow the double clicking or double tapping on the touch panel The reason is that it is not possible for the user to t...

Page 142: ...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 cal...

Page 143: ...he IT 2000 dedicated devices such as the backlight control and device power control etc However those processes which depend on interfaces of hardware are managed with DLL and the dedicated functions cannot be linked to application program directly Fig 8 1 Note In case Visual BASIC is used as the development language the libraries in boxes with broken dot line in Fig 8 1 are not needed SysCall DLL...

Page 144: ...ation 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 depen...

Page 145: ... develop an application program that runs on this terminal The following paragraphs explain the details of each phase of the procedural flow Fig 8 3 OK NG Operation OK IT 2000 side PC side Creation Edition of sourcecode Compile Assemble Link Operation check on IT 2000 End PC simulation Transfer Start ...

Page 146: ...reate the execution file with the following procedure This example assumes that the SDK of the IT 2000 has been installed in C IT 2000 If it is installed in another directory it is necessary to designate the location in which to store the header file and library file according to the development environment These designation can be made using the environment variables INTCLUDE and LIB For more inf...

Page 147: ... execute the sample program window will appear on screen of IT 2000 It is monitoring window for the simulation Fig 8 4 Under this condition the program simply waits for key input The backlight is off To confirm this condition use the monitor function of the simulator In this condition press the 1 key The sample program shown above is designed so that the backlight is turned on if it receives 1 The...

Page 148: ...est using the simulation driver is summarized above Debugging can of course be performed using Microsoft s CodeView debugger For more information about SysCall DLL for simulation driver refer to Chapter 8 5 1 System Drive Simulator SysCall DLL ...

Page 149: ...nd redirect the COM2KEY utility to the personal computer with the start up message of the device driver The following is the program transfer procedure used with the COM2KEY utility Connect the personal computer and IT 2000 with the dedicated cable DT 9689AX Initiate the terminal software on the personal computer side and establish communication at 9600 bps There are no particular requirements for...

Page 150: ...in the IT 2000 Each is explained in detail below 1 Installation with a PC card 2 Installation from a PC 3 Copying application program onto another IT 2000 1 Installation with a PC card This method is used to automatically install the application using the card boot function To do this first create an ATA card for card boot and store the developed application program on it Then provide a line throu...

Page 151: ...tallation from a PC This method is used to directly transfer the appropriate files from the PC to the IT 2000 using the serial cable or I O Box For information about this method of file transfer from the PC refer to Chapter 3 10 YMODEM Utility or Chapter 3 11 FLINK Command 3 Copying application program onto another IT 2000 This method is used to mirror copy the entire contents of the F ROM drive o...

Page 152: ...endent 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 p...

Page 153: ...e 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 req...

Page 154: ...indows System directory of the personal computer As explained already SysCall DLL for the actual terminal and SysCall DLL for simulation have the identical file name Exercise care not to copy the other file Monitor window The following figure shows the relationship between the monitor window and system library But all the accesses to the system library can not be monitored with this window For exa...

Page 155: ...ntrastUp SYS_LcdContrastDown SYS_GetConnectorStatus SYS_SetConnectorStatus SYS_GetDevicePower SYS_SetDevicePower SYS_GetKeyClick SYS_SetKeyClick SYS_GetABC SYS_SetABC SYS_GetLBStatus SYS_GetBackLight SYS_SetBackLight SYS_GetPMStatus SYS_SetPMStatus SYS_GetCOM2Config SYS_SetCOM2Config SYS_GetApoTime SYS_SetApoTime SYS_GetAboTime SYS_SetAboTime ...

Page 156: ... Consequently although it is possible to develop on a personal computer such a program that uses the COM port it is not permitted to debug the program while an external device such as the OBR is being connected to the port Restictions regarding the IrDA port The IT 2000 has installed the hardware to support the IrDA interface which is controlled by the dedicated driver Many recent personal compute...

Page 157: ...ble to the system These libraries include back light control contrast control battery voltage low detection alarm setting etc 158 Keypad Library Libraries to call the functions of Keypad driver They are used to input keys through keypad and to acquire coordinates on screen etc 196 OBR Library Libraries to control the OBR functions OBRs supported by the system are the pen type and the ccd type 213 ...

Page 158: ... the C language or Visual BASIC The system library is consisted of the following files SysLib H Header file for system library for C language LibSysW LIB Common library for each memory model for C language SysCall DLL System library VKD 386 Communication module for keyboard controller The relationship among the files is as follow If your application program is developed with C language LibSysW LIB...

Page 159: ...ocess 184 Setting ABO Time 167 Acquisition of Cancellation Status of Next Resume Process 185 Acquisition of ABO Time 168 Request of Suspend Software OFF 186 Setting ABC Auto Backlight Control status 169 Acquisition of Low Battery Voltage Status 187 Acquisition of ABC Auto Backlight Control Status 170 Setting APO Time 188 Setting Acquisition of ABC Threshold 171 Acquisition of APO Time 189 Backligh...

Page 160: ...cquires the ROM BIOS version number which consists of the following three numbers major number minor number sub number SYNTAX long SYS_GetBiosVersion INPUT None OUTPUT b23 to b16 Major number b15 to b8 Minor number b7 to b0 Sub number ...

Page 161: ...ips is read The memory device size is the total capacity of all the physically installed devices and not the disc capacity SYNTAX int SYS_GetMemCapacity int nDevice INPUT nDevice device type 0 DRAM 1 NAND FROM OUTPUT 1 Input parameter error 1 DRAM size by the unit of 1K where nDevice 0 Actual installed number of NAND chips where nDevice 1 ...

Page 162: ...is increased or decreased by one step respectively The range of contrast values that can be set or read varies according to the ambient temperature This is because the range of setup values that can be set for the hardware is between 0 and 31 If for example the automatically calculated value is 10 the possible correction range is between 10 and 21 Consequently the range of contrast values that can...

Page 163: ...erature variations or be ideal for each specific user This function is used to correct the contrast value which has been automatically calculated by the system to an optimal level The resulting contrast value adjusted using this function can be acquired via the SYS_GetLcdContrast function SYNTAX int SYS_LcdContrastUp INPUT None OUTPUT 0 Normal 2 No response from KBC 3 VxD not registered SYNTAX int...

Page 164: ...on this terminal SYNTAX int SYS_GetCOM2Config INPUT None OUTPUT 0 Not selected default setting at RESET 1 14 pin 2 3 pin 3 IR SYNTAX int SYS_SetCOM2Config int nDevice INPUT nDevlce Device to be used 0 Not used 1 14 pin 2 3 pin 3 IR OUTPUT 0 Normal 1 Parameter error Note This function is not related to the device power control As a result this function does not need to be restored to the Not used c...

Page 165: ...one OUTPUT b0 0 Enable use of ring signal 1 Disable use of ring signal b1 0 Enable use of mounting on I O Box 1 Disable use of mounting on I O Box SYNTAX int SYS_SetOnEventMask int nMask INPUT nMask Setting the reboot reason mask b0 0 Enable use of ring signal 1 Disable use of ring signal b1 0 Enable use of mounting on I O Box 1 Disable use of mounting on I O Box OUTPUT 0 Normal 1 Parameter error ...

Page 166: ...nction is used to restart reboot the system without suspending IT 2000 operations SYNTAX int SYS_Reboot int nMode INPUT nMode Reboot type 0 Initiates the application 1 Initiates the system menu OUTPUT 0 Normal 1 Parameter error ...

Page 167: ...electing a number between 1 and 15 which corresponds to a period of between 20 seconds and 5 minutes SYNTAX int SYS_SetAboTime int nValue INPUT nValue ABO time 0 Not activate ABO 1 to 15 Activates ABO in specified number x 20 seconds OUTPUT 0 Normal 1 Parameter error 3 VxD not registered Note This function will be implemented by a software timer Therefore the period until the backlight is actually...

Page 168: ...sition of ABO Time This function is used to read the ABO setting SYNTAX int SYS_GetAboTime INPUT None OUTPUT 0 Not activate ABO 1 to 15 ABO time in units of 20 seconds 2 No response from KBC 3 VxD not registered ...

Page 169: ...sed to sense the ambient light intensity and automatically turns ON OFF the backlight This function is used to enable or disable the ABC function SYNTAX int SYS_SetABC int nOnOff INPUT nOnOff 0 OFF Other than 0 ON OUTPUT 0 Normal 1 Parameter error 2 No response from KBC 3 VxD not registered ...

Page 170: ...sed to sense the ambient light intensity and automatically turns ON OFF the backlight This function acquires the current setting of the ABC function SYNTAX int SYS_GetABC INPUT None OUTPUT 0 ABC in OFF status 1 ABC in ON status 2 ABC temporarily disabled 2 No response from KBC 3 VxD not registered ...

Page 171: ...ight turns off If these two levels are identical or too close each other the backlight may flicker To avoid this problem set OnValue so that it is slightly less than OffValue SYNTAX int SYS_SetThresholdOfABC int OnValue int OffValue INPUT OnValue 0 to 255 OffValue 0 to 255 OUTPUT 0 Normal 2 No response from KBC 3 VxD not registered SYNTAX int SYS_GetThresholdOfABC int OnValue int OffValue INPUT On...

Page 172: ...OFF is triggered by the Backlight OFF function or ABO If this function is activated under the ABC control the ABC will be temporarily disabled and will be enabled again when Backlight OFF is triggered by the Backlight OFF function or ABO SYNTAX int SYS_SetBacklight int nOnOff INPUT nOnOff 0 OFF 1 ON OUTPUT 0 Normal 2 No response from KBC 3 VxD not registered ...

Page 173: ... Acquisition of Backlight Status This function acquires the current backlight status SYNTAX int SYS_GetBacklight INPUT None OUTPUT 0 Backlight OFF 1 Backlight ON 2 No response from KBC 3 VxD not registered ...

Page 174: ...s the buzzer volume to one of four levels Large Medium Small OFF SYNTAX int SYS_SetBuzzerVolume int nVolume INPUT nVolume 0 OFF 1 Small 2 Medium 3 Large OUTPUT 0 Normal 1 Parameter error 2 No response from KBC 3 VxD not registered ...

Page 175: ...on of Buzzer Volume Acquires the buzzer volume as one of four levels Large Medium Small OFF SYNTAX int SYS_GetBuzzerVolume INPUT None OUTPUT 0 OFF 1 Small 2 Medium 3 Large 2 No response from KBC 3 VxD not registered ...

Page 176: ...ice SYNTAX int SYS_GetDevicePower int Device INPUT Device device to be selected 2 IrDA 3 14 pin I F 5 8 pin I F Other Reserved OUTPUT 1 Power ON 0 Power OFF Note This function is used to control the power to devices of this system Never designate parameters other than those specified on this page ...

Page 177: ...ice int OnOff INPUT Device device to be selected 2 IrDA 3 14 pin I F 5 8 pin I F Other Reserved OnOff ON OFF setting 0 Turns OFF 1 Turns ON OUTPUT 0 Normal termination Note This function is used to control the power to the devices in this system Never designate parameters other than those specified on this page ...

Page 178: ...ding on the card shape can not be fastened by the lock switch If this is the case even if a card is present it will not be detected This function is provided to handle this type of card To use a card for which the card lock mechanism can not be used call this function in advance to set the software lock switch to ON Now a card can be detected when it is inserted or removed SYNTAX int SYS_SetCardLo...

Page 179: ...r Status Acquires the connection setting of the I O Box and AC adaptor SYNTAX int SYS_GetConnectorStatus int nType INPUT nType Connector type 0 I O Box 1 AC adaptor or I O Box OUTPUT 0 Not connected 1 Connected 1 Parameter error ...

Page 180: ...180 Key Click Sound ON OFF Sets the key click sound to ON or OFF SYNTAX int SYS_SetKeyClck int OnOff INPUT nOnOff 0 OFF Other than 0 ON OUTPUT 0 Normal 2 No response from KBC 3 VxD not registered ...

Page 181: ...181 Acquisition of Key Click Sound Status Acquires the key click sound ON OFF setting SYNTAX int SYS_GetKeyClick INPUT None OUTPUT 0 OFF 1 ON 2 No response from KBC 3 VxD not registered ...

Page 182: ...PowerOnFactor INPUT None OUTPUT b0 Power key b1 Reset button b2 Alarm b3 Ring signal b4 IT 2000 is being set on I O Box Note If the reset button is pressed the system menu is initiated This means that an application program will never acquire the status of RESET switch being pressed as the reboot reason ...

Page 183: ...eset switch is pressed the system menu is initiated This means that an application program will never acquire the status of Reset switch being pressed as the reboot reason If the system is rebooted the reason it was set OFF will be cleared Therefore zero will be acquired if the reason it was set OFF is read for the first time after rebooting If Cancellation of the next resume process is set as the...

Page 184: ... Boot b1 to b7 Reserved b8 APO 0 Resume On 1 Boot b9 Software triggered OFF 0 Resume On 1 Boot b10 to b15 Reserved OUTPUT 0 Normal 1 Parameter error Note With this function the power on process can be set for each of the reasons the power is turned OFF Power key APO and Software triggered OFF Therefore if set to The next power on process is boot from the application it is necessary to specify all ...

Page 185: ...ires the power on process setting Resume On Boot for each power off reason SYNTAX int SYS_GetResumeCondition INPUT None OUTPUT b0 Power key 0 Resume ON 1 Boot b1 to b7 Reserved b8 APO 0 Resume ON 1 Boot b9 Software triggered OFF 0 Resume ON 1 Boot b10 to b15 Reserved ...

Page 186: ...d OFF Used to turn off the system with the software If there is a need to specify the next boot up process complete Setting Cancellation of Next Resume Process beforehand then call this function SYNTAX void SYS_PowerOff INPUT None OUTPUT None ...

Page 187: ...al This function is used to directly refer the hardware conditions which are translated into input signals for the APM BIOS SYNTAX int SYS_GetLBStatus INPUT None OUTPUT b0 Reserved b1 LB1 event Main battery voltage low b2 LB2 event Sub battery voltage low b3 LB3 event Memory card battery voltage low b4 to b7 Reserved ...

Page 188: ...se APO 1 to 15 Causes APO in the specified number of minutes plus 30 seconds The actual APO time has an error of 25 seconds OUTPUT 0 Normal 1 Parameter error Note Auto Power OFF will work if the power control function is active For more information about the power control function refer to Setting Acquisition of Status of Power Control Function ...

Page 189: ... the APO 1 to 15 Enable the APO in the specified number of minutes plus 30 seconds The actual APO time has an error of 25 seconds Note Auto Power OFF will work if the power control function is active For more information about the power control function refer to Setting Acquisition of Status of Power Control Function ...

Page 190: ...h If this function is not reset using the SYS_ResetAlarm function the alarm will activate repeatedly set for each 24 hour period Call the SYS_SetPowerOnAlarm function to turn on the system at the alarm time specified by this function SYNTAX int SYS_SetAlarm int hour int min int sec INPUT hour hours in decimal number min minutes in decimal number sec seconds in decimal number OUTPUT 0 Normal 0 Erro...

Page 191: ...NTAX void SYS_GetAlarm int hour int min int sec INPUT hour Pointer to the area from which hours is read min Pointer to the area from which minutes is read sec Pointer to the area from which seconds is read OUTPUT None Note This function returns the time data set for the RTC Note that the validity of data as time is not checked ...

Page 192: ...SYS_SetPowerOnAlarm function canceled by this function If this function is called with the power ON alarm active the alarm is temporarily reset However the RTC will be automatically set to active after the power is turned off again to enable the power ON alarm The power ON alarm can also be canceled using the SYS_SetPowerOnAlarm function SYNTAX int SYS_ResetAlarm INPUT None OUTPUT 0 Normal 0 Error...

Page 193: ...function makes it possible to add the function which turns on the main unit at the desired time SYNTAX int SYS_SetPowerOnAlarm int OnOff INPUT OnOff Power On setup 0 Does not turn on the power Other than 0 Turns on the power OUTPUT 0 Normal SYNTAX int SYS_GetPowerOnAlarm INPUT None OUTPUT 0 Does not turn on the power Other than 0 Turns on the power Note The power ON alarm set with this function wi...

Page 194: ...m it to disable the power control function If the power control function is set to disable the monitoring of a period free from operator s concern is ceased resulting in auto power off not taking place Since the switch to the DOZE mode does not occur either the system can always be operable at high speed In short this function is useful if auto power OFF does not take place during processing or if...

Page 195: ...ple of the use is when an button image on the LCD screen is touched it turns ON the sound The sound is the same tone as those when ten key and keypad are pressed The setting of key click sound ON OFF controls this sound refer to Key Click Sound ON OFF on page 180 SYNTAX void SYS_MakeKeyClick INPUT None OUTPUT None ...

Page 196: ...rosoft C C 7 0A or later release hereinafter referred to as VC or Visual BASIC 3 0 or later release hereinafter referred to as VB The keypad library Padctrl vbx must be located in the same directory as the generated application program or in the directory to which a known path is established Keycode The keycode format generated by SendMessage API to publish a message to Windows procedures follows ...

Page 197: ... the keypad upper case alphabets or lower case alphabets pad is touched the expansion keypad becomes the active pad This keypad returns to the previous screen after only a single key input is made unless the touched area is assigned no keycode Repeat function The repeat function allows all the successive key inputs before the pen is up to be accepted in a lump This function is valid only in the Do...

Page 198: ...ect File InstallControls Fig 8 12 2 Move to the directory where the keypad library is placed and select padctrl vbx then click on the Install button When PADCTRL VBX is displayed in the Installled column click on the OK button Fig 8 13 ...

Page 199: ... already the left hand side figure will include more buttons Fig 8 14 With the above procedure registration of the keypad to AppStadio is completed Explained next is the method of registering the keypad in the dialog First add a dialog to register the keypad 1 Initiate AppStadio and select Resource New Fig 8 15 ...

Page 200: ... Fig 8 16 With the above operation the dialog is added as a resource 3 Next click on the keypad button as shown in the lower right of the left hand side figure of the tool box to the pressed in position and click inside the dialog This makes the keypad inserted in the dialog Fig 8 17 ...

Page 201: ... can appear within the screen Fig 8 18 5 Subsequently layout the necessary controls such as the edit box etc on the dialog As the screen size of this system is 384 x 192 pixels layout the controls so they can be accommodated in this range Fig 8 19 ...

Page 202: ...over the edit box with the program that is using SetFocus etc How to use with VB application In order to develop an application program that utilizes the keypad library with the VB it is necessary to register the keypad library to Visual BASIC This operation differs between VB3 and VB4 each of which is explained in the following 1 In case of VB4 select Custom Controls from the Tools menu Fig 8 20 ...

Page 203: ...203 Where VB3 is used select Add File from the File menu Fig 8 21 2 When the following dialog appears for VB4 click on the Browse button Fig 8 22 ...

Page 204: ...aced and select padctrl vbx as the file name then click on the OK button Fig 8 23 In the case of VB3 the following dialog will appear instead of the dialog of 2 Then move to the directory where the keypad library is placed and select padctrl vbx as the file name then click on the OK button Fig 8 24 ...

Page 205: ...e a new button has been added in the lower section of the toolbox The left one is an example for VB4 and the right one is an example for VB3 respectively If other controls have been registered already the left hand side figures will include more buttons This registration is also possible by dragging and dropping the keypad library icon in the tool box Fig 8 26 Fig 8 27 With the above procedure reg...

Page 206: ...alog 1 First double click on the keypad button the lower left button in the left hand side figure and the keypad is inserted as shown in the left hand side figure Fig 8 28 2 Then modify the size of the keypad so that all the keys are accommodated in the screen Fig 8 29 ...

Page 207: ...e fit within the range Fig 8 30 Note The keypad library will transmit characters to the control which is focused at Accordingly if the focus is placed in other control than the edit box click on the edit box or move the focus over the edit box with the program that is using SetFocus etc Always set 1 to VbProj If this setup is not made 2 byte characters can not be transmitted properly ...

Page 208: ...icture Handle of the registered key for EXT1 pad Ext2Data1 Ext2Data48 48 pieces Expansion key image property EXT2 Specifies the Picture Handle of the registered key for EXT2 pad ExtPad Expansion pad operation property Action property that initiates the operation of registering deleting and deleting all the keys to from the EXT1 or EXT2 pad Picture Handle This is created from a bitmap file in the b...

Page 209: ...up the expansion key number to be registered or deleted to from the expansion pad Property name KeyNo Type short Value Integer from 0 to 47 Format In case of VC CVBControl m_PadCtrl m_PadCtrl SetNumProperty KeyNo 0 to 47 In case of VB Padctrl1 KeyNo 0 to 47 Expansion keypad number property Function This is a property to select the objective expansion key pad to from which the keys are registered o...

Page 210: ...d Property name Ext1Data1 Ext1Data48 48 pieces Ext2Data1 Ext2Data48 48 pieces Type HPIC Value Picture handle of the bitmap Format In case of VC CVBControl m_PadCtrl m_PadCtrl SetPictureProperty Ext1Data1 picture handle In case of VB Padctrl1 Ext1Data1 LoadPicture bitmap file name Expansion pad operation property Function This is an action property to register delete or delete all the data to from ...

Page 211: ...adCtrl SetPictureProperty Ext1Data1 hPic Registration of picture property AfxReferencePict hPic TRUE Reference count operation of HPIC m_PadCtrl SetNumProperty KeyNo 0 Registration of Key No 0 47 m_PadCtrl SetNumProperty ExtNo 1 Registration of expansion pad No 1 2 m_PadCtrl SetNumProperty KeyCode 65 Registration of keycode m_PadCtrl SetNumProperty ExtPad 1 In case of VB Private Sub Command1_Click...

Page 212: ...ion pad No 1 to 2 m_PadCtrl SetNumProperty ExtPad 2 In case of VB Private Sub Command2_Click Padctrl1 KeyNo 0 Padctrl1 ExtNo 1 Padctrl1 ExtPad 2 End Sub Deletion of all expansion pads In case of VC void Cclass OnAlldelete m_PadCtrl SetNumProperty ExtNo 1 Registration of expansion pad No 1 to 2 m_PadCtrl SetNumProperty ExtPad 3 In case of VB Private Sub Command3_Click Padctrl1 ExtNo 1 Padctrl1 ExtP...

Page 213: ...ry to call OBRLIB DLL from C language OBRLIB DLL OBR library OBRLIB DLL is downloaded to the same directory of an application program or to the directory of Windows when it is used The type of OBR to use is specified as parameter when OBR_Open is called No Function Description 216 OBR_Open Initialization of COM port and power on 217 OBR_Close Release of COM port and power off 218 OBR_Send Transmis...

Page 214: ...y received data to be acknowledged with the OBR_Stat function or OBR_SetUserEvent function then read using the OBR_Read function after acknowledgment Note If programming with this library first make the OBR_Open function call The OBR_Open function will turn on the power supply to the COM port and initialize it It enables the operation of other functions OBR_Send OBR_Read etc and maintains the powe...

Page 215: ...215 Data Format The reception data format is defined as follows Barcode O Fig 8 32 ...

Page 216: ...n of codes in reception buffer 222 OBR_SetUserEvent Event code definition issued when reception is completed Initialization of OBR Initializes the COM port to establish a connection with the OBR and turns on the power to the COM port SYNTAX include obrlib h int FAR PASCAL _export OBR_Open int iOBRtype INPUT iOBRType DT 9650 DT 9656 OUTPUT 0 Normal end 1 iOBRType is not correct 1 Open error Note Wh...

Page 217: ...s the COM port and turns off the power to the COM port SYNTAX include obrlib h void FAR PASCAL _export OBR_Close INPUT None OUTPUT None Note Call this function if completing the use of the OBR i e terminating the application program ...

Page 218: ...is turned on if it is written in the EEPROM For information about the setup procedure refer to Setting Operation Mode DT 9650BCR on page 223 SYNTAX include obrlib h int FAR PASCAL _export OBR_Send char far pszcmd INPUT pszcmd pointer to command buffer refer to the Command List OUTPUT 0 Normal termination 1 Transmission error Note This is to transfer command to OBR For detail of each OBR command re...

Page 219: ...ode data after the validation it will be acknowledged as invalid date SYNTAX include obrlib h int FAR PASCAL _export OBR_Stat INPUT None OUTPUT The absolute value shows the number of characters in the received barcode not including a CR The sign indicates whether the data is a complete barcode or not 0 Incomplete barcode 0 Complete barcode ...

Page 220: ...received barcode The sign indicates the validity of the barcode 0 Length of received data 0 Either the reception acknowledgment is not performed OBR_Stat function is not used or there is no received data 0 Valid data does not exist Note Before reading a barcode using this function acknowledge reception with the OBR_Stat function Note that received barcode data will be cleared from the reception bu...

Page 221: ...221 Invalidating Code in Buffer Invalidates a barcode in the reception buffer and clears the reception buffer SYNTAX include obrlib h void FAR PASCAL _export OBR_Clear INPUT None OUTPUT None ...

Page 222: ...ed window handle using the SendMessage API Specified hWnd uMsg wParam lParam are used as parameter for the SendMessage API SYNTAX include obrlib h void FAR PASCAL _export OBR_SetUserEvent HWND hWnd UINT uMsg WORD wParam LONGlParam INPUT hWnd Destination window handle for message to be sent uMsg User event message wParam WORD parameter of user event lParam LONG parameter of user event OUTPUT None ...

Page 223: ... Command There are two types of commands normal commands and expanded commands They must be transmitted according to the following procedure Transmission of normal commands In order to transmit a command other than the expanded commands included in the Command List use the corresponding command symbol without modification Example To set all codes to Permit read with the Readability of code OBR_Sen...

Page 224: ... command will not be written to EEPROM As a result they will be erased when the power is turned off and the settings specified by these commands will not be valid the next time the power is turned on However the following commands can not be used to write a setting value to EEPROM One period of buzzer activation LED ON Command L Enable scanning Command H Disable scanning Command I Special mode dis...

Page 225: ... than eight ICG characters All codes Enable read Disable read X x CODE39 Enable read Disable read A a Yes NW 7 Enable read Disable read B b Yes WPC Enable read Disable read C c Yes 2 of 5 Industrial Standard Enable read Disable read D d Yes ITF Enable read Disable read E e Yes CODE11 Enable read Disable read F f Yes CODE93 Enable read Disable read G g Yes CODE128 Enable read Disable read W w Yes 3...

Page 226: ...ep mode LED ON when command awakes from sleep mode s t Yes 6 Specify output of BEL when the code can not be decoded Output enable Output disable M N Yes 7 Specify scanning mode Scanning enable Scanning disable Special mode Scanning disable after one normal read H I U Yes 8 Specify sleep mode stop mode Request sleep mode Request stop mode o p 9 Write to EEPROM Write defaults Write current setting v...

Page 227: ...fer Disable check Transfer G H I Yes CODE11 C D Enable transfer of check 1 Disable transfer of check 1 Enable transfer of check 2 Disable transfer of check 2 J K L M Yes CODE93 C D Enable transfer of no check Disable transfer of no check Disable transfer of check Enable transfer of check N O P Q Yes CODE128 C D No check without changing the transfer function Disable transfer of check Disable trans...

Page 228: ... CODE 12 Specifying write to EEPROM Transmission of Command Commands must be transmitted using the OBR Send function Example To specify Read all codes OBR_Send A0 Writing Set Values to EEPROM The OBR is provided with a function to write the current setting values to EEPROM To do this transmit the Z2 command If this is not done other commands that have been transmitted previously to the Z2 command ...

Page 229: ...4 Yes EAN 2 digits of supplemental Enable read R5 EAN 5 digits of supplemental Enable read R6 DTF Enable read R7 Yes ITF Enable read R8 Yes CODE39 Enable read B2 Yes NW 7 CODABAR Enable read B3 Yes CODE93 Enable read B5 CODE128 Enable read B6 2 Adding readable code MSI Plessey Enable read B7 CODE39 Not calculate C D Calculate C D Transfer C D Not transfer C D Not transfer start stop code Transfer ...

Page 230: ... numbers 0 and 1 E6 E7 E8 E9 E0 E1 Yes Yes 4 Specify the least significant digit CODE39 NW 7 1 digit ITF 2 digits Disable read Enable read H2 H3 Yes Buzzer of successful read Disable buzzer Frequency 1 KHz Frequency 2 KHz Frequency 4 KHz W0 W1 W2 W3 Yes Buzzer ON period 50 msec 100 msec 250 msec 500 msec W7 W4 W5 W6 Yes 5 Specify buzzer activation mode Buzzer volume Small Medium Large Maximum T3 T...

Page 231: ...ransfer 2A 3A Yes UPC A with supplemental Not transfer Transfer 2B 3B Yes UPC E Not transfer Transfer 2C 3C Yes UPC E with supplemental Not transfer Transfer 2D 3D Yes EAN 13 Not transfer Transfer 2E 3E Yes EAN 13 with supplemental Not transfer Transfer 2F 3F Yes EAN 8 Not transfer Transfer 2G 3G Yes EAN 8 with supplemental Not transfer Transfer 2H 3H Yes CODE39 Not transfer Transfer 2I 3I Yes NW ...

Page 232: ...232 CODE93 Not transfer Transfer 2M 3M Yes CODE128 Not transfer Transfer 2N 3N Yes MSI Plessey Not transfer Transfer 2O 3O Yes 12 Specify write to EEPROM Z2 ...

Page 233: ...will automatically call YMODEM DLL which is the main program of the system library at each execution of the program Visual BASIC can directly call this DLL by means of a declaration Fig 8 37 List of libraries The YMODEM library supports the following functions Function name Description Page OpenYMODEM Opening the YMODEM library 234 SendByYMODEM File transmission with the YMODEM bat protocol 235 Se...

Page 234: ... OpenYMODEM This function should be called prior to using the YMODEM library When this function is called the COM port will be initialized to the following default values 9600 bps NO PARITY 8 data bits and 1 stop bit When modifying the communication parameters including the baud rate call the SetCommForYMODEM function after calling this function SYNTAX include ymodem h short WINAPI _export OpenYMO...

Page 235: ...ame bFindSubDir TRUE Use recursive call FALSE Not use recursive call When a wild card is used for the transmitted file name files under the sub directory can be the objective of the file transmission If for example the transmitted file is D TEST DAT a directory D TEST SUB TEST DAT is also included in the objective of transmission OUTPUT 0 Normal termination Other Refer to the error code table Note...

Page 236: ...tocol Before this function is called the OpenYMODEM function must have been called SYNTAX include ymodem h short WINAPI _export RecieveByYMODEM LPCSTR cDirectory INPUT cDirectory Received file storage directory by full pathname OUTPUT 0 Normal termination Other Refer to the error code table ...

Page 237: ...lt ODDPARITY and EVENPARITY iStopBits Select either ONESTOPBIT Default or TWOSTOPBITS OUTPUT 0 Normal termination Other Refer to the error code table Note NOPARITY ODDPARITY EVENPARITY ONESTOPBIT TWOSTOPBITS have been defined in windows h as the following values If calling this library DLL from Visual Basic directly specify their values define NOPARITY 0 define ODDPARITY 1 define EVENPARITY 2 defi...

Page 238: ...s function is called the use of YMODEM library is completed and the COM port is closed SYNTAX include ymodem h short WINAPI _export CloseYMODEM void INPUT None OUTPUT 0 Normal termination Other Refer to the error code table ...

Page 239: ...h the WIN INI is explained below Setup of the IrDA communication speed MaxBaudRate The maximum possible baud rate of the IrDA is specified by MaxBaudRate in the WIN INI file Example Setting the maximum possible baud rate to 4 Mbps MaxBaudRate 4000000 Setup required for IrDA communication between two HTs DiscoverCount For two HTs to communicate with each other DiscoverCount in WIN INI must have a d...

Page 240: ...verCount 0 ServiceTyte 7 Interface to DLL Copy FLINK DLL to the Windows system directory or to a directory where the application is located void InitFlink HWND hWndParent HINSTANCE hInst This initializes FLINK DLL Be sure to call it before using the DoFlink or DoFLinkForVB function SYMTAX void InitFlink HWND hWndParent HINSTANCE hInst INPUT hWndParent Window handle of the call source side hInst In...

Page 241: ...nction can be called from either C language or Visual BASIC Version 4 or later If Visual BASIC Version 3 is the application development language use this function instead of the DoFLink function Since DLL is usually developed in C it cannot read the Visual BASIC data With Visual BASIC Ver 4 0 or later DLL is automatically converted to a readable form however this function is not implemented in Vis...

Page 242: ...ecified by the input parameters The following is a list of commands to be passed to the DoFLink function as parameters Basically only one command can be sent at a time However any command can be added with the IrDA or RS 232C communication parameters Command Options that can be specified File transmission S O R Q H D File reception R O R Q H D File append A Q S H D File deletion D File move N Idle...

Page 243: ...int argc 4 char argv fl n c src_dir src dat c dstn_dir dstn dat File transmission with the optional communication parameters set int argc 5 char argv fl y 38k 1 s c src dat c dstn_dir Idle start with the optional communication parameters set int argc 2 char argv fl l 100 ...

Page 244: ...ed by the transmission file pathname Q Quiet Non display of the FLINK output message H HT HT communication Used to perform communication between two handy terminals execute the partner side FLINK with idle start Transmission file pathname Specify the file on the transmission source by its full pathname A wild card can be used for the file name Multiple transmission file pathnames can be specified ...

Page 245: ...ive A of the execution side machine will be transferred to the d data directory on the partner side argv 4 argv fl SR a info dat d data With this specification all files with a DAT extension under the info directory including the sub directories of the drive A of the execution side machine will be transferred to the d data directory on the partner side ...

Page 246: ...ll files under the directory specified by the request pathname Q Quiet Non display of the FLINK output message H HT to HT communication Used to perform communication between two handy terminals execute the partner side FLINK with idle start Request pathname Specify by its full pathname the file to be received that exists on the communication partner side A wild card can be used for the file name M...

Page 247: ...ive D will be transferred to the data directory of the drive B on the execution side argc 5 argv fl RR a test dat d info b data With this specification all files with a DAT extension under the test directory including the sub directories of the drive A on the partner side machine and all files under the info directory including the sub directories of the drive D will be transferred to the data dir...

Page 248: ...erefore the transmission appending operation can be performed without this S option Q Quiet Non display of the FLINK output message H HT to HT communication Used to perform communication between two handy terminals execute the partner side FLINK with idle start Append file pathname Specify the file to be appended that exists on the execution side by its full pathname A wild card cannot be used for...

Page 249: ...fl D deleted file pathname deleted file pathname DoFlink argc argv Deleted file pathname Specify the file to be deleted by its full pathname Multiple file pathnames can be specified together Parameter setup examples argc 4 argv fl D a test dat b info test dat Files that correspond to a test dat and the b info test dat file will be deleted using the above specifications ...

Page 250: ...de by its full pathname A wild card cannot be used for the file name Move destination pathname Specify the move destination pathname on the communication partner side The pathname must include the drive name and directory name If the specified directory does not exist it will be automatically created Parameter setup examples argc 4 argv fl N a test kk dat a data With the above specifications the a...

Page 251: ...nation is transmitted or received If a script file is specified communication will progress according to the contents of the specified script file that exists on the communication partner side Starting method int argc Number of parameter arguments char argv fl script file name DoFlink argc argv Script file name Specify the script file name that exists on the communication partner side ...

Page 252: ...r connection establishment Specify 0 to 3600 second If 0 is specified the process takes until connection establishment The default value is 1800 seconds Wait time for data reception transmission Specify 0 to 3600 second If 0 is specified the process takes until the end normal end or abnormal end The default value is 300 seconds Parameter setup examples argc 2 argv fl L 20 Following the parameter s...

Page 253: ...atically used Communication speed Sets up the communication speed baud rate when communication is executed through COM1 RS 232C port or Satellite I O Box The setting baud rate cannot be valid for other communications between HT and HT or through Master I O Box Input parameter Baud rate bps Remark 1200 1200 2400 2400 4800 4800 9600 9600 Default 19 K 19200 38 K 38400 57 K 57600 115 K 115200 COM spec...

Page 254: ...s example the communication specifications can be set according to the details listed in the table below Parameter Process value Remark Communication speed 9600 bps Default COM specification COM1 RS 232C Data bits 8 bits Fixed Parity None Fixed Stop bit 1 bit Fixed ...

Page 255: ...le not found 02h 03h Path not found 02h 0Bh Invalid format 02h 0Fh Invalid disk drive 02h 10h Delete request is current directory 02h 11h Not same disk 02h 12h Not same disk There may be cases where codes not defined as File Error int21h are returned If this happens the code is returned as a DOS expansion error code File Error int24h 03h 13h Write protect error 03h 14h Unknown unit 03h 15h Drive n...

Page 256: ...01h 02h Command error not execute command 01h 03h Check sum error 01h 04h Command sequence error 01h 05h Sequence number error 01h 06h Other protocol error 01h 07h Parameter error 01h 08h Timeout error Protocol Error File 04h 00h Read only file access error Internal Error 0Fh 01h Parameter error 0Fh 02h Command buffer overflow 0Fh 03h Receive data analysis ...

Page 257: ... Displays on a software meter the amount of battery voltage remaining for main and sub batteries FLINK Utility Transfers receive s file through IrDA interface XY Utility Transfers receives file through XMODEM or YMODEM Reverse Video Utility Changes the color of LCD screen This utility is used to change the entire screen to reverse video From the nature of the FSTN semi transparent type LCD unit of...

Page 258: ...me WCALC EXE Fig 9 1 Function The calculator utility provides the following functions Calculation range 0 00000000001 to 999999999999 and 0 12 digits Apostrophes after the thousandth digit Arithmetical calculation Arithmetical constant calculation Percentage calculation Calculation with memory functions MC MR M M Display of a memorized value Value entry function ENT key A result of arithmetic calc...

Page 259: ... key for numeral input and release key for error condition ENTER Confirmation key same as key The key is represented as Touch Panel Key Description C Cancel key for numeral input and release key for error condition Percent calculation key AC Clear key for releasing error conditions and numeral inputs except content of the memory ENT Confirmation key MC Memory clear key MR Memory read key M Memory ...

Page 260: ...r system or 24 hour system can be selected for the digital display format by the setup file The current date is displayed with the following format year month day day of the week The display mode can be specified by the setup file The current time is displayed with the following format hour minute second 12 hour 24 hour system Date and time can be set from 0 O clock 0 minutes January 1 Tuesday 198...

Page 261: ...AMPM 1 12 hour or AMPM 0 24 hour Specify the display format of date month and year The following display format is used to indicate YYYY YY MMM MM DD Year in 4 digits Year in 2 digits most least two digits of the year Month by abbreviation three alphabets Month in 2 digits by numeral Day in 2 digits by numeral Characters on the left side are used as delimiter DATE E x F MMM DD YYYY F YY MM DD F YY...

Page 262: ...ths on one screen page At start up the current system date will be displayed in the top section The current system date will flash Dates between January 1980 and December 2079 can be referenced The calendar of the previous next month can be accessed Possible to call a calendar of the specified year and month Startup Method This utility is not stored in the basic drive C It must be copied to RAM di...

Page 263: ...oltage from the battery is low Display for power supply connection states The connection status of AC adaptor and I O Box can be displayed Display for remaining battery voltage of sub battery The remaining battery voltage of sub battery can be displayed Note Display of remaining battery voltage is determined by checking on the voltage output by the main battery The maximum indication of remaining ...

Page 264: ...lity is supplied on drive C Usually this utility is made available after it is called from the system menu as a child process However it can be used either as a single command or as a child process to be called from other application Operation Method With this utility operation priority is placed on only one side and the other side must remain in the command reception wait sate This is true for bo...

Page 265: ...ecified If a parameter is not specified the corresponding default values will be used IrDA communication speed Input parameter Baud rate bps Remark 2400 2400 9600 9600 19 K 19200 38 K 38400 57 K 57600 115 K 115 2 K 576 K 576 K 1 M 1 M 4 M 4 M Default value Wait time until the connection is established Specify between 0 and 3600 seconds If 0 is specified the application will wait until the connecti...

Page 266: ... FLINK L 4M 20 Meaning Communication will be performed with a maximum IrDA speed of 4 Mbps the wait time until the connection is established is 20 seconds and the data transmission reception wait time is default set to 300 seconds ...

Page 267: ... file pathname all files under the specified directory including sub and deeper directories will be transmitted If the file name specified by the wild card does not exist in the sub directory it is not automatically created on the host side If a wild card is not used files included in the sub and deeper directories will not be transmitted Q Designates non display of the message H If HT to HT commu...

Page 268: ...le a file transmission failure Accordingly if the host side has a file with the identical name there must be enough space on the disk to store the host side transmission file If there may not be sufficient disk space files on the host side should be deleted in advance or the file delete command described on page 249 on the transmission side should be used to delete files on the host side Example o...

Page 269: ...ies will be transmitted If the file name specified by the wild card does not exist in the sub directory it is not automatically created in the host side If a wild card is not used files included in the sub and deeper directories will not be transmitted Q Designates non display of the message H If HT to HT communication is to be performed specify this option on the terminal Request pathname Specify...

Page 270: ...h the identical name there must be enough space on the disk to store the transmission side transmission file If there may not be sufficient disk space files on the terminal side should be deleted in advance Example of specifications FLINK R A TEST DAT D TEST2 B CHECK This transfers all files that are in A TEST and that have a DAT extension and all files included in D TEST2 from the host to B CHECK...

Page 271: ...e H If HT to HT communication is to be performed specify this option on the terminal Appended file pathname Specify the file to be appended by its full pathname including the drive name This file exists on the terminal side Wild cards cannot be used Target file pathname Specify the target file to be concatenated by its full pathname including the drive name This file exists on the host side Wild c...

Page 272: ...ption on the terminal Deletion by pathname Specify the objective file to be deleted by its full pathname including the drive name If multiple deleted pathnames are specified separate each using a space Example of specifications FLINK D A TEST DAT B TEST2 CHECK DAT This specification deletes all files that are in A TEST and that have a DAT extension and all files included in B TEST2 CHECK DAT on th...

Page 273: ...d cards cannot be used for the file name Move destination pathname Specify a file name used as the move destination or the resultant file name of rename This file name must be specified by its full pathname including the drive name If the specified directory does not exist it will be automatically created Example of specifications FLINK N A TEST KK DAT A TEST2 This specification moves A TEST KK DA...

Page 274: ...e command reception wait state This function will be terminated if it is abnormally terminated if it transmits a designation of termination or if reception has been completed Startup Method FLINK No specific command exists Example of specifications FLINK No command specification Waits for a request from the terminal ...

Page 275: ... Timeout error File Error INT21h 0x02 0x02 FILE NOT FOUND File cannot be found 0x02 0x03 PATH NOT FOUND Path cannot be found 0x02 0x0B INVALID FORMAT Invalid formatting 0x02 0x0F INVALID DISK DRIVE Invalid disk 0x02 0x10 CANNOT DELETE DIRECTORY Delete request is specified to current directory 0x02 0x11 NOT SAME DISK Disk is not the same 0x02 0x12 FILE NOTHING File cannot be found Note Besides the ...

Page 276: ...ECEIVED ERROR REQUEST When error notification is received from the communication partner The following error codes are output when an error occurs in the IrDA library IrDA Library Error Termination Code Message Description 0X000000001 Resources are not enough 0X000000002 No device to connect 0X000000004 No service available at the destination device 0X000000008 Connecting is failed Timeout to abor...

Page 277: ...transmit multiple files at one time In addition files included in the sub and deeper directories can be transmitted Startup Method This utility is supplied on drive C Usually this utility is made available after it is called from the system menu as a child process However it can be used either as a single command or as a child process to be called from another application Note When the cable comes...

Page 278: ...is not set this time conversion is not performed The time stamp made at XMODEM communication uses the system time of the reception side Transmission side Reception side IT 2000 TZ none 12 00 0 12 00 0 12 00 IT 2000 TZ none IT 2000 TZ GMT 12 00 0 12 00 0 12 00 IT 2000 TZ GMT IT 2000 TZ JST 5 12 00 5 17 00 5 12 00 IT 2000 TZ JST 5 IT 2000 TZ JST 5 12 00 5 17 00 PC PC 12 00 5 5 IT 2000 TZ JST 5 About...

Page 279: ...cannot be specified at the same time M C Error check method This can be specified only if either R or S is specified M Checksum only for XMODEM C CRC Both M and C cannot be specified at the same time If this specification is not made M is automatically used if XMODEM communication is specified and C is automatically used if YMODEM communication is specified The M specification will be invalid if t...

Page 280: ... file that exists on the transmission source This file name must be specified by its full pathname PXXX Modifies the pathname of a file to be transmitted via YMODEM protocol XXX path maximum 250 characters U With this option if a wild card is used for a file name to be transmitted via YMODEM protocol files included in the sub directory can be the objectives of file transmission This option is also...

Page 281: ...on side B TEST TEST DAT can be copied at reception side If B TEST does not exist it iscreated newly Termination Codes and Messages Termination Code Message Description 00 NORMAL END End normally 01 ABNORMAL END Abort by CLR key Or the communication partner aborts 02 Reserved 03 FILE NOT FOUND Input file cannot be found 04 FILE NOT CREATE File cannot be created 05 TIME OUT Timeout has occurred 06 R...

Page 282: ...s closely as possible This utility is provided as a DOS application and should be activated as a command line or as child process of the application program File name LCDREV COM Startup Method This utility is not supplied on the basic drive C Copy it in the F ROM drive D or RAM disk A before use This program can be used either as a single command or as a child process Operation Method Format LCDRE...

Page 283: ...gram File name COM2KEY EXE Operation Method Connect the COM1 8 pin port of this terminal to the COM port of the PC with a cable Initiate the terminal emulator software on the PC and make the following setups Baud rate 9600 bps Data bits 8 bits Parity bit None Stop bit 1 bit Permanently install COM2KEY on the IT 2000 side with the following procedure If a key input is made on the PC side the entere...

Page 284: ...iting of the system ini file can be automatically handled with WINST EXE File name WINST M T directory Script File Start Option The default operations can be modified by specifying a start option to initiate WINST EXE The options that can be specified and their functions are shown in the table below Option Description M This option specifies for WINST EXE to be initiated from the menu With the ini...

Page 285: ...d WIN INI Copies the libraries DLL VBX to be used The target directory of installation in the above described processes differs depending on the execution environment of WINST EXE For example if WINST EXE is executed on the IT 2000 SYSTEM INI which is to be modified must be in the D WINDOWS directory However if WINST EXE is executed on a personal computer the SYSTEM INI file in the WINDOWS directo...

Page 286: ...d of using Program Manager If set to yes the specified application program instead of Program Manager will be registered This registration process will follow the setup described in the Shell section Intl section This section is referred when ModifyInternational yes is specified at the Setup section Specifies the country code From the Setting column of the table shown below select a value to be pl...

Page 287: ...EXE UseKeyPad yes or no If the application program uses the keypad library it must be set to yes If set to yes PADCTRL VBX is copied in the WINDOWS directory The objective PADCTRL VBX to be copied must be located in the same directory as WINST EXE UseOBR yes or no If the application program uses the OBR library it must be set to yes If set to yes OBRLIB DLL is copied in the WINDOWS directory The o...

Page 288: ...cuting WINST EXE on a personal computer COMM DRV must be prepared in advance This file is stored in the E WINDOWS directory of the IT 2000 UseYMODEM yes YMODEM DLL UseFLINK yes FLINK DLL FLINK DLL will call the IRDA library The above mentioned IrDA related files are required Example of execution on personal computer This is an example method of setting up the Windows environment on a personal comp...

Page 289: ... MD WINDOWS COPY D WINDOWS WINDOWS Load the above mentioned COMM DRV if using the IrDA interface COPY D COMM DRV Now that the objective installation files such as WINST EXE and WINST INF have been prepared in the INSTALL directory it is time to initiate WINST EXE The directory configuration at this point in time is as follows Fig 9 5 Execute WINST EXE to implement the installation Use a device suc...

Page 290: ...ial files are stored in the PC card the card can be used for installation Prepare the objective installation files including WINST EXE and WINST INF in the ATA card Add a line for loading WINST EXE in the AUTOEXEC BAT file contained in the ATA card Press the RESET switch to perform card boot The Windows environment will be automatically set up ...

Page 291: ...unit should be specified for the Flash medium to operate as a true read write device More than one spare unit may be specified to format media that have bad Flash units In such a case the number of spare units should exceed the number of bad units by at least 1 It is also possible to specify more than one spare unit in anticipation of Flash units becoming in the future A value of 0 spare units may...

Page 292: ...s configuring a socket for an I O or memory interface and controlling socket power voltages The Socket Services driver included depends upon the host controller chip that the system supports Option SKT x Number of supported slots Range 1 to 4 Default 4 Specifies the number of slots that driver supports On machines that have a PCMCIA adaptor that can support more slots than are present in the machi...

Page 293: ...ith D or S When a value of 0 is used only the mode that was specified D or S is implemented not the number of devices assigned during installation or specified using the CONFIG utility When this S switch is used ATADRV must be installed in CONFIG SYS before MTDDRV and both ATADRV and MTDDRV must be installed before CARDID Refer to ATA Driver Modes section which follows Option D x Number of drive u...

Page 294: ...owered off When a Resume request is received by CS_APM it informs Card Services which then powers the sockets on again Memory Technology Driver MTDDRV EXE This component must be installed in order to support all Memory cards It works in conjunction with card specific MTDs to support a wide variety of current Flash Memory cards It also supports SRAM cards providing MTSRAM EXE is also installed and ...

Page 295: ...er Event INT2Fh Input AH 53h AL 0Bh BH Reserved BL 1 System wait request 2 System abortion request 3 Normal resume notification if the method of the previous OFF is by normal suspend 4 Critical resume notification if the method of the previous OFF is by critical suspend 5 Battery state notification Output BH 80h Application refuses request 00h Others The power event is notified by POWER EXE In ord...

Page 296: ...15h Input AH 53h AL 0Ah BX 0001h Output If function successful Carry 0 BH AC line status 00h Off line 01h On line 02h On backup power FFh Unknown All other values are reserved BL Battery status 00h High 01h Low 02h Critical 03h Charging FFh Unknown All other values are reserved CH Battery flag bit 0 1 High bit 1 1 Low bit 2 1 Critical bit 3 1 Charging bit 7 1 No system battery All other bits are r...

Page 297: ...t 15 0 Time unit is in second 1 Time unit is in minute bits 14 to 0 value for second or minutes 0 to 7FFFh Valid value for second or minute FFh Unknown If function unsuccessful Carry 1 AH Error code 09h Unrecognized device ID End of the Manual ...

Reviews: