blob: af0fb398aa0d862f2d19e4be9a68def4c011d946 (
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
/**********************************************************************
Oxford Computer Systems Interpod IEC to IEEE interface emulation
Copyright MESS Team.
Visit http://mamedev.org for licensing and usage restrictions.
*********************************************************************/
#pragma once
#ifndef __INTERPOD__
#define __INTERPOD__
#include "emu.h"
#include "cpu/m6502/m6502.h"
#include "machine/6522via.h"
#include "machine/6532riot.h"
#include "machine/6850acia.h"
#include "machine/c2031.h"
#include "machine/c2040.h"
#include "machine/c8280.h"
#include "machine/d9060.h"
#include "machine/cbmiec.h"
#include "machine/cbmipt.h"
#include "machine/ieee488.h"
//**************************************************************************
// MACROS / CONSTANTS
//**************************************************************************
#define INTERPOD_TAG "interpod"
//**************************************************************************
// INTERFACE CONFIGURATION MACROS
//**************************************************************************
#define MCFG_INTERPOD_ADD() \
MCFG_DEVICE_ADD(INTERPOD_TAG, INTERPOD, 0)
//**************************************************************************
// TYPE DEFINITIONS
//**************************************************************************
// ======================> interpod_device
class interpod_device : public device_t,
public device_cbm_iec_interface
{
public:
// construction/destruction
interpod_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
// optional information overrides
virtual const rom_entry *device_rom_region() const;
virtual machine_config_constructor device_mconfig_additions() const;
protected:
// device-level overrides
virtual void device_start();
virtual void device_reset();
virtual void device_config_complete();
required_device<cpu_device> m_maincpu;
required_device<via6522_device> m_via;
required_device<riot6532_device> m_riot;
required_device<acia6850_device> m_acia;
required_device<ieee488_device> m_ieee;
};
// device type definition
extern const device_type INTERPOD;
#endif
|