The text of a manual · part 20 of 25
TRAKKER T2090 Batch Hand-Held Computer User's Manual, pages 191 to 200
Pages 191 to 200 of 246
The original document is the PDF (737 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 T2090
Page 191
BIOS Support
07h
Scroll window down
7
Supported. Graphics are not scrolled. Input: al = # of lines to scroll down(if 0, screen is cleared) bh = Attribute for lines blanked at top of the window Bit 2 Bit 1 Bit -------- -------- ------X 0 0 Is Normal X 0 1 Is Double Wide X 1 0 Is Double Height X 1 1 Double High & Wide 1 Reverse bl = scroll attribute 0 scroll text (no graphics on the display). 1 scroll text (but only scroll text actually written on display, not graphics). 2 scroll graphics (Not supported). 3 scroll graphics and text (Not supported). ch = Top Row (0 - 7) dh = Bottom Row (0 - 7)
08h 09h
0Ah
Read character and attribute Write character and attribute at cursor position
Supported, but no attribute support.
Write character
Supported.
Supported, but no attribute support. Inputs: cx = count of characters to do, ignored if zero al = char to write
Input: cx = count of characters to write al = character to write 0Bh 0Ch
Set color palette Write pixel dot
Not supported. Supported. Inputs al= 0 (turn pixel on) 1 (turn pixel off) (cx)= x(col)1-119 (dx)= y(row)1-71
7-5
Page 192
TRAKKER T2090 Hand-Held Batch Computer User’s Manual
0Dh 0Eh
Read pixel dot write character as TTY
Not supported. Supported Inputs: al = character
0Fh get current video mode
Supported Outputs: ah = Columns on screen Always 20h al = Video Mode: Always 06h bh = Active Page: Always 00h
13h
Write character string
Supported. Displays the string at ES:BP on the display. Attributes are ignored. Inputs: al = contains the display subfunction, 0 = String is characters only, cursor not updated 1 = String is characters only, cursor updated 2 = String char/attrib, cursor not updated 3 = String char/attrib, cursor updated cx = length of string dh = cursor position ( row = 0-7 ) dl = cursor position ( col = 0-19) es = segment address for string bp = offset address for string
30h
Set backlight
Intermec Special BIOS Service Inputs: al = 0 backlight off al = 1 backlight on
31h
Adjust Contrast
Intermec Special BIOS Service Inputs: al = 0 Contrast Lighter al = 1 Contrast Darker cx = number of steps (range is 1 - 32, Ignores extra steps)
7-6
Page 193
BIOS Support
32h
Enlarge Line(s)
7
Intermec Special BIOS Service - Enlarges text on entire line. Inputs: al = Bit 1 Bit 0 ----- ----0 0 is Normal 0 1 is Double Wide 1 0 is Double Height 1 1 is Double Wide & Double Height dh = start row (0-7) dl = end row (0-7)
33h
Reverse Video
Intermec special BIOS service - Reverse video on entire line Inputs: al = 0 Normal Video al = 1 Reverse Video dh = start row (BIOS is 0-7) dl = end row (BIOS is 0-7)
34H
Display Keyboard Mode Indicator
Intermec special BIOS service Inputs : al = 0 Disable keyboard mode display al = 1 Get keyboard mode display status Outputs for al=1: ah = 0 = Disabled 1 = Enabled dh = Text Row ( 0-7 ) dl = Pixel Column (0-104) al = 2 Enable keyboard mode display Inputs for al=2: dh = Text Row (0-7) dl = Pixel Column (0-104)
7-7
Page 194
TRAKKER T2090 Hand-Held Batch Computer User’s Manual
Scrolling Text Lines with Attributes and Graphics When scrolling either up or down, and graphics are on the display, the graphics remains stationary relative to the scrolling text as long as the scrolling attribute (BL) in INT 10h services 6 & 7 is set to 1. This allows you to preserve a graphics image while text is scrolled around it. If a text line is scrolled up which contains actual text in the location where the graphics image is positioned, the graphics image will be overwritten. Line attributes (normal, reverse, Double Wide and/or Double Height) move with the text when scrolling lines either up or down. Please note, if the application specifies line number 8 to be Double Height, only the top half of the line is displayed on line 8.
Superimposing Text over Graphics When the T2090 RESUMES after SUSPENDING, the LCD restores graphics first, then text. If an application superimposes graphics over text in such a way that individual characters are impacted, the result after a restore may be different than expected. It is recommended that text be superimposed over graphics, not visa versa.
Keyboard BIOS Support Keyboard BIOS services are available in INT 16h. All keyboard INT 16h BIOS services are supported. Note the keyboard has no Caps Lock, NUM Lock, Scroll Lock, Alt, or Ctrl keys. Alpha keys are always uppercase. Keys are actuated at initial closure and are repeatable. ENTER, Backlight, left shift, and Function keys (F1 - F3) are not repeatable. Keys beep only (if keyclick is on) at initial closure and when auto repeating.
×
The Key is used as a toggle between Alpha and Numeric mode. This key is reported through keyboard INT 16h function 2 as a left shift key and toggles between being DOWN and UP, i.e. pressing it once, the key is considered DOWN until the user presses it a second time, then it is UP. At reset and boot, it is initialized to UP which corresponds to the ‘numeric’ mode. When left shift key is DOWN, alpha keys are reported, once the left side or right side is closed. When left shift key is UP, numeric and other center keys (-’.) are reported, left side and right side is ignored. SPACE and BACKSPACE are always active. The Function keys ARE NOT shifted when in ALPHA mode. The backlight key is always a toggle between ON and OFF and is handled by the keyboard scanner. The ENTER key will report through keyboard INT 16 function 2 NUMLOCK when key is DOWN and no NUMLOCK when key is UP for use in the user controlled Laser scanning.
7-8
Page 195
BIOS Support
7
Displaying Keyboard Mode Indicator If the display of the Keyboard Mode Indicator is enabled it will be redrawn at the end of every INT 10h call (Display software Interrupts) and whenever the key is pressed. If anything has been written in the location of the status symbol, it will be overdrawn up to two characters on each end. If it is disabled, the user is responsible for clearing the Indicator on the screen.
×
Power Management BIOS Support BIOS power management services are available in INT 15h.
Power / Battery Status Determining the charging rate status while a unit is docked in a cradle and determining the battery capacity status while a unit is outside of a cradle is done with software interrupt 15h. The following is a description of required inputs and the possible outputs. Entry: AX = 530A hex BX = 0001 (all devices) Exit: ---- Parms OK ---CF = 0 success. BH = Docked/not Docked status BH == 0 is not docked (corresponds to AC off-line) BL has battery status (same as it ever was i.e. standard) 0 = OK 1 = low main battery 2 = critical (very low main) battery 255 = unknown BH == 1, is docked (corresponds to AC online) BL has battery charging status 0 = trickle charge (fully charged) 1 = charging 2 = just started 255 = unknown CL = remaining battery life 255 = unknown ---- Failed ---CF = 1 failure AH = 09 unrecognized device id (bx<>0001)
7-9
Page 196
TRAKKER T2090 Hand-Held Batch Computer User’s Manual
Power Management Functions The functions described in this section set and manage the various levels of power management within the TRAKKER T2090. While several technical issues and software calls are being utilized to accomplish these various power states the simplistic concept to keep in mind is that the power down states increase incrementally as to the amount of characteristics which are turned off. “Doze” turns off the backlight, “sleep” adds slowing down the processor to 25 percent of the normal clock speed and “suspend” turns everything “off,” except the RAM.
Set Power Management Times This will set the PM times when APM is not running Entry: AX = 5380 hex BH = 02h Input: DH
= 0 set Doze Timeout 1 set Sleep Timeout 2 set Suspend/Off Timeout 3 set Power Down mode to Either OFF or Suspend 4 set Wakeup Activities 5 set I/O Key Action when DH == 0 for Doze Timeout, DL = 0-8 9 A B C D E F is * 1/8 of Second, where if == 8, is 1 sec 2 Seconds 4 Seconds 6 Seconds 8 Seconds 10 Seconds 12 Seconds 14 Seconds when DH == 1 or 2 for Sleep or Suspend/Off Timeout, DL = 0 - F is * 1 minute when DH == 3 for Power Down mode to Either OFF or Suspend DL = 0 Power Down Mode is OFF 1 Power Down Mode is SUSPEND when DH == 4 for Wakeup Activity Flag
7-10
Page 197
BIOS Support
7
DL = 0 No extra Wakeup activities 1 Calling INT 10h is a wake activity when DH == 5 for I/O Key action DL = 0 Same as Power Down Mode, either OFF or SUSPEND 1 Always OFF, regardless of Power Down Mode 2 Ignores any pressing of the I/O key while in ON or SLEEP modes Exit: CF = 0 CF = 1 success, settings are set FAILED
Get Power Management Times This will get the Power Management values Entry: AX = 5380 hex BH = 03h
Input: DH
= 0 get Doze Timeout 1 get Sleep Timeout 2 get Suspend/Off Timeout 3 get Power Down mode to Either OFF or Suspend 4 get Wakeup Activities 5 get I/O Key Action
Exit: CF = 0 success when DH == 0 for Doze Timeout, DL = 0-8 is * 1/8 of sec, where if == 8, is 1 sec 9 2 Seconds A 4 Seconds B 6 Seconds C 8 Seconds D 10 Seconds E 12 Seconds F 14 Seconds when DH == 1 or 2 for Sleep or Suspend/Off Timeout, DL = 0 - F is * 1 minute when DH == 3 for Power Down mode to Either OFF or Suspend DL =
7-11
Page 198
TRAKKER T2090 Hand-Held Batch Computer User’s Manual
0 Power Down Mode is OFF 1 Power Down Mode is SUSPEND when DH == 4 for Wakeup Activity Flag DL = 0 No extra Wakeup activities 1 Calling INT 10h is a wake activity when DH == 5 for I/O Key action DL = 0 Same as Power Down Mode, either OFF or SUSPEND 1 Always OFF, regardless of Power Down Mode 2 Ignores any pressing of the I/O key while in ON or SLEEP modes
Exit: CF = 1
FAILED
Get Unit ID The Unit ID is a unique four byte number. INT 15h is used to retrieve it as two words, register AX has the low word and BX has the high word. The FLASH Build Version is the top level build and include the BIOS, ROMDOS and all the extensions as a total released product. The BIOS Build Version is for the BIOS only. Entry: AX = 5380 Hex BH = 00 Exit: CF = 0 success. AX = least significant word of ID BX = most significant word of ID CL = FLASH hex build version letter CH = FLASH Hex build version number DX = BIOS hex build version
7-12
Page 199
BIOS Support
7
Controlling the LEDs This will Turn Off or On LEDs. Entry: AX = 5380h BH = 01h BL =
Data Bits 7 - 2 are reserved and should be set to 0 DB 1 0 0 1 1
DB 0 0 1 0 1
LED State OFF Green Red Red & Green together
Exit: CF = 0 success
Very Low Battery When a very low battery occurs, the TRAKKER T2090 attempts to go into the SUSPEND state. If the application is writing to the clock or writing to the display, the unit cannot enter the SUSPEND state. This procedure will repeat every second until the SUSPEND mode can be reached. The unit will not exit suspend until the voltage reading for the battery is valid. If the unit is in the OFF state and the boot command is attempted, a check of the battery status is made and if the Very Low Battery state is detected the unit will enter the OFF state rather than continue with the boot process.
System Initialization This section gives an overview of the mechanisms used to bring the T2090 up to a DOS prompt. Upon completion of the initial BIOS boot, the BIOS will search the real memory area of C000:0 to F000:0 for valid BIOS extensions. Two such extensions reside in this memory area, the CardTrick (FlashDisk) driver and the loader for ROMDOS. The first will cause the FlashDisk driver to be installed, the second will install INT19h for boot to DOS.
7-13
Page 200
TRAKKER T2090 Hand-Held Batch Computer User’s Manual
Failsafe Boot Since it is possible for the developer, through the C:\CONFIG.SYS or AUTOEXEC.BAT, to create a fatal run time condition, we have provided a means to ensure a boot of the unit and by-passing all CONFIG.SYS and AUTOEXEC.BAT and c:\ drive system files. This is known as the Failsafe Boot and will cause the unit to boot up to drive A (read only) but still allow access to drive C. To invoke this mode, press F3 upon reset of the unit, releasing the key when the ‘B’ diagnostic appears during boot. A password request will appear. To activate this feature, do the following: 1. While the T2090 is booting, press the F3 key (under the display, the unlabeled key on the right). 2. Release the key after the KEYBOARD FAILED message (very brief) appears on the display. The following screen will be displayed: # Enter Password:
3. Press the
× key once to shift the keyboard to alpha mode.
4. Type in the PASSWORD “BIOS” followed by ENTER. If you type something other than BIOS, a screen with the word WRONG is displayed. No additional retries are allowed; the unit simply continues a normal boot cycle and the fail-safe option screen is not displayed. If you enter the correct password, you see this screen: Boot options: 1. Fail-safe Boot. 2. Normal Boot Choose option:
5. Press the
× key again to shift the keyboard back to numeric mode.
6. Press 1 or 2 on the keypad. If you press 1, the unit will boot from ROM and skip the CONFIG.SYS and AUTOEXEC.BAT files on the C drive. If you press 2, the unit will perform a normal boot process. A fail-safe boot will boot to drive A and prompt the operator for time and date.
7-14