Optionally include ProDOS/BASIC.system in package

This commit is contained in:
Joshua Bell 2019-02-03 18:05:31 -08:00
parent 30b80ac253
commit b2a35e9a56
1 changed files with 16 additions and 0 deletions

View File

@ -35,11 +35,21 @@ done
cat >> "$FINFO" <<EOF
DeskTop.system=Type(FF),AuxType(0),VersionCreate(00),MinVersion(00),Access(E3),FolderInfo1(000000000000000000000000000000000000),FolderInfo2(000000000000000000000000000000000000)
DeskTop2=Type(F1),AuxType(0),VersionCreate(00),MinVersion(00),Access(E3),FolderInfo1(000000000000000000000000000000000000),FolderInfo2(000000000000000000000000000000000000)
ProDOS=Type(FF),AuxType(0),VersionCreate(00),MinVersion(00),Access(E3),FolderInfo1(000000000000000000000000000000000000),FolderInfo2(000000000000000000000000000000000000)
BASIC.system=Type(FF),AuxType(0),VersionCreate(00),MinVersion(00),Access(E3),FolderInfo1(000000000000000000000000000000000000),FolderInfo2(000000000000000000000000000000000000)
EOF
cp "desktop.system/out/desktop.system.SYS" "$PACKDIR/DeskTop.system"
cp "desktop/out/DESKTOP2.built" "$PACKDIR/DeskTop2"
# If ProDOS/BASIC.system are present in res/, install them too.
if [ -e "res/PRODOS" ]; then
cp "res/PRODOS" "$PACKDIR/ProDOS"
fi
if [ -e "res/BASIC.SYSTEM" ]; then
cp "res/BASIC.SYSTEM" "$PACKDIR/BASIC.system"
fi
# Create a new disk image.
rm -f $IMGFILE
@ -60,3 +70,9 @@ done
for file in DeskTop.system DeskTop2; do
$CADIUS ADDFILE $IMGFILE "/$VOLNAME" "$PACKDIR/$file"
done
for file in ProDOS BASIC.system; do
if [ -e "$PACKDIR/$file" ]; then
$CADIUS ADDFILE $IMGFILE "/$VOLNAME" "$PACKDIR/$file"
fi
done