beautypg.com

Juniper Systems Allegro DOS Manual User Manual

Page 250

background image

Page 8-16 Software Developer's Guide for DOS

Subfunction: AL = 15h (set auto suspend duration)
This subfunction requires an input value to set the auto suspend
duration. The input value is passed in the BL register. There is no
output.

If BL = 00h auto suspend is disabled

08h duration = 40 min

01h duration = 5 min

09h duration = 45 min

02h duration = 10 min

0Ah duration = 50 min

03h duration = 15 min

0Bh duration = 55 min

04h duration = 20 min

0Ch duration = 60 min

05h duration = 25 min

0Dh duration = 65 min

06h duration = 30 min

0Eh duration = 70 min

07h duration = 35 min

0Fh duration = 75 min

Subfunction: AL = 16h (set video contrast)
This subfunction requires an input value to set the video contrast ratio.
The input value is passed in the BL register and has a range of 00h to
63h. Returns nothing.

Subfunction:

AL = 18h (get performance level)

The purpose of this function is to read the current performance level.
Output: AL = 00h

miser

01h

low

02h

medium

03h

high

04h

hyper

Subfunction:

AL = 19h (set performance level)

This subfunction requires an input value to set the performance level.
The input value is passed in the BL register. Valid register values are
shown below.

BL =

00h

miser

01h

low

02h

medium

03h

high

04h

hyper

No value is returned to the AL register.

Note: If the eighth bit is set (e.g., 1XXXXXXX, X = 0 or 1), the system is
put into a low power mode (i.e., "sleep") until a system timer tick occurs which
restores the system to normal power. Timer ticks occur once every 55
milliseconds. The performance level is not changed when the sleep function is
called. It is commonly used in applications to save power while waiting for a
keystroke.