blob: 736ad1cd2ab8cb70d30865316af10b0811fc9778 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
// license:BSD-3-Clause
// copyright-holders:Nigel Barnes
/***************************************************************************
Poly Disk image formats
***************************************************************************/
#ifndef MAME_FORMATS_POLY_DSK_H
#define MAME_FORMATS_POLY_DSK_H
#pragma once
#include "flopimg.h"
class poly_cpm_format : public floppy_image_format_t
{
public:
poly_cpm_format();
virtual const char *name() const noexcept override;
virtual const char *description() const noexcept override;
virtual const char *extensions() const noexcept override;
virtual int identify(util::random_read &io, uint32_t form_factor, const std::vector<uint32_t> &variants) const override;
virtual bool load(util::random_read &io, uint32_t form_factor, const std::vector<uint32_t> &variants, floppy_image &image) const override;
virtual bool supports_save() const noexcept override;
};
extern const poly_cpm_format FLOPPY_POLY_CPM_FORMAT;
#endif // MAME_FORMATS_POLY_DSK_H
|