~ubuntu-branches/ubuntu/raring/mame/raring-proposed

« back to all changes in this revision

Viewing changes to mess/src/mess/machine/interpod.h

  • Committer: Package Import Robot
  • Author(s): Jordi Mallach, Jordi Mallach, Emmanuel Kasper
  • Date: 2011-12-19 22:56:27 UTC
  • mfrom: (0.1.2)
  • Revision ID: package-import@ubuntu.com-20111219225627-ub5oga1oys4ogqzm
Tags: 0.144-1
[ Jordi Mallach ]
* Fix syntax errors in DEP5 copyright file (lintian).
* Use a versioned copyright Format specification field.
* Update Vcs-* URLs.
* Move transitional packages to the new metapackages section, and make
  them priority extra.
* Remove references to GNU/Linux and MESS sources from copyright.
* Add build variables for s390x.
* Use .xz tarballs as it cuts 4MB for the upstream sources.
* Add nplayers.ini as a patch. Update copyright file to add CC-BY-SA-3.0.

[ Emmanuel Kasper ]
* New upstream release. Closes: #651538.
* Add Free Desktop compliant png icons of various sizes taken from
  the hydroxygen iconset
* Mess is now built from a new source package, to avoid possible source
  incompatibilities between mame and the mess overlay.
* Mame-tools are not built from the mame source package anymore, but
  from the mess source package

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#pragma once
2
 
 
3
 
#ifndef __INTERPOD__
4
 
#define __INTERPOD__
5
 
 
6
 
#define ADDRESS_MAP_MODERN
7
 
 
8
 
#include "emu.h"
9
 
#include "cpu/m6502/m6502.h"
10
 
#include "machine/6522via.h"
11
 
#include "machine/6532riot.h"
12
 
#include "machine/6850acia.h"
13
 
#include "machine/cbmiec.h"
14
 
#include "machine/ieee488.h"
15
 
 
16
 
 
17
 
 
18
 
//**************************************************************************
19
 
//  MACROS / CONSTANTS
20
 
//**************************************************************************
21
 
 
22
 
#define INTERPOD_TAG                    "interpod"
23
 
 
24
 
 
25
 
 
26
 
//**************************************************************************
27
 
//  INTERFACE CONFIGURATION MACROS
28
 
//**************************************************************************
29
 
 
30
 
#define MCFG_INTERPOD_ADD(_daisy) \
31
 
    MCFG_DEVICE_ADD(INTERPOD_TAG, INTERPOD, 0) \
32
 
        MCFG_IEEE488_CONFIG_ADD(_daisy, interpod_ieee488_intf)
33
 
 
34
 
 
35
 
 
36
 
//**************************************************************************
37
 
//  TYPE DEFINITIONS
38
 
//**************************************************************************
39
 
 
40
 
// ======================> interpod_device
41
 
 
42
 
class interpod_device :  public device_t,
43
 
                                             public device_cbm_iec_interface
44
 
{
45
 
public:
46
 
    // construction/destruction
47
 
    interpod_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
48
 
 
49
 
        // optional information overrides
50
 
        virtual const rom_entry *device_rom_region() const;
51
 
        virtual machine_config_constructor device_mconfig_additions() const;
52
 
 
53
 
protected:
54
 
    // device-level overrides
55
 
    virtual void device_start();
56
 
        virtual void device_reset();
57
 
    virtual void device_config_complete();
58
 
 
59
 
        required_device<cpu_device> m_maincpu;
60
 
        required_device<via6522_device> m_via;
61
 
        required_device<riot6532_device> m_riot;
62
 
        required_device<acia6850_device> m_acia;
63
 
        required_device<cbm_iec_device> m_iec;
64
 
        required_device<ieee488_device> m_ieee;
65
 
};
66
 
 
67
 
 
68
 
// device type definition
69
 
extern const device_type INTERPOD;
70
 
 
71
 
 
72
 
// IEEE-488 interface
73
 
extern const ieee488_stub_interface interpod_ieee488_intf;
74
 
 
75
 
 
76
 
 
77
 
#endif