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
83
84
85
86
|
// license:BSD-3-Clause
// copyright-holders:Curt Coder
/**********************************************************************
CST QL Disc Interface emulation
**********************************************************************/
#include "emu.h"
#include "cst_qdisc.h"
//**************************************************************************
// DEVICE DEFINITIONS
//**************************************************************************
DEFINE_DEVICE_TYPE(CST_QL_DISC_INTERFACE, cst_ql_disc_interface_device, "ql_qldisc", "CST QL Disc Interface")
//-------------------------------------------------
// ROM( cst_ql_disc_interface )
//-------------------------------------------------
ROM_START( cst_ql_disc_interface )
ROM_REGION( 0x2000, "rom", 0 )
ROM_DEFAULT_BIOS("v116")
ROM_SYSTEM_BIOS( 0, "v113", "v1.13" )
ROMX_LOAD( "cst_qdisc_controller_v1.13_1984.rom", 0x0000, 0x2000, CRC(e08d9b5b) SHA1(ec981e60db0269412c518930ca6b5187b20a44f5), ROM_BIOS(0) )
ROM_SYSTEM_BIOS( 1, "v116", "v1.16" )
ROMX_LOAD( "cst_qdisc_controller_v1.16_1984.rom", 0x0000, 0x2000, CRC(05a73b00) SHA1(de8c5a4257107a4a41bc94c532cbfb7c65bfb472), ROM_BIOS(1) )
ROM_END
//-------------------------------------------------
// rom_region - device-specific ROM region
//-------------------------------------------------
const tiny_rom_entry *cst_ql_disc_interface_device::device_rom_region() const
{
return ROM_NAME( cst_ql_disc_interface );
}
//**************************************************************************
// LIVE DEVICE
//**************************************************************************
//-------------------------------------------------
// cst_ql_disc_interface_device - constructor
//-------------------------------------------------
cst_ql_disc_interface_device::cst_ql_disc_interface_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
device_t(mconfig, CST_QL_DISC_INTERFACE, tag, owner, clock),
device_ql_expansion_card_interface(mconfig, *this)
{
}
//-------------------------------------------------
// device_start - device-specific startup
//-------------------------------------------------
void cst_ql_disc_interface_device::device_start()
{
}
//-------------------------------------------------
// read -
//-------------------------------------------------
uint8_t cst_ql_disc_interface_device::read(address_space &space, offs_t offset, uint8_t data)
{
return data;
}
//-------------------------------------------------
// write -
//-------------------------------------------------
void cst_ql_disc_interface_device::write(address_space &space, offs_t offset, uint8_t data)
{
}
|