mirror of
https://github.com/holub/mame
synced 2025-05-24 23:05:32 +03:00
35 lines
747 B
C++
35 lines
747 B
C++
/*********************************************************************
|
|
|
|
formats/imd_dsk.h
|
|
|
|
IMD disk images
|
|
|
|
*********************************************************************/
|
|
|
|
#ifndef IMD_DSK_H
|
|
#define IMD_DSK_H
|
|
|
|
#include "flopimg.h"
|
|
|
|
|
|
class imd_format : public floppy_image_format_t
|
|
{
|
|
public:
|
|
imd_format();
|
|
|
|
virtual int identify(io_generic *io, UINT32 form_factor);
|
|
virtual bool load(io_generic *io, UINT32 form_factor, floppy_image *image);
|
|
|
|
virtual const char *name() const;
|
|
virtual const char *description() const;
|
|
virtual const char *extensions() const;
|
|
virtual bool supports_save() const;
|
|
|
|
private:
|
|
void fixnum(char *start, char *end) const;
|
|
};
|
|
|
|
extern const floppy_format_type FLOPPY_IMD_FORMAT;
|
|
|
|
#endif /* IMD_DSK_H */
|