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 24 of 40

2D JANUS PSK for C/C++ Reference Manual, pages 231 to 240

Pages 231 to 240 of 400

The original document is the PDF (793 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 231

INT 7EH, Function 01H

3

To enter an application break sequence 1. Press 2. Press 3. Press 4. Press

L IB

L to turn off the reader. -

- at the same time.

. This sets the reader’s application break bit.

to turn on the reader.

This sequence resets the application break request bit if the bit is TRUE. A new application that monitors this bit can execute without terminating on the same condition that terminated the previous application. See Also:

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

3-39

Page 232

INT 7EH, Function 03H

INT 7EH, Function 03H Get Keypad Scanner Version Purpose:

This function returns all pertinent information about the revision level of the KSCPU and its firmware.

Call With:

AH = ES:BX =

Return Value:

03H

Get keypad scanner version Far pointer to the client’s KSCPU response buffer (five bytes, R0 to R4)

AH =

General status 00H Valid service call 01H Invalid function

R0 =

KSCPU communication status 00H Successful 01H Timeout occurred during the execution of the transaction 02H No KSCPU response (timeout on first attempted transmit) 03H KSCPU is busy 04H Forced transaction abort 05H KSCPU failed to process an acknowledged command within the timeout period

R1 =

KSCPU minor revision level

R2 =

KSCPU major revision level

R3, R4 = Workspace padding (required) See Also:

3-40

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

Page 233

INT 7EH, Function 04H

3

INT 7EH, Function 04H Get Keypad Map Table ID and Status Purpose:

This function returns the keypad map table ID and status.

Call With:

AH = ES:BX =

Return Value:

04H

Get keypad map table ID and status Far pointer to the client’s KSCPU response buffer (seven bytes, R0 to R6)

AH =

General status 00H Valid service call 01H Invalid function number

R0 =

KSCPU communication status 00H Success transaction 01H Timeout occurred during the execution of the transaction 02H No KSCPU response (timeout on first attempted transmit) 03H KSCPU is busy 04H Forced transaction abort 05H KSCPU failed to process an acknowledged command within the timeout period

R1 =

Keypad ID number

R2 =

Table validation pass/fail FFH Pass 00H Fail

R3, R4 = Keypad checksum/CRC 16-bit word, R3 is LSB R5, R6 = Workspace padding (required) See Also:

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

3-41

Page 234

INT 7EH, Function 05H

INT 7EH, Function 05H Enable/Disable KSCPU Keyclick Purpose:

This function turns the keypad clicker ON or OFF.

Call With:

AH =

05H

Enable/disable KSCPU keyclick

AL =

00H 01H 02H

Turn the keyclick OFF Turn the keyclick ON Get status only

ES:BX =

Return Value:

Far pointer to the client’s KSCPU response buffer (four bytes, R0 to R3)

AH =

General status 00H Valid service call 01H Invalid function number

R0 =

KSCPU communication status 00H Successful 01H Timeout occurred during the execution of the transaction 02H No KSCPU response (timeout on first attempted transmit) 03H KSCPU is busy 04H Forced transaction abort 05H KSCPU failed to process an acknowledged command within the timeout period

R1 =

Keyclick status 00H Keyclick disabled FFH Keyclick enabled

R2, R3 = Workspace padding (required) See Also:

3-42

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

Page 235

INT 7EH, Function 06H

3

INT 7EH, Function 06H Enable/Disable Numeric Keypad Purpose:

This function toggles the numeric keypad modes of the reader’s keypad. When disabled, normal QWERTY scan codes are sent by the numeric keys. When enabled, the PC KB-102 numeric keypad scan codes are sent instead.

Call With:

AH =

06H

Enable/Disable numeric keypad

AL =

00H 01H 02H 03H

Disable Enable with NUM LOCK on Enable with NUM LOCK off Get status only

CL =

00H 01H 02H 03H

Prohibit mode-switching from the keypad Permit mode switching from the keypad Reserved Get status only

ES:BX =

Return Value:

Far pointer to the client’s KSCPU response buffer (five bytes, R0 to R4)

AH =

General status 00H Valid service call 01H Invalid function number

R0 =

KSCPU communication status 00H Successful 01H Timeout occurred during the execution of the transaction 02H No KSCPU response (timeout on first attempted transmit) 03H KSCPU is busy 04H Forced transaction abort 05H KSCPU failed to process an acknowledged command within the timeout period

3-43

Page 236

INT 7EH, Function 06H

Return Value:

R1 =

Number pad status 00H Disabled FFH Enabled

R2 =

Permit status 00H Switching the number pad is prohibited FFH Switching the number pad is permitted

R3, R4 = Workspace padding required Notes:

The R2 permit status only affects the manual keypad method of switching the number pad ON and OFF. Even if the numeric keypad is not manually permitted, you can use program-controlled mode changes (regardless of the previous state).

See Also:

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

3-44

Page 237

INT 7EH, Function 08H

3

INT 7EH, Function 08H Enable/Disable Ctrl Key Purpose:

This function enables or disables the Ctrl key on the reader’s keypad.

Call With:

AH =

08H

Enable/disable Ctrl key

AL =

00H 01H 02H

Disable Enable Get status only

ES:BX =

Return Value:

Far pointer to the client’s KSCPU response buffer (four bytes, R0 to R3)

AH =

General status 00H Valid service call 01H Invalid function number

R0 =

KSCPU communication status 00H Successful 01H Timeout occurred during the execution of a transaction 02H No KSCPU response (timeout on first attempted transmit) 03H KSCPU is busy 04H Forced transaction abort 05H KSCPU failed to process an acknowledged command within the timeout period

R1 =

Ctrl key status 00H Disabled FFH Enabled

R2, R3 = Workspace padding (required) Notes:

The system BIOS does not detect a Ctrl key press when you disable the Ctrl key with this interrupt.

See Also:

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

3-45

Page 238

INT 7EH, Function 10H

INT 7EH, Function 10H Enable Viewport Purpose:

This function enables the viewport so that it automatically follows the cursor. This function does not apply to the JANUS 2050.

Call With:

AH =

10H

Enable viewport

Return Value:

AX = nnnn

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

See Also:

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

3-46

Page 239

INT 7EH, Function 11H

3

INT 7EH, Function 11H Disable Viewport Purpose:

This function disables the viewport from automatically following the cursor. This function does not apply to the JANUS 2050.

Call With:

AH =

11H

Disable viewport

Return Value:

AX = nnnn

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

See Also:

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

3-47

Page 240

blank