diff --git a/.gitattributes b/.gitattributes index 26a8c92..f072a2e 100644 --- a/.gitattributes +++ b/.gitattributes @@ -4,6 +4,7 @@ *.spin text +*.bat text eol=crlf *.BAS text eol=crlf DATA.DAT text eol=crlf diff --git a/make.bat b/make.bat new file mode 100644 index 0000000..076a1da --- /dev/null +++ b/make.bat @@ -0,0 +1,50 @@ +echo on +date /T +time /T + +REM # Definitionen +REM set D="-D __DEBUG -D __LANG_EN" +REM set D="-D __LANG_EN" +set D="-D __LANG_DE" + +REM # Pfade +set bin="..\Bin" +REM set bin="\home\ftp\hive" +set sdbas="%bin%\sdcard\Basic" +set sdsys="%bin%\sdcard\system" +set libpath="..\TriOS\lib" +set BSTC=bstc.exe + +REM ---------------------------------------------------------------- +REM Alte Versionen löschen + +rmdir %sdbas% /S /Q +REM del %sdsys%\xxxx +mkdir %sdbas% +REM mkdir %sdsys% + + +REM ---------------------------------------------------------------- +REM Code für Administra und Bellatrix erzeugen + +%BSTC% -L %libpath% %D% -D __ADM_FAT -D __ADM_FAT_EXT -D __ADM_RTC -D __ADM_SID -D __ADM_PLX -b -O a ..\TriOS\flash\administra\admflash.spin +move admflash.binary %sdbas%\adm.sys + +%BSTC% -L %libpath% %D% -b -O a .\source\belsVGA64.spin +move belsVGA64.binary %sdbas%\bel.sys + +REM ---------------------------------------------------------------- +REM Basic-Programme erzeugen + +%BSTC% -L %libpath% %D% -b -O a .\source\Basic2_1-word.spin +move Basic2_1-word.binary %sdbas%\Basic.bin + +%BSTC% -L %libpath% %D% -b -O a .\source\Bashelp.spin +move Bashelp.binary %sdbas%\Help.bin + +REM ---------------------------------------------------------------- +REM Daten kopieren + +xcopy .\data\*.* %sdbas%\ /S /E + +echo off