Subversion Repositories SvarDOS

Rev

Rev 2178 | Rev 2184 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2178 Rev 2183
Line 189... Line 189...
189
unzip -CLj "$REPOROOTCORE/more.svp" bin/more.com -d "$FLOPROOT/"
189
unzip -CLj "$REPOROOTCORE/more.svp" bin/more.com -d "$FLOPROOT/"
190
unzip -CLj "$REPOROOTCORE/pkg.svp" bin/pkg.exe -d "$FLOPROOT/"
190
unzip -CLj "$REPOROOTCORE/pkg.svp" bin/pkg.exe -d "$FLOPROOT/"
191
unzip -CLj "$REPOROOTCORE/sved.svp" bin/sved.com -d "$FLOPROOT/"
191
unzip -CLj "$REPOROOTCORE/sved.svp" bin/sved.com -d "$FLOPROOT/"
192
unzip -CLj "$REPOROOTCORE/sys.svp" bin/sys.com -d "$FLOPROOT/"
192
unzip -CLj "$REPOROOTCORE/sys.svp" bin/sys.com -d "$FLOPROOT/"
193
 
193
 
194
# generate a simple autoexec.bat file
194
# generate a simple AUTOEXEC.BAT
195
echo '@ECHO OFF' > "$FLOPROOT/autoexec.bat"
195
cat <<EOF > "$FLOPROOT/autoexec.bat"
-
 
196
@ECHO OFF
196
echo 'DISPLAY CON=(EGA,,1)' >> "$FLOPROOT/autoexec.bat"
197
DISPLAY CON=(EGA,,1)
197
echo 'FDAPM ADV:REG' >> "$FLOPROOT/autoexec.bat"
198
FDAPM ADV:REG
198
echo '' >> "$FLOPROOT/autoexec.bat"
-
 
-
 
199
 
199
echo 'ECHO.' >> "$FLOPROOT/autoexec.bat"
200
ECHO.
200
echo 'ECHO  ********************' >> "$FLOPROOT/autoexec.bat"
201
ECHO  ********************
201
echo 'ECHO   WELCOME TO SVARDOS' >> "$FLOPROOT/autoexec.bat"
202
ECHO   WELCOME TO SVARDOS
202
echo 'ECHO  ********************' >> "$FLOPROOT/autoexec.bat"
203
ECHO  ********************
203
echo "ECHO  build: $CURDATE" >> "$FLOPROOT/autoexec.bat"
204
ECHO  build: $CURDATE
204
echo 'ECHO.' >> "$FLOPROOT/autoexec.bat"
205
ECHO.
205
echo '' >> "$FLOPROOT/autoexec.bat"
-
 
-
 
206
 
206
echo 'REM Load PROVOX screen reader if present' >> "$FLOPROOT/autoexec.bat"
207
REM Load PROVOX screen reader if present
207
echo 'IF NOT EXIST PROVOX.EXE GOTO INSTALL' >> "$FLOPROOT/autoexec.bat"
208
IF NOT EXIST PROVOX.EXE GOTO INSTALL
208
echo 'CLS' >> "$FLOPROOT/autoexec.bat"
209
CLS
209
echo 'PROVOX.EXE' >> "$FLOPROOT/autoexec.bat"
210
PROVOX.EXE
210
echo 'PV.EXE INIT BNS' >> "$FLOPROOT/autoexec.bat"
211
PV.EXE INIT BNS
211
echo '' >> "$FLOPROOT/autoexec.bat"
-
 
-
 
212
 
212
echo ":INSTALL" >> "$FLOPROOT/autoexec.bat"
213
:INSTALL
213
echo "INSTALL" >> "$FLOPROOT/autoexec.bat"
214
INSTALL
-
 
215
EOF
214
unix2dos "$FLOPROOT/autoexec.bat"
216
unix2dos "$FLOPROOT/autoexec.bat"
215
 
217
 
-
 
218
# generate a simple CONFIG.SYS
-
 
219
cat <<EOF > "$FLOPROOT/config.sys"
-
 
220
LASTDRIVE=Z
-
 
221
FILES=8
-
 
222
BUFFERS=10
-
 
223
SHELL=COMMAND.COM /e:512 /p
-
 
224
EOF
-
 
225
unix2dos "$FLOPROOT/config.sys"
-
 
226
 
216
 
227
 
217
echo
228
echo
218
echo "### Computing the USB image"
229
echo "### Computing the USB image"
219
echo
230
echo
220
 
231