summaryrefslogtreecommitdiffstatshomepage
path: root/trunk/src/lib/formats/atari_dsk.c
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src/lib/formats/atari_dsk.c')
-rw-r--r--trunk/src/lib/formats/atari_dsk.c33
1 files changed, 33 insertions, 0 deletions
diff --git a/trunk/src/lib/formats/atari_dsk.c b/trunk/src/lib/formats/atari_dsk.c
new file mode 100644
index 00000000000..3e721adc0ff
--- /dev/null
+++ b/trunk/src/lib/formats/atari_dsk.c
@@ -0,0 +1,33 @@
+/*********************************************************************
+
+ formats/atari_dsk.c
+
+ Atari disk images
+
+*********************************************************************/
+
+#include "formats/atari_dsk.h"
+
+static FLOPPY_IDENTIFY( atari_dsk_identify )
+{
+ *vote = 100;
+ return FLOPPY_ERROR_SUCCESS;
+}
+
+
+static FLOPPY_CONSTRUCT( atari_dsk_construct )
+{
+ return FLOPPY_ERROR_SUCCESS;
+}
+
+LEGACY_FLOPPY_OPTIONS_START( atari_only )
+ LEGACY_FLOPPY_OPTION(
+ atari_dsk,
+ "atr,dsk,xfd",
+ "Atari floppy disk image",
+ atari_dsk_identify,
+ atari_dsk_construct,
+ NULL,
+ NULL
+ )
+LEGACY_FLOPPY_OPTIONS_END0