summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/audio/mb63h114.cpp
blob: 6a22b28c2eab6ca7e0db51a05e495ae06d9382cc (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:AJR
/***************************************************************************

    Roland MB63H114 Multiple Address Counter

    The multiplexed outputs of eight 13-bit counters internal to this
    64-pin QFP CMOS gate array are used to play percussion samples.

    The on-chip clock generator must be externally strapped by connecting
    SCO1 (36) to CLK0 (37) to obtain the standard 1.6 MHz master clock.
    This is divided to produce 100, 50, 25 and 12.5 kHz outputs on A (3),
    B (5), C (7) and D (4). These outputs are normally connected to the
    XCK0–XCK7 inputs (56–57, 59–64), upper address lines and chip selects
    of sample mask ROMs, and 40H151 multiplexers and demultiplexers, but
    may also be used to drive other circuits.

    The XST0–XST7 (38–41, 44–47) counter start inputs, strobed with XSTA
    (50), are normally connected to CPU address outputs rather than the
    data bus, perhaps due to long setup/hold requirements. All these are
    specified as active low.

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

#include "emu.h"
#include "mb63h114.h"

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

// device type definition
DEFINE_DEVICE_TYPE(MB63H114, mb63h114_device, "mb63h114", "Roland MB63H114 Multiple Address Counter")


//**************************************************************************
//  DEVICE IMPLEMENTATION
//**************************************************************************

//-------------------------------------------------
//  mb63h114_device - constructor
//-------------------------------------------------

mb63h114_device::mb63h114_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock)
	: device_t(mconfig, MB63H114, tag, owner, clock)
{
}


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

void mb63h114_device::device_start()
{
}


//-------------------------------------------------
//  device_reset - device-specific reset
//-------------------------------------------------

void mb63h114_device::device_reset()
{
}


//-------------------------------------------------
//  xst_w - write counter start inputs
//-------------------------------------------------

void mb63h114_device::xst_w(u8 data)
{
	logerror("%s: XST = %02X\n", machine().describe_context(), data);
}