blob: c1ac2e4123dcbbfdbecb6582e61fc3889b7bca6d (
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
|
// license:BSD-3-Clause
// copyright-holders:O. Galibert
#ifndef MAME_BUS_NSCSI_CRD254SH_H
#define MAME_BUS_NSCSI_CRD254SH_H
#pragma once
#include "machine/nscsi_bus.h"
#include "cpu/h8/h83042.h"
#include "machine/ncr5390.h"
class crd254sh_device : public device_t, public nscsi_slot_card_interface
{
public:
crd254sh_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 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);
void io_map(address_map &map);
required_device<h83040_device> m_mcu;
required_device<ncr53c94_device> m_scsi;
required_region_ptr<u16> m_rom;
};
DECLARE_DEVICE_TYPE(CRD254SH, crd254sh_device)
#endif // MAME_BUS_NSCSI_CRD254SH_H
|