blob: e9afc3e699f238e0f4ad7a90efd0ab3242605fef (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
// license:GPL-2.0+
// copyright-holders:Nigel Barnes
/***************************************************************************
Acorn FileStore
Disk image formats
***************************************************************************/
#pragma once
#ifndef __AFS_DSK_H__
#define __AFS_DSK_H__
#include "wd177x_dsk.h"
class afs_format : public wd177x_format
{
public:
afs_format();
virtual int identify(io_generic *io, uint32_t form_factor) override;
virtual int get_image_offset(const format &f, int head, int track) override;
virtual const char *name() const override;
virtual const char *description() const override;
virtual const char *extensions() const override;
private:
static const format formats[];
};
extern const floppy_format_type FLOPPY_AFS_FORMAT;
#endif // __AFS_DSK_H__
|