mirror of
https://github.com/holub/mame
synced 2025-05-25 23:35:26 +03:00
36 lines
884 B
C++
36 lines
884 B
C++
// license:BSD-3-Clause
|
|
// copyright-holders:Wilbert Pol
|
|
/*********************************************************************
|
|
|
|
formats/dmk_dsk.h
|
|
|
|
DMK disk images
|
|
|
|
*********************************************************************/
|
|
|
|
#ifndef DMK_DSK_H
|
|
#define DMK_DSK_H
|
|
|
|
#include "flopimg.h"
|
|
|
|
/**************************************************************************/
|
|
|
|
class dmk_format : public floppy_image_format_t
|
|
{
|
|
public:
|
|
dmk_format();
|
|
|
|
virtual int identify(io_generic *io, UINT32 form_factor);
|
|
virtual bool load(io_generic *io, UINT32 form_factor, floppy_image *image);
|
|
virtual bool save(io_generic *io, floppy_image *image);
|
|
|
|
virtual const char *name() const;
|
|
virtual const char *description() const;
|
|
virtual const char *extensions() const;
|
|
virtual bool supports_save() const;
|
|
};
|
|
|
|
extern const floppy_format_type FLOPPY_DMK_FORMAT;
|
|
|
|
#endif /* DMK_DSK_H */
|