TriOS-alt/make.bat

82 lines
2.2 KiB
Batchfile

echo on
date /T
time /T
REM Pfade
set sd=".\bin\sdcard"
set sd-sys=".\bin\sdcard\system"
set flash=".\bin\flash"
set libpath=".\lib"
REM ----------------------------------------------------------------
REM Alte Versionen löschen
del %flash%\*.* /Q
del %sd%\*.* /Q
del %sd-sys%\*.* /Q
REM ----------------------------------------------------------------
REM Flashdateien erzeugen
REM --> \bin\flash
bstc -L %libpath% -b -O a .\flash\administra\admflash.spin
move admflash.binary %flash%
bstc -L %libpath% -b -O a .\flash\administra\admflash.spin
rename admflash.binary admsys.adm
move admsys.adm %sd-sys%
bstc -L %libpath% -b -O a .\flash\bellatrix\belflash.spin
copy belflash.binary %flash%
rename belflash.binary vga.bel
move vga.bel %sd-sys%
bstc -L %libpath% -b -O a .\flash\regnatix\regflash.spin
move regflash.binary %flash%
REM ----------------------------------------------------------------
REM Startdateien erzeugen
REM reg.sys (Regime)
REM bel.sys (VGA)
REM --> \bin\sdcard\
bstc -L %libpath% -b -O a .\system\regnatix\regime.spin
rename regime.binary reg.sys
move reg.sys %sd%
bstc -L %libpath% -b -O a .\flash\bellatrix\belflash.spin
rename belflash.binary bel.sys
move bel.sys %sd%
REM ----------------------------------------------------------------
REM Slave-Dateien erzeugen
REM admsid, admay, admterm
REM htxt, tv
bstc -L %libpath% -b -O a .\system\administra\admsid\admsid.spin
bstc -L %libpath% -b -O a .\system\administra\admay\admay.spin
bstc -L %libpath% -b -O a .\system\administra\aterm\aterm.spin
rename *.binary *.adm
bstc -L %libpath% -b -O a .\system\bellatrix\bel-htext\htext.spin
bstc -L %libpath% -b -O a .\system\bellatrix\bel-tv\tv.spin
rename *.binary *.bel
move *.adm %sd-sys%
move *.bel %sd-sys%
REM ----------------------------------------------------------------
REM Systemdateien erzeugen
REM - div. externe Kommandos
REM - div. Systemdateien (Farbtabellen usw.)
REM --> \bin\sdcard\system\
for %%x in (.\system\regnatix\*.spin) do bstc -L %libpath% -b -O a %%x
rename *.binary *.bin
move *.bin %sd-sys%
copy .\forth\*.* %sd-sys%
copy .\system\sonstiges %sd-sys%
echo off