Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Links:

SIMH:

RSX-11 tips and tricks

Formatting (initializing) a disk using rsx-11 on simh

When adding a disk image to simh using “attach” simh will create the file if it does not yet exist- but it will be a file containing all zeroes - not a file system. This means it cannot be used by rsx-11 directly; it needs to be formatted.

Assume the following as simh setup:

Code Block
set rq1 rd54
attach rq1 -i rsx11-1.dsk

When starting simh will create that file if it does not exist. After that we need to start rsx-11:

Code Block
sim> boot rq0



RSX-11M-PLUS V4.6  BL87   1920.KW  System:"RSXMPL"
>RED DU:=SY:
>RED DU:=LB:
>RED DU:=SP:
>MOU DU0:"RSX11MPBL87"
>@DU:[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]: 16:15 16-may-2024
>TIME 16:15 16-may-2024
>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>
>

The device we want to initialize is rq1, which becomes du1 in rsx-11. We can see it using an rsx command:

Code Block
>show dev du
DU0:	 Public Mounted Loaded Label=RSX11MPBL87 Type=RD54  
DU1:	 Loaded Type=RD54  
DU2:	 Loaded Type=RD54  
DU3:	 Loaded Type=RX50  

First allocate the du1 device so that it becomes our “private” device, i.e. usable for our terminal only, then mount it, and finally initialize it:

Code Block
>allocate du1:
>mount du1:/foreign
>ini du1:/mxf=8000.
Searching for bad block descriptor file
INI -- Failed to read bad block file

Next, unmount and remount

Code Block
>dmo du1:
16:22:02  *** DU1:  -- Dismount complete
DMO -- TT0:    dismounted from DU1:    *** Final dismount initiated ***
>mount du1:
>show dev du
DU0:	 Public Mounted Loaded Label=RSX11MPBL87 Type=RD54  
DU1:	 TT0: - Private Mounted Loaded Label= Type=RD54  
DU2:	 Loaded Type=RD54  
DU3:	 Loaded Type=RX50  

We can now show the root directory for the new device:

Code Block
>dir du1:[0,0]

Directory DU1:[0,0]
16-MAY-24 16:22

INDEXF.SYS;1        4009.      16-MAY-24 16:20
BITMAP.SYS;1        77.        16-MAY-24 16:20
BADBLK.SYS;1        0.         16-MAY-24 16:20
000000.DIR;1        1.      C  16-MAY-24 16:20
CORIMG.SYS;1        0.         16-MAY-24 16:20

Total of 4087./4087. blocks in 5. files