Function 46h - subfunction 03h – Texas Instruments 5000 User Manual

Page 268

Advertising
background image

Returns:

AH = Error Code

00h = No Error

01h = Invalid Parameter

02h = No Modem

BL = System inactivity timeout (in minutes)

CL = Video inactivity timeout (in minutes)

DH = Modem State

00h = Turned modem Off

01h = Turned modem On

FFh = Didn’t modify state

DL = Fixed Disk inactivity timeout (in minutes)

CY = Set on Error (see AH)

F.4

Function 46h - Subfunction 03h
Get/Set Battery Status

Gets and sets various information about the battery. This function is fully
implemented by BatteryPro. The BIOS always returns with BL = 1 (one
battery installed), no matter what request type is made.

Call with:

AH = 46h

AL = 03h

BH = Request Type

00h = Set Battery Count

01h = Set Battery Level

02h = Set Low Battery Warning Time

03h = Set Critical Low Battery Warning Enabled

04h = Set Battery Auto Full Enabled

05h = Set View Mode

06h = Set Normalized Full Battery Indication Number

0Fh = Set All Values to Defaults

80h = Get Battery Count

81h = Get Battery Level

82h = Get Low Battery Warning Time

83h = Get Critical Low Battery Warning Enabled

84h = Get Battery Auto Full Enabled

85h = Get View Mode

86h = Get Normalized Full Battery Indication Number

BL = Battery Parameter (if called with BH = 0Xh)

Added Interrupt 15 Functions F-3

Advertising
This manual is related to the following products: