Skip to content

Commit 3a03dce

Browse files
committed
release: combine 128 and 48 zip files
We'll now only distribute the 128kb zip file, which contains the install script and the Specasm binary for the 48kb machine as well as for the 128kb Sectrum. The user will need to run the appropriate install script to install the version that best suits their machine, INST48.BAS for the 48kb machine and INST128.BAS for the Spectrum 128. We remove the release creation code for the 48kb Spectrum. Signed-off-by: Mark Ryan <markusdryan@gmail.com>
1 parent 2d1fd29 commit 3a03dce

File tree

5 files changed

+13
-21
lines changed

5 files changed

+13
-21
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,22 @@
11
# Specasm
22

3-
Specasm is a Z80 assembler designed to run on the 48k and 128k ZX Spectrum and the ZX Spectrum Next. It requires an SD card solution running ESXDOS 0.87 or greater to function on the 48Kb and 128Kb ZX Spectrum. For detailed information about how Specasm works, please see the [documentation](https://github.com/markdryan/specasm/blob/master/docs/specasm.md). To get started, carry on reading.
3+
Specasm is a Z80 assembler designed to run on the 48k and 128k ZX Spectrums and the ZX Spectrum Next. It requires an SD card solution running ESXDOS 0.87 or greater to function on the 48Kb and 128Kb ZX Spectrum. For detailed information about how Specasm works, please see the [documentation](https://github.com/markdryan/specasm/blob/master/docs/specasm.md). To get started, carry on reading.
44

55
## Getting Started
66

77
[Download](https://github.com/markdryan/specasm/releases) the latest release of Specasm appropriate for your Spectrum and unzip the contents of the file into the root directory of your SD card.
88

99
> [!TIP]
10-
> There are three different Zip files available, specasm48.zip for the 48kb, specasm128.zip for the 128kb Spectrum, and specasmnext.zip for the ZX Spectrum Next. You must download the appropriate version for your machine.
10+
> There are two different Zip files available, specasm.zip for the 48kb and 128kb Spectrums, and specasmnext.zip for the ZX Spectrum Next. The specasm.zip file contains separate binaries and install scripts for both the 48kb and 128kb versions. You must download the appropriate version for your machine.
1111
12-
You should now have a folder in your root directory called SPECASM. It should look something like this if you downloaded specasm48.zip
12+
You should now have a folder in your root directory called SPECASM. It should look something like this if you downloaded specasm.zip
1313

1414
![Installing](/docs/install.png)
1515

16-
Now navigate to the INSTALL.BAS file, which is a BASIC program, and press **ENTER** to execute it. On the 48kb or 128kb Spectrum this will use ESXDOS's **.launcher** command to set up some command line short cuts for the tap files in the SPECASM directory. It will also copy some executables to the /bin folder. On the ZX Spectrum Next it will copy the various executable programs that compose Specasm to the /dot folder.
16+
To install Specasm you need to run a short BASIC program. Run INST48.BAS when installing on a 48kb Spectrum, INST128.BAS when installing on a 128kb Spectrum and INSTALL.BAS when running on the Next. Navigate to the appropriate install file and press **ENTER** to execute it. On the 48kb or 128kb Spectrum this will use ESXDOS's **.launcher** command to set up some command line short cuts for the tap files in the SPECASM directory. It will also copy some executables to the /bin folder. On the ZX Spectrum Next it will copy the various executable programs that compose Specasm to the /dot folder.
17+
18+
> [!TIP]
19+
> Note on previous releases of Specasm, there were separate zip files just for the 48kb and the 128kb Spectrums and users ran a BASIC script called INSTALL.BAS to install Specasm on these machines. From release v11 onwards, the zip files for the 48kb and 128kb Spectrums have been combined and you must run INST48.BAS or INST128.BAS to install the correct version. If you run the wrong install program by mistake just run REMOVE.BAS to uninstall Specasm and then execute the correct installer.
1720
1821
## Reinstalling Specasm
1922

bas/128/INST128.BAS

1.1 KB
Binary file not shown.
File renamed without changes.

build/128/specasm/Makefile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ specasm.tap: specasm_bare.tap sald128/sald128
9494
z88dk-appmake +zx -b specasm_bare_BANK_6.bin -o bank6.tap --org 49152 --noloader
9595
z88dk-appmake +zx -b specasm_bare_BANK_3.bin -o bank3.tap --org 49152 --noloader
9696
z88dk-appmake +zx -b sald128/sald128 -o sald128.tap --org 32768 --noloader
97-
cat ../../../bas/128/specld.tap sald128.tap bank0.tap bank4.tap bank6.tap bank3.tap specasm_bare.tap > specasm.tap
97+
cat ../../../bas/128/specld.tap sald128.tap bank0.tap bank4.tap bank6.tap bank3.tap specasm_bare.tap > sa128.tap
9898

9999
clean:
100100
- rm -rf specasm *.zip -rf unitzx sald128
@@ -104,13 +104,15 @@ clean:
104104
release:
105105
- rm -rf release
106106
mkdir -p release/specasm
107-
cp specasm.tap release/specasm
107+
cp sa128.tap release/specasm
108108
cp ../../48/specasm/salink.tap release/specasm
109+
cp ../../48/specasm/specasm.tap release/specasm
109110
cp ../../48/specasm/SAMAC_CODE.bin release/specasm/SAMAC
110111
cp ../../../COPYING release/specasm
111112
sed 's/```//g' ../../../docs/specasm.md > release/specasm/specasm.txt
112113
cp ../../48/specasm/SAMAKE ../../48/specasm/SAIMPORT ../../48/specasm/SAEXPORT ../../48/specasm/*.X release/specasm
113-
cp ../../../bas/48/INSTALL.BAS release/specasm
114+
cp ../../../bas/128/INST128.BAS release/specasm
115+
cp ../../../bas/48/INST48.BAS release/specasm
114116
cp ../../../bas/48/REMOVE.BAS release/specasm
115117
../../../buildlib.sh `realpath release` 128 specasm
116-
cd release && zip -r specasm128.zip specasm
118+
cd release && zip -r specasm.zip specasm

build/48/specasm/Makefile

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -118,16 +118,3 @@ clean:
118118
- rm -rf specasm *.zip -rf unitzx
119119
- rm *.X *.o *.bin *.tap SAIMPORT SAEXPORT SAMAKE SAMAC
120120

121-
.PHONY: release
122-
release:
123-
- rm -rf release
124-
mkdir -p release/specasm
125-
cp specasm.tap salink.tap release/specasm
126-
cp ../../../COPYING release/specasm
127-
sed 's/```//g' ../../../docs/specasm.md > release/specasm/specasm.txt
128-
cp SAMAKE SAIMPORT SAEXPORT *.X release/specasm
129-
cp SAMAC_CODE.bin release/specasm/SAMAC
130-
cp ../../../bas/48/INSTALL.BAS release/specasm
131-
cp ../../../bas/48/REMOVE.BAS release/specasm
132-
../../../buildlib.sh `realpath release` 48 specasm
133-
cd release && zip -r specasm48.zip specasm

0 commit comments

Comments
 (0)