Trailing-Edge
-
PDP-10 Archives
-
decuslib10-05
-
43,50337/18/v1b.mac
There are 2 other files named v1b.mac in the archive. Click here to see a list.
00100 SUBTTL STPPN and PPNST simulation for TOPS-20 v1B
00200 SALL
00300 SEARCH SIMMAC
00400 CTITLE V1B Adaption for SIMULA to work on TOPS-20 v1B
00500 MACINIT
00600 TWOSEG
00700 RELOC 400K
00800
00900 Comment;
01000
01100 Purpose
01200 -------
01300 In TOPS-20 version 2, some JSYS codes have been eliminated, a few
01400 have been changed (new input or output), and a few new codes have
01500 been implemented. Some of the new JSYS codes have been implemented in
01600 a reasonable way for TOPS-20 release 1B, which is the first release
01700 on which SIMULA can run. SIMULA was however developed for release 2.
01800 This module is intended to bridge the differences between v1B and v2
01900 of TOPS-20.
02000
02100 The JSYS codes involved are:
02200
02300 RCDIR (recognize directory). This works in v1B but gives an 18-bit
02400 directory number only.
02500
02600 DIRST (directory number to string). Gives full "STR:<DIRECTORY>"
02700 string on v2, only "DIRECTORY" on 1B.
02800
02900 PPNST (ppn to string). This is a temporary JSYS intended only for
03000 DEC use. In v1B, PPNST is a dummy (does nothing).
03100
03200 STPPN (string to ppn). Reverse of PPNST. No function on v1B.
03300
03400 STDIR (string to directory). Illegal on v2. Replaced by RCDIR.
03500
03600 This module contains routines to simulate the proper version 2
03700 function of DIRST, PPNST, STPPN. RCDIR is already used in the code
03800 instead of STDIR.
03900 ;
04000
04100 ENTRY V1BINI,DIRST.,PPNST.,STPPN.
04200
04300 IFNDEF PPNST,<
04400 OPDEF PPNST [JSYS 557]
04500 OPDEF STPPN [JSYS 556] >
04600
04700 EXTERN .JBOPS
04800 OPDEF IFV1B [SKIPGE .JBOPS]