summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/isbc660.cpp
blob: 2204a41876c0f2b294fdaefc71f022b544a5ef41 (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
79
80
81
82
// license:BSD-3-Clause
// copyright-holders:Patrick Mackinlay

/*
 * Intel iSBC 660 System Chassis
 *
 * This is a bare system chassis with an 8-slot backplane into which a variety
 * of Multibus boards may be installed.
 *
 * Sources:
 *  - http://www.nj7p.org/Manuals/PDFs/Intel/AFN-00285A.pdf
 *
 * TODO:
 *  - additional cards
 */

#include "emu.h"

#include "bus/multibus/multibus.h"
#include "bus/multibus/isbc8024.h"

#define VERBOSE 0
#include "logmacro.h"

namespace {

class isbc660_state : public driver_device
{
public:
	isbc660_state(machine_config const &mconfig, device_type type, char const *tag)
		: driver_device(mconfig, type, tag)
		, m_bus(*this, "slot")
	{
	}

protected:
	// driver_device overrides
	virtual void machine_start() override;
	virtual void machine_reset() override;

public:
	// machine config
	void isbc660(machine_config &config);

private:
	required_device<multibus_device> m_bus;
};

void isbc660_state::machine_start()
{
}

void isbc660_state::machine_reset()
{
}

static void isbc660_cards(device_slot_interface &device)
{
	device.option_add("isbc8024", ISBC8024);
}

void isbc660_state::isbc660(machine_config &config)
{
	MULTIBUS(config, m_bus, 10_MHz_XTAL); // FIXME: clock driven by bus master

	MULTIBUS_SLOT(config, "slot:1", m_bus, isbc660_cards, nullptr, false);
	MULTIBUS_SLOT(config, "slot:2", m_bus, isbc660_cards, nullptr, false);
	MULTIBUS_SLOT(config, "slot:3", m_bus, isbc660_cards, nullptr, false);
	MULTIBUS_SLOT(config, "slot:4", m_bus, isbc660_cards, nullptr, false);
	MULTIBUS_SLOT(config, "slot:5", m_bus, isbc660_cards, nullptr, false);
	MULTIBUS_SLOT(config, "slot:6", m_bus, isbc660_cards, nullptr, false);
	MULTIBUS_SLOT(config, "slot:7", m_bus, isbc660_cards, nullptr, false);
	MULTIBUS_SLOT(config, "slot:8", m_bus, isbc660_cards, nullptr, false);
}

ROM_START(isbc660)
ROM_END

}

/*   YEAR  NAME     PARENT COMPAT MACHINE  INPUT CLASS          INIT        COMPANY  FULLNAME    FLAGS */
COMP(1985, isbc660, 0,     0,     isbc660, 0,    isbc660_state, empty_init, "Intel", "iSBC 660", MACHINE_NOT_WORKING | MACHINE_NO_SOUND_HW)