TS-3200 User’s Manual
Technologic Systems
05/21/2009
24
Int 15h / Function B040h – Matrix Keypad Support
This function is used to enable and disable support for the matrix keypad. When enabled, the RTC
periodic interrupt (IRQ8 / INT70h) is enabled at 256 Hz and hooked to the keypad scanning routine.
Disabling the keypad reverses this process – IRQ8 is turned off, and INT70h is returned to the original
standard BIOS function. The default translation table consists of the following: 0 - 9, A - D, *, and #. A
custom translation table is 16 words long, where each word is a scan code / ASCII pair for a key.
Information on scan codes can be found in books on IBM PC hardware. Example programs are
included on the utility disk. See Section 8 for further details.
ENTRY:
AX = B040h
BH = 00 - Disable matrix keypad
- Enable matrix keypad
- Enable matrix keypad with a custom translation table
CX = Translation table segment (if BH = 11)
DX = Translation table offset (if BH = 11)
EXIT:
CY = 0
(carry flag)
AH = 00
Int 15h / Function B042h – Alpha-Numeric LCD Support
This routine enables and disables the console on the LCD interface. It supports all LCD displays sized
2 x 24 or smaller using a Hitachi HD44780 controller.
ENTRY:
AX = B042h
BH = 00 - Disable LCD
01 - Enable LCD
02 - Return current LCD status
EXIT:
CY = Set if error, else clear if success.
(carry flag)
AH = 00 - No Error / LCD initialized OK
BH = 00 - LCD currently disabled / Not present
01 - LCD currently enabled and running.
Int 15h / Function B021h – JP5 Status
This function is for backward compatibility with those who used the TS-2350 board-mounted push
switch. JP5 emulates the push-switch. With JP5 installed, this function will behave as if the push switch
was installed. With JP5 not installed, it behaves as if the push switch is not pressed.
ENTRY:
AX = B021h
EXIT:
CY = 0
(carry flag)
AH = 00
BX = 00 - JP5 not installed (Deasserted)
01 - JP5 installed (Asserted)
Summary of Contents for TS-3200
Page 1: ...TS 3200 User s Manual...