mirror of https://github.com/wwarthen/RomWBW.git
Browse Source
ZRC CF image prefix is now created dynamically and imbeds ROM image from current build.pull/173/head
10 changed files with 57 additions and 4 deletions
@ -0,0 +1,4 @@ |
|||
@echo off |
|||
setlocal |
|||
|
|||
setlocal & cd ZRC && call Build || exit /b 1 & endlocal |
|||
Binary file not shown.
@ -0,0 +1,13 @@ |
|||
@echo off |
|||
setlocal |
|||
|
|||
if not exist ..\..\Binary\RCZ80_zrc.rom goto :err |
|||
|
|||
copy /b zrc_cfldr.bin + zrc_ptbl.bin + zrc_fill_1.bin + zrc_mon.bin + zrc_fill_2.bin + ..\..\Binary\RCZ80_zrc.rom + zrc_fill_3.bin ..\..\Binary\hd1024_zrc_prefix.dat |
|||
|
|||
goto :eof |
|||
|
|||
:err |
|||
|
|||
echo *** Can't build ZRC prefix file -- missing "..\..\Binary\RCZ80_zrc.rom" |
|||
exit /b 1 |
|||
@ -0,0 +1,3 @@ |
|||
@echo off |
|||
setlocal |
|||
|
|||
@ -0,0 +1,19 @@ |
|||
HD1024ZRCPREFIX = hd1024_zrc_prefix.dat |
|||
ZRCROM = ../../Binary/RCZ80_zrc.rom |
|||
|
|||
OBJECTS := |
|||
|
|||
ifneq ($(wildcard $(ZRCROM)),) |
|||
OBJECTS += $(HD1024ZRCPREFIX) |
|||
endif |
|||
|
|||
DEST=../../Binary |
|||
|
|||
TOOLS = ../../Tools |
|||
|
|||
include $(TOOLS)/Makefile.inc |
|||
|
|||
DIFFPATH = $(DIFFTO)/Binary |
|||
|
|||
$(HD1024ZRCPREFIX): |
|||
cat zrc_cfldr.bin zrc_ptbl.bin zrc_fill_1.bin zrc_mon.bin zrc_fill_2.bin $(ZRCROM) zrc_fill_3.bin >$@ |
|||
@ -0,0 +1,16 @@ |
|||
CF Boot Loader: Sector 0 (bytes 0-255) |
|||
RomWBW Partition Table: Sector 0 (bytes 256-511) |
|||
ZRC Monitor: Sectors 0xF8-0xFF (bytes 0x1F000-0x1FFFF) |
|||
RomWBW: Sectors 0x120-0x51F (bytes 0x24000-0xA3FFF) |
|||
Start of Slices (0x1E partition): Sector 0x800 (byte 0x100000) |
|||
|
|||
Start Length Description |
|||
------- ------- --------------------------- |
|||
0x00000 0x00100 CF Boot Loader |
|||
0x00100 0x00100 RomWBW Partition Table |
|||
0x00200 0x1EE00 Filler |
|||
0x1F000 0x01000 ZRC Monitor |
|||
0x20000 0x04000 Filler |
|||
0x24000 0x80000 RomWBW |
|||
0xA4000 0x5C000 Filler |
|||
0x100000: Start of slices (partition 0x1E) |
|||
Loading…
Reference in new issue