LOOK-AT: Difference between revisions

From NDWiki
Jump to navigation Jump to search
m (→‎Related commands: fixed a link)
m (changed a couple of spelling errors.)
 
Line 19: Line 19:
#Permission depends on the <space reference> as shown above.
#Permission depends on the <space reference> as shown above.
#When the <space reference> given has been checked for legality, the message READY is typed.
#When the <space reference> given has been checked for legality, the message READY is typed.
#To examine a location, the octal address should be typed followed by a slash (/). The contents will the be printed in octal. The contents may now be changed by typing an octal value, followed by a carriage return. The value may be negative (preceded by a minis sign). If only cr is typed, the contents remain unchanged and the contents of the next location are printed.
#To examine a location, the octal address should be typed followed by a slash (/). The contents will the be printed in octal. The contents may now be changed by typing an octal value, followed by a carriage return. The value may be negative (preceded by a minus sign). If only cr is typed, the contents remain unchanged and the contents of the next location are printed.
#If an asterisk (*) is typed, the current address will be printed.
#If an asterisk (*) is typed, the current address will be printed.
#For REGISTERS the valid names are P, X, T, A, D, L, S and B.
#For REGISTERS the valid names are P, X, T, A, D, L, S and B.
#When an illegal character is typed, a question mark is printed. Illegal characters have no effect. The command is terminated by a dot (.) or by a commercial at (@).
#When an illegal character is typed, a question mark is printed. Illegal characters have no effect. The command is terminated by a dot (.) or by a commercial at (@).
#If locations on mass storage segments are changed, the pages will be written out so that "patches" will be made permanent. Locations changed in the usr's virtual memory or the resident part of the operating system are temporary. They may be altered when loading a user program or reloading the system.
#If locations on mass storage segments are changed, the pages will be written out so that "patches" will be made permanent. Locations changed in the user's virtual memory or the resident part of the operating system are temporary. They may be altered when loading a user program or reloading the system.
#If <space reference> is SEGMENT or IMAGE the changes will only take place when the command is terminated correctly (i.e., no if escape is pushed).
#If <space reference> is SEGMENT or IMAGE the changes will only take place when the command is terminated correctly (i.e., no if escape is pushed).



Latest revision as of 14:24, 2 October 2017

@LOOK-AT <space-reference> [,<additional parameter>]

This command may be used to examine or modify memory locations and registers. <space-reference> may be

MEMORY
user's virtual memory space. Permitted for all users.
ALT-MEMORY
user's alternative 64K memory Addresses are specified relative to the 64K boundary. Permitted for all users.
SEGMENT
an existing segment. <additional parameter> = segment number. Permitted only for users RT and SYSTEM.
RTCOMMON
common area for RT programs. Permitted only for users RT and SYSTEM.
IMAGE
memory of the resident part of SINTRAN III on mass storage. A modification is permanent until a a )HENT command overwrites the image. Permitted only for user SYSTEM.
RESIDENT
resident memory (0 - 177777 octal). This includes the resident part of SINTRAN III. Permitted only for user SYSTEM. Page Tables (PT) can be accessed at the following octal addresses:
PT0: 177400 - 177477
PT1: 177500 - 177577
PT2: 177600 - 177677
PT3: 177700 - 177777
REGISTERS
all registers on all hardware interrupt levels may be examined but only the registers on levels 2, 5, 6, 7, 8, 9 and 15 may be changed. The register is specified as an octal number indicating the level, followed by the register name. Permitted only for users RT and SYSTEM.


Rules:

  1. Permission depends on the <space reference> as shown above.
  2. When the <space reference> given has been checked for legality, the message READY is typed.
  3. To examine a location, the octal address should be typed followed by a slash (/). The contents will the be printed in octal. The contents may now be changed by typing an octal value, followed by a carriage return. The value may be negative (preceded by a minus sign). If only cr is typed, the contents remain unchanged and the contents of the next location are printed.
  4. If an asterisk (*) is typed, the current address will be printed.
  5. For REGISTERS the valid names are P, X, T, A, D, L, S and B.
  6. When an illegal character is typed, a question mark is printed. Illegal characters have no effect. The command is terminated by a dot (.) or by a commercial at (@).
  7. If locations on mass storage segments are changed, the pages will be written out so that "patches" will be made permanent. Locations changed in the user's virtual memory or the resident part of the operating system are temporary. They may be altered when loading a user program or reloading the system.
  8. If <space reference> is SEGMENT or IMAGE the changes will only take place when the command is terminated correctly (i.e., no if escape is pushed).

Example:

@LOOK-AT MEMORY

READY:

1000/ 10 100

11.

@

Location 1000 (octal) in users virtual memory is changed from 10 (octal) to 100 (octal), and 11 (octal) is the contents of location 1001 (octal).

@LOOK-AT REGISTERS

5X/ 10 100

.

@

The X register on level 5 is changed from 10 (octal) to 100 (octal).


Related commands

@SET-MEMORY-CONTENTS

@STATUS (command)

References

Norsk Data Document ND–60.050.06 SINTRAN III USERS GUIDE sections 3.3.6.2, 5.4 and 6.4.3

Norsk Data Document ND–60.128.01 SINTRAN III REFERENCE MANUAL (printed June 1980), pages 1-103, 1-104

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