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

« back to all changes in this revision

Viewing changes to mess/src/mame/drivers/flicker.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
 
#include "emu.h"
2
 
#include "cpu/i4004/i4004.h"
3
 
 
4
 
extern const char layout_pinball[];
5
 
 
6
 
class flicker_state : public driver_device
7
 
{
8
 
public:
9
 
        flicker_state(const machine_config &mconfig, device_type type, const char *tag)
10
 
                : driver_device(mconfig, type, tag) { }
11
 
};
12
 
 
13
 
 
14
 
static ADDRESS_MAP_START( flicker_rom, AS_PROGRAM, 8 )
15
 
        AM_RANGE(0x0000, 0xffff) AM_NOP
16
 
        AM_RANGE(0x0000, 0x03FF) AM_ROM
17
 
ADDRESS_MAP_END
18
 
 
19
 
static ADDRESS_MAP_START(flicker_map, AS_DATA, 8)
20
 
        AM_RANGE(0x0000, 0xffff) AM_NOP
21
 
        AM_RANGE(0x0000, 0x00FF) AM_RAM
22
 
ADDRESS_MAP_END
23
 
 
24
 
static ADDRESS_MAP_START( flicker_io , AS_IO, 8)
25
 
        AM_RANGE(0x0000, 0xffff) AM_NOP
26
 
ADDRESS_MAP_END
27
 
 
28
 
static INPUT_PORTS_START( flicker )
29
 
INPUT_PORTS_END
30
 
 
31
 
static MACHINE_RESET( flicker )
32
 
{
33
 
}
34
 
 
35
 
static DRIVER_INIT( flicker )
36
 
{
37
 
}
38
 
 
39
 
static MACHINE_CONFIG_START( flicker, flicker_state )
40
 
        /* basic machine hardware */
41
 
        MCFG_CPU_ADD("maincpu", I4004, XTAL_5MHz / 8)
42
 
        MCFG_CPU_PROGRAM_MAP(flicker_rom)
43
 
        MCFG_CPU_DATA_MAP(flicker_map)
44
 
        MCFG_CPU_IO_MAP(flicker_io)
45
 
 
46
 
        MCFG_MACHINE_RESET( flicker )
47
 
 
48
 
        /* video hardware */
49
 
        MCFG_DEFAULT_LAYOUT(layout_pinball)
50
 
MACHINE_CONFIG_END
51
 
 
52
 
ROM_START(flicker)
53
 
        ROM_REGION(0x10000, "maincpu", 0)
54
 
        ROM_LOAD("flicker.rom", 0x0000, 0x0400, CRC(c692e586) SHA1(5cabb28a074d18b589b5b8f700c57e1610071c68))
55
 
ROM_END
56
 
 
57
 
GAME(1974,      flicker,        0,      flicker,        flicker,        flicker,        ROT0,   "Nutting Associates",   "Flicker (Prototype)",  GAME_NOT_WORKING | GAME_NO_SOUND | GAME_MECHANICAL)