GOTO-USER

From NDWiki
Revision as of 15:06, 2 October 2017 by Tingo (talk | contribs) (→‎Related commands: SET-PERMANENT-OPEN -> SET-PERMANENT-OPENED)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
@GOTO-USER <address>

Start background program at specific address.

<address>
(octal, default = current P-register of the background program) address.

Rules:

  1. Permitted for all users.
  2. When a program is terminated by an "escape" or "break", all files are normally closed. In order to keep them open until @GOTO-USER is typed, the command @SET-PERMANENT-OPEN should be used before the files are accessed the first time.
  3. After "escape" the values of the background RT program registers may be examined by @STATUS.

Example:

@OPEN F-1:DATA, RX

FILE NUMBER IS: 101

@SET-PERMANENT-OPEN 101

@RECOVER MAIN

("escape")

@GOTO-USER

The program MAIN is started, stopped and finally resumed at the point of interruption. The file F-1:DATA is kept permanently opened in order to avoid closing at the "break".

Related commands

@RECOVER

@CONTINUE (command)

@PLACE-BINARY

@SET-PERMANENT-OPENED

References

Norsk Data Document ND–60.050.06 SINTRAN III USERS GUIDE section 3.3.4.2

Norsk Data Document ND–60.128.01 SINTRAN III REFERENCE MANUAL (printed June 1980), page 1-82

Norsk Data Document ND–60.128.01 SINTRAN III REFERENCE MANUAL (printed June 1980), page 1-106

Norsk Data Document ND–60.174.Q01 SINTRAN III QUICK REFERENCE CARD