set TINI_HOME=C:\tini1.15
cd src
jar -xf %TINI_HOME%\src\SlushSrc.jar
cd ..
cd src
jar -xf %TINI_HOME%\src\OptionalSlushCommandsSrc.jar com\dalsemi\slush\command\MountCommand.java com\dalsemi\slush\command\UnmountCommand.java
cd ..
CommandInterpreter.addCommand("mount", new MountCommand());
CommandInterpreter.addCommand("unmount", new UnmountCommand());
cd lib
%TINI_HOME%\native\bin\win32\macro -I%TINI_HOME%\native\lib FlashFileSystem.a51
%TINI_HOME%\native\bin\win32\a390 FlashFileSystem.mpp
cd ..
dir src\*.java /B /S /ON > files
javac -bootclasspath %TINI_HOME%\bin\tiniclasses.jar;%TINI_HOME%\bin\modules.jar -d bin @files
java -classpath %TINI_HOME%\bin\tini.jar BuildDependency -f bin -d %TINI_HOME%\bin\tini.db -o bin\slush_flashFS.tbin -l -p %TINI_HOME%\bin\modules.jar -add FTPCLIENT;MAILTO -fake -noreflect -ref com.dalsemi.slush.util.FakeMainMaker -ref com.dalsemi.slush.command.SlushCommand -ref com.dalsemi.protocol.mailto.Handler -t 470100 -ref FlashFileSystemDriver -n lib\FlashFileSystem.tlib
java -classpath %TINI_HOME%\bin\tini.jar;%classpath% JavaKit -flash 40 -m400
Z49
Z4A
...
Z4F
mount mnt FlashFileSystemDriver 0x490000 0x500000
If you do not want to have to mount the file system every time slush boots,
you can add the following lines of code to the end of the initializeFileSystem
method in Slush.java. After modifying the source code, go back to step 7 to
rebuild the code.
String[] params = {"0x490000", "0x500000"};
DSFile.mount("mnt", "FlashFileSystemDriver", params);