/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 format himemx kernel keyb keyb_lay label mem mode more move pkg pkgnet shsucdx sort tree undelete xcopy udvd2" |
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" |
75,7 → 75,6 |
# $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" |
102,11 → 101,6 |
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/* |
143,15 → 137,14 |
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 2880 -v SVARDOS -B "$CUSTFILES/floppy.mbr" -i "$CDROOT/boot.img" |
#mcopy -sQm -i "$CDROOT/boot.img" "$FLOPROOT/"* ::/ |
mformat -C -f 1440 -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 "$CDROOT/boot.img" |
prep_flop 80 2 36 2880 |
prep_flop 80 2 18 1440 |
prep_flop 80 2 15 1200 |
prep_flop 80 2 9 720 |
163,7 → 156,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/boot.img" |
$GENISOIMAGE -input-charset cp437 -b boot.img -iso-level 1 -f -V SVARDOS -o "$CDISO" "$CDROOT" |
# compress the ISO |
zip -mj9 "$CDZIP" "$CDISO" |
/files/floppy/autoexec.bat |
---|
9,6 → 9,23 |
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=10 |
FILES=25 |
;STACKS=0 |
BUFFERS=10 |
;DEVICE=A:\HIMEMX.EXE |
SHELLHIGH=A:\COMMAND.COM /f /e:512 /p |
DEVICE=A:\HIMEMX.EXE |
SHELLHIGH=A:\COMMAND.COM /f /e:1024 /p |
/files/floppy/dat/fdnpkg.cfg |
---|
0,0 → 1,102 |
############################################################################## |
# # |
# This is the configuration file of FDNPKG. # |
# # |
# Otherwise you will loose your custom settings (if any) when FDNPKG will be # |
# updated to a newer version. # |
# # |
############################################################################## |
############################################################################## |
# The maximum time FDNPKG can keep its internal package database cache. |
# The value must be provided in seconds, in a range of 0..1209600. |
# Default: 7200 |
# |
maxcachetime 7200 |
############################################################################## |
# Whether or not to install sources (when available) along with binaries. |
# This can be overriden via command line at any time. |
# Possible values: |
# 0 - don't install sources by default |
# 1 - install sources by default |
# |
installsources 0 |
############################################################################## |
# Below you can edit/add custom path to store different kinds of applications |
# in different places on your disk. Use only absolute paths here! Note, that |
# you can use environment variables, if you need to. |
# |
# directory for development tools (mostly compilers) |
dir devel c:\devel |
# directory for drivers |
dir drivers c:\system\drivers |
# where games should get installed |
dir games c:\games |
# this folder contains sources to programs that come with their sources |
dir source c:\system\source |
# user programs... (only those that are not incorporated in FreeDOS of course). |
dir progs c:\ |
# links to apps that are supposed to be executable from %PATH% |
# IMPORTANT: this directory should be included in your %PATH% |
dir links c:\system\links |
############################################################################## |
# Below are listed all online repositories used by FDNPKG. The syntax is: |
# REPO repository_path |
# |
# FDNPKG supports both online (http or gopher) repositories, as well as on- |
# disk repos. |
# When using on-disk repositories, you have to use the full path (eg. D:\REPO) |
# |
# CORE repository - all MSDOS replacements |
REPO $:\core |
#REPO http://svarog386.sourceforge.net/repos/core |
# Devel stuff - mostly compilers |
REPO $:\devel |
#REPO http://svarog386.sourceforge.net/repos/devel |
# Drivers (hardware-related) |
REPO $:\drivers |
#REPO http://svarog386.sourceforge.net/repos/drivers |
# Editors |
REPO $:\edit |
#REPO http://svarog386.sourceforge.net/repos/edit |
# Emulators |
REPO $:\emulatrs |
#REPO http://svarog386.sourceforge.net/repos/emulatrs |
# Games |
REPO $:\games |
#REPO http://svarog386.sourceforge.net/repos/games |
# Networking-related utilities |
REPO $:\net |
#REPO http://svarog386.sourceforge.net/repos/net |
# Packers, ie. file archivers (zip, arj, etc) |
REPO $:\packers |
#REPO http://svarog386.sourceforge.net/repos/packers |
# Sound |
REPO $:\sound |
#REPO http://svarog386.sourceforge.net/repos/sound |
# Various utils |
REPO $:\util |
#REPO http://svarog386.sourceforge.net/repos/util |
/files/floppy/devload.com |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ 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: |
Added: svn:mime-type |
+application/x-dosdriver |
\ No newline at end of property |
/files/floppy/fdinst.exe |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/x-dosexec |
Property changes: |
Added: svn:mime-type |
+application/x-dosexec |
\ 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: |
Added: 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: |
Added: 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: |
Added: svn:mime-type |
+application/x-dosdriver |
\ No newline at end of property |