-
Notifications
You must be signed in to change notification settings - Fork 0
WSL Ubuntu
Madhu Siddalingaiah edited this page Jul 22, 2023
·
8 revisions
This page explains how to install and run Sigma CP-V on simh using WSL/Ubuntu.
- Build simh for sigma. You will need a sigma.ini configuration file available here.
$ git clone https://github.com/simh/simh.git
$ cd simh
$ make sigma
$ cp <Downloads>/sigma.ini .
- Boot from tape
$ bin/sigma
...
sim> boot mt0
ENTER ANY OF:
I=TTY I/O
P=LP OUTPUT
F=TAPE FILES
T=TAPE PATCHES
C=CARD PATCHES
D=XDELTA
FTPI
C/LL/DC ASSIGN OK (YES/NO) YES
...
SET SENSE SWITCHES AND TYPE N/L
SSW1 => CHECKWRITE DISC WRITES
SSW2 => NO AUTOMATIC LOGON/LOGOFF
SSW3 => OPERATOR RECOVERY ON DISC BOOT
SSW4 => SYSTEM SECURITY CHECKING
<newline>
...
4:
4: *** NOTHING PARTITIONED
4: 1
8: GJOB 9DIAG,:SYS ERR
6: ONLINE = 0
6: BATCH = 8
6: SAT, ^^,' C0F
6: GRANULES = 37266
6: SYMBIONT = 15390
6: ALDATA DA =XXXXXX
6: MEM SIZE = 128K
6: UPTIME = 0:00:01:04
- Delete :USERS before login. Enter ctrl-p to get console attention (! prompt):
ctrl-p
!GJOB PCL
17: PCL HERE
COPY :USERS ON :USERSSV
DEL :USERS
20:25
17: .. 1 FILES DELETED, 3 GRANULES
END
- Enable user logon
ctrl-p
!ON 107
- Logon
Telnet or Putty can be used as a terminal for user logon. To connect using telnet:
$ telnet localhost 2021
Send break to get LOGON attention:
<ctrl>-]
send break
Putty can also be used as a telnet client for user logon. Connect to localhost port 2021. Do not connect to line 0. If connection is made to line 0, duplicate the connection to connect to a different line.
Send break to get LOGON attention. Right-click | Special Command | Break
Logon with :SYS,LBE
- Shutdown.
It is best to shut down CP-V and exit simh properly to avoid system corruption. In the operators console (simh window):
ctrl-p
!ZAP
C: UNABLE TO USE MASTER FILE FOR BILLING
C: ERROR CODE = 03
C: OFF 21:39
THAT'S ALL FOLKS!!!
ctrl-e
Simulation stopped, PC: 00008 (BDR,0 8)
sim> exit
Goodbye
- Once tape boot has completed successfully, disk is possible:
sim> boot dpb0
DATE(//)=
TIME(:)=
DO YOU WANT DELTA (Y/N)N
DATE(MM/DD/YY)=09/28/82
TIME(HH:MM)=21:32
DO YOU WANT HGP RECONSTRUCTION(Y/N)?N
4: NUMBER OF USERS REDUCED TO 121
!!BAD COC - MEA05
!!BAD COC - MEA0D
4:
4: *** NOTHING PARTITIONED
4: 1
8: GJOB 9DIAG,:SYS ERR
6: ONLINE = 0
6: BATCH = 0
6: TUE, SEP 28,'82 C0F
6: GRANULES = 37128
6: SYMBIONT = 15390
6: ALDATA DA =XXXXXX
6: MEM SIZE = 128K
6: UPTIME = 0:00:00:44
- Enable user logon
ctrl-p
!ON 107
- Continue with logon as explained above.