summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/fs_prodos.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/formats/fs_prodos.h')
-rw-r--r--src/lib/formats/fs_prodos.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/lib/formats/fs_prodos.h b/src/lib/formats/fs_prodos.h
new file mode 100644
index 00000000000..5c9dfb3f082
--- /dev/null
+++ b/src/lib/formats/fs_prodos.h
@@ -0,0 +1,26 @@
+// license:BSD-3-Clause
+// copyright-holders:Olivier Galibert
+
+// Creation of Apple ProDOS floppy images
+
+#ifndef MAME_FORMATS_FS_PRODOS_H
+#define MAME_FORMATS_FS_PRODOS_H
+
+#pragma once
+
+#include "fsmgr.h"
+
+class fs_prodos : public filesystem_manager_t {
+public:
+ fs_prodos() : filesystem_manager_t() {}
+
+ virtual void enumerate(floppy_enumerator &fe, uint32_t form_factor, const std::vector<uint32_t> &variants) const override;
+ virtual void floppy_instantiate(u32 key, std::vector<u8> &image) const override;
+
+private:
+ static const u8 boot[512];
+};
+
+extern const filesystem_manager_type FS_PRODOS;
+
+#endif