Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save tuklusan/5bac2642f1903d09e0c47378c725baea to your computer and use it in GitHub Desktop.
Save tuklusan/5bac2642f1903d09e0c47378c725baea to your computer and use it in GitHub Desktop.
localuser@opensuse:~/PDP-11> ls -l rsts
lrwxrwxrwx 1 localuser users 5 Mar 8 05:18 rsts -> pdp11
localuser@opensuse:~/PDP-11>
localuser@opensuse:~/PDP-11> ls -l pdp11
-rwxr-xr-x 1 localuser users 2054016 Mar 8 04:52 pdp11
localuser@opensuse:~/PDP-11>
localuser@opensuse:~/PDP-11>
localuser@opensuse:~/PDP-11> cat rsts.ini
set cpu 11/73, 4M, idle
set clk 50Hz
show cpu
set hk disable
set ptr disable
set ptp disable
set rk disable
set rp disable
set rx disable
set vh disable
set tm disable
set cr disable
set lpt disable
set rl disable
; disk drives
set rq enable
set rq0 ra81
set rq1 ra81
set rq2 disable
set rq3 disable
;set rq2 rd31
;set rq3 rd31
attach rq0 Disks/rq0-ra81a.dsk
attach rq1 Disks/rq1-ra81b.dsk
;attach rq2 Disks/rq2-rd31a.dsk
;attach rq3 Disks/rq3-rd31b.dsk
;set console telnet=10003
; DZ11, KB5:-KB12:
echo DZ11-->10000
echo
set dz lines=8
; make SIMH listen on port 10000
att dz 10000
; tape drives
set tq0 locked
set tq1 disable
set tq2 disable
set tq3 disable
;set tq1 locked
;set tq2 locked
;set tq3 locked
attach -e tq0 tapes/rstse_v10_1_install_sep10_1992.tap
;attach -e tq0 -f tpc tapes/decnet-e_v4_1.tap
;attach -e tq1 -f tpc tapes/...
;attach -e tq2 -f tpc tapes/...
;attach -e tq3 -f tpc tapes/...
; DECnet 31.28
set xq enable
set xq type=DEQNA mac=AA-00-04-00-1C-7C
att xq tap:dnettap0
;set xqb enable
set xqb disable
set xqb type=DEQNA mac=96-72-A1-2A-E7-40
;attach xqb ...
boot rq0
localuser@opensuse:~/PDP-11>
localuser@opensuse:~/PDP-11>
localuser@opensuse:~/PDP-11>
localuser@opensuse:~/PDP-11> ls -l tapes
total 25396
drwxr-xr-x 2 localuser users 4096 Mar 8 20:18 archive
-rwx------ 1 localuser users 1904488 Mar 8 20:55 decnet-e_v4_1.tap
-r--r--r-- 1 localuser users 24096588 Mar 8 20:18 rstse_v10_1_install_sep10_1992.tap
localuser@opensuse:~/PDP-11>
localuser@opensuse:~/PDP-11>
localuser@opensuse:~/PDP-11> ls -l Disks
total 0
localuser@opensuse:~/PDP-11>
localuser@opensuse:~/PDP-11>
localuser@opensuse:~/PDP-11>
localuser@opensuse:~/PDP-11> ./rsts
PDP-11 simulator V4.0-0 Current git commit id: 314a1da9
Disabling RK
Disabling HK
Disabling TM
CPU 11/73, NOCIS, autoconfiguration enabled, idle enabled
4088KB
/home/localuser/PDP-11/rsts.ini-25> attach rq0 Disks/rq0-ra81a.dsk
RQ0: creating new file
/home/localuser/PDP-11/rsts.ini-26> attach rq1 Disks/rq1-ra81b.dsk
RQ1: creating new file
DZ11-->10000
/home/localuser/PDP-11/rsts.ini-37> att dz 10000
Listening on port 10000
/home/localuser/PDP-11/rsts.ini-47> attach -e tq0 tapes/rstse_v10_1_install_sep10_1992.tap
TQ: unit is read only
/home/localuser/PDP-11/rsts.ini-56> att xq tap:dnettap0
libpcap version 1.9.0 (with TPACKET_V3)
Eth: opened OS device dnettap0
HALT instruction, PC: 000002 (HALT)
sim>
sim>
sim> show dev
PDP-11 simulator configuration
CPU 11/73, NOCIS, autoconfiguration enabled, idle enabled
SYSTEM
RHA disabled
RHB disabled
RHC disabled
CLK 50Hz, address=17777546-17777547, vector=100, BR6
PCLK disabled
PTR disabled
PTP disabled
TTI address=17777560-17777563, vector=60, BR4
TTO address=17777564-17777567, vector=64, BR4
TDC disabled
CR disabled
LPT disabled
DLI disabled
DLO disabled
DCI disabled
DCO disabled
DZ address=17760100-17760117*, vector=300-314*, BR5, lines=8
VH disabled
RC disabled
RF disabled
RK disabled
RL disabled
HK disabled
RX disabled
RY disabled
RP disabled
RS disabled
RQ address=17772150-17772153, no vector, BR5, RQDX3, 4 units
RQB disabled
RQC disabled
RQD disabled
TC disabled
TM disabled
TS disabled
TQ TK50 (94MB), address=17774500-17774503, no vector, BR5, 4 units
TU disabled
TA disabled
VT disabled
XQ address=17774440-17774457, no vector, BR5, MAC=AA:00:04:00:1C:7C
type=DEQNA, polling=disabled, sanity=OFF
throttle=disabled, leds=(ON,ON,ON)
XQB disabled
XU disabled
XUB disabled
KG disabled
DMC disabled
DUP disabled
DPV disabled
KDP disabled
KE disabled
ROM 4 units
CH disabled
NG disabled
DAZ disabled
sim>
sim> show ether
ETH devices:
eth0 tap:tapN (Integrated Tun/Tap support)
eth1 vde:device{:switch-port-number} (Integrated VDE support)
eth2 nat:{optional-nat-parameters} (Integrated NAT (SLiRP) support)
eth3 udp:sourceport:remotehost:remoteport (Integrated UDP bridge support)
libpcap version 1.9.0 (with TPACKET_V3)
Open ETH Devices:
XQ tap:dnettap0
Ethernet Device:
Name: dnettap0
Reflections: 0
Self Loopbacks Sent: 2
Self Loopbacks Rcvd: 0
Packets Sent: 2
Asynch Interrupts: Disabled
Read Queue: Count: 0
Read Queue: High: 0
Read Queue: Loss: 0
Peak Write Queue Size: 0
sim>
sim>
sim> boot tq0
Performing limited hardware scan.
RSTS V10.1 (MU0) INIT V10.1-0L
Today's date? 8-MAR-2019
Enter today's date as DAY-MONTH-YEAR (e.g., 7-SEP-85)
Today's date? 8-MAR-19
Current time? 22:35
Installing RSTS on a new system disk? <Yes>
08-Mar-19 10:35 PM
Disk? DU0
Pack ID? RSTSE
Pack cluster size <16>?
MFD cluster size <16>?
SATT.SYS base <27844>?
Pre-extend directories <NO>?
PUB, PRI, or SYS <SYS>?
[1,1] cluster size <16>?
[1,2] cluster size <16>?
[1,1] and [1,2] account base <27844>?
Date last modified <YES>?
New files first <NO>?
Read-only <NO>?
Patterns <3>?
Proceed (Y or N)? Y
Pattern 3
Pattern 2
Pattern 1
08-Mar-19 10:36 PM
Copying required system files
Performing limited hardware scan.
RSTS V10.1 (DU0) INIT V10.1-0L
08-Mar-19 10:36 PM
Starting SYSGEN.SIL . . .
Rebooting . . .
Device XH0: internal micro-diagnostic failure, code 001004 - device disabled.
RSTS V10.1 (DU0) INIT V10.1-0L
08-Mar-19 10:36 PM
Creating SWAP.SYS file with minimum size of 136 blocks
Memory allocation table:
0K: 00000000 - 00503777 ( 81K) : EXEC
81K: 00504000 - 15527777 (1669K) : USER
1750K: 15530000 - 17757777 ( 294K) : XBUF
Memory available to RSTS/E is 2044K words.
Creating CRASH.SYS file with minimum size of 1360 blocks
17 devices disabled
RSTS/E V10.1-L Software Installation Procedure 08-Mar-19 10:36 PM
Please mount the RSTS/E Installation media and enter the name
and unit number of the device.
Valid device types are: 'MM', 'MS', 'MT', 'MU', 'DM' or 'DL'
Restoring required _SY0:[0,1] components
Deleting all global symbols
RSTS/E V10.1-L Software Installation Procedure 08-Mar-19 10:39 PM
Build Phase
Restoring DECDX update components from the Installation kit
Restoring DECNET update components from the Installation kit
Restoring DIBOL update components from the Installation kit
Restoring DTR update components from the Installation kit
Restoring FMS update components from the Installation kit
Restoring FORTRAN update components from the Installation kit
Restoring FRTRN77 update components from the Installation kit
Restoring MAIL update components from the Installation kit
Restoring MENU update components from the Installation kit
Restoring PDPDBG update components from the Installation kit
Restoring PLXY update components from the Installation kit
Restoring RJ2780 update components from the Installation kit
Restoring WPS update components from the Installation kit
Restoring 27803780 update components from the Installation kit
Restoring 3271 update components from the Installation kit
RSTS/E V10.1-L Software Installation Procedure 08-Mar-19 10:39 PM
The RSTS/E Software Installation Procedure is complete
Deleting all global symbols
Deassigning system logicals
08-Mar-19 10:39 PM
System tape label default set to DOS
SY:[1,2]INSTAL.LOG is a log file of this session
Please wait for system to re-boot itself...
Device XH0: internal micro-diagnostic failure, code 001004 - device disabled.
RSTS V10.1-L SYSGEN (DU0) INIT V10.1-0L
08-Mar-19 10:39 PM
Starting MICRO.SIL . . .
Re-creating SWAP.SYS file with minimum size of 264 blocks
Memory allocation table:
0K: 00000000 - 00447777 ( 74K) : EXEC
74K: 00450000 - 15523777 (1675K) : USER
1749K: 15524000 - 17757777 ( 295K) : XBUF
Memory available to RSTS/E is 2044K words.
7 devices disabled
Proceed with system startup? <YES>
Beginning RSTS/E system startup...
08-Mar-19 10:39 PM Installing monitor overlays
08-Mar-19 10:39 PM Mounting disks
08-Mar-19 10:39 PM Assigning logical names
08-Mar-19 10:39 PM Starting error logging
08-Mar-19 10:39 PM Setting system characteristics
08-Mar-19 10:39 PM Installing run-time systems and libraries
08-Mar-19 10:39 PM Starting Operator/Message Services
>>>>>>>>>>>>>>> OMS V10.1-A 08-Mar-19 10:39 PM <<<<<<<<<<<<<<<
Message 1 from OMS, user [1,2], Detached, job 3
Starting Operator/Message Services
08-Mar-19 10:39 PM Setting terminal characteristics
08-Mar-19 10:39 PM Defining system commands
08-Mar-19 10:39 PM Setting printer characteristics
08-Mar-19 10:39 PM Starting spoolers
*** From [1,2] "[ 1, 2]" on KB0: at 10:39 PM 08-Mar-19
** RSTS/E is on the air...
>>>>>>>>>>>>>>> OMS V10.1-A 08-Mar-19 10:39 PM <<<<<<<<<<<<<<<
Message 2 from user [1,2] on _KB0:, job 2
The system startup is complete
RSTS V10.1-L 08-Mar-19 10:39 PM
User: 1,2
Password:
?Invalid entry - try again
User: 1,2
Password:
Jobs detached under this account:
Job What Size State Run-time RTS
1 ERRCPY 5K SR 0.2 ...RSX
3 OMS 9K SL 0.0 ...RSX
4 PBS... 19K SL 0.0 ...RSX
Job number to attach to?
Last interactive login on 08-Mar-19, 10:39 PM at KB0:
Last non-interactive login on 08-Mar-19, 10:39 PM
3 other users are logged in under this account
$
$
$
$ show dev
Device _DV0: Status: Disabled by INIT
Device _DL0: Control RL: Status: Disabled by INIT
Device _DL1: Control RL: Status: Disabled by INIT
Device _DL2: Control RL: Status: Disabled by INIT
Device _DL3: Control RL: Status: Disabled by INIT
Device _DU0: Control RU0: CSR 772150 Status: Mounted
Device _DU1: Control RU0: CSR 772150
Device _DU2: Control RU: Status: Non-existent
Device _DU3: Control RU: Status: Non-existent
Device _DU4: Control RU: Status: Non-existent
Device _DU5: Control RU: Status: Non-existent
Device _DU6: Control RU: Status: Non-existent
Device _DU7: Control RU: Status: Non-existent
Device _DU8: Control RU: Status: Non-existent
Device _DU9: Control RU: Status: Non-existent
Device _DU10: Control RU: Status: Non-existent
Device _DU11: Control RU: Status: Non-existent
Device _DU12: Control RU: Status: Non-existent
Device _DU13: Control RU: Status: Non-existent
Device _DU14: Control RU: Status: Non-existent
Device _DU15: Control RU: Status: Non-existent
Device _KB0: (KBA0:) Control TT0: CSR 777560 Status: Restricted
Device _KB1: (KBD0:) Control PK0: Status: Restricted
Device _KB2: (KBD1:) Control PK1: Status: Restricted
Device _KB3: (KBD2:) Control PK2: Status: Restricted
Device _KB4: (KBD3:) Control PK3: Status: Restricted
Device _KB5: (KBG0:) Control DZ0:0 CSR 760100 Status: Restricted
Device _KB6: (KBG1:) Control DZ0:1 CSR 760100 Status: Restricted
Device _KB7: (KBG2:) Control DZ0:2 CSR 760100 Status: Restricted
Device _KB8: (KBG3:) Control DZ0:3 CSR 760100 Status: Restricted
Device _KB9: (KBG4:) Control DZ0:4 CSR 760100 Status: Restricted
Device _KB10: (KBG5:) Control DZ0:5 CSR 760100 Status: Restricted
Device _KB11: (KBG6:) Control DZ0:6 CSR 760100 Status: Restricted
Device _KB12: (KBG7:) Control DZ0:7 CSR 760100 Status: Restricted
Device _KB13: (KBG8:) Control DZ1:0 CSR 760110 Status: Restricted
Device _KB14: (KBG9:) Control DZ1:1 CSR 760110 Status: Restricted
Device _KB15: (KBG10:) Control DZ1:2 CSR 760110 Status: Restricted
Device _KB16: (KBG11:) Control DZ1:3 CSR 760110 Status: Restricted
Device _KB17: (KBG12:) Control DZ1:4 CSR 760110 Status: Restricted
Device _KB18: (KBG13:) Control DZ1:5 CSR 760110 Status: Restricted
Device _KB19: (KBG14:) Control DZ1:6 CSR 760110 Status: Restricted
Device _KB20: (KBG15:) Control DZ1:7 CSR 760110 Status: Restricted
Device _NL0:
Device _PK0:
Device _PK1:
Device _PK2:
Device _PK3:
Device _LP0: Control LP0: Status: Disabled by INIT
Device _MS0: Control TS11 Status: Disabled by INIT
Device _MU0: CSR 774500
Device _MU1: Status: Disabled by INIT
$
$
$
$ switch basic
Ready
print "hello world"
hello world
Ready
switch dcl
$
$
$
$
$ help
You can obtain on-line information about any DCL command or qualifier,
as well as many other general topics. For more complete details about a
topic, refer to the appropriate RSTS manual or guide.
The RSTS/E System User's Guide contains descriptions of the DCL commands
and qualifiers that you use in file, system, and programming operations.
The RSTS/E System Manager's Guide contains descriptions of the DCL
commands and qualifiers used in system management operations.
See the RSTS/E Quick Reference Guide for the syntax of all DCL commands
and qualifiers on RSTS/E.
For instructions on how to use this HELP facility, type HELP HELP from
DCL, or type HELP in response to the HELP Topic? prompt.
Additional help is available on:
@ Accounts Advanced ALLOCATE APPEND
ASSIGN ATTACH BACKUP BASIC BROADCAST
BYE CC CCL CLOSE COBOL
Command Recall COPY CREATE Dates DCL
DEALLOCATE DEASSIGN DEFINE DELETE DETACH
DIBOL DIFFERENCES DIRECTORY DISMOUNT DUMP
EDIT Entries EOD EXIT Expressions
Files FORCE Forms FORTRAN Functions
GOSUB GOTO HANGUP HELP IF
INITIALIZE INQUIRE INSTALL Keys Labels
Line Editing LINK LOAD LOGIN LOGOUT
MACRO MAIL MERGE MOUNT ON
OPEN Operators Passwords PRINT Privileges
Programs Queues Quotas READ RECALL
REMOVE RENAME REPLY REQUEST RESTORE
RETURN RT11 RSX RUN Runtime Systems
Servers SET SHOW SORT START
STOP SUBMIT Symbols Times TYPE
UNLOAD WAIT WRITE
Topic? show
SHOW
The SHOW command displays information about the system and its
resources, as well as the current status of your job or account.
Format:
SHOW option
Additional help is available on:
ACCOUNTS BUFFERS CACHE COMMANDS
COUNTERS DATE DAYTIME DEVICES
DISKS ENTRY FILES JOBS
LIBRARIES LOGICALS MEMORY NETWORK
NODE OPERATOR_SERVICES PRINTERS
QUEUES QUOTA PORT RECEIVERS
REQUESTS RUNTIME_SYSTEMS SERVERS SERVICE
SESSIONS SYMBOLS SYSTEM TERMINAL
TIME USERS
SHOW Subtopic?
Topic?
$
$ show users
RSTS V10.1-L RSTS/E V10.1 status at 08-Mar-19, 10:40 PM Up: 1:08
Job Who Where What Size State Run-Time Pri/RB RTS
2 1,2 KB0 SYSTAT 17/64K RN Lck 0.0 -8/6 ...RSX
$
$
$ show time
08-Mar-19 10:40 PM
$
$ show network
show network
^
?Command not installed
$
$ run $shutup
SHUTUP V10.1-H RSTS V10.1-L RSTS/E V10.1
10:40 PM 08-Mar-19 ######## Set-up Dialogue Phase ########
Type '^' to any query to backup one question
Allow Print/Batch Services jobs to complete <YES>?
Minutes until system shutdown (0-99) <5>? 0
Shutdown with automatic RESTART <NO>?
10:40 PM 08-Mar-19 ######## Warning Message Phase ########
Further LOGINs are now disabled
10:40 PM 08-Mar-19 ######## Initial Job Killing Phase ########
10:40 PM 08-Mar-19 ######## Print/Batch Shutdown Phase ########
Print/Batch Services shutdown complete at 10:40 PM
10:40 PM 08-Mar-19 ######## OMS Shutdown Phase ########
>>>>>>>>>>>>>>> OMS V10.1-A 08-Mar-19 10:40 PM <<<<<<<<<<<<<<<
Message 3 from SHUTUP, operator [1,2] on _KB0:, job 2
Operator/Message Services shutting down
Operator/Message Services shutdown complete at 10:40 PM
10:40 PM 08-Mar-19 ######## EVTLOG Shutdown Phase ########
10:40 PM 08-Mar-19 ######## ERRCPY Shutdown Phase ########
10:40 PM 08-Mar-19 ######## Remove RTS/RES LIB Phase ########
10:40 PM 08-Mar-19 ######## Log File Closing Phase ########
10:40 PM 08-Mar-19 ######## SWAP File Removal Phase ########
10:40 PM 08-Mar-19 ######## Disk DISMOUNT Phase ########
10:40 PM 08-Mar-19 ######## Final Shutdown Phase ########
Please wait for system to re-boot itself
Device XH0: internal micro-diagnostic failure, code 001004 - device disabled.
RSTS V10.1-L MICRO (DU0) INIT V10.1-0L
08-Mar-19 10:40 PM
Start timesharing? <Yes> NO
Option: <Start>
Simulation stopped, PC: 005376 (TSTB 100425)
sim> exit
Goodbye
Eth: closed dnettap0
; SANYALnet Labs
; PDP-11/73, RSTS/E 10.1, DECnet/E 4.1
; Supratim Sanyal's Hobbyist Server
; See https://supratim-sanyal.blogspot.com/2019/03/deploying-pdp-1173-running-rstse-101.html
; --
; System account is [xx,yy]
; System account password is ...
; --
set cpu 11/73, 4M, idle
set clk 50Hz
show cpu
set hk disable
set ptr disable
set ptp disable
set rk disable
set rp disable
set rx disable
set vh disable
set tm disable
set cr disable
set lpt disable
set rl disable
; disk drives
set rq enable
set rq0 ra81
set rq1 ra81
set rq2 disable
set rq3 disable
;set rq2 rd31
;set rq3 rd31
attach rq0 Disks/rq0-ra81a.dsk
attach rq1 Disks/rq1-ra81b.dsk
;attach rq2 Disks/rq2-rd31a.dsk
;attach rq3 Disks/rq3-rd31b.dsk
;set console telnet=10003
; DZ11, KB5:-KB12:
echo DZ11-->10000
echo
set dz lines=8
; make SIMH listen on port 10000
att dz 10000
; tape drives
set tq0 locked
set tq1 disable
set tq2 disable
set tq3 disable
;set tq1 locked
;set tq2 locked
;set tq3 locked
;attach -e tq0 tapes/rstse_v10_1_install_sep10_1992.tap
attach -e tq0 -f tpc tapes/decnet-e_v4_1.tap
;attach -e tq1 -f tpc tapes/...
;attach -e tq2 -f tpc tapes/...
;attach -e tq3 -f tpc tapes/...
; DECnet 31.28
set xq enable
set xq type=DELQA mac=AA-00-04-00-1C-7C
attach xq vde:/tmp/vde-dnet.ctl
;att xq tap:dnettap0
;
set xqb disable
;set xqb enable
set xqb type=DEQNA mac=96-72-A1-2A-E7-40
;attach xqb ...
boot rq0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment