beautypg.com

Subfunction: al = 15h (perform system hard reset), Subfunction: al = 19h (set led brightness), Subfunction: al = 1ah (get battery % charge) – Juniper Systems Allegro DOS Manual User Manual

Page 129: Subfunction: al = 20h (get bios version), Subfunction: al = 24h (bios setup popup window)

background image

Allegro DOS Owner’s Manual 129

Subfunction: AL = 14h (select font size in text mode)
Call with:

b1

=

00h

return current setting in AL

01h

set

8

x

8

pixels

02h

set

8

x

12

pixels

03h

set

10

x

12

pixels

04h

set

16

x

16

pixels

Subfunction: AL = 15h (perform system hard reset)
No arguments, when called does a hard reset.

Subfunction: AL = 19h (set LED brightness)
Call with:

b1

=

00h

return current setting in AL

=

01h

dim

=

02h

medium

=

03h

bright

Subfunction: AL = 1Ah (get battery % charge)
Returns AL = % C, range 0 to 100%.

Subfunction: AL = 20h (get BIOS version)
Returns offset of BIOS version string in AX.
Segment is F000.

Subfunction: AL = 24h (BIOS Setup popup window)
Invokes the BIOS Setup window. Control is passed to the BIOS Setup
utility. The function returns when the user exits the Setup utility.
The video state is automatically saved and restored during this call.
Returns nothing.

This function requires the BIOS video save buffer to be available. If
the buffer is not available because another system popup window is
in use (such as the “battery change” window), this call is ignored.

Subfunction: AL = 26h (get/set vehicle mode)
Disallows battery charging when vehicle mode is ON and the
battery gauge percent charge register is greater than 90% (refer to
subfunction 1A). This prevents excessive overcharging when the
Allegro is connected to an external power supply where the power is
cycled on and off frequently, such as in a vehicle. When vehicle mode
is OFF, charging is allowed no matter what value is in the percent
charge register.