diff options
107 files changed, 85 insertions, 12 deletions
@@ -1,3 +1,4 @@ img.tar disk.img simh.zip +pdp11 diff --git a/Containerfile b/Containerfile index fa16c73..9303688 100644 --- a/Containerfile +++ b/Containerfile @@ -10,7 +10,8 @@ RUN apk add \ libpcap-dev \ libpng-dev \ sdl2-dev \ - pcre-dev + pcre-dev \ + pcre-static COPY simh.zip /opt/ @@ -18,7 +19,7 @@ RUN mkdir -p /opt/simh WORKDIR /opt/simh RUN bsdtar --strip-components=1 -xzvf /opt/simh.zip # RUN make pdp11 -RUN make CFLAGS_G='-march=i386' pdp11 -j$(nproc) +RUN make CFLAGS_G='-march=i386 -static -no-pie -s -O2' pdp11 -j$(nproc) RUN cp BIN/pdp11 /usr/bin/pdp11 RUN mkdir /opt/unixv4 @@ -33,12 +34,20 @@ RUN apk del \ libedit-dev \ libpcap-dev \ libpng-dev \ + libedit \ + libpcap \ + libpng \ + sdl2 \ + pcre \ sdl2-dev \ - pcre-dev + pcre-dev \ + apk-tools \ + alpine-keys \ + pcre-static + -RUN rm -rf /var/cache/apk /opt/simh /opt/simh.zip -RUN apk add pcre sdl2 +RUN rm -rf /var/cache/apk /opt/simh /opt/simh.zip COPY entrypoint.sh /bin/ @@ -6,6 +6,14 @@ sudo=sudo docker=docker [ -n "$(command -v podman)" ] && [ -x "$(command -v podman)" ] && docker=podman +bin_only=false +no_plat=false +while [ $# -gt 0 ] ; do case $1 in + -bin-only) bin_only=true ; shift ;; + -no-platform) no_plat=true ; shift ;; + *) echo "bad arg: '$1'" ; exit 2 ;; +esac ; done + simh_url="https://github.com/simh/simh/archive/master.zip" simh_archive="./simh.zip" if ! [ -e "$simh_archive" ] ; then @@ -16,12 +24,12 @@ $docker build --platform=i386 -t unixv4 . $docker run --name unixv4emulator --entrypoint=/bin/true --replace unixv4 $docker export unixv4emulator > img.tar $docker container rm unixv4emulator -truncate -s 50M disk.img +tar --strip-components 2 -xf img.tar usr/bin/pdp11 +$bin_only && exit 0 +truncate -s 12M disk.img $sudo kpartx -av disk.img $sudo mkfs.ext2 /dev/loop0 $sudo mount /dev/loop0 /mnt $sudo tar -C /mnt -xpvf img.tar $sudo umount /mnt $sudo kpartx -dv disk.img - - diff --git a/disk.rk.1 b/disk.rk.1 Binary files differdeleted file mode 100644 index 9515630..0000000 --- a/disk.rk.1 +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86.bin b/jslinux-2019-12-21/root-x86.bin Binary files differindex a483489..027a49c 100644 --- a/jslinux-2019-12-21/root-x86.bin +++ b/jslinux-2019-12-21/root-x86.bin diff --git a/jslinux-2019-12-21/root-x86/blk.txt b/jslinux-2019-12-21/root-x86/blk.txt index 65791bb..096ffc7 100644 --- a/jslinux-2019-12-21/root-x86/blk.txt +++ b/jslinux-2019-12-21/root-x86/blk.txt @@ -1,4 +1,4 @@ { - block_size: 2048, - n_block: 25, + block_size: 4096, + n_block: 3, } diff --git a/jslinux-2019-12-21/root-x86/blk000000000.bin b/jslinux-2019-12-21/root-x86/blk000000000.bin Binary files differindex c71e322..77ad686 100644 --- a/jslinux-2019-12-21/root-x86/blk000000000.bin +++ b/jslinux-2019-12-21/root-x86/blk000000000.bin diff --git a/jslinux-2019-12-21/root-x86/blk000000001.bin b/jslinux-2019-12-21/root-x86/blk000000001.bin Binary files differindex ac5b9eb..847b486 100644 --- a/jslinux-2019-12-21/root-x86/blk000000001.bin +++ b/jslinux-2019-12-21/root-x86/blk000000001.bin diff --git a/jslinux-2019-12-21/root-x86/blk000000002.bin b/jslinux-2019-12-21/root-x86/blk000000002.bin Binary files differindex 32d1f73..54fe8f4 100644 --- a/jslinux-2019-12-21/root-x86/blk000000002.bin +++ b/jslinux-2019-12-21/root-x86/blk000000002.bin diff --git a/jslinux-2019-12-21/root-x86/blk000000003.bin b/jslinux-2019-12-21/root-x86/blk000000003.bin Binary files differdeleted file mode 100644 index 3301331..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000003.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000004.bin b/jslinux-2019-12-21/root-x86/blk000000004.bin Binary files differdeleted file mode 100644 index 9b94ccb..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000004.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000005.bin b/jslinux-2019-12-21/root-x86/blk000000005.bin Binary files differdeleted file mode 100644 index 178a4a3..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000005.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000006.bin b/jslinux-2019-12-21/root-x86/blk000000006.bin Binary files differdeleted file mode 100644 index 8464bbd..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000006.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000007.bin b/jslinux-2019-12-21/root-x86/blk000000007.bin Binary files differdeleted file mode 100644 index 3301331..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000007.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000008.bin b/jslinux-2019-12-21/root-x86/blk000000008.bin Binary files differdeleted file mode 100644 index 60fda4f..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000008.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000009.bin b/jslinux-2019-12-21/root-x86/blk000000009.bin Binary files differdeleted file mode 100644 index d785f99..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000009.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000010.bin b/jslinux-2019-12-21/root-x86/blk000000010.bin Binary files differdeleted file mode 100644 index 338f6e1..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000010.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000011.bin b/jslinux-2019-12-21/root-x86/blk000000011.bin Binary files differdeleted file mode 100644 index 3301331..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000011.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000012.bin b/jslinux-2019-12-21/root-x86/blk000000012.bin Binary files differdeleted file mode 100644 index 6a3a70c..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000012.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000013.bin b/jslinux-2019-12-21/root-x86/blk000000013.bin Binary files differdeleted file mode 100644 index 3301331..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000013.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000014.bin b/jslinux-2019-12-21/root-x86/blk000000014.bin Binary files differdeleted file mode 100644 index 9baa771..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000014.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000015.bin b/jslinux-2019-12-21/root-x86/blk000000015.bin Binary files differdeleted file mode 100644 index 05f9258..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000015.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000016.bin b/jslinux-2019-12-21/root-x86/blk000000016.bin Binary files differdeleted file mode 100644 index e5e0c64..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000016.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000017.bin b/jslinux-2019-12-21/root-x86/blk000000017.bin Binary files differdeleted file mode 100644 index 6001d11..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000017.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000018.bin b/jslinux-2019-12-21/root-x86/blk000000018.bin Binary files differdeleted file mode 100644 index 3301331..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000018.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000019.bin b/jslinux-2019-12-21/root-x86/blk000000019.bin Binary files differdeleted file mode 100644 index d740e1e..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000019.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000020.bin b/jslinux-2019-12-21/root-x86/blk000000020.bin Binary files differdeleted file mode 100644 index 9eef5bc..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000020.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000021.bin b/jslinux-2019-12-21/root-x86/blk000000021.bin Binary files differdeleted file mode 100644 index 08d5daf..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000021.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000022.bin b/jslinux-2019-12-21/root-x86/blk000000022.bin Binary files differdeleted file mode 100644 index 6f362b7..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000022.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000023.bin b/jslinux-2019-12-21/root-x86/blk000000023.bin Binary files differdeleted file mode 100644 index 3301331..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000023.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000024.bin b/jslinux-2019-12-21/root-x86/blk000000024.bin Binary files differdeleted file mode 100644 index ada4ca1..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000024.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000025.bin b/jslinux-2019-12-21/root-x86/blk000000025.bin Binary files differdeleted file mode 100644 index fbc2212..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000025.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000026.bin b/jslinux-2019-12-21/root-x86/blk000000026.bin Binary files differdeleted file mode 100644 index 9e0f96a..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000026.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000027.bin b/jslinux-2019-12-21/root-x86/blk000000027.bin Binary files differdeleted file mode 100644 index 9e0f96a..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000027.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000028.bin b/jslinux-2019-12-21/root-x86/blk000000028.bin Binary files differdeleted file mode 100644 index 44f596e..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000028.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000029.bin b/jslinux-2019-12-21/root-x86/blk000000029.bin Binary files differdeleted file mode 100644 index 550b8ed..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000029.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000030.bin b/jslinux-2019-12-21/root-x86/blk000000030.bin Binary files differdeleted file mode 100644 index 9e0f96a..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000030.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000031.bin b/jslinux-2019-12-21/root-x86/blk000000031.bin Binary files differdeleted file mode 100644 index 9e0f96a..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000031.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000032.bin b/jslinux-2019-12-21/root-x86/blk000000032.bin Binary files differdeleted file mode 100644 index c4112d8..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000032.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000033.bin b/jslinux-2019-12-21/root-x86/blk000000033.bin Binary files differdeleted file mode 100644 index 0d990c3..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000033.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000034.bin b/jslinux-2019-12-21/root-x86/blk000000034.bin Binary files differdeleted file mode 100644 index d387f2d..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000034.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000035.bin b/jslinux-2019-12-21/root-x86/blk000000035.bin Binary files differdeleted file mode 100644 index deef736..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000035.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000036.bin b/jslinux-2019-12-21/root-x86/blk000000036.bin Binary files differdeleted file mode 100644 index 9e0f96a..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000036.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000037.bin b/jslinux-2019-12-21/root-x86/blk000000037.bin Binary files differdeleted file mode 100644 index 9e0f96a..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000037.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000038.bin b/jslinux-2019-12-21/root-x86/blk000000038.bin Binary files differdeleted file mode 100644 index ea2d51a..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000038.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000039.bin b/jslinux-2019-12-21/root-x86/blk000000039.bin Binary files differdeleted file mode 100644 index 7de6988..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000039.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000040.bin b/jslinux-2019-12-21/root-x86/blk000000040.bin Binary files differdeleted file mode 100644 index 894ba25..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000040.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000041.bin b/jslinux-2019-12-21/root-x86/blk000000041.bin Binary files differdeleted file mode 100644 index 0f41954..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000041.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000042.bin b/jslinux-2019-12-21/root-x86/blk000000042.bin Binary files differdeleted file mode 100644 index 440277b..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000042.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000043.bin b/jslinux-2019-12-21/root-x86/blk000000043.bin Binary files differdeleted file mode 100644 index da772d8..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000043.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000044.bin b/jslinux-2019-12-21/root-x86/blk000000044.bin Binary files differdeleted file mode 100644 index ca05e30..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000044.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000045.bin b/jslinux-2019-12-21/root-x86/blk000000045.bin Binary files differdeleted file mode 100644 index 9e0f96a..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000045.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000046.bin b/jslinux-2019-12-21/root-x86/blk000000046.bin Binary files differdeleted file mode 100644 index 9e0f96a..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000046.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000047.bin b/jslinux-2019-12-21/root-x86/blk000000047.bin Binary files differdeleted file mode 100644 index 9e0f96a..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000047.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000048.bin b/jslinux-2019-12-21/root-x86/blk000000048.bin Binary files differdeleted file mode 100644 index 2eee8a3..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000048.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000049.bin b/jslinux-2019-12-21/root-x86/blk000000049.bin Binary files differdeleted file mode 100644 index 9e0f96a..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000049.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000050.bin b/jslinux-2019-12-21/root-x86/blk000000050.bin Binary files differdeleted file mode 100644 index 5c2339d..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000050.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000051.bin b/jslinux-2019-12-21/root-x86/blk000000051.bin Binary files differdeleted file mode 100644 index d6a37c8..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000051.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000052.bin b/jslinux-2019-12-21/root-x86/blk000000052.bin Binary files differdeleted file mode 100644 index 8dd9b32..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000052.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000053.bin b/jslinux-2019-12-21/root-x86/blk000000053.bin Binary files differdeleted file mode 100644 index 8dd9b32..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000053.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000054.bin b/jslinux-2019-12-21/root-x86/blk000000054.bin Binary files differdeleted file mode 100644 index 8dd9b32..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000054.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000055.bin b/jslinux-2019-12-21/root-x86/blk000000055.bin Binary files differdeleted file mode 100644 index 8dd9b32..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000055.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000056.bin b/jslinux-2019-12-21/root-x86/blk000000056.bin Binary files differdeleted file mode 100644 index d9233d8..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000056.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000057.bin b/jslinux-2019-12-21/root-x86/blk000000057.bin Binary files differdeleted file mode 100644 index d0c7f05..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000057.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000058.bin b/jslinux-2019-12-21/root-x86/blk000000058.bin Binary files differdeleted file mode 100644 index db4367a..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000058.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000059.bin b/jslinux-2019-12-21/root-x86/blk000000059.bin Binary files differdeleted file mode 100644 index 8dd9b32..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000059.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000060.bin b/jslinux-2019-12-21/root-x86/blk000000060.bin Binary files differdeleted file mode 100644 index 8dd9b32..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000060.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000061.bin b/jslinux-2019-12-21/root-x86/blk000000061.bin Binary files differdeleted file mode 100644 index 8dd9b32..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000061.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000062.bin b/jslinux-2019-12-21/root-x86/blk000000062.bin Binary files differdeleted file mode 100644 index 8dd9b32..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000062.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000063.bin b/jslinux-2019-12-21/root-x86/blk000000063.bin Binary files differdeleted file mode 100644 index 8dd9b32..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000063.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000064.bin b/jslinux-2019-12-21/root-x86/blk000000064.bin Binary files differdeleted file mode 100644 index f3577c9..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000064.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000065.bin b/jslinux-2019-12-21/root-x86/blk000000065.bin Binary files differdeleted file mode 100644 index 50d2b31..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000065.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000066.bin b/jslinux-2019-12-21/root-x86/blk000000066.bin Binary files differdeleted file mode 100644 index 188d2e6..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000066.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000067.bin b/jslinux-2019-12-21/root-x86/blk000000067.bin Binary files differdeleted file mode 100644 index ae605d8..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000067.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000068.bin b/jslinux-2019-12-21/root-x86/blk000000068.bin Binary files differdeleted file mode 100644 index 39785a2..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000068.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000069.bin b/jslinux-2019-12-21/root-x86/blk000000069.bin Binary files differdeleted file mode 100644 index c31853c..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000069.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000070.bin b/jslinux-2019-12-21/root-x86/blk000000070.bin Binary files differdeleted file mode 100644 index f01bfbf..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000070.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000071.bin b/jslinux-2019-12-21/root-x86/blk000000071.bin Binary files differdeleted file mode 100644 index e6e9cba..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000071.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000072.bin b/jslinux-2019-12-21/root-x86/blk000000072.bin Binary files differdeleted file mode 100644 index 8dd9b32..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000072.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000073.bin b/jslinux-2019-12-21/root-x86/blk000000073.bin Binary files differdeleted file mode 100644 index 8dd9b32..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000073.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000074.bin b/jslinux-2019-12-21/root-x86/blk000000074.bin Binary files differdeleted file mode 100644 index 8dd9b32..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000074.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000075.bin b/jslinux-2019-12-21/root-x86/blk000000075.bin Binary files differdeleted file mode 100644 index 8dd9b32..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000075.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000076.bin b/jslinux-2019-12-21/root-x86/blk000000076.bin Binary files differdeleted file mode 100644 index 3f4e16c..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000076.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000077.bin b/jslinux-2019-12-21/root-x86/blk000000077.bin Binary files differdeleted file mode 100644 index 3449fb9..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000077.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000078.bin b/jslinux-2019-12-21/root-x86/blk000000078.bin Binary files differdeleted file mode 100644 index 66a4f35..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000078.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000079.bin b/jslinux-2019-12-21/root-x86/blk000000079.bin Binary files differdeleted file mode 100644 index 2822aec..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000079.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000080.bin b/jslinux-2019-12-21/root-x86/blk000000080.bin Binary files differdeleted file mode 100644 index 5381d8f..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000080.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000081.bin b/jslinux-2019-12-21/root-x86/blk000000081.bin Binary files differdeleted file mode 100644 index 61e96a3..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000081.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000082.bin b/jslinux-2019-12-21/root-x86/blk000000082.bin Binary files differdeleted file mode 100644 index 855a4cb..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000082.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000083.bin b/jslinux-2019-12-21/root-x86/blk000000083.bin Binary files differdeleted file mode 100644 index 58e79c3..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000083.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000084.bin b/jslinux-2019-12-21/root-x86/blk000000084.bin Binary files differdeleted file mode 100644 index 8dd9b32..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000084.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000085.bin b/jslinux-2019-12-21/root-x86/blk000000085.bin Binary files differdeleted file mode 100644 index 41ce963..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000085.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000086.bin b/jslinux-2019-12-21/root-x86/blk000000086.bin Binary files differdeleted file mode 100644 index 8536003..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000086.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000087.bin b/jslinux-2019-12-21/root-x86/blk000000087.bin Binary files differdeleted file mode 100644 index 5e753bc..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000087.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000088.bin b/jslinux-2019-12-21/root-x86/blk000000088.bin Binary files differdeleted file mode 100644 index f0a23d9..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000088.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000089.bin b/jslinux-2019-12-21/root-x86/blk000000089.bin Binary files differdeleted file mode 100644 index 8dd9b32..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000089.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000090.bin b/jslinux-2019-12-21/root-x86/blk000000090.bin Binary files differdeleted file mode 100644 index 8dd9b32..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000090.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000091.bin b/jslinux-2019-12-21/root-x86/blk000000091.bin Binary files differdeleted file mode 100644 index 8dd9b32..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000091.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000092.bin b/jslinux-2019-12-21/root-x86/blk000000092.bin Binary files differdeleted file mode 100644 index 8dd9b32..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000092.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000093.bin b/jslinux-2019-12-21/root-x86/blk000000093.bin Binary files differdeleted file mode 100644 index 8dd9b32..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000093.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000094.bin b/jslinux-2019-12-21/root-x86/blk000000094.bin Binary files differdeleted file mode 100644 index 8dd9b32..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000094.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000095.bin b/jslinux-2019-12-21/root-x86/blk000000095.bin Binary files differdeleted file mode 100644 index 8dd9b32..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000095.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000096.bin b/jslinux-2019-12-21/root-x86/blk000000096.bin Binary files differdeleted file mode 100644 index 39d064f..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000096.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000097.bin b/jslinux-2019-12-21/root-x86/blk000000097.bin Binary files differdeleted file mode 100644 index 8dd9b32..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000097.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000098.bin b/jslinux-2019-12-21/root-x86/blk000000098.bin Binary files differdeleted file mode 100644 index 8dd9b32..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000098.bin +++ /dev/null diff --git a/jslinux-2019-12-21/root-x86/blk000000099.bin b/jslinux-2019-12-21/root-x86/blk000000099.bin Binary files differdeleted file mode 100644 index 8dd9b32..0000000 --- a/jslinux-2019-12-21/root-x86/blk000000099.bin +++ /dev/null @@ -5,5 +5,60 @@ Which itself is dumped from: https://archive.org/details/utah_unix_v4_raw Also includes jslinux for running the image from a browser. -This a hacky and messy repo put together in just a few hours to let people -play around with Unix v4 in their web browser. +This a bit hacky repo put together a few hours to let people play around with +Unix v4 in their web browser. + +## Building it yourself: + +podman or docker on Linux x86 or amd64 is ideal. + +``` +$ sh ./build.sh +``` + +This will: + + * Pull down simh from github + * create an alpine linux container, build simh, and strip down the deps + * export the container to a tarball + * create a disk image and setup a filesystem on a loopback device ( requires + `kpartx` ) + +From there to load the disk image into the jslinux emulator you will need +the `splitimg` utility, a binary is checked in if you're on a recent Linux +machine, or compile it from the incuded sources: + +``` +$ cd jslinux-2019-12-21/ +$ cp ../disk.img ./ +$ ./splitimg root-x86.bin root-x86 4096 +``` + +The `jslinux-2019-12-21` directory can then be copied to any plain HTTP server. + +## Running UnixV4 locally + +The `build.sh` script dumps out a statically linked `pdp11` simulator from +the tarball, it should work on most x86 Linux machines, if you don't wish +to build the image simply run the build script with the `-bin-only` flag, +i.e. + +``` +$ ./build.sh -bin-only +``` + +From there you can run the `pdp11` binary from the local directory: + +``` +$ ./pdp11 boot.ini +``` + + +### Building simh on other architectures + +Removing the `--platform` flag from the `build.sh` and `-march=i386` +from the `Containerfile` should suffice assuming there's an upstream +Alpine Linux container for your architecture. + +Note, this will not work with JSLinux. Though, you could in theory +build for riscv and tweak the html to load that emulator instead. |
