Install 3

Installing Basic-Plus-2 is a bit more complicated. The versions available are 2.5 and 2.7. Unfortunately, the 2.7 tape image is broken. And also unfortunately, the 2.5 install process is not entirely compatible with the version of RSX11M-Plus that is available. So some tricks are needed; first, the basic install procedure from 2.7 is used to create a couple of files that are required, then the rest follows the 2.5 process – but some steps need to be done by hand, because the installer assumes that the ‘slow task builder’ is available, but it isn’t. And a specific option is required to load the compiler task.

In configuring BP2, it is essential to choose to build the resident library. You won’t notice the difference when you’re just running BP2 on simh, but on the fpga not having the resident library means a lot of disk access while a basic program is running.

Files needed:
ftp://ftp.trailing-edge.com/pub/rsxdists/basic_plus_2_rsx_v2_5.zip
ftp://ftp.trailing-edge.com/pub/rsxdists/basic_plus_2_rsx_v2_7.zip

Here goes:

# pdp11 run

PDP-11 simulator V3.9-0
Disabling XQ
sim> set ts ena
sim> att ts0 basic_plus_2_rsx_v2_7.tpc
sim> set ts0 format=tpc
sim> set ts0 lock
sim> boot rp0

RSX-11M-PLUS V4.6 BL87 1024.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]: 15:22 19-jan-14
>TIME 15:22 19-jan-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 BAP0:/BATCH
>QUE BAP0:/AS:BATCH
>@ <EOF>
>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) <CR>=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 Afternoon
19-JAN-14 15:22 TT0: logged off RSXMPL
>
>hello 6,1
Password:

RSX-11M-PLUS V4.6 BL87 [1,54] System RSXMPL
19-JAN-14 15:22 Logged on Terminal TT0:

Good Afternoon

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

>mou/for ms0:
>ins $flx
>flx sy:/rs=ms0:[1,10]bp2rsx.cmd/do
>@bp2rsx
>* What device is the distribution tape mounted on <MM0:> [S]: MS0:
>* Do you wish to install the prebuilt kit? <YES> [S]:

Copying files from distribution media. Please wait.

FLX — FMTD ascii record format bad
MS0:[1,10]BP2.HLP
FLX — File not found
MS0:[1,10]BP2RFA.HLP
FLX — File not found
MS0:[30,31]BP2SML.STB
FLX — File not found
MS0:[30,31]BP2RUN.TSK
FLX — File not found
MS0:[30,31]BP2OTS.OLB
FLX — File not found
MS0:[30,31]B2RESQ.TSK
FLX — File not found
MS0:[30,31]BP2VE0.CMD
MCR — Task not in system
TKB — *FATAL*-Indirect file open failure

@SY:BP2T0

INS — File not found
MCR — Task not in system
TKB — *FATAL*-Indirect file open failure

@SY:BP2T1

INS — File not found
MCR — Illegal function
MCR — Illegal function
MCR — Illegal function
MCR — Illegal function
MCR — Illegal function
MCR — Illegal function
MCR — Illegal function
MCR — Illegal function
MCR — Illegal function
MCR — Illegal function
MCR — Illegal function
MCR — Task not in system
MCR — Task not in system
MCR — Task not in system
MCR — Task not in system
MCR — Task not in system
15:23:16 *** MS0: — Dismount complete
DMO — TT0: dismounted from MS0: *** Final dismount initiated ***
>@ <EOF>
>^E
Simulation stopped, PC: 021240 (BR 21206)
sim> att ts0 basic_plus_2_rsx_v2_5.tpc
sim> c

>mou/for ms0:
>flx sy:/rs=ms0:[1,10]bp2rsx.cmd/do
>flx sy:/rs/co/bl:139.=ms0:[1,10]dialog.tsk/do
>flx sy:/rs/co/bl:115./im=ms0:[1,10]dialog.dat/do/-rw
>run dialog.tsk

B A S I C – P L U S – 2
V E R S I O N 2 I N S T A L L A T I O N

This starts the BP2BLD dialogue. The BP2BLD dialogue asks you
questions so you can select the options for your BASIC-PLUS-2
compiler. The default answer for each question is in angle
brackets. To select the default, press the RETURN key. If
you do not want the default answer, type in the answer you want.

You should read the BASIC-PLUS-2 installation guide before you
begin the BP2BLD dialogue. Some of the answers you select
can result in additional questions or the omission of certain
questions later in the dialogue. If you are not sure how to
answer a question, you can either type a question mark (?) for a
brief explanation or see the BASIC-PLUS-2 installation guide for
more information.

The BP2BLD program prints a summary of your answers at the end
of the dialogue. If you want to change your answers, answer YES
to the question at the end of the summary, at this point, the
BP2BLD program runs the BP2BLD dialogue again. If you choose an
option other than the default, your choice is enclosed in angle
brackets as the default answer for that question.

If you want to change an answer during the dialogue but before
the summary, type the escape key (<ESC>) to back up to the
answer you want to change and then type the correct answer.

Do you want the default installation <YES>

?no

Do you want to install BP2RES <NO>

?yes

Enter the device and account for BP2RES <LB:[1,1]>

?

What is the partition name for BP2RES <GEN>

?

Do you want to install BP2SML <NO>

?

Do you want to install the secondary cache <NO>

?

Do you want to support RUN <YES>

?

Do you want RUN to support remote RMS file access <NO>

?

Do you want to link the support for RUN with memory resident libraries <YES>

?

Do you want to install the BP2 Resequencer <NO>

?

Do you want to install the BP2 Optimizer <NO>

?

Do you want to install the BP2 Help file <NO>

?yes

Enter the device and account for the BP2 Help file <LB:[1,2]>

?

Which hardware math package do you want to use <EIS>

?FPU

What name do you want to use to invoke BP2 <BP2>

?

What do you want to use as the BP2 compiler prompt <BASIC2>

?

Enter the device and account for the BP2 compiler <LB:[1,54]>

?

Enter the device and account for the BP2 compiler work files <SY:>

?

Enter the device and account for the BP2 object module disk library <LB:[1,1]>

?

Enter the device and account for the BP2 ODL files <LB:[1,1]>

?

Enter the device and account for the temp installation files <SY:>

?

Enter the device and account for the RMS-11 ODL files <LB:[1,1]>

?

Do you want the EDIT$ upcase (function code 32) to apply to characters
in the range (octal 173 – 176) <NO>

?

What do you want as the default time format <AM/PM>

?

What do you want as the character for the PRINT USING currency symbol <$>

?

What do you want as the character for the PRINT USING decimal point <.>

?

What do you want as the character for the PRINT USING third digit
separator <,>

?

Do you want to update the BP2 compiler <NO>

?

Do you want to delete the installation command files <YES>

?no

Do you want to verify the installation <YES>

?
Here is a summary of the options you have selected:

This is not a default installation
BP2RES will be installed
The device and account for BP2RES is LB:[1,1]
The partition name for BP2RES is GEN
BP2SML will not be installed
Secondary caching will not be enabled
RUN will be supported
RUN will not support remote RMS file access
RUN support will be linked with memory resident libraries
The BP2 Resequencer will not be installed
The BP2 Optimizer Utility will not be installed
The BP2 HELP file will be installed
The device and account for the BP2 Help file is LB:[1,2]
The hardware math package is FPU
The name to use to invoke BP2 is BP2
The BP2 compiler prompt is BASIC2
The device and account for the BP2 compiler is LB:[1,54]
The device and account for the BP2 compiler work files is SY:
The device and account for the BP2 object module disk library is LB:[1,1]
The device and account for the BP2 ODL files is LB:[1,1]
The device and account for the temp installation files is SY:
The device and account for the RMS-11 ODL files is LB:[1,1]
EDIT$ will not upcase characters (octal 173 – 176)
The default time format is AM/PM
The PRINT USING currency symbol is $
The PRINT USING decimal point symbol is .
The PRINT USING third digit separator symbol is ,
The BP2 compiler will not be updated
The installation command files will not be deleted
The compiler installation will be verified

Do you wish to change any of your answers <NO>

?
The BP2BLD dialogue is complete.
The installation will take about 1 hour to complete.

>@bp2cpy
>FLX SY:/RS/CO/BL:225.=MS0:[1,10]BP2BLD.TSK/-RW/DO/DNS:1600
>FLX SY:/RS=MS0:[1,10]BP2FCU.ODL/-RW/DO/DNS:1600
>FLX SY:/RS=MS0:[1,10]BP211S.ODL/-RW/DO/DNS:1600
>FLX SY:/RS=MS0:[1,10]BP2FXL.CMD/-RW/DO/DNS:1600
>FLX SY:/RS=MS0:[1,10]BP2FXL.ODL/-RW/DO/DNS:1600
>FLX SY:/RS=MS0:[1,10]BP2FRL.ODL/-RW/DO/DNS:1600
>FLX SY:/RS/CO/BL:135.=MS0:[1,10]THREAD.TSK/-RW/DO/DNS:1600
>FLX LB:[1,2]/RS/CO/BL:18./IM=MS0:[1,10]BASIC2.ERR/-RW/DO/DNS:1600
>FLX SY:/RS=MS0:[1,10]EISLIB.OLB/-RW/DO/DNS:1600
>FLX SY:/RS=MS0:[1,10]RSXLIB.OLB/-RW/DO/DNS:1600
>FLX SY:/RS=MS0:[1,10]RSXCFELIB.OLB/-RW/DO/DNS:1600
>FLX SY:/RS=MS0:[1,10]BP2FTR.ULB/-RW/DO/DNS:1600
>FLX SY:/RS=MS0:[1,10]BP2FOT.OLB/-RW/DO/DNS:1600
>FLX LB:[1,2]/RS=MS0:[1,10]BP2.HLP/-RW/DO/DNS:1600
>FLX LB:[1,2]/RS/CO/BL:12./IM=MS0:[1,10]BP2RFA.HLP/-RW/DO/DNS:1600
>@ <EOF>
>run bp2bld.tsk
>type bp2bld.cmd
TKB @SY:BP2FOL.CMD
PIP @SY:BP2RN1.CMD
TKB @SY:BP2FRL.CMD
RUN SY:THREAD
MAC SY:THREAD=THREAD
LBR SY:RSXLIB=SY:THREAD/RP
STK @SY:BP2FCU.CMD
PIP @SY:BP2RN2.CMD
@SY:BP2INS.CMD
BP2 @SY:BP2VE0
TKB @SY:BP2T0
RUN SY:BP2T0
BP2 @SY:BP2VE1
TKB @SY:BP2T1
RUN SY:BP2T1
>TKB @SY:BP2FOL.CMD
>PIP @SY:BP2RN1.CMD
>TKB @SY:BP2FRL.CMD
>RUN SY:THREAD
>MAC SY:THREAD=THREAD
>LBR SY:RSXLIB=SY:THREAD/RP
Module “THREAD” replaced

>ins $edt
>edt bp2fcu.cmd
1 LB:[1,54]BP2IC2.TSK/CP/FU/FP=SY:BP2FCU.ODL/MP
*s|fp|fp/sb|
1 LB:[1,54]BP2IC2.TSK/CP/FU/fp/sb=SY:BP2FCU.ODL/MP
1 substitution
*t
1 LB:[1,54]BP2IC2.TSK/CP/FU/fp/sb=SY:BP2FCU.ODL/MP
*ex
DB0:[6,1]BP2FCU.CMD;2 214 lines
[m)B
>tkb @SY:BP2FCU.CMD
>PIP @SY:BP2RN2.CMD
>@SY:BP2INS.CMD
>; Command file to install the BASIC-PLUS-2 compiler
>;
>; Remove old BP2 task
>REM …BP2
REM — Task not in system
>; Install compiler task as BP2
>INS LB:[1,54]BP2IC2/TASK=…BP2
INS — Not enough APRs for task image
>; Remove old resident library: BP2RES
>REM BP2RES/REG
REM — Common not in system
>; Install resident library: BP2RES
>INS LB:[1,1]BP2RES/RON=YES/PAR=GEN
The BASIC-PLUS-2 installation is complete.
>@ <EOF>
>INS LB:[1,54]BP2IC2/TASK=…BP2/inc=1000
>BP2 @SY:BP2VE0

PDP-11 BASIC-PLUS-2 V2.5-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 COMPLETE’
90 PRINT ERT$(0%)
100 END
REPLACE SY:BP2T0
COMPILE SY:/OBJ
BP2T0 03:28 PM 19-Jan-;4
BUILD SY:
EXIT

>TKB @SY:BP2T0
>RUN SY:BP2T0
BASIC-PLUS-2 INSTALLATION VERIFICATION
1
2
3
4
5
6
7
8
9
10
VERIFICATION #1 COMPLETE
BASIC-PLUS-2

>BP2 @SY:BP2VE1

PDP-11 BASIC-PLUS-2 V2.5-00
@SY:BP2VE1
@SY:BP2VE1
OLD SY:BP2T0
80 PRINT ‘VERIFICATION #2 COMPLETE’
RENAME SY:BP2T1
REPLACE SY:BP2T1
COMPILE SY:/OBJ
BP2T1 03:29 PM 19-Jan-;4
BUILD SY:
EXIT

>TKB @SY:BP2T1
>RUN SY:BP2T1
BASIC-PLUS-2 INSTALLATION VERIFICATION
1
2
3
4
5
6
7
8
9
10
VERIFICATION #2 COMPLETE
BASIC-PLUS-2

>bp2

PDP-11 BASIC-PLUS-2 V2.5-00

BASIC2

print “hello, world”

hello, world

BASIC2

exit
>run $shutup

RSX-11M-PLUS Shut down program

Enter minutes to wait before shutdown: 0
Reason for shutdown (<CR> for none):
OK to shutdown? [Y/N]: y
All further logins are disabled

19-JAN-14 15:30 System is now shutting down — RSXMPL

QUE /STO:QMG
>
STOP/ACCOUNTING SHUTUP
15:30:08 SYSLOG — 47. Exiting
>
@LB:[1,2]SHUTUP
>VCP DISCONNECT /ALL
>@ <EOF>
>
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 ***
15:30:09 *** DB0: — Dismount complete
>
>
DMO MS0:/DEV/LOCK=V
15:30:14 *** MS0: — Dismount complete
DMO — TT0: dismounted from MS0: *** Final dismount initiated ***
>
SHUTUP operation complete

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