summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/tmc600/euro.cpp
blob: 9da4cf802276456ba660640e1ce1c921045e4960 (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
76
77
78
// license:BSD-3-Clause
// copyright-holders:Curt Coder
/**********************************************************************

    Telercas Telmac TMC-600 Eurobus emulation

**********************************************************************/

#include "emu.h"
#include "euro.h"



//**************************************************************************
//  GLOBAL VARIABLES
//**************************************************************************

DEFINE_DEVICE_TYPE(TMC600_EUROBUS_SLOT, tmc600_eurobus_slot_device, "tmc600_eurobus_slot", "Telmac Eurobus slot")



//**************************************************************************
//  LIVE DEVICE
//**************************************************************************

//-------------------------------------------------
//  device_tmc600_eurobus_card_interface - constructor
//-------------------------------------------------

device_tmc600_eurobus_card_interface::device_tmc600_eurobus_card_interface(const machine_config &mconfig, device_t &device)
	: device_interface(device, "telmaceurobus")
{
	m_slot = dynamic_cast<tmc600_eurobus_slot_device *>(device.owner());
}


//-------------------------------------------------
//  tmc600_eurobus_slot_device - constructor
//-------------------------------------------------

tmc600_eurobus_slot_device::tmc600_eurobus_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
	device_t(mconfig, TMC600_EUROBUS_SLOT, tag, owner, clock),
	device_single_card_slot_interface<device_tmc600_eurobus_card_interface>(mconfig, *this)
{
}


//-------------------------------------------------
//  device_start - device-specific startup
//-------------------------------------------------

void tmc600_eurobus_slot_device::device_start()
{
	m_card = get_card_device();
}


//-------------------------------------------------
//  SLOT_INTERFACE( tmc600_eurobus_cards )
//-------------------------------------------------

void tmc600_eurobus_cards(device_slot_interface &device)
{
	//device.option_add("tmc710", TMC710); // 5-way expander
	//device.option_add("tmc720", TMC720); // 5-way expander (new model)
	//device.option_add("tmce200", TMCE200); // 8 KB RAM (CMOS)
	//device.option_add("tmce220", TMCE220); // 16/32 KB RAM/EPROM
	//device.option_add("tmce225", TMCE225); // 16 KB RAM (CMOS)
	//device.option_add("tmce250", TMCE250); // 32-way input/output
	//device.option_add("tmce260", TMCE260); // RS-232
	//device.option_add("tmce270", TMCE270); // generic ADC card (RCA CA3162 or CA3300, Teledyne 8700/01/02/03/04/05)
	//device.option_add("tmce2701", TMCE2701); // TMCE-270 with CA3162
	//device.option_add("tmce2702", TMCE2702); // TMCE-270 with CA3300
	//device.option_add("tmce280", TMCE280); // floppy disc controller for 3x 5.25" and 4x 8"
	//device.option_add("tmce285", TMCE285); // monochrome CRT controller (min. 80 cps)
	//device.option_add("tmce300", TMCE300); // slave computer with parallel I/O
	//device.option_add("tmce305", TMCE304); // slave computer with serial I/O
}