diff options
author | 2013-10-14 17:44:51 +0000 | |
---|---|---|
committer | 2013-10-14 17:44:51 +0000 | |
commit | 98652587d8588794aa2d21b56f6d6ae3114108f1 (patch) | |
tree | 920cfa2c1672f9765527b23591f123007bf51b95 /src/lib/formats/dim_dsk.h | |
parent | c2338a50c25e94b32d0d91d53cea778589efb597 (diff) |
dim_dsk: add modern support [Carl]
x68k: make floppies work again [Carl]
hd63450: make it easier for external drq support (nw)
---
esq5505 is the only other user of the hd63450, needs to be tested
Diffstat (limited to 'src/lib/formats/dim_dsk.h')
-rw-r--r-- | src/lib/formats/dim_dsk.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/lib/formats/dim_dsk.h b/src/lib/formats/dim_dsk.h index a889d468ad1..fbbe5083226 100644 --- a/src/lib/formats/dim_dsk.h +++ b/src/lib/formats/dim_dsk.h @@ -16,4 +16,22 @@ FLOPPY_IDENTIFY(dim_dsk_identify); FLOPPY_CONSTRUCT(dim_dsk_construct); + +class dim_format : public floppy_image_format_t +{ +public: + dim_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_DIM_FORMAT; + #endif /* DIM_DSK_H */ |