blob: a89d5acce0309af491ec4a7052cfe727007849fe (
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
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
73
74
75// license:BSD-3-Clause
// copyright-holders:Curt Coder
/**********************************************************************
International Memories Incorporated IMI 7000 Series bus emulation
**********************************************************************
GND 1 2 GND
SPARE 3 4 SPARE
-SEL UNIT ADDR 3 5 6 -SEL UNIT ADDR 2
+R/W DATA 7 8 -R/W DATA
-SEL UNIT ADDR 1 9 10 -SEL UNIT ADDR 0
+SYS CLOCK 11 12 -SYS CLOCK
GND 13 14 GND
-SECTOR 15 16 -INDEX
-SEEK COMPLETE 17 18 -FAULT
-CMD STROBE 19 20 -CMD R/W
-CMD SELECT 0 21 22 -CMD SELECT 1
SPARE 23 24 SPARE
-CMD ACK 25 26 SPARE
-CMD BUS 6 27 28 -CMD BUS 7
-CMD BUS 4 29 30 -CMD BUS 5
-CMD BUS 2 31 32 -CMD BUS 3
-CMD BUS 0 33 34 -CMD BUS 1
**********************************************************************/
#ifndef MAME_BUS_IMI7000_IMI7000_H
#define MAME_BUS_IMI7000_IMI7000_H
#pragma once
void imi7000_devices(device_slot_interface &device);
DECLARE_DEVICE_TYPE(IMI7000_BUS, imi7000_bus_device)
DECLARE_DEVICE_TYPE(IMI7000_SLOT, imi7000_slot_device)
//**************************************************************************
// TYPE DEFINITIONS
//**************************************************************************
class device_imi7000_interface;
// ======================> imi7000_slot_device
class imi7000_slot_device : public device_t, public device_single_card_slot_interface<device_imi7000_interface>
{
public:
// construction/destruction
template <typename T>
imi7000_slot_device(machine_config const &mconfig, char const *tag, device_t *owner, T &&opts, char const *dflt)
: imi7000_slot_device(mconfig, tag, owner)
{
option_reset();
opts(*this);
set_default_option(dflt);
set_fixed(false);
}
imi7000_slot_device(const machine_config &mconfig, const char *tag, device_t |