PiDP-8/I SoftwareCheck-in [a4a0a1aabc]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Having re-organized around OS8_TOOLTIME, the scripts need to be converted from using v3d.rk05 to v3d-patched.rk05, the OS8_TOOLTIME pack. Perhaps the .os8 scripts should be converted to .os8.in scripts that would use an OS8_TOOLTIME auto.def.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: a4a0a1aabc524813c911bfa1ca7ae8f0b67b0acb
User & Date: poetnerd 2020-08-01 02:18:03
Context
2020-08-05
02:20
A missed add. scripts/misc/e8-tu56.os8 wants src/e8/e8defs.pa, but it's not in the fossil repo. :-( Leaf check-in: 667c5e9683 user: poetnerd tags: trunk
2020-08-01
02:18
Having re-organized around OS8_TOOLTIME, the scripts need to be converted from using v3d.rk05 to v3d-patched.rk05, the OS8_TOOLTIME pack. Perhaps the .os8 scripts should be converted to .os8.in scripts that would use an OS8_TOOLTIME auto.def. check-in: a4a0a1aabc user: poetnerd tags: trunk
01:27
Subtle mistake: OS8_RK05S needs V3D_RUNTIME and OCK_RUNTIME. It had OS8_RUNTIME which might be one or the other. I don't know where the dependencies would go if use-ock were set. Right now we unconditionally build both. check-in: d11565ea4f user: poetnerd tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to scripts/misc/cc8-tu56.os8.

1
2
3
4
5
6
7
8
9
10
11
12
# Script to create the cc8.tu56 image that hosts the
# OS/8 Native C compiler.
# Note that because the patched, default system packs,
# v3d.rk05 rely upon this image as a prerequisite, we
# build with a copy of v3d-dist.rk05

mount rk0 $os8mo/v3d-patched.rk05 required scratch
mount dt0 $os8mo/cc8.tu56 new
boot rk0

os8 ZERO DTA0:



|
<
<







1
2
3


4
5
6
7
8
9
10
# Script to create the cc8.tu56 image that hosts the
# OS/8 Native C compiler.
# We build with the OS8_TOOLTIME packs: v3d-patched.rk05



mount rk0 $os8mo/v3d-patched.rk05 required scratch
mount dt0 $os8mo/cc8.tu56 new
boot rk0

os8 ZERO DTA0:

Changes to scripts/misc/e8-tu56.os8.

1
2
3
4
5
6
7
8
9
10
11
12
# Script to create the e8.tu56 image that hosts the
# Emacs-like editor e8 by  Bill Silver.
# Note that because the patched, default system packs,
# v3d.rk05 rely upon this image as a prerequisite, we
# build with a copy of v3d-dist.rk05

mount rk0 $os8mo/v3d-patched.rk05 required scratch
mount dt0 $os8mo/e8.tu56 new
boot rk0

os8 ZERO DTA0:



|
<
<







1
2
3


4
5
6
7
8
9
10
# Script to create the e8.tu56 image that hosts the
# Emacs-like editor e8 by  Bill Silver.
# We build with the OS8_TOOLTIME packs: v3d-patched.rk05



mount rk0 $os8mo/v3d-patched.rk05 required scratch
mount dt0 $os8mo/e8.tu56 new
boot rk0

os8 ZERO DTA0:

Changes to scripts/os8/all-tu56.os8.

1
2
3
4
5
6
7
8
9
10
..
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Builds a bootable dectape image for either v3d or v3f.
# Pieces come from, as needed:
# v3d.rk05, the os8v3d device driver distribution DECtape,
# and the os8v3f-build rk05.
# Keep this file in sync with v3d-dist.os8 which determines
# which device drivers are available by default when running
# BUILD.SV from SYS: in the v3d enabled sections below.

# Control: We default to v3d unless externally overridden to enable v3f
enable v3d
................................................................................
  disable tc08
end enabled td8e

# This script can be run from a parallel make
# So we create a scratch version of the system rk05 to prevent conflicts.
# We have to do this anyway for TD8E since we change the DECtape configuration.

mount rk0 $bin/v3d.rk05 required scratch
boot rk0

# Our built image inherits whether or not INIT is set.
# A blank tape will complain "NO CCL!" on first boot.
# So first thing SET SYS NO INIT

os8 SET SYS NO INIT


|







 







|







1
2
3
4
5
6
7
8
9
10
..
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Builds a bootable dectape image for either v3d or v3f.
# Pieces come from, as needed:
# v3d-patched.rk05, the os8v3d device driver distribution DECtape,
# and the os8v3f-build rk05.
# Keep this file in sync with v3d-dist.os8 which determines
# which device drivers are available by default when running
# BUILD.SV from SYS: in the v3d enabled sections below.

# Control: We default to v3d unless externally overridden to enable v3f
enable v3d
................................................................................
  disable tc08
end enabled td8e

# This script can be run from a parallel make
# So we create a scratch version of the system rk05 to prevent conflicts.
# We have to do this anyway for TD8E since we change the DECtape configuration.

mount rk0 $bin/v3d-patched.rk05 required scratch
boot rk0

# Our built image inherits whether or not INIT is set.
# A blank tape will complain "NO CCL!" on first boot.
# So first thing SET SYS NO INIT

os8 SET SYS NO INIT

Changes to scripts/os8/v3d-reset-tc08.os8.

1
2

3
4
5
6
7
8
9
10
11
# If a script setting TD8E in the default system packs blows out
# Run this script to fix it.


mount rk0 $bin/v3d.rk05 required

# The saved BUILD will just work.
boot rk0
begin build SYS:BUILD.SV
BOOT
end build
os8 SET SYS INIT


>

|







1
2
3
4
5
6
7
8
9
10
11
12
# If a script setting TD8E in the default system packs blows out
# Run this script to fix it.
# We presume it happened to the OS8_TOOLTIME packs: v3d-patched.rk05

mount rk0 $bin/v3d-patched.rk05 required

# The saved BUILD will just work.
boot rk0
begin build SYS:BUILD.SV
BOOT
end build
os8 SET SYS INIT

Changes to scripts/os8/v3d/src-rk05.os8.

1
2
3
4
5

6
7
8
9
10
11
12
13
14
# Creates an OS/8 v3d source rk05 image from distribution dectapes

# OS/8 Writes on the system device (architectural flaw).
# Since this might be run from a parallel make, we mount the system
# with the scratch option to make a unique copy.


mount rk0 $os8mo/v3d.rk05 required scratch

mount rk1 $os8mo/v3d-src.rk05 new

mount dt0 $os8mi/al-4691c-sa-os8-v3d-1.1978.tu56
mount dt1 $os8mi/al-4692c-sa-os8-v3d-2.1978.tu56

boot rk0





>

|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Creates an OS/8 v3d source rk05 image from distribution dectapes

# OS/8 Writes on the system device (architectural flaw).
# Since this might be run from a parallel make, we mount the system
# with the scratch option to make a unique copy.
# We build with the OS8_TOOLTIME packs: v3d-patched.rk05

mount rk0 $os8mo/v3d-patched.rk05 required scratch

mount rk1 $os8mo/v3d-src.rk05 new

mount dt0 $os8mi/al-4691c-sa-os8-v3d-1.1978.tu56
mount dt1 $os8mi/al-4692c-sa-os8-v3d-2.1978.tu56

boot rk0

Changes to scripts/os8/v3f/control.os8.

1
2
3
4
5
6

7
8
9
10
11
12
13
14
# Comments begin with an octothorpe
# Blank lines are ignored.

# OS/8 Writes on the system device (architectural flaw).
# Since this might be run from a parallel make, we mount the system
# with the scratch option to make a unique copy.

mount rk0 $os8mo/v3d.rk05 required scratch
copy $obj/v3f-build.rk05 $os8mo/v3f-made.rk05
mount rk1 $os8mo/v3f-made.rk05 required

boot rk0

pal8 RKB1:BUILD.BN<RKA1:BUILD.PA







>
|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Comments begin with an octothorpe
# Blank lines are ignored.

# OS/8 Writes on the system device (architectural flaw).
# Since this might be run from a parallel make, we mount the system
# with the scratch option to make a unique copy.
# We build with the OS8_TOOLTIME packs: v3d-patched.rk05
mount rk0 $os8mo/v3d-patched.rk05 required scratch
copy $obj/v3f-build.rk05 $os8mo/v3f-made.rk05
mount rk1 $os8mo/v3f-made.rk05 required

boot rk0

pal8 RKB1:BUILD.BN<RKA1:BUILD.PA

Changes to scripts/test/build1.os8.

1
2
3
4
5
6
7
8
mount rk0 $bin/v3d.rk05 required scratch
mount dt1 $os8mi/al-4712c-ba-os8-v3d-2.1978.tu56 ro required

boot rk0

print Confirm testing for failure to start build:

begin build SYS:FOO.SV
|







1
2
3
4
5
6
7
8
mount rk0 $bin/v3d-patched.rk05 required scratch
mount dt1 $os8mi/al-4712c-ba-os8-v3d-2.1978.tu56 ro required

boot rk0

print Confirm testing for failure to start build:

begin build SYS:FOO.SV

Changes to scripts/test/build2.os8.

1
2
3
4
5
6
7
8
9
# Tests 1 build for CUSPS
mount rk0 $os8mo/v3d.rk05 required scratch
mount rk1 $os8mo/uni-bf2-obj.rk05 required

print Build tester

boot rk0

print Building LIBSET.SV

|







1
2
3
4
5
6
7
8
9
# Tests 1 build for CUSPS
mount rk0 $os8mo/v3d-patched.rk05 required scratch
mount rk1 $os8mo/uni-bf2-obj.rk05 required

print Build tester

boot rk0

print Building LIBSET.SV

Changes to scripts/test/copy.os8.

1
2
3
4
5
6
7
8
9
10
mount rk0 $bin/v3d.rk05 required
mount dt0 $os8mo/copy-test.tu56 new

boot rk0

os8 ZERO DTA0:
cpto $os8mi/init.tx DTA0:
cpto $os8mi/readme.md DTA0:
cpto $src/src/os8/v3f/PIP.PA
cpfrom DTA0:README.MD $build/obj/
|









1
2
3
4
5
6
7
8
9
10
mount rk0 $bin/v3d-patched.rk05 required
mount dt0 $os8mo/copy-test.tu56 new

boot rk0

os8 ZERO DTA0:
cpto $os8mi/init.tx DTA0:
cpto $os8mi/readme.md DTA0:
cpto $src/src/os8/v3f/PIP.PA
cpfrom DTA0:README.MD $build/obj/

Changes to scripts/test/error.os8.

1
2
3
4
5
6
7
8
9
10
# Provokes errors

mount rk0 $bin/v3d.rk05 required
mount dt0 $bin/scratch.tu56

boot rk0

begin enabled testing

begin build SYS:BUILD


|







1
2
3
4
5
6
7
8
9
10
# Provokes errors

mount rk0 $bin/v3d-patched.rk05 required
mount dt0 $bin/scratch.tu56

boot rk0

begin enabled testing

begin build SYS:BUILD

Changes to scripts/test/pal8.os8.

1
2
3
4
5
6
7
8
mount rk0 $bin/v3d.rk05 required scratch
mount dt0 $os8mo/pal-test.tu56 new
mount rk1 $bin/v3d-src.rk05 required

boot rk0

print Create test tape
os8 ZERO DTA0:
|







1
2
3
4
5
6
7
8
mount rk0 $bin/v3d-patched.rk05 required scratch
mount dt0 $os8mo/pal-test.tu56 new
mount rk1 $bin/v3d-src.rk05 required

boot rk0

print Create test tape
os8 ZERO DTA0:

Changes to scripts/test/patch.os8.

1
2
3
4
5
6
7
8
9
# Test the patch command.

# copy ./v3d-dist.rk05 ./v3d.rk05
mount rk0 ./v3d.rk05 required

boot rk0

patch ../media/os8/patches/FOTP-21.19.1M-V9B.patch8
patch ../media/os8/patches/PAL8-21.22.4M.patch8


|
|





1
2
3
4
5
6
7
8
9
# Test the patch command.

# copy ./v3d-dist.rk05 ./v3d-patched.rk05
mount rk0 ./v3d-patched.rk05 required

boot rk0

patch ../media/os8/patches/FOTP-21.19.1M-V9B.patch8
patch ../media/os8/patches/PAL8-21.22.4M.patch8

Changes to scripts/test/restart.os8.

1
2
3
4
5
6
7
8
mount rk0 $bin/v3d.rk05 required

boot rk0

mount dt0 $os8mo/copy-test.tu56

restart

|







1
2
3
4
5
6
7
8
mount rk0 $bin/v3d-patched.rk05 required

boot rk0

mount dt0 $os8mo/copy-test.tu56

restart

Changes to scripts/test/resume.os8.

1
2
3
4
5
6
7
8
mount rk0 $bin/v3d.rk05 required scratch

boot rk0

mount dt0 $os8mo/v3d-tc08.tu56 required

resume

|







1
2
3
4
5
6
7
8
mount rk0 $bin/v3d-patched.rk05 required scratch

boot rk0

mount dt0 $os8mo/v3d-tc08.tu56 required

resume

Changes to tools/os8-cmp.

246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
"""
        
VERBOSE_USAGE = TERSE_USAGE + """

    This program compares two OS/8 media image files by attaching them
    to the SIMH PDP-8 simulater, and booting OS/8.
    The s suffix on one image spec. selects that image as the boot device.
    If no s suffis is present, the default v3d.rk05 image is booted.

    A directory listing for each image is obtained, and the files
    are extracted into a POSIX directory.  If the image has multiple
    partitions, each partition is extracted into a subdirectory.

    FIXME: Some sensible approach to trying to compare a .tu56 and a .rk05 image.








|







246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
"""
        
VERBOSE_USAGE = TERSE_USAGE + """

    This program compares two OS/8 media image files by attaching them
    to the SIMH PDP-8 simulater, and booting OS/8.
    The s suffix on one image spec. selects that image as the boot device.
    If no s suffix is present, the default v3d-patched.rk05 image is booted.

    A directory listing for each image is obtained, and the files
    are extracted into a POSIX directory.  If the image has multiple
    partitions, each partition is extracted into a subdirectory.

    FIXME: Some sensible approach to trying to compare a .tu56 and a .rk05 image.

Changes to tools/os8-cmp.in.

246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
"""
        
VERBOSE_USAGE = TERSE_USAGE + """

    This program compares two OS/8 media image files by attaching them
    to the SIMH PDP-8 simulater, and booting OS/8.
    The s suffix on one image spec. selects that image as the boot device.
    If no s suffis is present, the default v3d.rk05 image is booted.

    A directory listing for each image is obtained, and the files
    are extracted into a POSIX directory.  If the image has multiple
    partitions, each partition is extracted into a subdirectory.

    FIXME: Some sensible approach to trying to compare a .tu56 and a .rk05 image.








|







246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
"""
        
VERBOSE_USAGE = TERSE_USAGE + """

    This program compares two OS/8 media image files by attaching them
    to the SIMH PDP-8 simulater, and booting OS/8.
    The s suffix on one image spec. selects that image as the boot device.
    If no s suffix is present, the default v3d-patched.rk05 image is booted.

    A directory listing for each image is obtained, and the files
    are extracted into a POSIX directory.  If the image has multiple
    partitions, each partition is extracted into a subdirectory.

    FIXME: Some sensible approach to trying to compare a .tu56 and a .rk05 image.