This commit is contained in:
Olivier Galibert 2012-11-15 20:57:38 +00:00
parent 6a43e78d97
commit 48d5733ec2
2 changed files with 35 additions and 0 deletions

1
.gitattributes vendored
View file

@ -1814,6 +1814,7 @@ src/lib/formats/hxcmfm_dsk.h svneol=native#text/plain
src/lib/formats/imageutl.c svneol=native#text/plain
src/lib/formats/imageutl.h svneol=native#text/plain
src/lib/formats/imd_dsk.c svneol=native#text/plain
src/lib/formats/imd_dsk.h svneol=native#text/plain
src/lib/formats/ioprocs.c svneol=native#text/plain
src/lib/formats/ioprocs.h svneol=native#text/plain
src/lib/formats/ipf_dsk.c svneol=native#text/plain

34
src/lib/formats/imd_dsk.h Normal file
View file

@ -0,0 +1,34 @@
/*********************************************************************
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 */