Previous 199869 Revisions Next

r34080 Saturday 27th December, 2014 at 01:43:23 UTC by Robbbert
(MESS) excalibur : more unused code (nw)
[src/lib]lib.mak
[src/lib/formats]excali64_dsk.c excali64_dsk.h

trunk/src/lib/formats/excali64_dsk.c
r242591r242592
1// license:BSD-3-Clause
2// copyright-holders:Olivier Galibert
3/*********************************************************************
4
5    formats/excali64_dsk.c
6
7    Excalibur 64 disk image format
8
9*********************************************************************/
10
11#include "emu.h"
12#include "formats/excali64_dsk.h"
13
14excali64_format::excali64_format() : wd177x_format(formats)
15{
16}
17
18const char *excali64_format::name() const
19{
20   return "excali64";
21}
22
23const char *excali64_format::description() const
24{
25   return "Excalibur 64 disk image";
26}
27
28const char *excali64_format::extensions() const
29{
30   return "raw";
31}
32
33// Unverified gap sizes
34const excali64_format::format excali64_format::formats[] = {
35   {   /*  800K 19cm double density */
36      floppy_image::FF_525,  floppy_image::DSDD, floppy_image::MFM,
37      2000,  5, 80, 2, 1024, {}, 1, {}, 100, 22, 84
38   },
39   {}
40};
41
42const floppy_format_type FLOPPY_EXCALI64_FORMAT = &floppy_image_format_creator<excali64_format>;
trunk/src/lib/formats/excali64_dsk.h
r242591r242592
1/*********************************************************************
2
3    formats/excali64_dsk.h
4
5    Excalibur 64 disk image format
6
7*********************************************************************/
8
9#ifndef EXCALI64_DSK_H_
10#define EXCALI64_DSK_H_
11
12#include "wd177x_dsk.h"
13
14class excali64_format : public wd177x_format {
15public:
16   excali64_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_EXCALI64_FORMAT;
27
28#endif
trunk/src/lib/lib.mak
r242591r242592
148148   $(LIBOBJ)/formats/ep64_dsk.o    \
149149   $(LIBOBJ)/formats/esq8_dsk.o    \
150150   $(LIBOBJ)/formats/esq16_dsk.o   \
151   $(LIBOBJ)/formats/excali64_dsk.o\
152151   $(LIBOBJ)/formats/fc100_cas.o   \
153152   $(LIBOBJ)/formats/fdi_dsk.o     \
154153   $(LIBOBJ)/formats/fdd_dsk.o     \


Previous 199869 Revisions Next


© 1997-2024 The MAME Team