From 99265f03d1bfddc9d681da8f444865d6d688620c Mon Sep 17 00:00:00 2001 From: Mark Pruden Date: Fri, 18 Oct 2024 11:45:39 +1100 Subject: [PATCH] QPM Copy SYS Files to the Binary Distribution Folder --- Binary/Clean.cmd | 1 + Binary/Makefile | 2 +- Binary/QPM/Clean.cmd | 4 ++++ Binary/QPM/Makefile | 7 +++++++ Binary/QPM/ReadMe.txt | 21 +++++++++++++++++++++ Binary/ReadMe.txt | 4 ++-- Source/QPM/Build.cmd | 4 ++++ Source/QPM/Makefile | 8 +++++--- 8 files changed, 45 insertions(+), 6 deletions(-) create mode 100644 Binary/QPM/Clean.cmd create mode 100644 Binary/QPM/Makefile create mode 100644 Binary/QPM/ReadMe.txt diff --git a/Binary/Clean.cmd b/Binary/Clean.cmd index 0effb36c..110393d5 100644 --- a/Binary/Clean.cmd +++ b/Binary/Clean.cmd @@ -14,6 +14,7 @@ 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 QPM && 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 839e62dd..2d8595c3 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 ZSDOS ZPM3 CPNET +SUBDIRS = Apps CPM22 CPM3 QPM ZSDOS ZPM3 CPNET include $(TOOLS)/Makefile.inc diff --git a/Binary/QPM/Clean.cmd b/Binary/QPM/Clean.cmd new file mode 100644 index 00000000..1534a178 --- /dev/null +++ b/Binary/QPM/Clean.cmd @@ -0,0 +1,4 @@ +@echo off +setlocal + +if exist *.sys del *.sys diff --git a/Binary/QPM/Makefile b/Binary/QPM/Makefile new file mode 100644 index 00000000..3f7ea93b --- /dev/null +++ b/Binary/QPM/Makefile @@ -0,0 +1,7 @@ +TOOLS = ../../Tools +MOREDIFF := $(shell $(TOOLS)/unix/casefn.sh *.spr) + +include $(TOOLS)/Makefile.inc + +clean:: + @rm -f *.sys *.bin diff --git a/Binary/QPM/ReadMe.txt b/Binary/QPM/ReadMe.txt new file mode 100644 index 00000000..8386b13f --- /dev/null +++ b/Binary/QPM/ReadMe.txt @@ -0,0 +1,21 @@ +*********************************************************************** +*** *** +*** R o m W B W *** +*** *** +*** Z80/Z180 System Software *** +*** *** +*********************************************************************** + +This directory contains the QPM 2.7 system files for the RomWBW QPM 2.7 +adaptation. All of these files are already included on the QPM +boot disk images. However if you are creating a QPM 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. +Refer to the QPM Documentation for installing QPM + +These files should also be copied to any QPM 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/Binary/ReadMe.txt b/Binary/ReadMe.txt index 0858424f..bdd7f0cd 100644 --- a/Binary/ReadMe.txt +++ b/Binary/ReadMe.txt @@ -180,8 +180,8 @@ This directory contains the CP/NET client packages. Please refer to the RomWBW User Guide for instructions on installing these packages, or see the Readme.txt file in this sub-directory -CPM22 CPM3 ZSDOS ZPM3 Directories ---------------------------------- +CPM22 CPM3 ZSDOS ZPM3 QPM Directories +------------------------------------- These directories contains the system files for the RomWBW adaptations for each operating system. All of these files are already included on diff --git a/Source/QPM/Build.cmd b/Source/QPM/Build.cmd index c8a3955c..06fbe9d9 100644 --- a/Source/QPM/Build.cmd +++ b/Source/QPM/Build.cmd @@ -17,4 +17,8 @@ copy /b qcp27.dat + qdos27.dat + ..\cbios\cbios_una.bin qpm_una.bin || exit /b copy /b loader.bin + qpm_wbw.bin qpm_wbw.sys || exit /b copy /b loader.bin + qpm_una.bin qpm_una.sys || exit /b +rem Copy OS files to Binary directory +copy qpm_wbw.sys ..\..\Binary\QPM || exit /b +copy qpm_una.sys ..\..\Binary\QPM || exit /b + goto :eof diff --git a/Source/QPM/Makefile b/Source/QPM/Makefile index 30c414eb..d951500e 100644 --- a/Source/QPM/Makefile +++ b/Source/QPM/Makefile @@ -2,14 +2,16 @@ SYSFILES = qpm_wbw.sys qpm_una.sys BINFILES = qpm_wbw.bin qpm_una.bin OBJECTS = loader.bin $(SYSFILES) $(BINFILES) OTHERS = *.hex +NOCOPY = qpm_wbw.bin qpm_una.bin loader.bin loader.lst +DEST = ../../Binary/QPM TOOLS = ../../Tools include $(TOOLS)/Makefile.inc -%.sys: %.bin loader.bin - cat loader.bin $*.bin > $@ +%.sys: %.bin loader.bin + cat loader.bin $*.bin > $@ qpm_una.bin: qcp27.dat qdos27.dat ../CBIOS/cbios_una.bin cat qcp27.dat qdos27.dat ../CBIOS/cbios_una.bin > $@ - + qpm_wbw.bin: qcp27.dat qdos27.dat ../CBIOS/cbios_wbw.bin cat qcp27.dat qdos27.dat ../CBIOS/cbios_wbw.bin > $@