-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSysgenV9.do
71 lines (65 loc) · 1.96 KB
/
SysgenV9.do
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
;;; @file
;;; @author Terry Ebdon
;;; @date 11-MAY-2019
;;; @copyright Terry Ebdon, 2019
;;; Licensed under the Apache License, Version 2.0
;;; See the README.md and LICENSE files for details.
;;;
;;; @brief Sysgen RSTS/E V9 from tape on an 11/84.
set noverify
set noverbose
set message
set quiet
set env rstsVersion=V95
set env distroFolder=distro/rsts.org/
set env diskImage=sysgen_%rstsVersion%_rm03.dsk
set env bootTapeImage=%distroFolder%%rstsVersion%BOOT.TAP
set env ansiTapeImage=%distroFolder%%rstsVersion%ANSI.TAP
set env libTapeImage=%distroFolder%V9LIB.TAP
echo ### Installing RSTS %rstsVersion% from %bootTapeImage% to %diskImage%
do Configure1184.do
;;; -----------------------------------------
;;; do CreateSysgenPack.do %diskImage%
;;; -----------------------------------------
echo ANSI tape image: "%ansiTapeImage%"
set noquiet
do AttachSysgenMediaV8.do %diskImage% %bootTapeImage%
if exist "%ansiTapeImage%" attach -r TM1 %ansiTapeImage%
if NOT exist "%libTapeImage%" echo !!! ERROR -- Missing library tape
if NOT exist "%libTapeImage%" exit
show TM0
show TM1
show TM2
show RP0
;return
do InitDateTime.do
expect "Installing RSTS on a new system disk? <Yes>" send "\n"
do common/BootDevice.do TM0
echo
do Dskint.do DR0 SYSTEM YES
expect "Start timesharing? <Yes>"
go
; RSTS V9 runs performs COPY automatically.
send "\n"
noexpect
detach TM1
attach -r TM1 %libTapeImage%
do V9/StartSysgen.do
go
det TM1
attach -r TM1 %ansiTapeImage%
send "MT1:\r"
do V9/BasicPlusGeneration.do
;
; should be at the install sort/merge message.
noexpect
nosend
expect "Do you want to proceed with the default installation" send "YES\r"; go
expect "ARE THE ABOVE DEFAULTS THE DESIRED ONES" send "YES\r"; go
expect "System tape label default set to DOS"
expect "$" send "! Sysgen complete, shutting down to install SIL\r"; go
expect "$" send "run shutup\r"; go
expect "Minutes until system shutdown (0-99) <5>?" send "0\r"; go
expect "Start timesharing?" echo
do InstallSil.do RSTS
go