Установка BASIC-PLUS-2

Posted by Unik on 03.03.2014

Чтобы установить BASIC-PLUS-2 v2.7 необходимо скачать этот образ ленты - bp2v27.tpc, который подправил form, за что ему говорим спасибо т.к. на trailing-edge образ поврежден.

В процессе установки нужно создать нового привилигированного пользователя. Пользователь считается привилигированным, если его UIC меньше или равен 10 т.е UIC=[1-10,*] например [5,1]

Команды приведены для MCR, чтобы в него переключится из DCL есть команда: $SET TERMINAL/MCR

Итак начнём:

sim> boot rp0

RSX-11M-PLUS V4.6  BL87   512.KW  System:"RSXMPL"

>RED DB:=SY:
>RED DB:=LB:
>RED DB:=SP:
>MOU DB0:"RSX11MPBL87"
>@DB:[1,2]STARTUP
>;          PLEASE NOTE
>;
>;  If you have not yet read the system release notes, please do so
>;  now before attempting to perform a SYSGEN or to utilize the new
>;  features of this system.
>;
>;
Z[c
SET -- Inquire cannot determine terminal type 
>;
>; Please ignore any random characters that may have printed on your
>; terminal just now.  They came from a SET /INQUIRE=TI: command.
>; Evidently your terminal does not recognize escape sequences.
>; This will not affect the running of this command file.
>;
>* Please enter time and date (HH:MM DD-MMM-YYYY) [S]: 18:18 02-MAR-14
>TIME 18:18 02-MAR-14
>ACS SY:/BLKS=1024.
>CON ONLINE ALL
>ELI /LOG/LIM
>CLI /INIT=DCL/CTRLC/DPR="<15><12>/$ /"
>INS LB:[1,1]RMSRESAB.TSK/RON=YES/PAR=GEN
>INS LB:[1,1]RMSLBL.TSK/RON=YES/PAR=GEN
>INS LB:[1,1]RMSLBM.TSK/RON=YES/PAR=GEN
>INS $QMGCLI
>INS $QMGCLI/TASK=...PRI
>INS $QMGCLI/TASK=...SUB
>QUE /START:QMG
>INS $QMGPRT/TASK=PRT.../SLV=NO
>QUE LP0:/CR/NM
>START/ACCOUNTING
>CON ESTAT LP0:
>QUE LP0:/SP/FL:2/LOWER/FO:0
>QUE BAP0:/BATCH
>QUE LP0:/AS:PRINT
>QUE BAP0:/AS:BATCH
>@ 
>
>ctl+e
Simulation stopped, PC: 021240 (BR 21206)
sim> attach ts0 bp2v27.tpc
sim> c

>run $acnt
        ***  RSX-11M-PLUS Account File Maintenance Utility  ***
Account file is now sorted by UIC

Account Utility options are:

  Add       Add an account to file
  Delete    Delete an account file entry
  Examine   Examine existing account
  List      List account file
  Modify    Modify account file
  Sort      Sort account file
  CTRL/Z    Terminate utility session

Enter option: A

Enter account (group,member): 6,1
Default system device ( DDU ): SY:
Password [S R:0-39]: 
Do you really want a blank password? [Y/N]: Y
First name [S R:0-12]: BP2
Last name [S R:0-14]: BP2
Default file protection ([SY,OW,GR,WO]): 
Default directory string ([group,member] or [name]) : 
Session ident [S R:0-3]: 
Account number [D R:0-9999]: 
Enter user CLI [S R:1-6 D:"MCR"]: 
Account expiration date (MM/DD/YY or DD-MMM-YY) =None [S]:
Slave terminal? [Y/N]: 
Disable login/logout messages? [Y/N]: 
Password lifetime [D R:0-255 0=Disable]: 
Password minimum length [D R:0-39 0=Disable]: 
Inactivity logout timer [D R:0-32767 0=Disable]: 
Expire password? [Y/N]: 
Disable account from login? [Y/N]: 
Remote dialup login disabled? [Y/N]: 
Network login disabled? [Y/N]: 
Account entry and directory have been created

Enter account (group,member): ^Z

Account Utility options are:

  Add       Add an account to file
  Delete    Delete an account file entry
  Examine   Examine existing account
  List      List account file
  Modify    Modify account file
  Sort      Sort account file
  CTRL/Z    Terminate utility session

Enter option: ^Z

Account file modification is complete

>BYE

Have a Good Evening
02-MAR-14 18:21   TT0:  logged off RSXMPL 
>
>HELLO 6,1
Password: 

RSX-11M-PLUS V4.6   BL87    [1,54] System    RSXMPL 
2-MAR-14 18:21     Logged on Terminal TT0:

Good Evening

    *****************************************************************
*                                                               *
    *                    Welcome to RSX-11M-PLUS                    *
    *                                                               *
    *                  Version 4.6  Base level 87                   *
    *                This is file LB:[1,2]LOGIN.TXT                 *
    *                                                               *
*****************************************************************

>MOUNT MS0:/FOREIGN
>INS $FLX
>FLX SY:/RS=MS0:[1,10]BP2RSX.CMD/DO
>@BP2RSX
>* What device is the distribution tape mounted on  [S]: MS0:
>* Do you wish to install the prebuilt kit?  [S]: 
Copying files from distribution media. Please wait.

REM -- Task not in system
REM -- Common not in system 
The BASIC-PLUS-2 installation is complete.

PDP-11 BASIC-PLUS-2 V2.7-00
@SY:BP2VE0                       
@SY:BP2VE0                       
NEW SY:BP2T0
10  DECLARE INTEGER I
20  DECLARE STRING  J
30  PRINT 'BASIC-PLUS-2 INSTALLATION VERIFICATION'
40  FOR I = 1 TO 10
50      J = SPACE$(I) + NUM1$(I)
60      PRINT J
70  NEXT I
80  PRINT 'VERIFICATION #1 PASSED'
90  PRINT ERT$(0%)
100 END
REPLACE SY:BP2T0
BUILD SY:
COMPILE SY:/OBJ
BP2T0   06:22 PM    02-Mar-;4
EXIT

BASIC-PLUS-2 INSTALLATION VERIFICATION
 1
  2
   3
    4
     5
      6
       7
        8
         9
          10
VERIFICATION #1 PASSED
BASIC-PLUS-2

PDP-11 BASIC-PLUS-2 V2.7-00
@SY:BP2VE1                       
@SY:BP2VE1                       
OLD SY:BP2T0
80  PRINT 'VERIFICATION #2 PASSED'
RENAME SY:BP2T1
REPLACE SY:BP2T1
BUILD SY:
COMPILE SY:/OBJ
BP2T1   06:22 PM    02-Mar-;4
EXIT

BASIC-PLUS-2 INSTALLATION VERIFICATION
 1
  2
   3
    4
     5
      6
       7
        8
         9
          10
VERIFICATION #2 PASSED
BASIC-PLUS-2

18:22:06  *** MS0:  -- Dismount complete

DMO -- TT0:    dismounted from MS0:    *** Final dismount initiated ***
>@ 
>run $shutup

RSX-11M-PLUS Shut down program
Enter minutes to wait before shutdown: 0
Reason for shutdown ( for none):
OK to shutdown? [Y/N]: Y
r logins are disabled2-MAR-14 18:23    System is now shutting down -- RSXMPL

QUE /STO:QMG

>
STOP/ACCOUNTING SHUTUP 

18:23:13  SYSLOG -- 47. Exiting
>
@LB:[1,2]SHUTUP

>VCP DISCONNECT /ALL
>@ 
>
ELI /NOLOG

>
ACS DB0:/BLKS=0.
ACS -- Checkpoint file now inactive
>
DMO DB0:/DEV/LOCK=V

DMO -- System disk being dismounted
DMO -- SYSTEM  dismounted from DB0:    *** Final dismount initiated ***
18:23:14  *** DB0:  -- Dismount complete

>
SHUTUP operation complete

HALT instruction, PC: 126130 (CLRB @#177776)
sim>

Пока установить можно только пресобранную версию из за того что в этом образе некоторые файлы повреждены, но работы по восстановлению ведутся. Т.к. версия пресобранна, то не установится патч кит системы и будут проблемы с датами и т.п.

Что такое патч киты я еще опишу в будущих постах.