blob: 9d7782c36e15cb117830d8bacfdfdd51f75e47ee (
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
|
// license:BSD-3-Clause
// copyright-holders:tim lindner
#ifndef MAME_BUS_MC10_MC10_PAK_H
#define MAME_BUS_MC10_MC10_PAK_H
#pragma once
#include "mc10_cart.h"
//**************************************************************************
// TYPE DEFINITIONS
//**************************************************************************
// ======================> mc10_pak_device
class mc10_pak_device :
public device_t,
public device_mc10cart_interface
{
public:
// construction/destruction
mc10_pak_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
virtual int max_rom_length() const override;
virtual image_init_result load() override;
protected:
mc10_pak_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock);
// device-level overrides
virtual void device_start() override;
};
// device type definitions
DECLARE_DEVICE_TYPE(MC10_PAK, mc10_pak_device)
#endif // MAME_BUS_MC10_MC10_PAK_H
|