Resumo do conteúdo contido na página número 1
IT-2000W
(Windows version)
Technical Reference
Manual
(Version 1.00 )
April 1998
Casio Computer Co., Ltd.
Copyright ©1998. All rights reserved.
Resumo do conteúdo contido na página número 2
Table of Contents 5 Preface Chapter 1 6 Overview 1.1 6 Features of System 1.1.1 6 Development Concept 1.1.2 6 Hardware 1.1.3 6 Software 1.1.4 7 Basic Specifications 1.1.5 8 Model Name 1.2 9 System Configuration 1.2.1 9 Hardware Block Diagram 1.2.2 10 Supported Software 1.3 13 Precautions Chapter 2 16 Basic Software 2.1 16 Overview 2.1.1 16 Software Configuration 2.1.2 17 Memory Map 2.1.3 18 Drive Configuration 2.2 19 Basic System Operation 2.2.1 19 Overview 2.2.2 21 Power ON Process 2.2.3 25 Pow
Resumo do conteúdo contido na página número 3
3.10 YMODEM Utility 61 3.11 FLINK Command 65 3.12 System Date/Time Setup 68 3.13 Command Prompt 69 3.14 RAM Disk Size Change 70 3.15 Disk Format 72 3.16 System Initialization 74 3.17 Password Entry 75 Chapter 4 MS-DOS 76 4.1 Overview 76 4.2 How to Write CONFIG.SYS and AUTOEXEC.BAT 78 4.3 Card Boot 81 Chapter 5 MS-Windows 84 5.1 Overview 84 5.2 Installation of MS-Windows 85 5.2.1 Demonstration Installation 85 5.2.2 Application Installation 86 Chapter 6 Keyboard Controller 87 6.1 Overview 87 6.2 K
Resumo do conteúdo contido na página número 4
8.4.2 Debugging Through Simulation 147 8.4.3 Operation Check on IT-2000 (Using COM2KEY/XY) 149 8.4.4 Installation of Application Program 150 8.5 Simulation Driver 152 8.5.1 System Driver Simulator (SysCall.DLL) 153 8.6 Library 157 8.6.1 Overview 157 8.6.2 System Library 158 8.6.3 Keypad Library 196 8.6.4 OBR Library 213 Setting Operation Mode/DT-9650BCR 223 Setting Operation Mode/DT-9656BCR 228 8.6.5 YMODEM Library 233 8.6.6 FLINK Library 239 Chapter 9 Utility 257 9.1 Overview 257 9.2 Calculator
Resumo do conteúdo contido na página número 5
Preface The IT-2000 Technical Reference Manual (hereinafter referred to as this document) is provided to assist the user in developing programs to run on the Casio IT-2000 (hereinafter referred to as this terminal or IT-2000 or HT). Microsoft C/C++ Ver.7.0 or later, and the manuals supplied with it, is required to develop programs for this terminal. Read Chapter 1 of this manual in its entirety to understand the features of this terminal. Important notices to user The information contained in
Resumo do conteúdo contido na página número 6
1. Overview 1.1 Features of System 1.1.1 Development Concept The IT-2000 is a data collection terminal for business use. After years of refinement Casio Computer Co., Ltd. has developed its hand-held type terminals so that they yield high speed and a high functionality in comparison to general personal computers. This allows improved efficiency in software development. It has adopted the IBM PC/AT architecture and incorporated an IBM PC/AT compatible BIOS. It uses MS-DOS Ver. 6.22 and MS-Wind
Resumo do conteúdo contido na página número 7
PC card slot conforms to PCMCIA Release 2.1 supporting various PC cards. Implements IrDA 1.1 protocol for high-speed infrared communication. System menu makes it easy to maintain the IT-2000 and install user application programs. Provides various development support tools including C-language libraries and communication utilities for developing business application programs. 1.1.4 Basic Specifications IT-2000 Architecture IBM PC/AT architecture External dimensions and weight Dimens
Resumo do conteúdo contido na página número 8
1.1.5 Model Name The following IT-2000s of Windows version will be available. For price of 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 8
Resumo do conteúdo contido na página número 9
1.2 System Configuration 1.2.1 Hardware Block Diagram CPU i486GX Power switch 1 MASK ROM FLASH ROM (DINOR) BIOS/DOS Battery voltage monitoring sensor DRAM A/D Temperature sensor converter Illumination sensor COM 1 UART/ Buffer 8-pin SIR Key RTC Keyboard Analog touch controller panel ASIC IrDA 1.1 RTC IrDA Driver/Receiver IrDA 1.0 COM 2 RS-232C 14-pin 16550 driver BUS PC card Controller controller PC card slot NAND NAND FLASH interface EL Backlight BL controller VGA controlle
Resumo do conteúdo contido na página número 10
1.2.2 Supported Software The software used with this terminal can be divided into two categories: the system software that includes the BIOS, OS, and device drivers and the user software such as the development tools. The system software is stored on the DINOR FLASH ROM (1 MB), and the user software is supported from the SDK CD-ROM (version 4.0) supplied by Casio at free of charge. The following paragraphs describe the software. BIOS The BIOS program is stored in the DINOR FLASH ROM. 256 KB of
Resumo do conteúdo contido na página número 11
TFORMAT.EXE Basic drive (C:) F-ROM drive formatter Windows Driver These drivers are necessary for the Windows to run on IT-2000. Download to F-ROM drive (D: ). File name Storage location Description VGA_C.DRV MASK ROM drive (E: ) Display drivers VGA_NC.DRV PENMOUSE.DRV SDK Mouse driver VKD.386 SDK Virtual key driver IRDA.DLL SDK IR communication drivers IRCOMM.DRV Utilities For information about the utilities refer to Chapter 9 "Utility". File name Storage location Description WCAL.EXE SDK Calen
Resumo do conteúdo contido na página número 12
Development Tool Libraries All the libraries of Windows are provided either as Dynamic Link Library (DLL) or as Visual BASIC Custom Control (VBX). To use these libraries, download first to a directory in F-ROM drive (D: ). The files, *.LIB and *.H, are needed when you develop an application program. File name Storage location Description LIBSYSW.LIB SDK System library SYSCALL.DLL SYSCALLP.DLL SYSLIB.H PADCTRL.VBX SDK Keypad library PADCTRL.H LIBOBR.LIB SDK OBR library OBRLIB.H OBRLIB.DLL LIBYMOD
Resumo do conteúdo contido na página número 13
1.3 Precautions If reading the internal clock with INT21h the significant data should include and be limited to the seconds digits. On this terminal the time is read directly from the RTC so that the correct time can be attained at any moment, even during extended continuous use. As a result the 1/100 of a second digit is ignored. (refer to Chapter 7.3 “Clock Control Driver”.) To count time, the counter of DOS or the function provided for reading time must be used. Time tick count of W
Resumo do conteúdo contido na página número 14
If an LB1 event (low main battery voltage) occurs, the alarm buzzer starts sounding and system operation is suspended about 10 minutes later. If the alarm buzzer starts sounding, terminate the current operation as soon as possible and recharge the main battery. This system will not execute an alarm indication to be displayed on the LCD screen for an LB2 event (low sub-battery voltage) or LB3 event (low SRAM card battery voltage). Therefore, the application program side must acquire these ala
Resumo do conteúdo contido na página número 15
The backlight is turned off by means of the ABO (Auto Backlight OFF) function. However, it is turned off 1.3 seconds after the setup time. This is because the system has 1.3 seconds of monitoring time before the internal timer is started. During the process of loading Windows after boot-up, do not press the Power switch. Do not press the Power switch because a processing request is issued before the process handler is installed, resulting that the processing following the request can no long
Resumo do conteúdo contido na página número 16
2. Basic Software 2.1 Overview 2.1.1 Software Configuration The following diagram shows the software configuration of the IT-2000W. Application Program LibSYSW.LIB LibOBRW.LIB LibYMOD.LIB FLINK.LIB Mouse Event Display Req. VGA_NC.drv PenMouse.drv MS-Windows OBRLIB.DLL YMODEM.DL PADCTRL.VBX FLINK.DLL AT Architecture LibSYSW.LIB IrDA Driver & ROM BIOS SysCall.DLL VKD.386 Handy Terminal Original Hardware & ROM BIOS Fig. 2.1 16
Resumo do conteúdo contido na página número 17
2.1.2 Memory Map The memory map of the IT-2000 is as follows. Extended Memory 100000h ROM BIOS 0F0000h NAND DISK BIOS/VGA BIOS 0E0000h Memory Mapped Disk I/F 0DC000h PC Card I/F 0D8000h EMS Windows 16 KB x 4 0C8000h Reserved 0C0000h Video Buffer 128 KB 0A0000h System RAM 640 KB 000000h Fig. 2.2 17
Resumo do conteúdo contido na página número 18
2.1.3 Drive Configuration The drive configuration differs for each model as described in the following table: Drive A: RAM disk [Read and Write] This drive is prepared for use after the RAM disk size is specified from the System Menu. The contents of this RAM disk will not be erased through a boot process or by pressing the RESET switch. Drive C: Basic drive (DINOR FLASH ROM) [Read Only] This drive starts up MS-DOS. The main body of MS-DOS and maintenance programs such as the System Menu, etc.,
Resumo do conteúdo contido na página número 19
2.2 Basic System Operation 2.2.1 Overview Basic operation of this system on the terminal consists of the suspend/resume process and boot process operated by means of the Power switch and RESET switch, as shown in the following diagram. ON KEY OFF STATE ON STATE Application BOOT OFF EVENT RESET SWITCH OFF Process OFF EVENT System Menu BOOT ON EVENT OFF Process ON Process RESET SWITCH System Menu SUSPEND System Menu BOOT STATE ON KEY INITIAL STATE System Menu BOOT Fig. 2.3 During normal operatio
Resumo do conteúdo contido na página número 20
The following table summarizes the power-on processes provided for this terminal. System Menu boot Always executes CONFIG.SYS and AUTOEXEC.BAT located process 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. 20