blob: dcecdb838533f582d942e2a9e07b5aa9832bc5a8 (
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
|
// license:BSD-3-Clause
// copyright-holders:Curt Coder
/**********************************************************************
VideoBrain Money Minder cartridge emulation
**********************************************************************/
#ifndef MAME_BUS_VIDBRAIN_MONEY_MINDER_H
#define MAME_BUS_VIDBRAIN_MONEY_MINDER_H
#pragma once
#include "exp.h"
//**************************************************************************
// TYPE DEFINITIONS
//**************************************************************************
// ======================> videobrain_money_minder_cartridge_device
class videobrain_money_minder_cartridge_device : public device_t, public device_videobrain_expansion_card_interface
{
public:
// construction/destruction
videobrain_money_minder_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
protected:
// device-level overrides
virtual void device_start() override { }
// device_videobrain_expansion_card_interface overrides
virtual uint8_t videobrain_bo_r(offs_t offset, int cs1, int cs2) override;
virtual void videobrain_bo_w(offs_t offset, uint8_t data, int cs1, int cs2) override;
};
// device type definition
DECLARE_DEVICE_TYPE(VB_MONEY_MINDER, videobrain_money_minder_cartridge_device)
#endif // MAME_BUS_VIDBRAIN_MONEY_MINDER_H
|