blob: 58427fa9442aecde73d10edc5abc7a8671be738b (
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
|
#ifndef __MD_SK_H
#define __MD_SK_H
#include "machine/md_slot.h"
// ======================> md_rom_sk_device
class md_rom_sk_device : public device_t,
public device_md_cart_interface
{
public:
// construction/destruction
md_rom_sk_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
md_rom_sk_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
// device-level overrides
virtual void device_start();
virtual void device_config_complete() { m_shortname = "md_rom_sk"; }
virtual machine_config_constructor device_mconfig_additions() const;
// reading and writing
virtual DECLARE_READ16_MEMBER(read);
virtual DECLARE_WRITE16_MEMBER(write);
private:
required_device<md_subcart_slot_device> m_exp;
};
// device type definition
extern const device_type MD_ROM_SK;
#endif
|