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 6 of 12

JANUS Application Simulator User's Manual, pages 51 to 60

Pages 51 to 60 of 112

The original document is the PDF (557 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.

Filed in the catalog under the Intermec J2020, Intermec JG2020, Intermec JR2020, Intermec J2010, Intermec J2050 and Intermec JG2050

Page 51

Learning About the INI File

3 power_status_line Description

Specifies the line status of the simulated im_power_status function.

Default

0 – AC line not connected

Values

0 – AC line not connected 1 – AC line connected 255 – Unknown AC line

Function im_power_status

Interrupt

INT 5EH

Notes

The value of this INI parameter is returned to the JANUS application in the *line_status parameter of the im_power_status function call.

3-17

Page 52

JANUS Application Simulator User’s Manual power_status_battery Description

Specifies the simulated condition of the battery.

Default

0 – High battery

Values

0 – High battery 1 – Low 2 – Critical 3 – Charging 255 – Unknown status

Function im_power_status

Interrupt

INT 5EH

Notes

The value of this INI parameter is returned to the JANUS application in the *battery_status parameter of the im_power_status function call.

power_status_backup

3-18

Description

Specifies the simulated condition of the backup battery.

Default

0 – Backup OK

Values

0 – Backup OK 1 – Backup low

Function im_power_status

Interrupt

INT 5EH

Notes

The value of this INI parameter is returned to the JANUS application in the *backup_status parameter of the im_power_status function call.

Page 53

Learning About the INI File

3 power_status_batt_life Description

Specifies the simulated percentage of the battery’s full charge.

Default

100

Values

Numeric value from 0 to 100

Function im_power_status

Interrupt

INT 5EH

Notes

The value of this INI parameter is returned to the JANUS application in the *fuel_gauge parameter of the im_power_status function call.

power_status_return Description

Specifies the return value for the im_power_status function.

Default

0800H – Power management success

Values

0800H – Power management success 8821H – Cannot change state 8822H – Invalid state manager command 8842H – Invalid IPM interface command 8843H – Parameter out of range 8844H – Semaphore maximum value exceeded

Function im_power_status

Interrupt

INT FEH

3-19

Page 54

JANUS Application Simulator User’s Manual display_contrast_level Description

Specifies the contrast level for the JANUS display.

Default

16

Values

Numeric value from 0 to 31

Function im_get_contrast

Interrupt

INT 79H

Notes

The value of this INI parameter is returned to the JANUS application in the *display_contrast_level parameter of the im_get_contrast function call. The value held in memory by the Simulator TSR can be modified by the im_set_contrast function.

3-20

Page 55

Learning About the INI File

3 display_size_mode Description

Specifies the size mode of the JANUS display.

Default

0 – 80 x 25

Values

0 – 80 x 25 1 – 20 x 16 2 – 20 x 8 3 – 10 x 16 4 – 10 x 8

Function im_get_display_mode

Interrupt

INT 79H

Notes

The value of this INI parameter is returned to the JANUS application in the *size_mode parameter of the im_get_display_mode function call. The value held in memory by the Simulator TSR can be modified by the im_set_display_mode function.

3-21

Page 56

JANUS Application Simulator User’s Manual display_video_mode Description

Specifies the video mode of the JANUS display.

Default

3 – Standard video mode 3 (80 x 25)

Values

0 – Standard video mode 0 (40 x 25) 1 – Standard video mode 1 (40 x 25) 2 – Standard video mode 2 (80 x 25) 3 – Standard video mode 3 (80 x 25) 4 – Video mode 4 (graphics) 5 – Video mode 5 (graphics) 6 – Video mode 6 (graphics)

Function im_get_display_mode

Interrupt

INT 79H

Notes

The value of this INI parameter is returned to the JANUS application in the *video_mode parameter of the im_get_display_mode function call. The value held in memory by the Simulator TSR can be modified by the im_set_display_mode function.

3-22

Page 57

Learning About the INI File

3 display_scroll_mode Description

Specifies the line number at which the JANUS display will scroll when the display size is set to 80 x 25.

Default

1 – Scroll at 16

Values

0 – Scroll at line 25 1 – Scroll at 16 2 – Scroll at line 8

Function im_get_display_mode

Interrupt

INT 79H

Notes

The value of this INI parameter is returned to the JANUS application in the *scroll_mode parameter of the im_get_display_mode function call. This parameter is in effect only when the display size is set to 80 x 25. The value held in memory by the Simulator TSR can be modified by the im_set_display_mode function.

3-23

Page 58

JANUS Application Simulator User’s Manual display_viewport_lock Description

Specifies if the JANUS viewport is locked or unlocked.

Default

0 – Locked

Values

0 – Locked 1 – Unlocked

Function im_get_viewport_lock

Interrupt

INT 79H

Notes

If you choose 0 for this parameter, 1 - IM_LOCKED is returned in the *viewport_lock parameter of the im_get_viewport_lock function call. If you choose 1 for this parameter, 0 - IM_UNLOCKED is returned in the *viewport_lock parameter of the im_get_viewport_lock function call. The value held in memory by the Simulator TSR can be modified by the im_set_viewport_lock function.

3-24

Page 59

Learning About the INI File

3 display_x_pos Description

Specifies the horizontal offset for the left side of the simulated viewport.

Default

0

Values

Numeric value from 0 to 60

Function im_viewport_getxy

Interrupt

INT 79H

Notes

The value of this INI parameter is returned to the JANUS application in the *col parameter of the im_viewport_getxy function call. The Simulator TSR does not simulate viewport movement, but it does return the X and Y values to the im_viewport_getxy function: •

The X and Y parameters represent the position where the upper left corner of the JANUS viewport appear on the PC screen.

•

You cannot set X to a value larger than 60. If you could, the viewport would be positioned beyond the left edge of the PC screen.

You can change the X value in memory by calling: • im_viewport_end

• im_viewport_home

• im_viewport_move

• im_viewport_setxy

• im_viewport_to_cursor

• im_viewport_page_up

• im_viewport_page_down

3-25

Page 60

JANUS Application Simulator User’s Manual display_y_pos Description

Specifies the vertical offset for the left side of the simulated viewport.

Default

0

Values

Numeric value from 0 to 9

Function im_viewport_getxy

Interrupt

INT 79H

Notes:

The value of this INI parameter is returned to the JANUS application in the *row parameter of the im_viewport_getxy function call. The Simulator TSR does not simulate viewport movement, but it does return the X and Y values to the im_viewport_getxy function: •

The X and Y parameters represent the position where the upper left corner of the JANUS viewport appear on the PC screen.

•

You cannot set X to a value larger than 60. If you could, the viewport would be positioned beyond the left edge of the PC screen.

You can change the Y value in memory by calling:

3-26

• im_viewport_end

• im_viewport_home

• im_viewport_move

• im_viewport_setxy

• im_viewport_to_cursor

• im_viewport_page_up

• im_viewport_page_down