beautypg.com

Juniper Systems Allegro DOS Manual User Manual

Page 246

background image

Page 8-12 Software Developer's Guide for DOS

Subfunction:

AL = 11h (set keypad shift flag settings)

The keyboard shift flags (, , ) can be individually
controlled such that when the key is pressed it will register as either left,
right, or both scan codes. The -nnn function can be enabled/
disabled with this function.

Call with:

BL=b7-b0 where:
b1,b0

=

01

right only

10

left only

11

both (Default)

b3,b2

=

01

right only

10

left only

11

both (Default)

b5,b4

=

01

right only

10

left only

11

both (Default)

b6

=

0

disable -nnn

1

enable -nnn (default)

b7

=

reserved

Subfunction: AL = 12h (get Allegro ID)
Returns offset of Allegro ID string in AX. Segment is F000.

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