Elysium/Demo_C/Bin/_load_ramdisk.bat

26 lines
575 B
Batchfile
Raw Permalink Normal View History

2022-11-21 21:38:08 +01:00
@echo off
if "%1"/ == ""/ exit
if "%ROOT_BATCH%"/ == ""/ %1\_start go %0 %1 %2
set PATH=%1;%PATH%
set COM_PORT=%2
if "%2"/ == ""/ call set_port
echo Loading program file ...
4load_ft *.bin %COM_PORT%
if errorlevel 1 goto end
goto exit
:end
echo.
echo ***** **** **** *** ****
echo * * * * * * * * *
echo *** **** **** * * ****
echo * * * * * * * * *
echo ***** * * * * *** * *
echo.
:exit
if exist "%1\ftlib.log" del "%1\ftlib.log"
if exist "%1\ftlib.bak" del "%1\ftlib.bak"