Running TOPS-20 V4.1 under SIMH

From Computer History Wiki
Revision as of 21:00, 5 July 2012 by Sbb (talk | contribs) (clarified what to do to get out of the simulation [hit ctrl-f -- really wasn't obvious!])
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The tape image can be downloaded from here: http://pdp-10.trailing-edge.com/tapes/bb-d867e-bm_tops20_v41_2020_instl.tap.bz2

Naturally you'll need the PDP-10 emulator from SIMH. You can download pre-compiled binaries from the sourceforge page: http://sourceforge.net/projects/simh/

With SIMH 3.8-0 I'm using the followinng as my install.ini unlike the following example from 2001...

set cpu tops-20
d wru 006 
att tu i.tap
set rp rp06
att rp t20.dsk
boot tu



From bsupnik@us.inter.net Mon May 21 15:00:51 2001
Path: typhoon.aracnet.com!newsfeed2.skycache.com!newsfeed.skycache.com!Cidera!news.maxwell.syr.edu!news-peer1.tiac.net!posterchild2.tiac.net!not-for-mail
From: Bob Supnik <bsupnik@us.inter.net>
Newsgroups: alt.sys.pdp10
Subject: TOPS-20 installation on SIMH, part 1
Date: Sat, 19 May 2001 14:57:19 -0400
Organization: WWW.US.INTER.NET
Lines: 242
Message-ID: <b8gdgtcpnjqt6aapd5orsc3f740l3f5gbt@4ax.com>
NNTP-Posting-Host: ip122.bedford.ma.pub-ip.psi.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: news-central.tiac.net 990298784 14803 38.32.9.122 (19 May 2001 18:59:44 GMT)
X-Complaints-To: abuse@us.inter.net
NNTP-Posting-Date: Sat, 19 May 2001 18:59:44 +0000 (UTC)
X-Newsreader: Forte Agent 1.8/32.548
Xref: typhoon.aracnet.com alt.sys.pdp10:12073

I've gotten all the way through a TOPS-20 V4.1 installation on simh,
but not without some caveats.

To start with, this log is produced with the next version of the
simulator, which includes logging.  It also includes a shortcut for
dealing with the TOPS-20 V4.1 boot problem:

sim> set cpu tops20v41

catches the bad WRCSTM in the boot process.  To do this by hand,

sim> d break 7
sim> BOOT TU or RP

Breakpoint at PC: 000007
sim> d 40127 770000000000
sim> c

The first part of the installation (up to the reboot) works just as
stated in the manuals.  After the reboot, things aren't so clean:

------

sim> log t20.txt
Logging to file "t20.txt"
sim> d wru 006
sim> att tu c:\temp\tops20_v41_i.tap
sim> set rp rp06
sim> set cpu t20V41
sim> att rp t20.dsk
sim> boot tu

MTBOOT>/L
MTBOOT>/G143
      [FOR ADDITIONAL INFORMATION TYPE "?" TO ANY OF THE FOLLOWING
QUESTIONS.]

      DO YOU WANT TO REPLACE THE FILE SYSTEM ON THE PUBLIC STRUCTURE?
Y

      DO YOU WANT TO DEFINE THE PUBLIC STRUCTURE? Y

      HOW MANY PACKS ARE IN THIS STRUCTURE: 1

      ON WHICH "CHANNEL,UNIT" IS LOGICAL PACK # 0 MOUNTED: 0,0

      DO YOU WANT THE DEFAULT SWAPPING SPACE? Y

      DO YOU WANT THE DEFAULT SIZE FRONT END FILE SYSTEM? Y

      DO YOU WANT THE DEFAULT SIZE BOOTSTRAP AREA? Y

      [STRUCTURE "PS" SUCCESSFULLY DEFINED]
      [PS MOUNTED]

      ?PS UNIT 0 HAS NO BAT BLOCKS.
      DO YOU WANT TO WRITE A SET OF PROTOTYPE BAT BLOCKS? Y
      %%NO SETSPD
 
      System restarting, wait...
      ENTER CURRENT DATE AND TIME: 19-MAY-2001 11:13
    
      YOU HAVE ENTERED SATURDAY, 19-MAY-2001 11:13AM,
       IS THIS CORRECT (Y,N) Y
  
      WHY RELOAD? INSTALLATION
      <SYSTEM>ACCOUNTS-TABLE.BIN NOT FOUND - ACCOUNT VALIDATION IS
DISABLED
      
      RUNNING DDMP
      NO SYSJOB
      NO EXEC                                  [## Hit CTRL-C here]
      MX>GET FILE MTA0:

      INTERRUPT AT 0
      MX>GET FILE MTA0:
      MX>START
 
             TOPS-20 Command processor 5.1(1354)
       @ENABLE (CAPABILITIES) 
      $RUN (PROGRAM) MTA0:
      DLUSER>LOAD (FROM FILE) MTA0:

      DONE.
      DLUSER>EXIT
      $RUN (PROGRAM) MTA0:
      DUMPER>TAPE (DEVICE) MTA0:
      DUMPER>RESTORE (TAPE FILES) PS:<*>*.*.* (TO) PS:<SYSTEM>*.*.* 

      DUMPER tape # 1, "SYSTEM files for TOPS-20 V4.1", Thursday,
7-Apr-83 1721
      End of saveset

      DUMPER>RESTORE (TAPE FILES) PS:<*>*.*.* (TO) PS:<SUBSYS>*.*.* 

      DUMPER tape # 1, "SUBSYS files for TOPS-20 V4.1", Thursday,
7-Apr-83 1723
      End of saveset

      DUMPER>RESTORE (TAPE FILES) PS:<*>*.*.* (TO) PS:<UETP.LIB>*.*.* 

      DUMPER tape # 1, "UETP files for TOPS-20 V4.1", Thursday,
7-Apr-83 1726
      End of saveset

      DUMPER>EXIT
      $UNLOAD (DEVICE) MTA0:
      $INFORMATION (ABOUT) DISK-USAGE (OF DIRECTORY) PS:<*>
       PS:<ROOT-DIRECTORY>
       59 Pages assigned
       +INF Working pages, +INF Permanent pages allowed
     
       PS:<ACCOUNTS>
       4 Pages assigned
       +INF Working pages, +INF Permanent pages allowed
     
       PS:<NEW-SUBSYS>
       0 Pages assigned
       +INF Working pages, +INF Permanent pages allowed
     
       PS:<NEW-SYSTEM>
       0 Pages assigned
       +INF Working pages, +INF Permanent pages allowed
     
       PS:<OPERATOR>
       0 Pages assigned
       250 Working pages, 250 Permanent pages allowed
    
       PS:<SPOOL>
       0 Pages assigned
       +INF Working pages, +INF Permanent pages allowed
     
       PS:<SUBSYS>
       2595 Pages assigned
       +INF Working pages, +INF Permanent pages allowed
     
       PS:<SYSTEM>
       2685 Pages assigned
       +INF Working pages, +INF Permanent pages allowed
     
       PS:<UETP>
       0 Pages assigned
       100000 Working pages, 100000 Permanent pages allowed
     
       PS:<UETP.LIB>
       1712 Pages assigned
       4000 Working pages, 4000 Permanent pages allowed
     
       PS:<UETP.RUN>
       0 Pages assigned
       500 Working pages, 500 Permanent pages allowed
    
       Total of 7055 Pages assigned, in 11 directories.
       62563 Pages free on PS:, 13437 pages used.
    
      $CONNECT (TO DIRECTORY) PS:<SYSTEM>
      $COPY (FROM) 2020-MONMED.EXE.1 (TO) MONITR.EXE
       2020-MONMED.EXE.1 => MONITR.EXE.1 [OK]
      $TERMINAL (MODE IS) NO RAISE
      $copy (FROM) tty: (TO) monnam.txt
       TTY: => MONNAM.TXT.1
  
      Simh TOPS-20 V4.1
      ^Z
 
      $copy (FROM) tty: (TO) TAPNAM.TXT
       TTY: => TAPNAM.TXT.1
      SIMH-V41
      ^Z
      $terminal (MODE IS) raise
      $CREATE (FILE) 4-1-CONFIG.CMD
      Input: 4-1-CONFIG.CMD.1
      00100   !TERMINAL SPEEDS
      00200   !CURRENTLY, DZ11'S ARE NOT IMPLEMENTED
      00300   TERMINAL 1-40 SPEED 0
      00400   DEFINE NEW: PS:<NEW>,SYS:
      00500   DEFINE OLD: PS:<OLD>,SYS:
      00600   DEFINE HLP: SYS:
      00700   PRINTER 0 LOWERCASE VFU SYS:NORMAL.VFU
      00800   PRINTER 0 LOWERCASE RAM SYS:LP96.RAM
      00900   TIMEZONE 5
      01000   BIAS 8
      01100   ENABLE TAPE-DRIVE-ALLOCATION
      01200   $
      *EU
      [4-1-CONFIG.CMD.1]
      $TYPE (FILE) <SYSTEM>4-1-CONFIG.CMD
      !TERMINAL SPEEDS
      !CURRENTLY, DZ11'S ARE NOT IMPLEMENTED
      TERMINAL 1-32 SPEED 0
      DEFINE NEW: PS:<NEW>,SYS:
      DEFINE OLD: PS:<OLD>,SYS:
      DEFINE HLP: SYS:
      PRINTER 0 LOWERCASE VFU SYS:NORMAL.VFU
      PRINTER 0 LOWERCASE RAM SYS:LP96.RAM
      TIMEZONE 5
      BIAS 8
      ENABLE TAPE-DRIVE-ALLOCATION
      $^ECREATE (DIRECTORY NAME) PS:<OPERATOR>
      [Old]
      $$PASSWORD DEC-20
      $$USER-GROUP (NUMBER) 100
      $$IPCF
      $$
      $^ECREATE (DIRECTORY NAME) PS:<REMARKS>
      [New]
      $$
      $CONNECT (TO DIRECTORY) PS:<SUBSYS>
      $CREATE (FILE) LPFORM.INI
      Input: LPFORM.INI.1
      00100   NORMAL/BANNER:1/HEADER:1/TRAILER:1
      00200   NARROW/BANNER:1/HEADER:1/TRAILER:1/WIDTH:80
      00300   $
      *EU
      [LPFORM.INI.1]
      $CONNECT (TO DIRECTORY) PS:<SYSTEM>
      $RUN (PROGRAM) SMFILE
      DECSYSTEM 2020 DIAGNOSTICS FE-FILE PROGRAM
      VERSION 0.3, TOPS-20, KS10, CPU#=4097
      [FOR HELP TYPE "HELP"]
      SMFILE>WRITE SETUP PS:<ROOT-DIRECTORY>BOOTSTRAP.BIN
      SMFILE>WRITE RESET
      SMFILE>READ KS10.ULD
      SMFILE>SERIAL 4097
      SMFILE>WRITE CRAM
      SMFILE>WRITE BOOT SMBOOT.EXE
      SMFILE>WRITE DONE
      [HOME BLOCKS SET]
      SMFILE>OUTPUT CRAM PS:<SYSTEM>KS10.RAM
      SMFILE>OUTPUT MTBOOT SMMTBT.EXE PS:<SYSTEM>MTBOOT.RDI
      SMFILE>EXIT
      $                                                [## HIT CTRL-F HERE]
Simulation stopped, PC: 000003 (SOJG 2,3)
sim> set fe stop
sim> c
**HALTED**
    
HALT instruction, PC: 010754 (JSR 0,5335)
sim> exit
Goodbye
Log file closed