summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/atari_dsk.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/formats/atari_dsk.cpp')
-rw-r--r--src/lib/formats/atari_dsk.cpp37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/lib/formats/atari_dsk.cpp b/src/lib/formats/atari_dsk.cpp
new file mode 100644
index 00000000000..f5ccd03c952
--- /dev/null
+++ b/src/lib/formats/atari_dsk.cpp
@@ -0,0 +1,37 @@
+// license:BSD-3-Clause
+// copyright-holders:Miodrag Milanovic
+/*********************************************************************
+
+ formats/atari_dsk.c
+
+ Atari disk images
+
+*********************************************************************/
+
+#include <assert.h>
+
+#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