summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/nscsi/smoc501.h
blob: c4ecb6ad00c241fad552a4bfb1fc4c914764c0e1 (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:AJR

#ifndef MAME_BUS_NSCSI_SMOC501_H
#define MAME_BUS_NSCSI_SMOC501_H

#pragma once

#include "machine/nscsi_bus.h"

class smoc501_device : public device_t, public nscsi_slot_card_interface
{
public:
	smoc501_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);

	static constexpr feature_type unemulated_features() { return feature::DISK; }

protected:
	virtual void device_start() override;
	virtual ioport_constructor device_input_ports() const override;
	virtual void device_add_mconfig(machine_config &config) override;
	virtual const tiny_rom_entry *device_rom_region() const override;

private:
	void mem_map(address_map &map);
};

DECLARE_DEVICE_TYPE(SMOC501, smoc501_device)

#endif // MAME_BUS_NSCSI_CDD2000_H