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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
// license:BSD-3-Clause
// copyright-holders:Patrick Mackinlay
#ifndef MAME_INCLUDES_JENSEN_H
#define MAME_INCLUDES_JENSEN_H
#pragma once
#include "cpu/alpha/alpha.h"
// memory
#include "machine/ram.h"
#include "machine/xc1700e.h"
#include "machine/intelfsh.h"
// various hardware
#include "machine/i82357.h"
// busses and connectors
#include "bus/rs232/rs232.h"
#include "bus/pc_kbd/pc_kbdc.h"
#include "bus/pc_kbd/keyboards.h"
class jensen_state : public driver_device
{
public:
jensen_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag)
, m_cpu(*this, "cpu")
, m_ram(*this, "ram")
, m_srom(*this, "srom")
, m_feprom(*this, "feprom%u", 0)
, m_isp(*this, "isp")
{
}
// machine config
void jensen(machine_config &config);
void d2k300axp(machine_config &config);
void d2k500axp(machine_config &config);
void dpcaxp150(machine_config &config);
void init_common();
protected:
// driver_device overrides
virtual void machine_start() override;
virtual void machine_reset() override;
// address maps
void local_memory(address_map &map);
void local_io(address_map &map);
void eisa_memory(address_map &map);
void eisa_io(address_map &map);
private:
// devices
required_device<alpha_device> m_cpu;
required_device<ram_device> m_ram;
required_device<xc1765e_device> m_srom;
required_device_array<intel_e28f008sa_device, 2> m_feprom;
required_device<i82357_device> m_isp;
// machine state
u8 m_hae;
u8 m_sysctl;
u8 m_spare;
};
#endif // MAME_INCLUDES_JENSEN_H
|