Skip to content

Instantly share code, notes, and snippets.

@tuklusan
Last active November 5, 2022 12:17
Show Gist options
  • Save tuklusan/89d4a278e0ca55d7983a5e4083128a59 to your computer and use it in GitHub Desktop.
Save tuklusan/89d4a278e0ca55d7983a5e4083128a59 to your computer and use it in GitHub Desktop.
DEC PDP-11 RSX 11M PLUS Part 3 | Installing BASIC PLUS 2 on RSX-11M-PLUS on PDP-11/24 | See https://supratim-sanyal.blogspot.com/2019/07/installing-rsx-11m-plus-on-dec-pdp-1124.html
[openvms@sanyalnet-cloud-vps2 pdp11]$ ###################
[openvms@sanyalnet-cloud-vps2 pdp11]$ #Based on instructions at http://pdp2011.sytse.net/wordpress/install-3/
[openvms@sanyalnet-cloud-vps2 pdp11]$ ###################
[openvms@sanyalnet-cloud-vps2 pdp11]$ ./pdp11
PDP-11 simulator V4.0-0 Beta git commit id: c9af9a70
Disabling XQ
libpcap version 1.5.3
Eth: opened OS device tap2
sim> set ts ena
sim> set ts0 format=tpc
sim> att ts0 basic_plus_2_rsx_v2_7.tpc
TS: unit is read only
sim> set ts0 lock
sim> boot rp0
RSX-11M-PLUS V4.6 BL87 1024.KW System:"JUICHI"
>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.
>;
>;
>* Please enter time and date (HH:MM DD-MMM-YYYY) [S]: 18:09 20-NOV-2016
>TIME 18:09 20-NOV-2016
>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>
>
>
>
>
>HELLO 6,1
HEL -- Other User Logged On
>
>
>
>
>
>
>
>
>
>
>
>
>
>run $acnt
*** RSX-11M-PLUS Account File Maintenance Utility ***
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]:
ACNT -- Account already exists
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
20-NOV-16 18:11 TT0: logged off JUICHI
>
>hello 6,1
Password:
RSX-11M-PLUS V4.6 BL87 [1,54] System JUICHI
20-NOV-16 18:11 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 *
* *
*****************************************************************
Last interactive login on Sunday, November 20, 2016 17:58:23 (TT0:)
>
>
>
>
>
>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.TSK
FLX -- File not found
MS0:[30,31]BP2SML.STB
FLX -- File not found
MS0:[30,31]BP2IC2.TSK
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]BP2IC0.ODL
FLX -- File not found
MS0:[30,31]BP2IC1.ODL
FLX -- File not found
MS0:[30,31]BP2IC2.ODL
FLX -- File not found
MS0:[30,31]BP2IC3.ODL
FLX -- File not found
MS0:[30,31]BP2IC4.ODL
FLX -- File not found
MS0:[30,31]BP2IC5.ODL
FLX -- File not found
MS0:[30,31]BP2IC6.ODL
FLX -- File not found
MS0:[30,31]BP2IC7.ODL
FLX -- File not found
MS0:[30,31]B2RESQ.TSK
FLX -- File not found
MS0:[30,31]BP2OPT.TSK
FLX -- File not found
MS0:[30,31]BP2INS.CMD
FLX -- File not found
MS0:[30,31]BP2DCP.CMD
FLX -- File not found
MS0:[30,31]BP2VE0.CMD
FLX -- File not found
MS0:[30,31]BP2VE1.CMD
AT.T0 -- Command file open error
@SY:BP2DCP
>
>@SY:BP2T0
AT.T0 -- Command file open error
@SY:BP2T0
>@SY:BP2T1
AT.T0 -- Command file open error
@SY:BP2T1
>dmo
DMO>^Z
>[A
MCR -- Illegal function
[B
MCR -- Illegal function
MCR -- Illegal function
>
>
>
>
>dmo ms0:
18:15:03 *** MS0: -- Dismount complete
DMO -- TT0: dismounted from MS0: *** Final dismount initiated ***
>
>c
MCR -- Illegal function
>
Simulation stopped, PC: 021240 (BR 21206)
sim> att ts0 basic_plus_2_rsx_v2_5.tpc
TS: unit is read only
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
>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 -- File not found
>; 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=b&BP2/inc=1000
INS -- Syntax error
>
>
>
>
>
>INS LB:[1,54]BP2IC2/TASK=b&BP2/inc=1000
INS -- Syntax error
>
>
>
>INS LB:[1,54]BP2IC2/TASK=b&BP2/inc=1000
INS -- Syntax error
>[D
MCR -- Illegal function
[D
MCR -- Illegal function
[D
MCR -- Illegal function
>
>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 06:24 PM 20-Nov-;6
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 06:26 PM 20-Nov-;6
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
>
>
>[D
MCR -- Illegal function
[D
MCR -- Illegal function
>
>
>bp2
PDP-11 BASIC-PLUS-2 V2.5-00
BASIC2
print bhello, worldb
Error in immediate mode
print bhello, worldb
.................12............34567891011121314151617181920
% 1: illegal character 28
?2: found user identifier when expecting one of:
a statement modifier
an operator
end of statement
";"
"("
","
% 3: illegal character 29
% 4: illegal character 8
% 5: illegal character 8
% 6: illegal character 8
% 7: illegal character 8
% 8: illegal character 8
% 9: illegal character 8
% 10: illegal character 8
% 11: illegal character 8
% 12: illegal character 8
% 13: illegal character 8
% 14: illegal character 8
% 15: illegal character 8
% 16: illegal character 8
% 17: illegal character 8
% 18: illegal character 8
% 19: illegal character 8
% 20: illegal character 8
% 21: illegal character 8
% 22: illegal character 8
% 23: illegal character 8
% 24: illegal character 8
% 25: illegal character 8
% 26: illegal character 8
% 27: illegal character 8
% 28: illegal character 8
% 29: illegal character 8
% 30: illegal character 8
BASIC2
PRINT "HELLO FROM PDP"
HELLO FROM PDP
BASIC2
WXIT
Error in immediate mode
WXIT
...............1
?1: found end of line when expecting one of:
"("
","
"="
":"
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
20-NOV-16 18:28 System is now shutting down -- JUICHI
QUE /STO:QMG
>
STOP/ACCOUNTING SHUTUP
18:28:37 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 ***
18:28:38 *** DB0: -- Dismount complete
>
DMO MS0:/DEV/LOCK=V
18:28:43 *** MS0: -- Dismount complete
DMO -- TT0: dismounted from MS0: *** Final dismount initiated ***
>
SHUTUP operation complete
HALT instruction, PC: 126130 (CLRB @#177776)
sim>
sim>
sim>
sim>
sim> quit
Goodbye
Eth: closed tap2
[openvms@sanyalnet-cloud-vps2 pdp11]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment