blob: 83c49ab276635295f61e319dd64364fde06d7eda (
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
|
// license:BSD-3-Clause
// copyright-holders:Nigel Barnes
/**********************************************************************
Memotech ROMPAK
**********************************************************************/
#include "emu.h"
#include "rompak.h"
//**************************************************************************
// DEVICE DEFINITIONS
//**************************************************************************
DEFINE_DEVICE_TYPE(MTX_ROMPAK, mtx_rompak_device, "rompak", "MTX ROMPAK")
//**************************************************************************
// LIVE DEVICE
//**************************************************************************
//-------------------------------------------------
// mtx_rompak_device - constructor
//-------------------------------------------------
mtx_rompak_device::mtx_rompak_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: device_t(mconfig, MTX_ROMPAK, tag, owner, clock)
, device_mtx_exp_interface(mconfig, *this)
{
}
//-------------------------------------------------
// device_start - device-specific startup
//-------------------------------------------------
void mtx_rompak_device::device_start()
{
}
//-------------------------------------------------
// device_reset - device-specific reset
//-------------------------------------------------
void mtx_rompak_device::device_reset()
{
machine().root_device().membank("rommap_bank1")->configure_entry(7, get_rom_base());
}
|