mirror of https://github.com/zxdos/zxuno.git
67 lines
3.5 KiB
Batchfile
67 lines
3.5 KiB
Batchfile
echo define version %1 > version.asm
|
|
call make.bat
|
|
Bit2Bin ..\cores\Spectrum\zxuno.%2.bit tmp.bin
|
|
fpad 2000 00 tmp0.bin
|
|
fpad 4c000 00 tmp1.bin
|
|
fpad 354000 00 tmp2.bin
|
|
copy /b /y header.bin+rom_binaries\esxdos.rom+tmp0.bin+firmware.rom+tmp1.bin+tmp.bin+tmp2.bin FLASH.ZX1
|
|
fpoke FLASH.ZX1 007000 000040xFF 007044 g0203020202
|
|
fcut tmp.bin 0 53f00 sd_binaries\SPECTRUM.%3
|
|
GenRom 0 203 0 0 0 Machine tmp.bin core_taps\SPECTRUM.TAP
|
|
rem CgLeches core_taps\SPECTRUM.TAP core_wavs\SPECTRUM.WAV 4
|
|
call :CreateMachine CORE2 "Sam Coupe" SamCoupe\tld_sam.%2.bit 0 %3
|
|
call :CreateMachine CORE3 "Jupiter ACE" JupiterAce\jupiter_ace.%2.bit JupiterAce\jupiter_ace.v2_v3.bit %3
|
|
call :CreateMachine CORE4 "Master System" MasterSystem\sms_rgb.%2.bit 0 %3
|
|
call :CreateMachine CORE5 "Oric Atmos" Oric\build\oric.%3.bit Oric\build\oric.v2_v3.bit %3
|
|
call :CreateMachine CORE6 "BBC Micro" BBCMicro\working\bbc_micro.%2.bit 0 %3
|
|
call :CreateMachine CORE7 "Apple 2 (VGA)" Apple2\build\Apple2.%2.bit 0 %3
|
|
call :CreateMachine CORE8 "Acorn Atom (VGA)" AcornAtom\AcornAtom.%2.bit 0 %3
|
|
call :CreateMachine CORE9 "NES (VGA)" NES\xilinx\nes_zxuno.%2.bit 0 %3
|
|
copy /y rom_binaries\esxdos.rom sd_binaries\ESXDOS.%3
|
|
copy /y firmware.rom sd_binaries\FIRMWARE.%3
|
|
GenRom 0 202 0 0 0 BIOS firmware.rom core_taps\FIRMWARE.TAP
|
|
GenRom 0 0 0 0 0 ESXDOS rom_binaries\esxdos.rom core_taps\ESXDOS.TAP
|
|
call :CreateRom 0 "ZX Spectrum 48K Cargando Leches" leches dn 8 4 0 0
|
|
call :CreateRom 1 "ZX +3e DivMMC" plus3en40divmmc t 8 4 0 0
|
|
call :CreateRom 5 "SE Basic IV 4.0 Anya" se d 8 4 0 0
|
|
call :CreateRom 7 "ZX Spectrum 48K" 48 dn 8 4 0 32
|
|
call :CreateRom 8 "Jet Pac (1983)" JetPac 0 8 1 0 32
|
|
call :CreateRom 9 "Pssst (1983)" Pssst 0 8 1 0 32
|
|
call :CreateRom 10 "Cookie (1983)" Cookie 0 8 1 0 32
|
|
call :CreateRom 11 "Tranz Am (1983)" TranzAm 0 8 1 0 32
|
|
call :CreateRom 12 "Master Chess (1983)" MasterChess 0 8 1 0 32
|
|
call :CreateRom 13 "Backgammon (1983)" Backgammon 0 8 1 0 32
|
|
call :CreateRom 14 "Hungry Horace (1983)" HungryHorace 0 8 1 0 32
|
|
call :CreateRom 15 "Horace & the Spiders (1983)" HoraceSpiders 0 8 1 0 32
|
|
call :CreateRom 16 "Planetoids (1983)" Planetoids 0 8 1 0 32
|
|
call :CreateRom 17 "Space Raiders (1983)" SpaceRaiders 0 8 1 0 32
|
|
call :CreateRom 18 "Deathchase (1983)" Deathchase 0 8 1 0 32
|
|
call :CreateRom 19 "Manic Miner (1983)" ManicMiner 0 8 1 0 32
|
|
call :CreateRom 20 "Misco Jones (2013)" MiscoJones 0 8 1 0 32
|
|
call :CreateRom 21 "Jet Set Willy (1984)" JetSetWilly 0 8 1 0 32
|
|
call :CreateRom 22 "Lala Prologue (2010)" LalaPrologue 0 8 1 0 32
|
|
srec_cat FLASH.ZX1 -binary ^
|
|
-o prom.%2.mcs -Intel ^
|
|
-line-length=44 ^
|
|
-line-termination=nl
|
|
del tmp.bin tmp0.bin tmp1.bin tmp2.bin
|
|
move /y FLASH.ZX1 sd_binaries\FLASH.%3
|
|
goto :eof
|
|
|
|
:CreateMachine
|
|
IF EXIST ..\cores\%3 (
|
|
Bit2Bin ..\cores\%3 sd_binaries\%1.%5
|
|
) ELSE (
|
|
Bit2Bin ..\cores\%4 sd_binaries\%1.%5
|
|
)
|
|
GenRom 0 0 0 0 0 %2 sd_binaries\%1.%5 core_taps\%1.TAP
|
|
AddItem %1 core_taps\%1.tap
|
|
rem CgLeches core_taps\%1.TAP core_wavs\%1.WAV 4
|
|
goto :eof
|
|
|
|
:CreateRom
|
|
GenRom %4 %5 %6 %7 %8 %2 rom_binaries\%3.rom rom_taps\%3.tap
|
|
AddItem ROM %1 rom_taps\%3.tap
|
|
rem CgLeches rom_taps\%3.tap rom_wavs\%3.wav 4
|
|
:eof
|