Page 1¶
Norsk Data A/S Program Description¶
- Date: 86.07.14
- Page: 1 of 4
Product¶
| Name | ND-number | Category |
|---|---|---|
| ND-500 Swapper | 211034H | STPR |
Reason¶
- New Product
- X Change/Addition
- Different Environment
Documentation¶
| Title | Number |
|---|---|
| ND-500 Loader/Monitor SINTRAN III Release Information, K version | 60.136.4 EN 60.230.2 EN |
Purpose¶
Memory management in ND-500.
Prerequisites¶
| Computer Type | Op. system | Version | Revision |
|---|---|---|---|
| ND-500 | Any | SINTRAN III/VSX 500 K |
Note: (ND-100 part of ND-500 must be ND-100/CX)
Microprograms¶
The following microprograms can be used.
| ND-no. | File name | Type | Containing |
|---|---|---|---|
| 10411 | CONTROL-STORE-103xx | DATA | ND-500/CX micro prog. |
| 10338 | CONTROL-STORE-104xx | DATA | ND-500/AX option |
| 10332 | CONTROL-STORE-105xx | DATA | ND-500 Standard micpgm |
| 10412 | CONTROL-STORE-106xx | DATA | ND-500 CXA mic.prog. |
| 10699 | CONTROL-STORE-107xx | DATA | ND-500 RTC mic.prog. |
| 10700 | CONTROL-STORE-150yy | DATA | ND-500/2 CXA mic.prog. |
| 10701 | CONTROL-STORE-151yy | DATA | ND-500/2 CXA multi CPU |
| 10786 | CONTROL-STORE-152yy | DATA | ND-500/2 CXD mic.prog. |
| 10787 | CONTROL-STORE-153yy | DATA | ND-500/2 CX mic.prog. |
Note: In the above file names 'xx' should be a number higher than 06. 'yy' can be any number.
Minimum Mass Storage Resources Permanent¶
| User | Userspace | Number of files |
|---|---|---|
| SYSTEM | 67 pages | 2 files |
Source¶
| ND-number for source |
|---|
| 250168H |
File Information¶
| File no. | File name | Type | Containing |
|---|---|---|---|
| 203165H | SWAPPER- |
PSEG | Swapper code segment |
| 203166H | SWAPPER-H |
DSEG | Swapper data segment |
Note: <rev> must be replaced by the current revision of the product.
PROGRAM DESCRIPTION
Scanned by Jonny Oddene for Sintran Data © 2011
Page 2¶
ND-500 Swapper Program Description¶
| Date | Norsk Data A/S | Page 2 of 4 |
|---|---|---|
| Product | Name | ND-number |
| ND-500 Swapper | 211034H |
Changes from the G-Version¶
This version corresponds to SINTRAN III version K.
Installation Procedure¶
Log in as user system.
Put the program diskette in a floppy unit.
If you have a double density diskette, insert the floppy 211034H<rev>-XX-01D in FLOPPY-DISC-<drive-no.>.
If you have a single density diskette, insert the floppy 211034H<rev>-XX-01S in FLOPPY-DISC-<drive-no.>.
∅ENTER-DIRECTORY 211034H-XX-01 FLOPPY-DISC-1 0
∅COPY-FILE SWAPPER:PSEG (211034:FLOPPY-USER)SWAPPER-H:PSEG
∅COPY-FILE SWAPPER:DSEG (211034:FLOPPY-USER)SWAPPER-H:DSEG
∅RELEASE-DIRECTORY 211034H-XX-01
*** PROGRAM DESCRIPTION ***
Scanned by Jonny Oddene for Sintran Data © 2011
Page 3¶
ND-500 Swapper¶
| Date | 86.07.14 | Norsk Data A/S | Page 3 of 4 |
|---|---|---|---|
| Product | Name | ND-number | Category |
| ND-500 Swapper | 211034H | STPR |
Note:¶
Postmortem dump of ND-500 SWAPPER
After a fatal error from swapper (Message 'SWAPPER STOPPED'), the swapper's data segment may be dumped to file for later analysis by ND.
The error flag in the 500 datafield must first be reset. Address of the datafield is found in B register of the RT-program 5SWAP. The error flag has displacement 13B in the datafield.
Use the following procedure to reset the error flag: (User input is underlined)
Log in as user SYSTEM
@LIST-RT-DESCRIPTION 5SWAP
ACTIVE I/O-WAIT ...... .... .... ..... ..... ..... .....
SEGMENTS 1 AND 2 REENT NPIT APIT RING PRIORITY
INITIAL : 0B 0B 5B 7B 2 100B
ACTUAL : 0B 0B 5B 7B 2 100B
START ADDRESS: 35510B LAST STARTED: 2575 MINS 29 SECS
. ND-100 CPU TIME USED: 47 SECS
P X T A D L S B
03446 057363 000062 000004 056031 035554 000201 021422
RESERVED DATAFIELDS LOGICAL UNIT FIRST WAITING
100671B
Note:
- In this example, B register = 21422B.
- The address of the error flag is thus 21422B + 13B = 21435B.
- Calculate the address on your installation.
@ND
ND-500 MONITOR Version H00 86.5.6 / 86.4.2B
N500: SET-ND-500-UNAVAILABLE
N500: @LOOK-AT S3DPIT
READY:
21435/ 2047 0 ; Replace 21435 with your value
177777 _
-END
N500:
PROGRAM DESCRIPTION
[Scanned by Jonny Oddene for Sintran Data © 2011]
Page 4¶
Norsk Data A/S¶
Program Description¶
| Product | Name | ND-number | Category |
|---|---|---|---|
| ND-500 Swapper | 211034H | STPR |
Now, the swapper may be dumped as follows
The dump file will normally require between 70 and 150 pages, dependant of the system configuration.
N500: DUMP-SWAPPER
File name: "SWAP-DUMP"
Dumping physical segment nr. : 1
Octal byte address for physical segment table = 210000
Logical page : 0 - Physical page : 1
.
.
.
Logical page : 726 - Physical page : 1770
N500:
The dump is completed. Copy the file to a diskette and send it to ND along with a description of the error situation.
ND-500 must be restarted before it can be used:
N500: STOP-ND-500
⌀ND
ND-500 MONITOR Version H00 86. 5. 6 / 86. 4.28
N500: START-SWAPPER
.
.
.
.
N500: EXIT
⌀
*** PROGRAM DESCRIPTION ***
Page 5¶
ND SOFTWARE LIBRARY DISKETTE¶
PAGE 1
Containing: ND-500 Swapper
Directory Name: 211034H02-XX-01D
User Name: FLOPPY-USER
| Num | File name | Type | T | Public | Friend | Own | Pages | Bytes |
|---|---|---|---|---|---|---|---|---|
| 0 | SWAPPER-H02 | PSEG | I | R | RWACD | RWACD | 11 | 19895 |
| 1 | SWAPPER-H02 | DSEG | I | R | RWACD | RWACD | 55 | 109709 |
============================================================
2 files using 66 pages. 610 pages reserved out of 610 pages
============================================================
Scanned by Jonny Oddene for Sintran Data © 2011