Previous 199869 Revisions Next

r31664 Friday 15th August, 2014 at 21:57:33 UTC by Sandro Ronco
(MESS) removed unneeded files (nw)
[src/emu/bus/dmv]dmv_dsk.c dmv_dsk.h

trunk/src/emu/bus/dmv/dmv_dsk.c
r31663r31664
1// license:BSD-3-Clause
2// copyright-holders:Olivier Galibert
3/*********************************************************************
4
5    formats/dmv_dsk.c
6
7    NCR Decision Mate V format
8
9*********************************************************************/
10
11#include "emu.h"
12#include "formats/dmv_dsk.h"
13
14dmv_format::dmv_format() : upd765_format(formats)
15{
16}
17
18const char *dmv_format::name() const
19{
20   return "dmv";
21}
22
23const char *dmv_format::description() const
24{
25   return "Decision Mate V disk image";
26}
27
28const char *dmv_format::extensions() const
29{
30   return "img";
31}
32
33// gap size from hardware reference manual
34const dmv_format::format dmv_format::formats[] = {
35   {
36      floppy_image::FF_525, floppy_image::DSDD, floppy_image::MFM,
37      2000,
38      9, 40, 2,
39      512, {},
40      1, {},
41      80, 50, 22, 80
42   },
43   {
44      floppy_image::FF_525, floppy_image::DSDD, floppy_image::MFM,
45      2000,
46      8, 40, 2,
47      512, {},
48      1, {},
49      80, 50, 22, 80
50   },
51   {}
52};
53
54const floppy_format_type FLOPPY_DMV_FORMAT = &floppy_image_format_creator<dmv_format>;
trunk/src/emu/bus/dmv/dmv_dsk.h
r31663r31664
1/*********************************************************************
2
3    formats/dmv_dsk.h
4
5    NCR Decision Mate V format
6
7*********************************************************************/
8
9#ifndef DMV_DSK_H_
10#define DMV_DSK_H_
11
12#include "upd765_dsk.h"
13
14class dmv_format : public upd765_format {
15public:
16   dmv_format();
17
18   virtual const char *name() const;
19   virtual const char *description() const;
20   virtual const char *extensions() const;
21
22private:
23   static const format formats[];
24};
25
26extern const floppy_format_type FLOPPY_DMV_FORMAT;
27
28#endif /* DMV_DSK_H_ */

Previous 199869 Revisions Next


© 1997-2024 The MAME Team