| 1 | rem Startup-Skript V2 09.07.2014
|
|---|
| 2 |
|
|---|
| 3 | \sdcard\bin\dio.exe -D DIO1: -T 0x04
|
|---|
| 4 | if errorlevel 1 goto checkRegOldDisp
|
|---|
| 5 | :checkRegNewDisp
|
|---|
| 6 | \sdcard\bin\RegistrySet.exe -f "\sdcard\bin\RegistrySet_TX16D20VM5BQA_newDisplay.par" -p "PicoMOD6" -t -e
|
|---|
| 7 | if errorlevel 1 goto setRegNewDisp
|
|---|
| 8 | goto startApp
|
|---|
| 9 | :setRegNewDisp
|
|---|
| 10 | \sdcard\bin\RegistrySet.exe -f "\sdcard\bin\RegistrySet_TX16D20VM5BQA_newDisplay.par" -p "PicoMOD6" -e
|
|---|
| 11 | goto reboot
|
|---|
| 12 |
|
|---|
| 13 | :checkRegOldDisp
|
|---|
| 14 | \sdcard\bin\RegistrySet.exe -f "\sdcard\bin\RegistrySet_TX16D11VM2CQC_oldDisplay.par" -p "PicoMOD6" -t -e
|
|---|
| 15 |
|
|---|
| 16 | if errorlevel 1 goto setRegOldDisp
|
|---|
| 17 | goto startApp
|
|---|
| 18 | :setRegOldDisp
|
|---|
| 19 | \sdcard\bin\RegistrySet.exe -f "\sdcard\bin\RegistrySet_TX16D11VM2CQC_oldDisplay.par" -p "PicoMOD6" -e
|
|---|
| 20 | goto reboot
|
|---|
| 21 |
|
|---|
| 22 | :reboot
|
|---|
| 23 | ndcucfg -c "reboot hardware"
|
|---|
| 24 | goto exit
|
|---|
| 25 |
|
|---|
| 26 | :startApp
|
|---|
| 27 | \sdcard\bin\dio.exe -D DIO1: -T 0x08
|
|---|
| 28 | if errorlevel 1 goto explorer
|
|---|
| 29 | if not exist \SDCard\bin\gc.exe goto explorer
|
|---|
| 30 | copy \SDCard\Bin\gc.exe \ffsdisk\gc.exe
|
|---|
| 31 | start \ffsdisk\gc.exe
|
|---|
| 32 | goto exit
|
|---|
| 33 |
|
|---|
| 34 | :explorer
|
|---|
| 35 | start explorer.exe
|
|---|
| 36 | goto exit
|
|---|
| 37 |
|
|---|
| 38 | :exit
|
|---|
| 39 | exit
|
|---|