; Detect Amiga OS 3.2 Disk Doctor
; -------------------------------
;
; Date: 2021-08-04
; Author: Henrik Noerfjand Stengaard
;
; AmigaDOS script to detect valid amiga os 3.2 disk doctor floppy disk or adf file.


; end, if volume name is not "DiskDoctor:"
IF NOT "`Which $amigaosdisk:`" EQ "DiskDoctor:"
  SKIP notvalid
ENDIF

; end, if da control doesn't exist
IF NOT EXISTS "$amigaosdisk:C/DAControl"
  SKIP notvalid
ENDIF

; end, if disk doctor doesn't exist
IF NOT EXISTS "$amigaosdisk:C/DiskDoctor"
  SKIP notvalid
ENDIF

; end, if trackfile device doesn't exist
IF NOT EXISTS "$amigaosdisk:Devs/trackfile.device"
  SKIP notvalid
ENDIF

SKIP end


; not valid
; ---------
LAB notvalid

echo "Amiga OS 3.2 Disk Doctor is not valid"


; end
; ---

LAB end
