The text of a manual · part 3 of 16
M90 Series Portable Data Entry Unit Reference Manual, pages 21 to 30
Pages 21 to 30 of 156
The original document is the PDF (352 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Intermec M90
Page 21
SECTION 1
Introduction
M90 Port Usage The M90 defines four ports. Table 1-4 shows the various port usages. See the Glossary for usage abbreviations. Table 1-4 M90 Port Usage Port
Bit
Usage
I/O
0
0 1 2 3 4 5 6 7
RTS CTS DTR SHUT213 KEY_OUT0 KEY_OUT1 KEY_OUT2 KEY_OUT3
OUT OUT OUT OUT OUT OUT OUT OUT
1
0 1 2 3 4 5 6 7
NMI/POWER FAIL WAND KEYBOARD RTC BACKLIGHT SPEAKER SOS OUT0
IN IN IN IN OUT OUT IN OUT
2
0 1 2 3 4 5 6 7
GOOD READ CS No connection SCAN_EN LCD_VO CN6ć2 (Laser control) No connection AUTOOFF
OUT OUT N/A OUT OUT OUT N/A OUT
M90 Series Portable Data Entry Unit Reference Manual
1-13
Page 22
Introduction
SECTION 1
Table 1-4 (Continued) M90 Port Usage Port
Bit
Usage
I/O
20h
0 1 2 3 4 5 6 7
BAT2_LOW PF0 No connection No connection BAT1_LOW Switch detect (Laser) COLDSTART DSR/RI
IN IN N/A N/A IN IN IN IN
Port T (keyboard) Serial channel 1 (COM port)
M90 Memory Map Table 1-5 M90 Memory Map
1-14
Address
Chip
0 ć 7FFFFh 80000h ć BFFFFh C0000h ć FFFFFh
Working RAM memory Bank switched RAM memory (RAM DISK) EEPROM (disk and OS)
M90 Series Portable Data Entry Unit Reference Manual
Page 23
SECTION 1
Introduction
M90 Input and Output All V25 Processor ports and registers in the M90 are mapped to memory. The readĆandĆwriteĆto ports act as memory that can be moved to different memory pages. Read the Internal Data in Base register (IDB) to find the actual port address. The V25 Processor does not have the same interrupt Vectors as an 8086 Processor. Table 1-6 Vector Summary Vector Number
Assigned Use
0 1 2 3 4 5 6 7 8 9 A
Divide error Break flag NMI BRK3 instruction BRKV instruction CHKIND instruction General purpose FPO instructions General purpose General purpose General purpose
B
General purpose
C
INTSER0 (serial channel 0)
D
INTSR0
E
INTST0
F
General purpose
10
INTSER1 (serial channel 1)
11
INTSR1
12
INTST1
13
I/O trap M90 Series Portable Data Entry Unit Reference Manual
1-15
Page 24
Introduction
SECTION 1
Table 1-6 (Continued) Vector Summary
1-16
Vector Number
Assigned Use
14
INTD0 (DMA channel 0)
15
INTD1
16
General purpose
17
General purpose
18
INTP0 (peripheral 0)
19
INTP1
1A
INTP2
1B
General purpose
1C
INTTU0 (timer 0)
1D
INTTU1
1E
INTTU2
1F
INTB (time base counter)
20-FF
General purpose
M90 Series Portable Data Entry Unit Reference Manual
Page 25
Section 2
System Organization "
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
The software organization consists of the kernel and apĆ plication modules. The kernel modules provide basic system services for the applications. The application program of an M90 may be either resident or transient. A resident application is an application stored in the M90 EEPROM. A transient apĆ plication is an application that resides on the RAM. The host uses host file downloading commands to download the transient application. Downloadable Application Computer Module
Workstation Module
User-Device Module
Downloadable Application
Transient Applications
Resident Applications Kernel SCAN_INT
EXEC
Loader
DOS Manager
File Manager
KEYPAD_INT COM_INT
COM Manager
Figure 2-1 Software Modules M90 Series Portable Data Entry Unit Reference Manual
2-1
Page 26
System Organization
SECTION 2
An EXECutable program fundamentally controls the M90 Program. When the system powers up, EXEC performs the Power-On Test (POT). During a cold start process, the sysĆ tem restores all default configurations. A warm start proĆ cess resets the system without erasing any RAM program or data files. Device configurations preserve these program or data values as they were before the warm boot. " NOTE:
Warm start is referred to as restart in this document.
EXEC initializes all M90 Peripheral Devices respectively, according to their configuration parameters. M90 PeripherĆ als include a bar code scanner and a serial communication port (RS-232). EXEC also creates and initializes all dynamic data strucĆ tures during the startĆup process, such as a keypad queue and a COM buffer. After the initialization procedure, EXEC checks for a request for a Menu" (" key pressed while the device turns on). If there is an AUTOEXEC.EXE application in the M90, EXEC executes that application. Otherwise, the M90 enĆ ters the state, where the operator can execute M90 functions. A description of the EXEC function appears later.
Kernel The M90 Kernel provides basic system services. The kernel modules include various interrupt service routines and DOS, File, and COM managers. "
"
"
2-2
DOS Manager: Emulates most MS-DOS function calls to control M90 Peripherals and Files. File Manager: Implements a DOSĆlike file subsystem to support file operations (read, write, open, close). COM Manager: Controls the communication link beĆ tween the M90 and the host.
M90 Series Portable Data Entry Unit Reference Manual
Page 27
SECTION 2
System Organization
"
EXEC: A job scheduler that manages topĆlevel operation flow of the M90 System. The EXEC program is analogous to the COMMAND.COM program in MS-DOS operating systems:
Power-On [S1]-[FN] Pressed Simultaneously
Power-On Test
" Pressed When Power-On?
Start Menu 1 Supervisor Mode 2 Warm Start 3 Cold Start 4 Cancel
YES
NO Press [4]
NO
Press [3]
Resume Press [2]
YES System Recovers
YES
WARM START
NO
WILL DELETE ALL DATA ! Sure? 1=YES 0=NO
Press [1] Password OK and Supervisor Mode enabled
YES
YES
AUTOEXEC.EXE exist
Supervisor mode NO
Run AUTOEXEC.EXE
READY mode
WARM START
Press and release [FN], then press " (See note below) USER menu
Figure 2-2 EXEC Flow Chart " NOTE:
Press and release [FN], then press " to go from one mode to the other. M90 Series Portable Data Entry Unit Reference Manual
2-3
Page 28
System Organization
SECTION 2
When the M90 is on, the system performs a comprehensive POT. If the system passes the POT, EXEC determines whether the M90 is in Mode" or Mode." The Mode" appears if the " key is pressed while the M90 is turned on. M90 EXEC displays the superĆ visor menu while in Mode." A supervisor passĆ word protects the M90 from unauthorized entry into superĆ visor state. In normal operation M90 EXEC initializes all the input and output devices, according to the configuration. If there is an AUTOEXEC.EXE application in the unit, EXEC starts executing the application. Otherwise, EXEC displays a prompt and waits for the operator to enter further commands. "
"
2-4
Loader: The function is identical to the MS-DOS loader. The loader is an MS-DOS clone, except for the simplified memory allocation and deallocation scheme. The loader's operations are: a. Read *.EXE header. b. Find enough memory for .EXE. c. Read binary into RAM. d. Reallocate based on RAM allocation. e. Set up all registers. f. Jump to the entry point. LCD Manager: All displayable characters can appear on the LCD screen. In addition, Table 2-1 shows the special control sequences supported by the M90 DisĆ play Handler:
M90 Series Portable Data Entry Unit Reference Manual
Page 29
SECTION 2
System Organization
Table 2-1 LCD Manager Sequences
" NOTE:
Key
Hex
Operation
BEL
0x07
Activate beeper for 500 ms (0.5 seconds)
LF
0x0A
New line
CR
0x0D
Cursor return
Refer to Section 4 for detailed LCD control commands.
Workstation Mode Application Although applications are classified into resident and tranĆ sient categories, the M90 EXEC always loads the executĆ able file from the RAM/ROM into the RAM executive area. It then begins execution. Workstation mode is the default resident M90 Operation. In workstation mode, an M90 configures as a portable proĆ grammable device. The system receives transient applicaĆ tion programs from the host using a download channel. The system also receives the resident application, from ROM.59 programs or data files, that can reside on an M90. Up to eight resident applications can reside on an M90. The operator can then select one of the applications using the keypad host command sequence. The transient application operates as a file and purges when the M90 performs a cold start. While File Manager does not support the resident application, it is always in ROM. Data files or recorded information collected from workstaĆ tion applications are uploaded to the host when the host program decides to retrieve the collected data. Some apĆ plications may also require prepared data files, such as daĆ tabase information. These data files are loaded into the M90 in the same way that the program is downloaded. M90 Series Portable Data Entry Unit Reference Manual
2-5
Page 30
System Organization
SECTION 2
When the M90 is in Mode," the user menu is disĆ played. The operator may select one of the following funcĆ tions: " " " " " " " "
RUN TER COM DIR
Runs executable program Terminal mode operation Communicates in Kermit protocol Displays M90 RAM disk directory
ERA TYP CPY SET
Erases file Types file Copies file Sets M90 Parameters
Use host communication commands to perform all keypad controls. " NOTE:
2-6
If the M90 Communication Parameters are not set correctly, the host system cannot send any control commands.
M90 Series Portable Data Entry Unit Reference Manual