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

« back to all changes in this revision

Viewing changes to src/mame/drivers/starcrus.c

  • Committer: Package Import Robot
  • Author(s): Jordi Mallach, Emmanuel Kasper, Jordi Mallach
  • Date: 2012-06-05 20:02:23 UTC
  • mfrom: (0.3.1) (0.1.4)
  • Revision ID: package-import@ubuntu.com-20120605200223-gnlpogjrg6oqe9md
Tags: 0.146-1
[ Emmanuel Kasper ]
* New upstream release
* Drop patch to fix man pages section and patches to link with flac 
  and jpeg system lib: all this has been pushed upstream by Cesare Falco
* Add DM-Upload-Allowed: yes field.

[ Jordi Mallach ]
* Create a "gnu" TARGETOS stanza that defines NO_AFFINITY_NP.
* Stop setting TARGETOS to "unix" in d/rules. It should be autodetected,
  and set to the appropriate value.
* mame_manpage_section.patch: Change mame's manpage section to 6 (games),
  in the TH declaration.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
#include "sound/samples.h"
15
15
#include "includes/starcrus.h"
16
16
 
17
 
static ADDRESS_MAP_START( starcrus_map, AS_PROGRAM, 8 )
 
17
static ADDRESS_MAP_START( starcrus_map, AS_PROGRAM, 8, starcrus_state )
18
18
        AM_RANGE(0x0000, 0x0fff) AM_ROM
19
19
        AM_RANGE(0x1000, 0x10ff) AM_RAM
20
20
ADDRESS_MAP_END
21
21
 
22
 
static ADDRESS_MAP_START( starcrus_io_map, AS_IO, 8 )
 
22
static ADDRESS_MAP_START( starcrus_io_map, AS_IO, 8, starcrus_state )
23
23
    AM_RANGE(0x00, 0x00) AM_READ_PORT("P1") AM_WRITE(starcrus_s1_x_w)
24
24
        AM_RANGE(0x01, 0x01) AM_READ_PORT("P2") AM_WRITE(starcrus_s1_y_w)
25
25
        AM_RANGE(0x02, 0x02) AM_READWRITE(starcrus_coll_det_r, starcrus_s2_x_w)
159
159
        /* sound hardware */
160
160
        MCFG_SPEAKER_STANDARD_MONO("mono")
161
161
 
162
 
        MCFG_SOUND_ADD("samples", SAMPLES, 0)
163
 
        MCFG_SOUND_CONFIG(starcrus_samples_interface)
 
162
        MCFG_SAMPLES_ADD("samples", starcrus_samples_interface)
164
163
        MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
165
164
MACHINE_CONFIG_END
166
165