Browse Source

Build Script Cleanups

pull/109/head
Wayne Warthen 6 years ago
parent
commit
1bdf833e2c
  1. 4
      Source/HBIOS/Build.ps1
  2. 4
      Source/HBIOS/MakeBlankROM.ps1
  3. 5
      Source/HBIOS/Makefile
  4. 1
      Source/HBIOS/blank1024KB.dat
  5. 1
      Source/HBIOS/blank512KB.dat

4
Source/HBIOS/Build.ps1

@ -201,8 +201,8 @@ if ($Platform -ne "UNA")
"Building ${RomSize}KB ${RomName} ROM disk data file..."
# Use the blank ROM disk image to create a working ROM disk image
Copy-Item $BlankROM $RomDiskFile
# Create a blank ROM disk image to create a working ROM disk image
Set-Content -Value ([byte[]](0xE5) * (([int]${RomSize} * 1KB) - 128KB)) -Encoding byte -Path $RomDiskFile
# Copy all files from the appropriate directory to the working ROM disk image
cpmcp -f $RomFmt $RomDiskFile ../RomDsk/ROM_${RomSize}KB/*.* 0:

4
Source/HBIOS/MakeBlankROM.ps1

@ -1,4 +0,0 @@
# Create a "blank" rom disk image, filled with hex E5
#
Set-Content -Value ([byte[]](0xE5) * (512KB - 128KB)) -Encoding byte -Path 'Blank512KB.dat'
Set-Content -Value ([byte[]](0xE5) * (1MB - 128KB)) -Encoding byte -Path 'Blank1024KB.dat'

5
Source/HBIOS/Makefile

@ -31,7 +31,7 @@ MOREDIFF = camel80.bin game.bin hbios_rom.bin nascom.bin prefix.bin usrrom.bin \
SUBDIRS =
DEST = ../../Binary
TOOLS =../../Tools
OTHERS = *.img *.rom *.com *.bin *.z80 cpm.sys zsys.sys Build.inc RomDisk.tmp font*.asm
OTHERS = *.img *.rom *.com *.bin *.z80 cpm.sys zsys.sys Build.inc RomDisk.tmp font*.asm *.dat
include $(TOOLS)/Makefile.inc
ifeq ($(DIFFMAKE),1)
@ -48,9 +48,6 @@ N8_std.rom: ROMSIZE=512
%.rom:
bash Build.sh $(DIFFBUILD) $(shell echo $* | sed 's/_/ /') $(ROMSIZE)
#ZETA2_std.rom:
# bash Build.sh ZETA2 std 512
hbios_rom.bin: hbios.asm build.inc
$(TASM) -dROMBOOT hbios.asm hbios_rom.bin hbios_rom.lst

1
Source/HBIOS/blank1024KB.dat

File diff suppressed because one or more lines are too long

1
Source/HBIOS/blank512KB.dat

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save