background image

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) 

 

Содержание TS-3200

Страница 1: ...TS 3200 User s Manual...

Страница 2: ...Laser Drive Fountain Hills AZ 85268 480 837 5200 FAX 837 5300 info embeddedx86 com http www embeddedx86 com This revision of the manual is dated May 21 2009 All modifications from previous versions ar...

Страница 3: ...int the RMA number on the outside of the package This limited warranty does not cover damages resulting from lighting or other power surges misuse abuse abnormal conditions of operation or attempts to...

Страница 4: ...FILES 17 14 1 Developing with Technologic Systems TS 9500 17 14 2 Zmodem Downloads 17 14 3 Manufacturing Mode 17 15 DEBUGGING 18 15 1 Integrated BIOS Debugger 18 15 2 Using other debuggers 19 16 VIDEO...

Страница 5: ...atible computer and there are hundreds of books about writing software for the PC platform The purpose of this manual is documenting where the TS 3200 differs from a standard PC 2 PC Compatibility PC...

Страница 6: ...sk by adding the vdisk sys device driver The RAM disk is accessible as drive C if the DiskOnChip 2000 Flash disk is not installed drive D if it is The size of the disk can be reduced to provide extend...

Страница 7: ...rs a complete Linux Operating System configured for a small footprint that runs under the Linux kernel When using the DiskOnChip it will simply appear as drive C The DiskOnChip uses the 8 KB range of...

Страница 8: ...may be consulted 5 2 Serial Port Hardware Each serial port has 4 lines buffered the two data lines and the CTS RTS handshake pair This is quite suffi cient to interface with the vast majority of seria...

Страница 9: ...non standard I O locations Because DOS only directly supports four serial ports any additional ports beyond four will require software drivers The PC 104 bus has IRQ3 4 5 6 7 or 9 available for addit...

Страница 10: ...nstalled it can be used for digital I O Pins 3 4 5 and 14 can be programmed as either inputs or outputs All digital outputs can source or sink up to 8mA All digital inputs have standard TTL level thre...

Страница 11: ...e controller the cable needed is dependent on the display used For most displays a straight through type ribbon cable can be used The connector on the LCD display is typically mounted on the backside...

Страница 12: ...the keypad is not used as stdin but read from as a hardware device This is useful if one wishes to use console redirection or to use a keyboard as stdin See the utility diskette for example code When...

Страница 13: ...t Value The lower 16 bits WDTRDL are insignificant and can be loaded with zero This fact allows the following simple method of calculating a Reload Constant assuming a 25MHz 386EX clock For example if...

Страница 14: ...r is first supplied to the TS 3200 the board mounted LED is immediately turned on under hardware control Once the processor begins execution the LED is turned off then flashed on and off again briefly...

Страница 15: ...alled With a jumper installed on JP4 the 386EX clock is throttled to half speed One advantage of this feature is that this will reduce the amount of power consumed Another benefit is for debugging thi...

Страница 16: ...ew signals not supported We have found this allows the support of the vast majority of PC 104 boards including all of the above mentioned examples The one feature missing is DMA which few PC 104 board...

Страница 17: ...menu To upload a file from the TS 3200 to your host PC execute UL BAT FILENAME at the DOS command line on the TS 3200 and start the transfer in your terminal emulator Many emulators HyperTerminal amon...

Страница 18: ...00 video and keyboard 15 1 Integrated BIOS Debugger To provide simple direct access to the TS 3200 hardware the system BIOS has an integrated debugger that can perform standard low level debugger func...

Страница 19: ...he serial port Any program that accesses the video or keyboard hardware directly will not work Keyboard redirection is limited simply because most of the extended keys on the keyboard function keys an...

Страница 20: ...200 User s Manual Technologic Systems 05 21 2009 20 Appendix A Board Diagram and Dimensions Figure 6 Board Diagram Coming Soon Figure 7 Board Dimensions standard PC 104 8 bit module dimensions Coming...

Страница 21: ...k 1M BIOS Shadow RAM F0000h 960k 64k DOS BIOS Extension Shadow RAM E0000h 896k 64k PC 104 Bus D8000h 864k 32k DiskOnChip or SRAM or PC 104 Bus D0000h 832k 32k PC 104 Bus C8000h 800k 32k PC 104 Bus Typ...

Страница 22: ...8h 19Fh Used by TS 9300 and TS 9500 Daughter Boards 140h 15Fh User Chip Select Pin B19 on PC 104 Bus 80h FFh Internal 386EX peripherals 07Eh DIO2 byte wide port 07Dh Control Latch for DIO2 and LCD Por...

Страница 23: ...0 AL SP_VERSION For standard versions of the BIOS this is 0 An SP number is assigned when custom modifications are made to the BIOS for a client and it is returned in this register Contact us for furt...

Страница 24: ...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 routi...

Страница 25: ...pers in register BX according to the list below ENTRY AX B020h EXIT CY 0 carry flag AX 0 BX Jumper Pin Status If Bit X 1 the jumper is installed BX Bit Jumper Description 0 JP1 Manufacturing Mode 1 JP...

Страница 26: ...3CFG read write 0F820h 0F824h Port n Mode Configuration Each bit controls the mode of the associated pin 0 Selects I O mode 1 Selects peripheral mode P1DIR P3DIR read write 0F864h 0F874h Port n Direct...

Страница 27: ...Appendix F Using A 12 5 MHz Baud Clock Each serial port baud rate generator clock can be independently switched between either the standard 1 85 MHz clock or a 12 5 MHz clock the internal processor cl...

Страница 28: ...00 User s Manual Technologic Systems 05 21 2009 28 Appendix H Manual Revisions 11 01 01 New manual 11 29 01 Revised DIO section Meaning of Bit 4 IO loc 7Dh changed polarity 05 21 09 Updated mailing ad...

Отзывы: