From 6480b65e248e34a23b2f04c3d153484650a34e7a Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Sat, 6 Jan 2024 10:22:26 -0500 Subject: [PATCH] Target Dusk v1 --- .gitignore | 2 ++ .gitmodules | 3 --- Makefile | 15 ++++++++++----- duskos | 1 - files/SHA512 | 1 + 5 files changed, 13 insertions(+), 9 deletions(-) delete mode 160000 duskos create mode 100644 files/SHA512 diff --git a/.gitignore b/.gitignore index 30281ac..ac87140 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,5 @@ /emul/rc2014 /memdump /emul_*.sh +/files/*.tar.gz +/duskos diff --git a/.gitmodules b/.gitmodules index 25d0c39..e69de29 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +0,0 @@ -[submodule "duskos"] - path = duskos - url = https://git.sr.ht/~vdupras/duskos diff --git a/Makefile b/Makefile index 34574ba..a4b4680 100644 --- a/Makefile +++ b/Makefile @@ -1,20 +1,25 @@ CONF ?= mc6850 ROMNAME = rc2014_$(CONF).rom TARGETS = $(ROMNAME) emul_$(CONF).sh +DUSKURL = http://duskos.org all: $(TARGETS) -duskos/README.md: - git submodule init - git submodule update +files/duskv1.tar.gz: + curl -o $@ $(DUSKURL)/$@ + +duskos: files/duskv1.tar.gz + cd files && cksum -c SHA512 + tar zxf files/duskv1.tar.gz + mv duskv1 duskos duskos/cos/extra.fs: rc2014.fs cp rc2014.fs $@ -fs: duskos/README.md +fs: duskos ln -sf duskos/fs . -posix: duskos/README.md +posix: duskos ln -sf duskos/posix . duskos/dusk: fs posix duskos/cos/extra.fs diff --git a/duskos b/duskos deleted file mode 160000 index da39543..0000000 --- a/duskos +++ /dev/null @@ -1 +0,0 @@ -Subproject commit da395436f9d098fbf5d4e8f8a1c02ef9c8e509fb diff --git a/files/SHA512 b/files/SHA512 new file mode 100644 index 0000000..c248467 --- /dev/null +++ b/files/SHA512 @@ -0,0 +1 @@ +SHA512 (duskv1.tar.gz) = 684210c9fbb8943fb7db82534345e625637876344236a479595108c3e398ffb90268e742408e4daaa37bc4c895dc93007cf3020d3a9b48b7caeed94eeb6d202c -- 2.45.2