blob: 5e0e1f2c5cfec9c197494756afccc2f38e8578c1 (
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
|
// license:LGPL-2.1+
// copyright-holders:Michael Zapf
/****************************************************************************
TI-99 32K memory expansion
See ti32kmem.c for documentation
Michael Zapf
February 2012: Rewritten as class
*****************************************************************************/
#ifndef __TI32K__
#define __TI32K__
extern const device_type TI_32KMEM;
class ti_32k_expcard_device : public ti_expansion_card_device
{
public:
ti_32k_expcard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
DECLARE_READ8Z_MEMBER(readz);
DECLARE_WRITE8_MEMBER(write);
DECLARE_READ8Z_MEMBER(crureadz) { };
DECLARE_WRITE8_MEMBER(cruwrite) { };
protected:
virtual void device_start();
virtual const rom_entry *device_rom_region() const;
private:
UINT8* m_ram_ptr;
};
#endif
|