Browse Source

Fix Build

pull/173/head
Wayne Warthen 5 years ago
parent
commit
474a00f9e8
  1. 4
      Source/Images/Build.cmd
  2. 6
      Source/Images/Makefile
  3. 14
      Source/Images/ReadMe.txt
  4. BIN
      Source/Images/hd1024_prefix.dat

4
Source/Images/Build.cmd

@ -39,8 +39,8 @@ call BuildDisk.cmd ws4 wbw_hd1024
if exist ..\BPBIOS\bpbio-ww.rel call BuildDisk.cmd bp wbw_hd1024 if exist ..\BPBIOS\bpbio-ww.rel call BuildDisk.cmd bp wbw_hd1024
copy hd1024_prefix.bin ..\..\Binary\
copy hd1024_prefix.dat ..\..\Binary\
echo. echo.
echo Building Combo Disk (1024 directory entry format) Image... echo Building Combo Disk (1024 directory entry format) Image...
copy /b hd1024_prefix.bin + ..\..\Binary\hd1024_cpm22.img + ..\..\Binary\hd1024_zsdos.img + ..\..\Binary\hd1024_nzcom.img + ..\..\Binary\hd1024_cpm3.img + ..\..\Binary\hd1024_zpm3.img + ..\..\Binary\hd1024_ws4.img ..\..\Binary\hd1024_combo.img
copy /b hd1024_prefix.dat + ..\..\Binary\hd1024_cpm22.img + ..\..\Binary\hd1024_zsdos.img + ..\..\Binary\hd1024_nzcom.img + ..\..\Binary\hd1024_cpm3.img + ..\..\Binary\hd1024_zpm3.img + ..\..\Binary\hd1024_ws4.img ..\..\Binary\hd1024_combo.img

6
Source/Images/Makefile

@ -13,7 +13,7 @@ HD1024IMGS = hd1024_cpm22.img hd1024_zsdos.img hd1024_nzcom.img \
# HD1024IMGS += hd1024_bp.img # HD1024IMGS += hd1024_bp.img
HD512PREFIX = HD512PREFIX =
HD1024PREFIX = hd1024_prefix.bin
HD1024PREFIX = hd1024_prefix.dat
OBJECTS = $(FDIMGS) OBJECTS = $(FDIMGS)
OBJECTS += $(HD512IMGS) hd512_combo.img $(HD512PREFIX) OBJECTS += $(HD512IMGS) hd512_combo.img $(HD512PREFIX)
@ -65,10 +65,6 @@ blankhd1024:
@LC_ALL=en_US.US-ASCII tr '\000' '\345' </dev/zero | dd of=$@ bs=1024 count=$(HD1024SIZE) @LC_ALL=en_US.US-ASCII tr '\000' '\345' </dev/zero | dd of=$@ bs=1024 count=$(HD1024SIZE)
@hexdump $@ @hexdump $@
$(HD512PREFIX):
$(HD1024PREFIX):
%.img: $(SYSTEMS) blank144 blankhd512 blankhd1024 Makefile %.img: $(SYSTEMS) blank144 blankhd512 blankhd1024 Makefile
@sys= ; \ @sys= ; \
case $@ in \ case $@ in \

14
Source/Images/ReadMe.txt

@ -76,7 +76,7 @@ in your RomWBW computer. On Windows, you can use Win32DiskImager to
do this (see Tools\Win32DiskImager). On Linux/Mac, you can usee dd. do this (see Tools\Win32DiskImager). On Linux/Mac, you can usee dd.
WARNING: The hd1024 disk images must be prefixed by the WARNING: The hd1024 disk images must be prefixed by the
hd1024_prefix.bin file before being written to your target media.
hd1024_prefix.dat file before being written to your target media.
See the section below called Hard Disk Formats. See the section below called Hard Disk Formats.
Building the Images Building the Images
@ -182,19 +182,19 @@ all slices and will assume the slices are located in the defined
partition. partition.
WARNNG: The hd1024_xxx.img files **must** be prefixed by a partition WARNNG: The hd1024_xxx.img files **must** be prefixed by a partition
table before being written to your disk media. The hd1024_prefix.bin
table before being written to your disk media. The hd1024_prefix.dat
file is provided for this. For example, to make the hd1024_cpm22.img file is provided for this. For example, to make the hd1024_cpm22.img
file ready to write to your media, you would need to do something file ready to write to your media, you would need to do something
like this: like this:
| C:\RomWBW\Binary>copy /b hd1024_prefix.bin + hd1024_cpm22.img hd_cpm22.img
| C:\RomWBW\Binary>copy /b hd1024_prefix.dat + hd1024_cpm22.img hd_cpm22.img
and then use the resulting hd_cpm22.img to write to the target media. and then use the resulting hd_cpm22.img to write to the target media.
Since the hd1024 format requires a partition table, you must prefix Since the hd1024 format requires a partition table, you must prefix
the slices with a partition table. You can simply include the file the slices with a partition table. You can simply include the file
hd1024_prefix.bin before the slice images to accomplish this. The
hd1024_prefix.bin defines the required partition table. Any number
hd1024_prefix.dat before the slice images to accomplish this. The
hd1024_prefix.dat defines the required partition table. Any number
of hd1024 slice images can be concatenated after the prefix. of hd1024 slice images can be concatenated after the prefix.
For example, if you wanted to create a 2 slice disk image using the For example, if you wanted to create a 2 slice disk image using the
@ -202,7 +202,7 @@ hd1024 entry format that has ZSDOS in the first slice and Wordstar in
the second slice, you could use the following command from a Windows the second slice, you could use the following command from a Windows
command prompt: command prompt:
| C:\RomWBW\Binary>copy /b hd1024_prefix.bin + hd1024_zsdos.img + hd1024_ws4.img hd_multi.img
| C:\RomWBW\Binary>copy /b hd1024_prefix.dat + hd1024_zsdos.img + hd1024_ws4.img hd_multi.img
In general, the hd1024 format is considered the better format to use. In general, the hd1024 format is considered the better format to use.
It provides doubles the directory space and places all slices inside It provides doubles the directory space and places all slices inside
@ -498,7 +498,7 @@ Moving image hd1024_ws4.img into output directory...
1 file(s) copied. 1 file(s) copied.
Building Combo Disk (1024 directory entry format) Image... Building Combo Disk (1024 directory entry format) Image...
hd1024_prefix.bin
hd1024_prefix.dat
..\..\Binary\hd1024_cpm22.img ..\..\Binary\hd1024_cpm22.img
..\..\Binary\hd1024_zsdos.img ..\..\Binary\hd1024_zsdos.img
..\..\Binary\hd1024_nzcom.img ..\..\Binary\hd1024_nzcom.img

BIN
Source/Images/hd1024_prefix.dat

Binary file not shown.
Loading…
Cancel
Save