From 263de80c6cf3d4e93a5d2b32b1f1cf66b7751670 Mon Sep 17 00:00:00 2001 From: curt mayer Date: Sat, 22 Feb 2020 21:47:02 -0800 Subject: [PATCH] added code to handle multiple platform rom builds with rom size override --- Source/HBIOS/Makefile | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Source/HBIOS/Makefile b/Source/HBIOS/Makefile index 537767af..91ea3acd 100644 --- a/Source/HBIOS/Makefile +++ b/Source/HBIOS/Makefile @@ -1,4 +1,4 @@ -OBJECTS = ZETA2_std.rom +OBJECTS = ZETA2_std.rom N8_std.rom MOREDIFF = camel80.bin game.bin hbios_rom.bin nascom.bin prefix.bin usrrom.bin \ dbgmon.bin hbios_app.bin imgpad0.bin osimg1.bin romldr.bin \ eastaegg.bin hbios_img.bin imgpad.bin osimg.bin tastybasic.bin \ @@ -11,8 +11,16 @@ OTHERS = *.bin *.z80 cpm.sys zsys.sys Build.inc include $(TOOLS)/Makefile.inc DIFFPATH = $(DIFFTO)/Binary -ZETA2_std.rom: - bash Build.sh ZETA2 std 512 + +ROMSIZE=512 + +N8_std.rom: ROMSIZE=1024 + +%.rom: + bash Build.sh $(shell echo $* | tr '_' ' ') $(ROMSIZE) + +#ZETA2_std.rom: +# bash Build.sh ZETA2 std 512 hbios_rom.bin: hbios.asm $(TASM) -dROMBOOT hbios.asm hbios_rom.bin