beautypg.com

Function ah=2eh – Juniper Systems Allegro DOS Manual User Manual

Page 244

background image

Page 8-10 Software Developer's Guide for DOS

Function AH=2Eh

Note: The behavior of the panning sub-functions 00 - 03 depends on
the current font size and video mode.
Subfunction: AL = 00h (pan left)
Pans screen left. If screen is at leftmost limit, no action is taken. Returns
nothing.

Subfunction:

AL = 01h (pan right)

Pans screen right. If screen is at rightmost limit, no action is taken.
Returns nothing.

Subfunction: AL = 02h (pan up)
Pans screen up. If screen is at top of 25 row virtual display, no action is
taken. Returns nothing.

Subfunction: AL = 03h (pan down)
Pans screen down. If screen is at bottom of 25 row virtual display, no
action is taken. Returns nothing.

Subfunction: AL = 04h (pan xy - text mode only)
Locates the upper left corner of display window to row/column
specified on the virtual 80x25 display. Call with BH=row, BL=column.
Range of row/column values depends on font size. The display window
must be contained within 80 x 25 virtual display. (0,0) is top left corner.
Returns nothing.

Subfunction:

AL = 06h (pc card power while in suspend)

Determines whether to leave PC Card powered when the system is
suspended or to turn power off. Some cards may draw substantial
current even when suspended and may need to be powered down
during suspend so the Allegro's batteries are not drained.

Call with:

BL=00h

return current setting in AL

BL=01h

power off during suspend

BL=02h

power on during suspend (default)

Subfunction:

AL = 07h (suspend Allegro)

Suspends the Allegro to low power suspend state and remains there
until a valid wakeup event occurs. Calling this function is identical to
pressing the on/off key when the system is in suspend/resume mode.
Returns nothing.