From b3b4426a4669e7c59b19e505cf1964f0d6d1709d Mon Sep 17 00:00:00 2001 From: Mark Pruden Date: Fri, 18 Oct 2024 10:42:38 +1100 Subject: [PATCH] Publish the ZSDOS .SYS Binary Files in a new Binary/ZSDOS folder --- Binary/Clean.cmd | 1 + Binary/Makefile | 2 +- Binary/ZSDOS/Clean.cmd | 4 ++++ Binary/ZSDOS/Makefile | 7 +++++++ Binary/ZSDOS/ReadMe.txt | 23 +++++++++++++++++++++++ Source/ZSDOS/Build.cmd | 4 ++++ Source/ZSDOS/Makefile | 8 +++++--- 7 files changed, 45 insertions(+), 4 deletions(-) create mode 100644 Binary/ZSDOS/Clean.cmd create mode 100644 Binary/ZSDOS/Makefile create mode 100644 Binary/ZSDOS/ReadMe.txt diff --git a/Binary/Clean.cmd b/Binary/Clean.cmd index 9201a750..0effb36c 100644 --- a/Binary/Clean.cmd +++ b/Binary/Clean.cmd @@ -14,5 +14,6 @@ if exist *.eeprom del *.eeprom pushd Apps && call Clean || exit /b 1 & popd pushd CPM22 && call Clean || exit /b 1 & popd pushd CPM3 && call Clean || exit /b 1 & popd +pushd ZSDOS && call Clean || exit /b 1 & popd pushd ZPM3 && call Clean || exit /b 1 & popd pushd CPNET && call Clean || exit /b 1 & popd diff --git a/Binary/Makefile b/Binary/Makefile index 21b3864d..839e62dd 100644 --- a/Binary/Makefile +++ b/Binary/Makefile @@ -1,6 +1,6 @@ TOOLS = ../Tools MOREDIFF := $(shell $(TOOLS)/unix/casefn.sh *.img *.rom *.com *.eeprom) -SUBDIRS = Apps CPM22 CPM3 ZPM3 CPNET +SUBDIRS = Apps CPM22 CPM3 ZSDOS ZPM3 CPNET include $(TOOLS)/Makefile.inc diff --git a/Binary/ZSDOS/Clean.cmd b/Binary/ZSDOS/Clean.cmd new file mode 100644 index 00000000..1534a178 --- /dev/null +++ b/Binary/ZSDOS/Clean.cmd @@ -0,0 +1,4 @@ +@echo off +setlocal + +if exist *.sys del *.sys diff --git a/Binary/ZSDOS/Makefile b/Binary/ZSDOS/Makefile new file mode 100644 index 00000000..e7fda1a3 --- /dev/null +++ b/Binary/ZSDOS/Makefile @@ -0,0 +1,7 @@ +TOOLS = ../../Tools +MOREDIFF := $(shell $(TOOLS)/unix/casefn.sh *.spr) + +include $(TOOLS)/Makefile.inc + +clean:: + @rm -f *.sys diff --git a/Binary/ZSDOS/ReadMe.txt b/Binary/ZSDOS/ReadMe.txt new file mode 100644 index 00000000..f43a12d4 --- /dev/null +++ b/Binary/ZSDOS/ReadMe.txt @@ -0,0 +1,23 @@ +*********************************************************************** +*** *** +*** R o m W B W *** +*** *** +*** Z80/Z180 System Software *** +*** *** +*********************************************************************** + +This directory contains the ZSDOS system files for the RomWBW ZSDOS +adaptation. All of these files are already included on the ZSDOS +boot disk images. However if you are creating a ZSDOS boot disk +manually, you should copy all of these files to the boot disk. + +Note: Two file have been provided one for RomWBW HBIOS, and one for UNA +BIOS. One of these files must be installed on the system boot track. +This is usually achieved by the SYSCOPY utility e.g. + +SYSCOPY a:=zsys_wbw.sys + +These files should also be copied to any ZSDOS boot disks on your +system when you upgrade your ROM firmware. Some of these files +*must* match the version of the RomWBW firmware you are using for +proper operation of your system. diff --git a/Source/ZSDOS/Build.cmd b/Source/ZSDOS/Build.cmd index 554a8dbb..def38fef 100644 --- a/Source/ZSDOS/Build.cmd +++ b/Source/ZSDOS/Build.cmd @@ -19,3 +19,7 @@ copy /b ..\zcpr-dj\zcpr.bin + zsdos.bin + ..\cbios\cbios_una.bin zsys_una.bin || copy /b loader.bin + zsys_wbw.bin zsys_wbw.sys || exit /b copy /b loader.bin + zsys_una.bin zsys_una.sys || exit /b + +rem Copy OS files to Binary directory +copy zsys_wbw.sys ..\..\Binary\ZSDOS || exit /b +copy zsys_una.sys ..\..\Binary\ZSDOS || exit /b diff --git a/Source/ZSDOS/Makefile b/Source/ZSDOS/Makefile index 55731ea4..a8c54f49 100644 --- a/Source/ZSDOS/Makefile +++ b/Source/ZSDOS/Makefile @@ -2,6 +2,8 @@ SYSFILES = zsys_wbw.sys zsys_una.sys BINFILES = zsys_wbw.bin zsys_una.bin OBJECTS = $(SYSFILES) $(BINFILES) OTHERS = zsdos.rel zsdos.err loader.bin zsdos.bin +NOCOPY = zsys_wbw.bin zsys_una.bin loader.* zsdos.* +DEST = ../../Binary/ZSDOS TOOLS = ../../Tools CCP = ../ZCPR-DJ/zcpr.bin @@ -13,9 +15,9 @@ zsdos.rel: zsdos.z80 zsdos.bin: zsdos.rel $(ZXCC) LINK -$@=$<[LD800] -%.sys: %.bin loader.bin - cat loader.bin $*.bin > $@ - +%.sys: %.bin loader.bin + cat loader.bin $*.bin > $@ + zsys_wbw.bin: $(CCP) zsdos.bin ../CBIOS/cbios_wbw.bin cat $(CCP) zsdos.bin ../CBIOS/cbios_wbw.bin > $@