#
# Script for building on Linux using Merlin32
# Uses cadius for manipulating ProDOS disk images
#

if ! merlin32 -v applecorn.s; then
  echo +++++++++++++++++++++++
  echo +++++ BUILD ERROR +++++
  echo +++++++++++++++++++++++
  exit 1
fi

cp APLCORN.SYSTEM APLCORN.SYSTEM#FF2000
cadius deletefile applecorn.po /APPLECORN/APLCORN.SYSTEM
cadius addfile applecorn.po /APPLECORN APLCORN.SYSTEM#FF2000
