Int 15H / Function B050H - A/D Converter Control; Int 15H / Function B020H - Jumper Pin Status - Technologic Systems TS-5500 User Manual

Table of Contents

Advertisement

TS-5500 User's Manual
AH = 00 if no error, 86h if no supported by BIOS
Int 15h / Function B050h – A/D Converter Control
Function B050h provides a simple interface for performing a single A/D conversion. In case of
hardware failure (or the ADC option is not present), a time-out returns an error code within
approximately 50 µS.
ENTRY:
AX =
B050h
BL =
Value to write into A/D Control register (See Table 6)
EXIT:
CY =
0 (no error)
AH =
00
01
02
03
04
BX =
A/D Conversion value
The ADC automatically sign-extends the result to the full 16 bits in bipolar mode, and
masks the upper 4 bits in unipolar mode.

Int 15h / Function B020h - Jumper Pin Status

This function returns the status of the option jumpers 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
0
1
2
3
4
5
Table 13 - Int15h/Function B020h register BX
- No Error
- bad subfunction
- bad input registers (i.e. if BL bit 5 set)
- ADC option not present (I/O 7Dh bit 0 = 0)
- Hardware error (A/D timeout)
Jumper
Description
JP1
Auto CMOS configuration
JP2
Console Redirected to COM port
JP3
Write enable Flash A:
JP4
Console set to 115K baud
JP5
User definable
JP6
Console to COM1
return values
35
Technologic Systems
10/31/03

Advertisement

Table of Contents
loading

Table of Contents