Juniper Systems Allegro DOS Manual User Manual
Page 247
Software Developer's Guide for DOS Page 8-13
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.