#!/bin/sh

# run this shell script with: ./cpm2.sh

# delete all existing disk images in /disks
rm -f disks/drive[abi].dsk

# make hard-links for floppy drives/images A: and B:
# image format: ibm-3740
ln disks/library/cpm2-1.dsk disks/drivea.dsk
ln disks/library/cpm2-2.dsk disks/driveb.dsk

# make hard-link for hard disk image I:
# image format: z80pack-hd (4 MByte)
ln disks/library/hd-tools.dsk disks/drivei.dsk

# start emulator with 4 MHz CPU
./cpmsim -f4 $*
