blob: 4fdf8809bf56d51d296c312d9ee1b20e9306c2cd (
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
38
39
40
41
42
43
|
// license:BSD-3-Clause
// copyright-holders:AJR
/***************************************************************************
Novell Disk Coprocessor Board (DCB)
***************************************************************************/
#ifndef MAME_BUS_ISA_DCB_H
#define MAME_BUS_ISA_DCB_H
#pragma once
#include "isa.h"
#include "cpu/i86/i186.h"
#include "machine/eepromser.h"
class novell_dcb_device : public device_t, public device_isa16_card_interface
{
public:
novell_dcb_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_add_mconfig(machine_config &config) override;
virtual const tiny_rom_entry *device_rom_region() const override;
virtual void device_start() override;
private:
void eeprom_w(u8 data);
u8 misc_r();
void mem_map(address_map &map);
void io_map(address_map &map);
required_device<i80188_cpu_device> m_localcpu;
required_device<eeprom_serial_93cxx_device> m_eeprom;
};
DECLARE_DEVICE_TYPE(NOVELL_DCB, novell_dcb_device)
#endif // MAME_BUS_ISA_DCB_H
|