#!/bin/bash
### BEGIN BOOT SCRIPT INFO
#Long-Name: FlexEmu
### END BOOT SCRIPT INFO
### BEGIN BOOT SCRIPT INSTALLATION DEFAULTS
#Launch-Mode: gui-only
### END BOOT SCRIPT INSTALLATION DEFAULTS
#
#This script supports a standard run scriptlet called RUN_FLEXEMU which is
#optional if using disk images with the standard names and there are no further
#options to pass to the emulator.
#
#Images supported by this script (the numbers correspond to the drive number):
#
#0.dsk
#1.dsk
#2.dsk
#3.dsk

. bootscriptfunctions.sh

SCRIPT_ARGS=("$@")

_OPTIONAL_IMG_OPTS="0 1 2 3"
_IMG_SUFFIXES=".dsk"
def_run_func flexemu
OPTIONAL_SCRIPTLET=1
OPTIONAL_RUN=1
call_run_scriptlet flexemu
