Skip to main content

JSYS Calls

(ADA) Assign a display area.​

JSYS ada: [440B]     allocate a display area

Accepts:

  • r1: upper-left-y-cord[10], upper-left-x-cord[10], max-no-string[11]
  • r2: lower-right-y-cord[10], lower-right-x-cord[10], default-c-size[2], default-n-inc[6], default-font[5]

Returns:

  • +1: Unsuccessful
    • r1: error code
  • +2: Successful
    • r1: da-id[18]

Function:

This jsys allocates a display area given the coordinates of the diagonal, the maximum number of strings to be displayed, and the default setting for the character size, font, and horizontal increment. An 18-bit da-id is returned which should subsequently be used to refer to this display area.

(DDA) Deallocate a display area.​

JSYS dda; [441B]     deallocate a display area

Accepts:

  • r1: da-id

Returns:

  • +1: Unsuccessful
    • r1: error code
  • +2: Successful

Function:

This jsys deallocates a display area given the associated da-id.

(STRDA) STRing display: add, delete, or change.​

JSYS strda; [442B]     Manipulate (move, write, replace, delete) a string in a display area

Accepts:

  • r1: string-id[18], da-id[18]
  • r2: first byte pointer or 0 or -1
  • r2: second byte pointer or 0
  • r4: y-cord[10], x-cord[10], font[6], c-size[3], h-inc[7]

Returns:

  • +1: Unsuccessful
    • r1: error code
  • +2: Successful
    • r1: string-id[18]

Function:

This jsys writes a new string, replaces, deletes, or moves (optionally replacing) an extant string within a display area. In addition, the font, character size, and horizontal increment may be specified for the string.

  • The string may be specified by two byte pointers or by one byte pointer with the string terminating with a zero character.
    • If first byte pointer is zero then
      • if a new string is being written then
        • an error code illstr is returned.
      • Otherwise, the string already exists so
        • delete the string from the display area.
    • If the first byte pointer is -1 then
      • if a new string is being written then
        • an error code illstr is returned.
      • Otherwise, use the old string.
    • If the first character of the string is a zero character, the string to be displayed is null, but the string is not deleted.
  • The coordinates (optional unless the string is new or being moved) are relative to the upper leftcorner of the display area.
    • If the jsys is to affect an extant string, a zero coordinate means use the old value.
  • For the font, c-size, and h-inc fields a field of all one's indicates that the display area default value (set in the ada jsys) is to be used. A 0 means use the value which was previously used for the (extant) string.
  • If the string is new, then an 18 bit string identifier is returned.

(SCSR) Set the Cursor StRing.​

JSYS scsr; [450B]     display a string (vectors later) as the cursor

Accepts:

  • r1: first byte pointer or 0 or -1
  • r2: second byte pointer or 0
  • r3: font[5], c-size[2], h-inc[6]
    • No defaults allowed

Returns:

  • +1: Unsuccessful
    • r1: error code
  • +2: Successful

Function:

This jsys is used to set the cursor string. Later, a set of vectors will be allowed also. If the string length is zero or the first byte pointer is 0, nothing will be displayed for the cursor. If the first byte pointer is -1 then the old string will be used. If a cursor did not previously exist, an illcon error return will be executed.

(SDDA) Suppress the display of an area.​

JSYS sdda; [444B]    suppress all display in a display area

Accepts:

  • r1: da-id[18]
  • r2: 1 or 0

Returns:

  • +1: Unsuccessful
    • r1: error code
  • +2: Successful

Function:

The display image is removed from the display area but is not destroyed if r2 = 0.

(RDDA) Restore the display of an area.​

JSYS rdda; [446B]    restore all display in a display area

Accepts:

  • r1: da-id[18]

Returns:

  • +1: Unsuccessful
    • r1: error code
  • +2: Successful

Function:

The display image is restored in the display area.

(SDDA) Suppress the display of a String.​

JSYS ssda [445B];    suppress display of a string in a display area

Accepts:

  • r1: string-id[18], da-id[18]

Returns:

  • +1: Unsuccessful
    • r1: error code
  • +2: Successful

Function:

The display image for the given string is suppressed in the display area.

(RDSA) Restore the display of a String.​

JSYS rsda; [447B]    restore display of a string in a display area

Accepts:

  • r1: string-id[18], da-id[18]

Returns:

  • +1: Unsuccessful
    • r1: error code
  • +2: Successful

Function:

The display image for the given string is restored in the display area.

(TSNDA) Teletype Simulation oN.​

JSYS tsnda; [451B]     turn tty simlaution on

Accepts:

  • none

Returns:

  • +1: Always
    • r1: 1 if was in work station mode, 0 otherwise

Function:

Restores the tty simulation display area, and suppresses all others (except the cursor). Turns wsmode (work station mode flag) off for this console and returns previous value of wsmode.

(TSFDA) Teletype Simulation ofF.​

JSYS tsfda;  [452B]     turn tty simulation off

Accepts:

  • none

Returns:

  • +1: Always

Function:

Suppresses the display of the tty simulation display area, restores the display of all other display areas, and sets wsmode on.

(RSTDA) Reset display areas.​

JSYS rstda; [453B]     Reset display areas

Accepts:

  • none

Returns:

  • +1: Always

Functions:

Deallocates and removes images from all display areas associated with this console except the tty simulation and cursor, the display of which is restored.