6 Commits
5 changed files with 22 additions and 22 deletions

No files matched your search

+9 -10
View File
@@ -3,7 +3,7 @@
# My current workflow is to build this on an M1 MacBook for both amd64 and arm64 using: # My current workflow is to build this on an M1 MacBook for both amd64 and arm64 using:
# docker buildx build --platform linux/arm64/v8,linux/amd64 -t njmcphail/speccydev:tagname . # docker buildx build --platform linux/arm64/v8,linux/amd64 -t njmcphail/speccydev:tagname .
FROM ubuntu:24.04 AS build FROM ubuntu:26.04 AS build
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y --no-install-recommends \ && apt-get install -y --no-install-recommends \
autoconf \ autoconf \
@@ -16,7 +16,7 @@ RUN apt-get update \
unzip \ unzip \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
ADD https://github.com/z00m128/sjasmplus.git#v1.23.1 /sjasmplus ADD https://github.com/z00m128/sjasmplus.git#v1.24.0 /sjasmplus
RUN cd /sjasmplus && make -j8 && make install RUN cd /sjasmplus && make -j8 && make install
ADD https://boarstone.mcphail.uk/mcphail/spectrum_remload.git /ttttt ADD https://boarstone.mcphail.uk/mcphail/spectrum_remload.git /ttttt
RUN cd /ttttt && make ttttt RUN cd /ttttt && make ttttt
@@ -24,12 +24,11 @@ ADD https://github.com/einar-saukas/ZX0.git /zx0
RUN cd /zx0/src/ \ RUN cd /zx0/src/ \
&& gcc -O2 -o zx0 zx0.c optimize.c compress.c memory.c \ && gcc -O2 -o zx0 zx0.c optimize.c compress.c memory.c \
&& gcc -O2 -o dzx0 dzx0.c && gcc -O2 -o dzx0 dzx0.c
ADD https://www.boriel.com/files/zxb/zxbasic-1.18.7-linux64.tar.gz . ADD --unpack https://www.boriel.com/files/zxb/zxbasic-1.19.0-linux64.tar.gz .
RUN tar xf zxbasic*
ADD https://github.com/Mastodon-/inpaws.git /inpaws ADD https://github.com/Mastodon-/inpaws.git /inpaws
RUN cd /inpaws/ \ RUN cd /inpaws/ \
&& make -j8 && make -j8
RUN python3 -m pip install --break-system-packages skoolkit RUN python3 -m pip install --force-reinstall --break-system-packages skoolkit==10.2
ADD https://github.com/gasman/hdfmonkey.git /hdfmonkey ADD https://github.com/gasman/hdfmonkey.git /hdfmonkey
RUN cd /hdfmonkey/ \ RUN cd /hdfmonkey/ \
&& autoheader \ && autoheader \
@@ -39,17 +38,17 @@ RUN cd /hdfmonkey/ \
&& ./configure \ && ./configure \
&& make -j16 \ && make -j16 \
&& make install && make install
ADD https://github.com/pleumann/pasta80.git#v0.98 /opt/pasta80 ADD https://github.com/pleumann/pasta80.git#v0.99 /opt/pasta80
RUN cd /opt/pasta80 \ RUN cd /opt/pasta80 \
&& fpc pasta && fpc pasta
ADD --unpack https://www.seasip.info/ZX/taptools-1.1.3.tar.gz taptools/ ADD --unpack https://www.seasip.info/ZX/taptools-1.1.3.tar.gz taptools/
RUN cd taptools/taptools* \ RUN cd taptools/taptools* \
&& cp /usr/share/automake-1.16/config.guess . \ && cp /usr/share/automake-1.18/config.guess . \
&& ./configure \ && ./configure \
&& make -j8 \ && make -j8 \
&& make install && make install
FROM ubuntu:24.04 FROM ubuntu:26.04
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y --no-install-recommends \ && apt-get install -y --no-install-recommends \
ca-certificates \ ca-certificates \
@@ -76,7 +75,7 @@ COPY --from=build /zxbasic/src /opt/zxbasic/src
COPY --from=build /zxbasic/tools /opt/zxbasic/tools COPY --from=build /zxbasic/tools /opt/zxbasic/tools
COPY --from=build /inpaws/inpaws /bin/inpaws COPY --from=build /inpaws/inpaws /bin/inpaws
COPY --from=build /usr/local/bin/ /usr/local/bin/ COPY --from=build /usr/local/bin/ /usr/local/bin/
COPY --from=build /usr/local/lib/python3.12/dist-packages/skoolkit/ /usr/local/lib/python3.12/dist-packages/skoolkit/ COPY --from=build /usr/local/lib/python3.14/dist-packages/skoolkit/ /usr/local/lib/python3.14/dist-packages/skoolkit/
COPY --from=build /opt/pasta80 /opt/pasta80 COPY --from=build /opt/pasta80 /opt/pasta80
# z88dk takes a long time to cross compile so I'm keeping this in a separate container # z88dk takes a long time to cross compile so I'm keeping this in a separate container
@@ -84,7 +83,7 @@ COPY --from=build /opt/pasta80 /opt/pasta80
# is in a subdirectory of this one. If you're building the container yourself you may # is in a subdirectory of this one. If you're building the container yourself you may
# want to alter the next line to your own tagged build of z88dk but you're welcome to # want to alter the next line to your own tagged build of z88dk but you're welcome to
# use mine. # use mine.
COPY --from=njmcphail/z88dk:v2.4 /opt/z88dk/ /opt/z88dk/ COPY --from=njmcphail/z88dk:2.5 /opt/z88dk/ /opt/z88dk/
ENV PATH="${PATH}:/opt/z88dk/bin:/opt/zxbasic:/opt/zxbasic/tools:/opt/pasta80" ENV PATH="${PATH}:/opt/z88dk/bin:/opt/zxbasic:/opt/zxbasic/tools:/opt/pasta80"
ENV ZCCCFG="/opt/z88dk/lib/config" ENV ZCCCFG="/opt/z88dk/lib/config"
USER ubuntu USER ubuntu
+1 -1
View File
@@ -2,7 +2,7 @@
"name": "ZX Spectrum dev tools", "name": "ZX Spectrum dev tools",
//"build": { "dockerfile": "Dockerfile" }, //"build": { "dockerfile": "Dockerfile" },
// The Dockerfile takes an age to build due to z88dk, so pull from prebuilt: // The Dockerfile takes an age to build due to z88dk, so pull from prebuilt:
"image": "njmcphail/speccydev:v8.2", "image": "njmcphail/speccydev:v10.0",
"remoteUser": "ubuntu", "remoteUser": "ubuntu",
"runArgs": [ "runArgs": [
"--network=host" "--network=host"
+1 -1
View File
@@ -41,7 +41,7 @@ RUN apt-get update \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
ENV Z88DK_PATH="/opt/z88dk" ENV Z88DK_PATH="/opt/z88dk"
RUN cpanm -l $HOME/perl5 --no-wget local::lib Template::Plugin::YAML \ RUN cpanm -l $HOME/perl5 --no-wget local::lib Template::Plugin::YAML \
&& git clone --depth 1 --branch v2.4 --recursive https://github.com/z88dk/z88dk.git ${Z88DK_PATH} \ && git clone --depth 1 --branch v2.5 --recursive https://github.com/z88dk/z88dk.git ${Z88DK_PATH} \
&& cd ${Z88DK_PATH} \ && cd ${Z88DK_PATH} \
&& eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)" \ && eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)" \
&& chmod 777 build.sh \ && chmod 777 build.sh \
+1
View File
@@ -6,3 +6,4 @@
*.block *.block
*.zx0 *.zx0
*.bin *.bin
.DS_Store
+10 -10
View File
@@ -1,14 +1,14 @@
# Development tools for the ZX Spectrum v8.2 # Development tools for the ZX Spectrum v10.0
The Dockerfile is the basis of the devcontainer and can be changed to add or remove tools. It will take a long time to build locally, so by default the devcontainer will pull a prebuilt version. Edit `.devcontainer/devcontainer.json` if you would rather build your own. The Dockerfile is the basis of the devcontainer and can be changed to add or remove tools. It will take a long time to build locally, so by default the devcontainer will pull a prebuilt version. Edit `.devcontainer/devcontainer.json` if you would rather build your own.
The devcontainer contains: The devcontainer contains:
- pasmo version 0.5.3 (assembler) - pasmo version 0.5.3 (assembler)
- sjasmplus version 1.23.1 (assembler) - sjasmplus version 1.24.0 (assembler)
- z80asm version 1.8 (assembler) - z80asm version 1.8 (assembler)
- z80dasm version 1.1.6 (disassembler) - z80dasm version 1.1.6 (disassembler)
- zmakebas version 1.2b (creates BASIC programs) - zmakebas version 1.2b (creates BASIC programs)
- z88dk version 2.4 (C compiler and other utilities including assembler) - z88dk version 2.5 (C compiler and other utilities including assembler)
- utilities from the FUSE emulator version 1.4.3: - utilities from the FUSE emulator version 1.4.3:
- audio2tape - audio2tape
- createhdf - createhdf
@@ -29,14 +29,14 @@ The devcontainer contains:
- tzxlist - tzxlist
- zx0 (binary compressor) - zx0 (binary compressor)
- dzx0 (binary decompressor) - dzx0 (binary decompressor)
- ZX BASIC (aka Boriel BASIC) version 1.18.7 - ZX BASIC (aka Boriel BASIC) version 1.19.0
- zxbc (BASIC compiler) - zxbc (BASIC compiler)
- zxbasm (assembler) - zxbasm (assembler)
- zxbpp (preprocessor) - zxbpp (preprocessor)
- various tools including nextcreator.py to build .nex files - various tools including nextcreator.py to build .nex files
- ttttt (converts binaries into .tap blocks) - ttttt (converts binaries into .tap blocks)
- inpaws version 1.0.2 (interactive fiction compiler/extractor for Gilsoft's PAW) - inpaws version 1.0.2 (interactive fiction compiler/extractor for Gilsoft's PAW)
- skoolkit version 10.0 (tools for creating browseable disassemblies of Spectrum games) - skoolkit version 10.2 (tools for creating browseable disassemblies of Spectrum games)
- sna2ctl.py - sna2ctl.py
- sna2skool.py - sna2skool.py
- skool2html.py - skool2html.py
@@ -53,7 +53,7 @@ The devcontainer contains:
- bin2sna.py - bin2sna.py
- snapmod.py - snapmod.py
- sna2img.py - sna2img.py
- pasta80 version 0.98 (PASCAL compiler) - pasta80 version 0.99 (PASCAL compiler)
- hdfmonkey version 0.4 (for manipulating sdcard files for the Spectrum Next) - hdfmonkey version 0.4 (for manipulating sdcard files for the Spectrum Next)
- git (version control) - git (version control)
- make (build control) - make (build control)
@@ -75,13 +75,13 @@ Several useful VSCode extentsions will be installed, including a Z80 assembly la
Thanks to the many authors of these wonderful tools and extensions; to think what we could have made with these in 1985! Thanks to the many authors of these wonderful tools and extensions; to think what we could have made with these in 1985!
## Breaking changes from v7.x ## Breaking changes from v9.x
No breaking changes, but this version brings full support for Apple silicon which was not present in previous releases. There has been a new release of z88dk with many thousands of changes, including new compiler frontends and altered configuration syntax. Expect existing projects to break! This is a large release so please let me know in a GitHub issue if I have broken anything in my build.
## New additions from v8.1 ## New additions from v9.2
Minor version update for sjasmplus. New releases of z88dk and skoolkit.
## Install ## Install