Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 23 of 42

JANUS PSK for C/C++ Reference Manual, Version 2.1, pages 221 to 230

Pages 221 to 230 of 414

The original document is the PDF (690 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Intermec J2020, Intermec J2010 and Intermec J2050

Page 221

INT 79H, Function 01H

Return Value:

When AL = 06H, the return values are: AL =

See Also:

3

0 to 60 Backlight timeout in seconds FFH Bad parameters were received

BACKLITE.CPP in Appendix B, “Sample Interrupt Programs.”

3-23

Page 222

INT 79H, Function 02H

INT 79H, Function 02H LCD Display Size Mode Manager Purpose:

This function establishes the display setup when in text mode.

Call With:

AH =

02H

LCD display size mode manager

AL =

00H BH = BH = BH = BH = BL = BL = BL = BL = CH = CH =

Initialize 80x25 or 40x25 text mode 00H Video mode 0 (40 x 25) 01H Video mode 1 (40 x 25) 02H Video mode 2 (80 x 25) 03H Video mode 3 (80 x 25) 00H Scroll at line 25 01H Scroll at line 16 (2010 and 2020) 02H Scroll at line 8 (2010 and 2020) 03H Scroll at line 13 (2050 and double height) 00H Standard character height 01H Double character height

AL =

01H 02H 03H

Initialize 20x16 text mode (2010 and 2020) Initialize 20x8 text mode (2010 and 2020) Return current video mode, size mode, character height, and scroll mode Initialize 10x16 text mode (2010 and 2020) Initialize 10x8 text mode (2010 and 2020) Enable or disable character height and scroll mode keys BL = 00H Disable 01H Enable

04H 05H 06H

AL =

3-24

07H

Returns whether the character height and scroll mode keys are enabled or disabled

Page 223

INT 79H, Function 02H

Return Value:

3

When AL = 03H, the return values are: AH =

00H 01H 02H 03H

Video mode 0 Video mode 1 (40x25) Video mode 2 (80x25) Video mode 3 (80x25)

AL =

00H 01H 02H 03H 04H

80x25 or 40x25 size mode 20x16 size mode (2010 and 2020) 20x8 size mode (2010 and 2020) 10x16 size mode (2010 and 2020) 10x8 size mode (2010 and 2020)

BH =

00H 01H

Standard character height Double character height

BL =

00H 01H 02H

Scroll mode 0 Scroll mode 1 Scroll mode 2

When AL = 07H, the return values are: AL =

00H 01H FFH

Disabled Enabled Bad parameters were received

When AL = any other value (except 03H and 07H), the return values are: AL =

See Also:

00H FFH

Good parameters were received Bad parameters were received

PHTERM.CPP in Appendix B, “Sample Interrupt Programs.”

3-25

Page 224

INT 79H, Function 03H

INT 79H, Function 03H Viewport Move Purpose:

This function provides program and keypad control of the viewport. This service is available only in modes where the display buffer cannot be completely viewed within a 20x16 window. This function does not apply to the JANUS 2050.

Call With:

AH =

03H

Viewport move

AL =

00H BL = BL =

Disable or enable movement keys 00H Disable 01H Enable

AL =

01H BX = CX =

Absolute viewport move Row number Column number

AL =

02H BH =

Relative viewport move Direction 00H Left 01H Right 02H Up 03H Down Calling source 00H Keypad 01H Application Distance 00H Default distance

BL =

CX =

3-26

AL =

03H BL = BH = CX =

Set the viewport default step size Video mode Row default step size Column default step size

AL =

04H

Get the viewport default step size

AL =

05H

Get the video, size, and position mode

Page 225

INT 79H, Function 03H

Call With:

AL =

06H

Return Value:

When AL = 01H, the return values are:

3

Return whether viewport keys are enabled or disabled

AX = nn FFH

Row number (nn) actually achieved Bad parameters were received

BX = nn FFH

Column number (nn) actually achieved Bad parameters were received

When AL = 02H, the return values are: AX = nn FFH

Row number (nn) actually achieved Bad parameters were received

BX = nn FFH

Column number (nn) actually achieved Bad parameters were received

When AL = 03H, the return values are: AL =

00H FFH

Good parameters were received Bad parameters were received

When AL = 04H, the return values are: AL = nn FFH

Row step size (nn) Bad parameters were received

BH = nn

Row default step size (nn)

BX = nn

Column step size (nn)

CX = nn

Column default step size (nn)

3-27

Page 226

INT 79H, Function 03H

Return Value:

When AL = 05H, the return values are: AH = nn

Video mode (nn)

AL = nn FFH

Size mode (nn) Bad parameters were received

BX = nn

Row number (nn)

CX = nn

Column number (nn)

When AL = 06H, the return values are: AL =

See Also:

3-28

00H 01H FFH

Disabled Enabled Bad parameters were received

PHTERM.CPP in Appendix B, “Sample Interrupt Programs.”

Page 227

INT 7CH, Function 64H

3

INT 7CH, Function 64H Generate Sound Purpose:

This function generates a sound of specified pitch and duration.

Call With:

AX =

64H

CX =

00H

DX =

00H

Generate sound

ES:BX =Pointer to the IM_BEEP_PARAMS structure The definition for this structure is as follows: Byte

Description

0

Requested volume 0 = Off 1 = Quiet 2 = Normal 3 = Loud 4 = Very loud 5 = Default volume

1 to 2

Pitch (20 to 20,000 Hz)

3 to 4

Duration (1 to 65,000 ms)

5 to 6

Off time (1 to 65,000 ms)

nnnn

One of the standard status codes defined in Appendix A, “Status Codes.”

Return Value:

AX =

See Also:

JBEEP.CPP in Appendix B, “Sample Interrupt Programs.”

3-29

Page 228

INT 7DH, Function 08H

INT 7DH, Function 08H Reader Wedge Control Purpose:

This function provides Reader Wedge control.

Call With:

AH =

08H

Reader Wedge control

AL =

00H 01H

Clear abort callback address Modify reader configuration ES:BX Far pointer to a reader command string CX Length of the reader string Get input mode Get label symbology ES:BX Far pointer to a variable receiving the symbology

03H 06H

3-30

07H

Get length of received string CX 0010H Label selected 0020H Keyboard selected 0001H COM1 selected 0002H COM2, scanner selected (2010 and 2050) 0008H COM4 selected

08H

Get input status

0AH

Get input from keyboard or scanned label (see IRL command A) ES:BX Far pointer to IRL_PARAMS_S

0BH

Receive input from keyboard (see IRL command K) ES:BX Far pointer to IRL_PARAMS_S

0CH

Receive numeric input from keyboard or scanned label (see IRL command N) ES:BX Far pointer to IRL_PARAMS_S

Page 229

INT 7DH, Function 08H

Call With:

AL =

3

0DH

Receive input from any source in any format (see IRL command V) ES:BX Far pointer to IRL_PARAMS_S CL 00H Edit disable 01H Edit enable CH Beep mode: 00H Application beep 01H Wedge beep 02H No beep DL Display flag: 00H Flag disable 01H Flag enable DS:SI Far pointer to allowable input sources: 0000H No input source 0010H Label selected 0020H Keyboard selected 0001H COM1 selected 0002H COM2, scanner selected (2010 and 2050) 0008H COM4 selected 007FH All selected

0EH

Receive input from a selected communications port (see IRL command Y) ES:BX Far pointer to IRL_PARAMS_S CL 00H COM1 selected 01H COM2, scanner selected (2010 and 2050) 03H COM4 selected DL Protocol mode: 00H No change 01H Protocol on 02H Protocol off 03H New end-of-message character DS:SI Far pointer to the end-of-message character

10H

Link to a selected communications port ES:BX Far pointer to memory area used by Reader Wedge CX 0000H COM1 selected 0001H COM2, scanner selected (2010 and 2050) 0003H COM4 selected DX Number of bytes to allocate for the buffer array

3-31

Page 230

INT 7DH, Function 08H

Call With:

3-32

AL =

1BH

Receive input from selected source and place into buffer CX Allowed input source: 0010H Label selected 0020H Keyboard selected 0001H COM1 selected 0002H COM2, scanner port (scanner) selected (2010 and 2050) 0008H COM4 selected DX Timeout value ES:BX Far pointer to the returned source: 0000H No selection made 0010H Label selected 0020H Keyboard selected 0001H COM1 selected 0002H COM2, scanner port (scanner) selected (2010 and 2050) 0008H COM4 selected DS:SI Far pointer to the input string

1EH

Set serial protocol mode CL 00H COM1 01H COM2, scanner port (2010 and 2050) 03H COM4 CH Protocol mode: 00H No change 01H Protocol on 02H Protocol off 03H New end-of-message character DL End-of-message character

1FH

Set abort callback address CX Input source: 0010H Label selected 0020H Keyboard selected 0001H COM1 selected 0002H COM2, scanner selected (2010 and 2050) 0008H COM4 selected 007FH All selected ES:BX Far pointer to the callback routine