summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/nscsi/applecd.h
blob: a2b8b6002d5edd3b66133984dd136403752587a3 (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_APPLECD_H
#define MAME_BUS_NSCSI_APPLECD_H

#pragma once

#include "machine/nscsi_bus.h"

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

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

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

private:
	void prog_map(address_map &map);
	void ext_map(address_map &map);
};

DECLARE_DEVICE_TYPE(APPLECD150, applecd150_device)

#endif // MAME_BUS_NSCSI_APPLECD_H