From a4333c203c667e3f6550f67a38c998cccbe1d150 Mon Sep 17 00:00:00 2001 From: Philip Smart Date: Tue, 18 Apr 2023 08:25:01 +0100 Subject: [PATCH] Updates for FusionX --- asm/include/cpm_buildversion.asm | 2 +- asm/include/cpm_definitions.asm | 10 +++++++++- asm/include/tzfs_definitions.asm | 4 ++-- hdr/cpm22_mz700_40c.hdr | Bin 0 -> 128 bytes roms/mz80afi.rom | Bin 2048 -> 2048 bytes roms/tzfs.rom | Bin 67072 -> 67072 bytes tools/assemble_cpm.sh | 3 ++- 7 files changed, 14 insertions(+), 5 deletions(-) create mode 100644 hdr/cpm22_mz700_40c.hdr diff --git a/asm/include/cpm_buildversion.asm b/asm/include/cpm_buildversion.asm index cdc5619..c28c4fb 100644 --- a/asm/include/cpm_buildversion.asm +++ b/asm/include/cpm_buildversion.asm @@ -1 +1 @@ -BUILD_VERSION EQU 2 +BUILD_VERSION EQU 3 diff --git a/asm/include/cpm_definitions.asm b/asm/include/cpm_definitions.asm index 6520679..5f39302 100644 --- a/asm/include/cpm_definitions.asm +++ b/asm/include/cpm_definitions.asm @@ -7,7 +7,7 @@ ;- Definitions for the Sharp MZ80A CPM v2.23 OS used in the RFS ;- ;- Credits: -;- Copyright: (c) 2019-21 Philip Smart +;- Copyright: (c) 2019-23 Philip Smart ;- ;- History: Jan 2020 - Initial version. ; May 2020 - Advent of the new RFS PCB v2.0, quite a few changes to accommodate the @@ -15,6 +15,7 @@ ; not using the printer interface card. ; May 2020 - Cut from the RFS version of CPM for the tranZPUter SW board. ;- Apr 2021 - Updates backported from the RFS version of CPM. +;- Mar 2023 - Updates to accommodate the FusionX. ;- ;-------------------------------------------------------------------------------------------------------- ;- This source file is free software: you can redistribute it and-or modify @@ -53,6 +54,13 @@ BUILD_80C EQU 1 ; Build BUILD_VIDEOMODULE EQU 0 ; Build for the Video Module v2 board (=1) otherwise build for the 80Char Colour Board v1.0 BUILD_MZ80A EQU 1 ; Build for the Sharp MZ-80A base hardware. BUILD_MZ700 EQU 0 ; Build for the Sharp MZ-700 base hardware. +BUILD_80C EQU 0 ; Build for an 80 column (Video Module or 40/80 Colour Card) equipped machine, 0 = standard 40 column. + ENDIF + ; CPM for MZ-700 with with standard 40 column display. + IF BUILD_VERSION = 3 +BUILD_VIDEOMODULE EQU 0 ; Build for the Video Module v2 board (=1) otherwise build for the 80Char Colour Board v1.0 +BUILD_MZ80A EQU 0 ; Build for the Sharp MZ-80A base hardware. +BUILD_MZ700 EQU 1 ; Build for the Sharp MZ-700 base hardware. BUILD_80C EQU 0 ; Build for an 80 column (Video Module or 40/80 Colour Card) equipped machine, 0 = standard 40 column. ENDIF diff --git a/asm/include/tzfs_definitions.asm b/asm/include/tzfs_definitions.asm index 6390f17..c7af141 100644 --- a/asm/include/tzfs_definitions.asm +++ b/asm/include/tzfs_definitions.asm @@ -34,8 +34,8 @@ ;----------------------------------------------- ; Features. ;----------------------------------------------- -BUILD_MZ80A EQU 1 ; Build for the standard Sharp MZ80A, no lower memory. -BUILD_MZ700 EQU 0 ; Build for the Sharp MZ-700 base hardware. +BUILD_MZ80A EQU 0 ; Build for the standard Sharp MZ80A, no lower memory. +BUILD_MZ700 EQU 1 ; Build for the Sharp MZ-700 base hardware. BUILD_MZ2000 EQU 0 ; Build for the Sharp MZ-2000 base hardware. BUILD_FUSIONX EQU 1 ; Build for the set host using the FusionX board. diff --git a/hdr/cpm22_mz700_40c.hdr b/hdr/cpm22_mz700_40c.hdr new file mode 100644 index 0000000000000000000000000000000000000000..1d77d5f7c5bd7c973168e0170888eba93bb67e09 GIT binary patch literal 128 scmez49N=qYWUSyDrE6|rplf2l%OJ*Zi$lIVc?dTr~eZei8Z}RHOMu!=#d}C)}wCatWozdzyc7;Z3-q=+bt$lOS zE)p)|1d=I2$e4g+R6%-FK{5d#nE;TU&u71V5@TU(U{L%ZaCZLYMD6R0jPo~J>K?xV E0P!w57XSbN delta 125 zcmZqZVQJ`L*>IVcZSfxoeZfhaZ}RHOM(Z1`d}AkPwCatWqS5L%c6LT<-q<-At$lOS z&JZr6j3%Q1k`V^!5eCU