Subversion Repositories SvarDOS

Rev

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

Rev 2168 Rev 2169
Line 159... Line 159...
159
done
159
done
160
 
160
 
161
# add some extra packages to CDROOT but not in the list of packages to install
161
# add some extra packages to CDROOT but not in the list of packages to install
162
cp "$REPOROOT/pcntpk.svp" "$CDROOT/"
162
cp "$REPOROOT/pcntpk.svp" "$CDROOT/"
163
cp "$REPOROOT/videcdd-2.14.svp" "$CDROOT/videcdd.svp"
163
cp "$REPOROOT/videcdd-2.14.svp" "$CDROOT/videcdd.svp"
-
 
164
cp "$REPOROOT/provox-6.6.svp" "$CDROOT/provox.svp"
164
 
165
 
165
#
166
#
166
 
167
 
167
 
168
 
168
echo
169
echo
Line 190... Line 191...
190
unzip -CLj "$REPOROOTCORE/sved.svp" bin/sved.com -d "$FLOPROOT/"
191
unzip -CLj "$REPOROOTCORE/sved.svp" bin/sved.com -d "$FLOPROOT/"
191
unzip -CLj "$REPOROOTCORE/sys.svp" bin/sys.com -d "$FLOPROOT/"
192
unzip -CLj "$REPOROOTCORE/sys.svp" bin/sys.com -d "$FLOPROOT/"
192
 
193
 
193
# generate a simple autoexec.bat file
194
# generate a simple autoexec.bat file
194
echo '@ECHO OFF' > "$FLOPROOT/autoexec.bat"
195
echo '@ECHO OFF' > "$FLOPROOT/autoexec.bat"
195
echo '' >> "$FLOPROOT/autoexec.bat"
-
 
196
echo 'REM Load DISPLAY driver if present' >> "$FLOPROOT/autoexec.bat"
-
 
197
echo 'IF EXIST DISPLAY.EXE DISPLAY CON=(EGA,,1)' >> "$FLOPROOT/autoexec.bat"
196
echo 'DISPLAY CON=(EGA,,1)' >> "$FLOPROOT/autoexec.bat"
198
echo '' >> "$FLOPROOT/autoexec.bat"
-
 
199
echo 'FDAPM ADV:REG' >> "$FLOPROOT/autoexec.bat"
197
echo 'FDAPM ADV:REG' >> "$FLOPROOT/autoexec.bat"
200
echo '' >> "$FLOPROOT/autoexec.bat"
198
echo '' >> "$FLOPROOT/autoexec.bat"
201
echo 'ECHO.' >> "$FLOPROOT/autoexec.bat"
199
echo 'ECHO.' >> "$FLOPROOT/autoexec.bat"
202
echo 'ECHO  ********************' >> "$FLOPROOT/autoexec.bat"
200
echo 'ECHO  ********************' >> "$FLOPROOT/autoexec.bat"
203
echo 'ECHO   WELCOME TO SVARDOS' >> "$FLOPROOT/autoexec.bat"
201
echo 'ECHO   WELCOME TO SVARDOS' >> "$FLOPROOT/autoexec.bat"
204
echo 'ECHO  ********************' >> "$FLOPROOT/autoexec.bat"
202
echo 'ECHO  ********************' >> "$FLOPROOT/autoexec.bat"
205
echo "ECHO  build: $CURDATE" >> "$FLOPROOT/autoexec.bat"
203
echo "ECHO  build: $CURDATE" >> "$FLOPROOT/autoexec.bat"
206
echo 'ECHO.' >> "$FLOPROOT/autoexec.bat"
204
echo 'ECHO.' >> "$FLOPROOT/autoexec.bat"
207
echo '' >> "$FLOPROOT/autoexec.bat"
205
echo '' >> "$FLOPROOT/autoexec.bat"
-
 
206
echo 'REM Load PROVOX screen reader if present' >> "$FLOPROOT/autoexec.bat"
-
 
207
echo 'IF EXIST PROVOX.EXE CLS' >> "$FLOPROOT/autoexec.bat"
-
 
208
echo 'IF EXIST PROVOX.EXE PROVOX.EXE' >> "$FLOPROOT/autoexec.bat"
-
 
209
echo 'IF EXIST PV.EXE PV.EXE BNS' >> "$FLOPROOT/autoexec.bat"
-
 
210
echo '' >> "$FLOPROOT/autoexec.bat"
208
echo "INSTALL" >> "$FLOPROOT/autoexec.bat"
211
echo "INSTALL" >> "$FLOPROOT/autoexec.bat"
209
unix2dos "$FLOPROOT/autoexec.bat"
212
unix2dos "$FLOPROOT/autoexec.bat"
210
 
213
 
211
 
214
 
212
echo
215
echo
Line 242... Line 245...
242
prep_flop 80 2 18 1440 "$PUBDIR" "1.44M" "$COREPKGS pcntpk"
245
prep_flop 80 2 18 1440 "$PUBDIR" "1.44M" "$COREPKGS pcntpk"
243
prep_flop 80 2 15 1200 "$PUBDIR" "1.2M" "$COREPKGS"
246
prep_flop 80 2 15 1200 "$PUBDIR" "1.2M" "$COREPKGS"
244
prep_flop 80 2  9  720 "$PUBDIR" "720K" "$COREPKGS"
247
prep_flop 80 2  9  720 "$PUBDIR" "720K" "$COREPKGS"
245
prep_flop 40 2  9  360 "$PUBDIR" "360K" "$COREPKGS"
248
prep_flop 40 2  9  360 "$PUBDIR" "360K" "$COREPKGS"
246
 
249
 
-
 
250
# BNS-enabled (screen reader) 2.88M build
-
 
251
unzip -CLj "$CDROOT/provox.svp" drivers/provox/provox.exe -d "$FLOPROOT/"
-
 
252
unzip -CLj "$CDROOT/provox.svp" drivers/provox/pv.exe -d "$FLOPROOT/"
-
 
253
prep_flop 80 2 36 2880 "$PUBDIR" "2.88M-BNS" "$COREPKGS pcntpk videcdd provox" "$CDROOT/bootbns.img"
-
 
254
rm "$FLOPROOT/provox.exe"
-
 
255
rm "$FLOPROOT/pv.exe"
-
 
256
 
-
 
257
 
247
 
258
 
248
echo
259
echo
249
echo "### Computing DOSEMU.zip"
260
echo "### Computing DOSEMU.zip"
250
echo
261
echo
251
 
262
 
Line 317... Line 328...
317
rm -f "$PUBDIR/svardos-dosemu.zip"
328
rm -f "$PUBDIR/svardos-dosemu.zip"
318
zip -rm9jk "$PUBDIR/svardos-$CURDATE-dosemu.zip" "$DOSEMUDIR"
329
zip -rm9jk "$PUBDIR/svardos-$CURDATE-dosemu.zip" "$DOSEMUDIR"
319
rmdir "$DOSEMUDIR"
330
rmdir "$DOSEMUDIR"
320
 
331
 
321
echo
332
echo
322
echo "### Generating ISO CD image"
333
echo "### Generating ISO CD images"
323
echo
334
echo
324
 
335
 
-
 
336
# normal
325
CDISO="$PUBDIR/svardos-$CURDATE-cd.iso"
337
CDISO="$PUBDIR/svardos-$CURDATE-cd.iso"
326
CDZIP="$PUBDIR/svardos-$CURDATE-cd.zip"
338
CDZIP="$PUBDIR/svardos-$CURDATE-cd.zip"
327
 
-
 
328
$GENISOIMAGE -input-charset cp437 -b boot.img -iso-level 1 -f -V SVARDOS -o "$CDISO" "$CDROOT/boot.img"
339
$GENISOIMAGE -input-charset cp437 -b boot.img -iso-level 1 -f -V SVARDOS -o "$CDISO" "$CDROOT/boot.img"
-
 
340
zip -mj9 "$CDZIP" "$CDISO"
329
 
341
 
330
# compress the ISO
342
# BNS-enabled
-
 
343
CDISO="$PUBDIR/svardos-$CURDATE-cd-bns.iso"
-
 
344
CDZIP="$PUBDIR/svardos-$CURDATE-cd-bns.zip"
-
 
345
$GENISOIMAGE -input-charset cp437 -b bootbns.img -iso-level 1 -f -V SVARDOS -o "$CDISO" "$CDROOT/bootbns.img"
331
zip -mj9 "$CDZIP" "$CDISO"
346
zip -mj9 "$CDZIP" "$CDISO"
332
 
347
 
333
 
348
 
334
###############################################################################
349
###############################################################################
335
# remove internationalization files for EN-ONLY releases. This is the only    #
350
# remove internationalization files for EN-ONLY releases. This is the only    #