/build.sh |
---|
52,7 → 52,7 |
# list of packages to be part of CORE |
COREPKGS="attrib chkdsk choice command cpidos ctmouse deltree devload diskcopy display dosfsck edit fc fdapm fdisk fdnpkg format himemx kernel keyb keyb_lay label mem mode more move shsucdx sort tree undelete xcopy udvd2" |
COREPKGS="attrib chkdsk choice command cpidos ctmouse deltree devload diskcopy display dosfsck edit fc fdapm fdisk format himemx kernel keyb keyb_lay label mem mode more move pkg pkgnet shsucdx sort tree undelete xcopy udvd2" |
75,6 → 75,7 |
# $2 heads (sides) |
# $3 sectors per track |
# $4 size |
# $5 where to put a copy of the image (optional) |
function prep_flop { |
mkdir $4 |
mformat -C -t $1 -h $2 -s $3 -v SVARDOS -B "$CUSTFILES/floppy.mbr" -i "$4/disk1.img" |
101,6 → 102,11 |
unix2dos "$4/readme.txt" |
# make a copy of the image, if requested |
if [ "x$5" != "x" ] ; then |
cp "$4/disk1.img" $5 |
fi |
# zip the images (and remove them at the same time) |
rm -f "$PUBDIR/svardos-floppy-$4k.zip" |
zip -9 -rmj "$PUBDIR/svardos-floppy-$4k.zip" $4/* |
137,14 → 143,15 |
cp "install/install.com" "$FLOPROOT/" |
cp "install/nls/"install.?? "$FLOPROOT/" |
cp -r "$CUSTFILES/floppy/"* "$FLOPROOT/" |
unzip -j packages/pkg.zip bin/pkg.exe -d "$FLOPROOT/" |
# build the boot (CD) floppy image |
export MTOOLS_NO_VFAT=1 |
mformat -C -f 1440 -v SVARDOS -B "$CUSTFILES/floppy.mbr" -i "$CDROOT/boot.img" |
mcopy -sQm -i "$CDROOT/boot.img" "$FLOPROOT/"* ::/ |
#mformat -C -f 2880 -v SVARDOS -B "$CUSTFILES/floppy.mbr" -i "$CDROOT/boot.img" |
#mcopy -sQm -i "$CDROOT/boot.img" "$FLOPROOT/"* ::/ |
# prepare images for floppies in different sizes (args are C H S SIZE) |
prep_flop 80 2 36 2880 |
prep_flop 80 2 36 2880 "$CDROOT/boot.img" |
prep_flop 80 2 18 1440 |
prep_flop 80 2 15 1200 |
prep_flop 80 2 9 720 |
156,7 → 163,7 |
echo "cleaning up old versions..." |
rm -f "$CDISO" "$CDZIP" |
$GENISOIMAGE -input-charset cp437 -b boot.img -iso-level 1 -f -V SVARDOS -o "$CDISO" "$CDROOT" |
$GENISOIMAGE -input-charset cp437 -b boot.img -iso-level 1 -f -V SVARDOS -o "$CDISO" "$CDROOT/boot.img" |
# compress the ISO |
zip -mj9 "$CDZIP" "$CDISO" |
/files/floppy/fdinst.exe |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/x-dosexec |
Property changes: |
Deleted: svn:mime-type |
-application/x-dosexec |
\ No newline at end of property |
/files/floppy/shsucdx.com |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Deleted: svn:mime-type |
-application/octet-stream |
\ No newline at end of property |
/files/floppy/dat/fdnpkg.cfg |
---|
File deleted |
/files/floppy/devload.com |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Deleted: svn:mime-type |
-application/octet-stream |
\ No newline at end of property |
/files/floppy/udvd2.sys |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/x-dosdriver |
Property changes: |
Deleted: svn:mime-type |
-application/x-dosdriver |
\ No newline at end of property |
/files/floppy/eltorito.sys |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/x-dosdriver |
Property changes: |
Deleted: svn:mime-type |
-application/x-dosdriver |
\ No newline at end of property |
/files/floppy/himemx.exe |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/x-dosexec |
Property changes: |
Deleted: svn:mime-type |
-application/x-dosexec |
\ No newline at end of property |
/files/floppy/autoexec.bat |
---|
9,23 → 9,6 |
REM DISPLAY driver for NLS support |
DISPLAY CON=(EGA,,1) |
REM *** CDROM initialization - ONLY IF REQUIRED FOR PACKAGES INSTALL *** |
IF EXIST A:\ATTRIB.ZIP GOTO SKIPCDINIT |
REM UDVD2 is called with /UX to DISABLE UltroDMA (force PIO mode). Otherwise |
REM freezes happen when running VirtualBox (tested under vbox 5.0 and 5.1) |
IF NOT EXIST SVCD0001 DEVLOAD /Q /H A:\UDVD2.SYS /D:SVCD0001 /UX |
REM if UDVD2 failed, try using eltorito as last resort |
REM under Virtualbox 6.0 eltorito leads to an empty drive |
IF NOT EXIST SVCD0001 DEVLOAD /Q /H A:\ELTORITO.SYS /D:SVCD0001 |
REM enable the CD only if driver succeeded |
IF EXIST SVCD0001 SHSUCDX /D:SVCD0001 /Q |
:SKIPCDINIT |
FDAPM APMDOS |
ECHO. |
/files/floppy/config.sys |
---|
1,8 → 1,8 |
SWITCHES=/F |
DOS=HIGH |
LASTDRIVE=Z |
FILES=25 |
FILES=10 |
;STACKS=0 |
BUFFERS=10 |
DEVICE=A:\HIMEMX.EXE |
SHELLHIGH=A:\COMMAND.COM /f /e:1024 /p |
;DEVICE=A:\HIMEMX.EXE |
SHELLHIGH=A:\COMMAND.COM /f /e:512 /p |