summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/fdos_dsk.h
blob: 73bd7d7156ab89f21a83a9fa1404648ac5fffe61 (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
// license:BSD-3-Clause
// copyright-holders:Michael R. Furman
/*
 * fdos_dsk.h
 *
 *  Created on: 24/08/2022
 */
#ifndef MAME_FORMATS_FDOS_DSK_H
#define MAME_FORMATS_FDOS_DSK_H

#pragma once

#include "flopimg.h"
#include "wd177x_dsk.h"

class fdos_format : public wd177x_format
{
public:
	fdos_format();

	virtual const char *name() const noexcept override;
	virtual const char *description() const noexcept override;
	virtual const char *extensions() const noexcept override;
	virtual int identify(util::random_read &io, uint32_t form_factor, const std::vector<uint32_t> &variants) const override;
	virtual int find_size(util::random_read &io, uint32_t form_factor, const std::vector<uint32_t> &variants) const override;
};

extern const fdos_format FLOPPY_FDOS_FORMAT;

#endif // MAME_FORMATS_FDOS_DSK_H