; ; ; PDP-11 CONFIG FOR Unix ; ; ; Set PDP-11/40 CPU model (Unix assumes EIS) ; ; Added FPP so various programs can run. Probably won't be ; perfect (FPP regs won't be saved on process switches), but ; an OK quick hack for a single-user machine. ; set cpu 40 eis fpp ; ; Set switch register to single-user boot ; set switch 173030 ; ; Mount disk units ; ; First, the RK drives ; ; Putting /tmp on an RK (as opposed to, say,an RS) means we use slightly ; more memory (since we're doing RAM simulation), but we don't have ; to have an RS driver (saves Unix kernel memory space). ; (First line for tmp is if we wish to be able to scribble on the ; on-disk prototype) ; mount dk0: C:\Unix\UnixRoot. /rk05 mount dk1: D:\Unix\UnixSwap. /rk05 ; mount dk2: C:\Unix\UnixTmp. /rk05 mount dk2: ram: /load:C:\Unix\UnixTmp. /rk05 mount dk3: C:\Unix\UnixSrc. /rk05 mount dk4: C:\Unix\UnixDoc. /rk05 ; ; ; Now, the RL drive(s) ; Add a null device to prevent NXM faults if we touch it with ; nothing mounted ; ; mount dl0: C:\Unix\unix_v6.rl02 /rl02 mount dl3: null: ; ; And finally the RP drive ; Again, add a null device to prevent NXM faults if we touch it with ; nothing mounted ; ; mount dp0: C:\Unix\UnixLarge. /RP03 /Cylinders:406 mount dp7: null: ; ; ; Now other devices ; ; Add DZ lines ; The DZ CSR, etc are what the V6 driver etc expect, and are not ; the defaults under Ersatz-11. ; assign yza0-7: telnet: set yza: csr=770000 vector=270 set telnet banner=C:\progra~1\Ersatz11\TelnetBanner.txt ; ; And now the DOS: pseudo-device ; mount do: ; ; Add LP11 printer port ; ; assign lp0: lpt1: ; ; ; EMULATOR config ; ; Set to not hog CPU when PDP-11 stopped or idle ; set idle delay=10 ; ; Switch current dir to /unix on host ; cd c:\unix ; ; If needed, set dump trace to on for 'show pclog' ; ; set pclog on ; ; ; STARTUP ; ; ; Boot RK disk unit 0 (and switch keyboard to PDP-11 console) ; boot dk0: ; ; Control returns to the next line when the user presses Shift-Enter ; or the system halts on its own ; ; quit ; ; Don't bail out if PDP-11 halted