~ubuntu-branches/debian/sid/mame/sid

« back to all changes in this revision

Viewing changes to mess/src/mame/drivers/play_3.c

  • 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
 
/*
2
 
    Playmatic MPU 3
3
 
*/
4
 
#include "emu.h"
5
 
#include "cpu/cosmac/cosmac.h"
6
 
 
7
 
extern const char layout_pinball[];
8
 
 
9
 
class play_3_state : public driver_device
10
 
{
11
 
public:
12
 
        play_3_state(const machine_config &mconfig, device_type type, const char *tag)
13
 
                : driver_device(mconfig, type, tag) { }
14
 
};
15
 
 
16
 
 
17
 
static ADDRESS_MAP_START( play_3_map, AS_PROGRAM, 8 )
18
 
        AM_RANGE(0x0000, 0xffff) AM_NOP
19
 
ADDRESS_MAP_END
20
 
 
21
 
static INPUT_PORTS_START( play_3 )
22
 
INPUT_PORTS_END
23
 
 
24
 
static MACHINE_RESET( play_3 )
25
 
{
26
 
}
27
 
 
28
 
static DRIVER_INIT( play_3 )
29
 
{
30
 
}
31
 
 
32
 
static COSMAC_INTERFACE( cdp1802_config )
33
 
{
34
 
        DEVCB_NULL,
35
 
        DEVCB_NULL,
36
 
        DEVCB_NULL,
37
 
        DEVCB_NULL,
38
 
        DEVCB_NULL,
39
 
        DEVCB_NULL,
40
 
        DEVCB_NULL,
41
 
        DEVCB_NULL,
42
 
        DEVCB_NULL,
43
 
        NULL,
44
 
        DEVCB_NULL,
45
 
        DEVCB_NULL
46
 
};
47
 
 
48
 
static MACHINE_CONFIG_START( play_3, play_3_state )
49
 
        /* basic machine hardware */
50
 
        MCFG_CPU_ADD("maincpu", COSMAC, 2950000)
51
 
        MCFG_CPU_PROGRAM_MAP(play_3_map)
52
 
        MCFG_CPU_CONFIG(cdp1802_config)
53
 
 
54
 
        MCFG_MACHINE_RESET( play_3 )
55
 
 
56
 
        /* video hardware */
57
 
        MCFG_DEFAULT_LAYOUT(layout_pinball)
58
 
MACHINE_CONFIG_END
59
 
 
60
 
/*-------------------------------------------------------------------
61
 
/ Meg-Aaton (1983)
62
 
/-------------------------------------------------------------------*/
63
 
ROM_START(megaaton)
64
 
        ROM_REGION(0x10000, "maincpu", 0)
65
 
        ROM_LOAD("cpumegat.bin", 0x0000, 0x2000, CRC(7e7a4ede) SHA1(3194b367cbbf6e0cb2629cd5d82ddee6fe36985a))
66
 
        ROM_RELOAD(0x4000, 0x2000)
67
 
        ROM_RELOAD(0x8000, 0x2000)
68
 
        ROM_RELOAD(0xc000, 0x2000)
69
 
        ROM_REGION(0x10000, "cpu2", 0)
70
 
        ROM_LOAD("smogot.bin", 0x0000, 0x2000, CRC(92fa0742) SHA1(ef3100a53323fd67e23b47fc3e72fdb4671e9b0a))
71
 
        ROM_RELOAD(0x4000, 0x2000)
72
 
        ROM_RELOAD(0x8000, 0x2000)
73
 
        ROM_RELOAD(0xc000, 0x2000)
74
 
        ROM_LOAD("smegat.bin", 0x2000, 0x1000, CRC(910ab7fe) SHA1(0ddfd15c9c25f43b8fcfc4e11bc8ea180f6bd761))
75
 
        ROM_RELOAD(0x6000, 0x1000)
76
 
        ROM_RELOAD(0xa000, 0x1000)
77
 
        ROM_RELOAD(0xe000, 0x1000)
78
 
ROM_END
79
 
 
80
 
GAME(1983,      megaaton,       0,      play_3, play_3, play_3, ROT0,   "Playmatic",            "Meg-Aaton",            GAME_NOT_WORKING | GAME_NO_SOUND | GAME_MECHANICAL)