lower cased sn76477_interface and ay8910_interface

This commit is contained in:
Derrick Renaud 2008-08-08 16:32:55 +00:00
parent 7b2d48149a
commit 7ea948666a
148 changed files with 243 additions and 243 deletions

View File

@ -5,7 +5,7 @@
struct YM2203interface
{
const AY8910_interface ay8910_intf;
const ay8910_interface ay8910_intf;
void (*handler)(running_machine *machine, int irq);
};

View File

@ -6,7 +6,7 @@
struct YM2608interface
{
const AY8910_interface ay8910_intf;
const ay8910_interface ay8910_intf;
void ( *handler )( running_machine *machine, int irq ); /* IRQ handler for the YM2608 */
};

View File

@ -123,7 +123,7 @@ static STATE_POSTLOAD( ym2610_postload )
static void *ym2610_start(const char *tag, int sndindex, int clock, const void *config)
{
static const struct YM2610interface generic_2610 = { 0 };
static const AY8910_interface generic_ay8910 =
static const ay8910_interface generic_ay8910 =
{
AY8910_LEGACY_OUTPUT | AY8910_SINGLE_OUTPUT,
AY8910_DEFAULT_LOADS,
@ -189,7 +189,7 @@ static void ym2610b_stream_update(void *param, stream_sample_t **inputs, stream_
static void *ym2610b_start(const char *tag, int sndindex, int clock, const void *config)
{
static const struct YM2610interface generic_2610 = { 0 };
static const AY8910_interface generic_ay8910 =
static const ay8910_interface generic_ay8910 =
{
AY8910_LEGACY_OUTPUT | AY8910_SINGLE_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -164,7 +164,7 @@ struct _ay8910_context
int streams;
int ready;
sound_stream *channel;
const AY8910_interface *intf;
const ay8910_interface *intf;
INT32 register_latch;
UINT8 regs[16];
INT32 last_enable;
@ -657,7 +657,7 @@ static void ay8910_statesave(ay8910_context *psg, int sndindex)
*
*************************************/
void *ay8910_start_ym(sound_type chip_type, int sndindex, int clock, const AY8910_interface *intf)
void *ay8910_start_ym(sound_type chip_type, int sndindex, int clock, const ay8910_interface *intf)
{
ay8910_context *info;
@ -818,25 +818,25 @@ int ay8910_read_ym(void *chip)
static void *ay8910_start(const char *tag, int sndindex, int clock, const void *config)
{
static const AY8910_interface generic_ay8910 =
static const ay8910_interface generic_ay8910 =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,
NULL, NULL, NULL, NULL
};
const AY8910_interface *intf = (config ? config : &generic_ay8910);
const ay8910_interface *intf = (config ? config : &generic_ay8910);
return ay8910_start_ym(SOUND_AY8910, sndindex+16, clock, intf);
}
static void *ym2149_start(const char *tag, int sndindex, int clock, const void *config)
{
static const AY8910_interface generic_ay8910 =
static const ay8910_interface generic_ay8910 =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,
NULL, NULL, NULL, NULL
};
const AY8910_interface *intf = (config ? config : &generic_ay8910);
const ay8910_interface *intf = (config ? config : &generic_ay8910);
return ay8910_start_ym(SOUND_YM2149, sndindex+16, clock, intf);
}

View File

@ -59,8 +59,8 @@ YMZ294: 0 I/O port
/* TODO: implement mixing module */
#define AY8910_RAW_OUTPUT (8)
typedef struct _AY8910_interface AY8910_interface;
struct _AY8910_interface
typedef struct _ay8910_interface ay8910_interface;
struct _ay8910_interface
{
int flags; /* Flags */
int res_load[3]; /* Load on channel in ohms */
@ -124,7 +124,7 @@ WRITE16_HANDLER( AY8910_write_port_4_msb_w );
/*********** An interface for SSG of YM2203 ***********/
void *ay8910_start_ym(sound_type chip_type, int sndindex, int clock, const AY8910_interface *intf);
void *ay8910_start_ym(sound_type chip_type, int sndindex, int clock, const ay8910_interface *intf);
void ay8910_stop_ym(void *chip);
void ay8910_reset_ym(void *chip);

View File

@ -98,7 +98,7 @@
#if TEST_MODE
#include "input.h"
static const SN76477_interface empty_interface =
static const sn76477_interface empty_interface =
{
0, /* 4 noise_clock_res */
0, /* 5 filter_res */
@ -2390,11 +2390,11 @@ static void state_save_register(struct SN76477 *sn)
static void *sn76477_start(const char *tag, int sndindex, int clock, const void *config)
{
struct SN76477 *sn;
SN76477_interface *intf;
sn76477_interface *intf;
#if TEST_MODE == 0
intf = (SN76477_interface *)config;
intf = (sn76477_interface *)config;
#else
intf = &test_interface;
#endif

View File

@ -46,8 +46,8 @@
*
*****************************************************************************/
typedef struct _SN76477_interface SN76477_interface;
struct _SN76477_interface
typedef struct _sn76477_interface sn76477_interface;
struct _sn76477_interface
{
double noise_clock_res;
double noise_filter_res;

View File

@ -665,7 +665,7 @@ WRITE8_HANDLER( polaris_sh_port_3_w )
#define SCHASER_4V SCHASER_HSYNC /2 /4
#define SCHASER_8V SCHASER_HSYNC /2 /8
const SN76477_interface schaser_sn76477_interface =
const sn76477_interface schaser_sn76477_interface =
{
RES_K( 47), /* 4 noise_res */
RES_K(330), /* 5 filter_res */

View File

@ -237,7 +237,7 @@ WRITE8_HANDLER( tomahawk_audio_w )
}
static const SN76477_interface tomahawk_sn76477_interface =
static const sn76477_interface tomahawk_sn76477_interface =
{
0, /* 4 noise_res (N/C) */
0, /* 5 filter_res (N/C) */

View File

@ -77,7 +77,7 @@ WRITE8_HANDLER( cclimber_sample_trigger_w )
}
const AY8910_interface cclimber_ay8910_interface =
const ay8910_interface cclimber_ay8910_interface =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -1469,7 +1469,7 @@ static WRITE8_HANDLER( sound_output_w )
}
static const AY8910_interface demon_ay8910_interface_1 =
static const ay8910_interface demon_ay8910_interface_1 =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,
@ -1479,7 +1479,7 @@ static const AY8910_interface demon_ay8910_interface_1 =
sound_portb_w
};
static const AY8910_interface demon_ay8910_interface_3 =
static const ay8910_interface demon_ay8910_interface_3 =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -136,7 +136,7 @@ DISCRETE_SOUND_END
static const SN76477_interface crbaloon_sn76477_interface =
static const sn76477_interface crbaloon_sn76477_interface =
{
RES_K( 47), /* 4 noise_res */
RES_K(330), /* 5 filter_res */

View File

@ -197,7 +197,7 @@ static void adpcm_int(running_machine *machine, int data)
* and put with 470 KOhm to gnd.
* The following is a approximation */
static const AY8910_interface irem_ay8910_interface_1 =
static const ay8910_interface irem_ay8910_interface_1 =
{
AY8910_SINGLE_OUTPUT,
{470, 0, 0},
@ -207,7 +207,7 @@ static const AY8910_interface irem_ay8910_interface_1 =
ay8910_0_portb_w
};
static const AY8910_interface irem_ay8910_interface_2 =
static const ay8910_interface irem_ay8910_interface_2 =
{
AY8910_SINGLE_OUTPUT,
{470, 0, 0},

View File

@ -428,7 +428,7 @@ ADDRESS_MAP_END
*
*************************************/
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -444,7 +444,7 @@ void ssio_set_custom_output(int which, int mask, write8_machine_func handler)
/********* sound interfaces ***********/
static const AY8910_interface ssio_ay8910_interface_1 =
static const ay8910_interface ssio_ay8910_interface_1 =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,
@ -454,7 +454,7 @@ static const AY8910_interface ssio_ay8910_interface_1 =
ssio_portb0_w
};
static const AY8910_interface ssio_ay8910_interface_2 =
static const ay8910_interface ssio_ay8910_interface_2 =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -2177,7 +2177,7 @@ WRITE8_HANDLER( dogpatch_audio_w )
* Apr 2007, D.R.
*************************************/
static const SN76477_interface spcenctr_sn76477_interface =
static const sn76477_interface spcenctr_sn76477_interface =
{
0, /* 4 noise_res (N/C) */
0, /* 5 filter_res (N/C) */
@ -2993,7 +2993,7 @@ WRITE8_HANDLER( bowler_audio_6_w )
*
*************************************/
static const SN76477_interface invaders_sn76477_interface =
static const sn76477_interface invaders_sn76477_interface =
{
0, /* 4 noise_res (N/C) */
0, /* 5 filter_res (N/C) */
@ -3816,7 +3816,7 @@ WRITE8_HANDLER( blueshrk_audio_w )
*
*************************************/
static const SN76477_interface invad2ct_p1_sn76477_interface =
static const sn76477_interface invad2ct_p1_sn76477_interface =
{
0, /* 4 noise_res (N/C) */
0, /* 5 filter_res (N/C) */
@ -3844,7 +3844,7 @@ static const SN76477_interface invad2ct_p1_sn76477_interface =
};
static const SN76477_interface invad2ct_p2_sn76477_interface =
static const sn76477_interface invad2ct_p2_sn76477_interface =
{
0, /* 4 noise_res (N/C) */
0, /* 5 filter_res (N/C) */

View File

@ -30,7 +30,7 @@ static int mono_flop[3];
static const SN76477_interface sheriff_sn76477_interface =
static const sn76477_interface sheriff_sn76477_interface =
{
RES_K(36) , /* 04 */
RES_K(100) , /* 05 */
@ -58,7 +58,7 @@ static const SN76477_interface sheriff_sn76477_interface =
};
static const SN76477_interface spacefev_sn76477_interface =
static const sn76477_interface spacefev_sn76477_interface =
{
RES_K(36) , /* 04 */
RES_K(150) , /* 05 */

View File

@ -125,7 +125,7 @@ static WRITE8_HANDLER( redalert_ay8910_latch_2_w )
}
static const AY8910_interface redalert_ay8910_interface =
static const ay8910_interface redalert_ay8910_interface =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,
@ -311,7 +311,7 @@ static ADDRESS_MAP_START( demoneye_audio_map, ADDRESS_SPACE_PROGRAM, 8 )
ADDRESS_MAP_END
static const AY8910_interface demoneye_ay8910_interface =
static const ay8910_interface demoneye_ay8910_interface =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -142,7 +142,7 @@ const samples_interface fantasy_samples_interface =
};
const SN76477_interface sasuke_sn76477_intf_1 =
const sn76477_interface sasuke_sn76477_intf_1 =
{
RES_K(470), /* 4 noise_res */
RES_K(150), /* 5 filter_res */
@ -171,7 +171,7 @@ const SN76477_interface sasuke_sn76477_intf_1 =
// ic48 GND: 2,22,26,27,28 +5V: 1,15,25
};
const SN76477_interface sasuke_sn76477_intf_2 =
const sn76477_interface sasuke_sn76477_intf_2 =
{
RES_K(340), /* 4 noise_res */
RES_K(47), /* 5 filter_res */
@ -200,7 +200,7 @@ const SN76477_interface sasuke_sn76477_intf_2 =
// ic51 GND: 2,26,27 +5V: 1,15,22,25,28
};
const SN76477_interface sasuke_sn76477_intf_3 =
const sn76477_interface sasuke_sn76477_intf_3 =
{
RES_K(330), /* 4 noise_res */
RES_K(47), /* 5 filter_res */
@ -229,7 +229,7 @@ const SN76477_interface sasuke_sn76477_intf_3 =
// ic52 GND: 2,22,27,28 +5V: 1,15,25,26
};
const SN76477_interface satansat_sn76477_intf =
const sn76477_interface satansat_sn76477_intf =
{
RES_K(470), /* 4 noise_res */
RES_M(1.5), /* 5 filter_res */
@ -258,7 +258,7 @@ const SN76477_interface satansat_sn76477_intf =
// ??? GND: 2,26,27 +5V: 15,25
};
const SN76477_interface vanguard_sn76477_intf_1 =
const sn76477_interface vanguard_sn76477_intf_1 =
{
RES_K(470), /* 4 noise_res */
RES_M(1.5), /* 5 filter_res */
@ -287,7 +287,7 @@ const SN76477_interface vanguard_sn76477_intf_1 =
// SHOT A GND: 2,9,26,27 +5V: 15,25
};
const SN76477_interface vanguard_sn76477_intf_2 =
const sn76477_interface vanguard_sn76477_intf_2 =
{
RES_K(10), /* 4 noise_res */
RES_K(30), /* 5 filter_res */
@ -316,7 +316,7 @@ const SN76477_interface vanguard_sn76477_intf_2 =
// SHOT B GND: 1,2,26,27 +5V: 15,25,28
};
const SN76477_interface fantasy_sn76477_intf =
const sn76477_interface fantasy_sn76477_intf =
{
RES_K(470), /* 4 noise_res */
RES_M(1.5), /* 5 filter_res */

View File

@ -378,7 +378,7 @@ static const struct TMS5110interface ad2083_tms5110_interface =
};
static const AY8910_interface ad2083_ay8910_interface_1 =
static const ay8910_interface ad2083_ay8910_interface_1 =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,
@ -388,7 +388,7 @@ static const AY8910_interface ad2083_ay8910_interface_1 =
NULL
};
static const AY8910_interface ad2083_ay8910_interface_2 =
static const ay8910_interface ad2083_ay8910_interface_2 =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -152,7 +152,7 @@ ADDRESS_MAP_END
*
*************************************/
static const AY8910_interface timeplt_ay8910_interface =
static const ay8910_interface timeplt_ay8910_interface =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -1003,7 +1003,7 @@ static GFXDECODE_START( 40love )
GFXDECODE_ENTRY( "gfx1", 0, sprite_layout, 0, 64 )
GFXDECODE_END
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -218,7 +218,7 @@ GFXDECODE_END
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -1858,7 +1858,7 @@ GFXDECODE_END
/******************************************************************************/
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -159,7 +159,7 @@ static GFXDECODE_START( ambush )
GFXDECODE_END
static const AY8910_interface ay8910_interface_1 =
static const ay8910_interface ay8910_interface_1 =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,
@ -169,7 +169,7 @@ static const AY8910_interface ay8910_interface_1 =
NULL
};
static const AY8910_interface ay8910_interface_2 =
static const ay8910_interface ay8910_interface_2 =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -1001,7 +1001,7 @@ GFXDECODE_END
* AY8910 Interfase *
*******************/
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -331,7 +331,7 @@ INPUT_PORTS_END
*
*************************************/
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -735,7 +735,7 @@ GFXDECODE_END
/* Sound Interfaces */
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -507,7 +507,7 @@ static z80ctc_interface ctc_intf =
};
static const AY8910_interface ay8912_interface =
static const ay8910_interface ay8912_interface =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -429,7 +429,7 @@ GFXDECODE_END
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,
@ -439,7 +439,7 @@ static const AY8910_interface ay8910_config =
NULL
};
static const AY8910_interface ay8910_interface_2 =
static const ay8910_interface ay8910_interface_2 =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -432,7 +432,7 @@ static WRITE8_HANDLER( portb_w )
if (data != 0x00) logerror("portB = %02x\n",data);
}
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -248,7 +248,7 @@ GFXDECODE_END
/* Sound Interfaces */
static const AY8910_interface ay8910_interface_1 =
static const ay8910_interface ay8910_interface_1 =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,
@ -258,7 +258,7 @@ static const AY8910_interface ay8910_interface_1 =
NULL
};
static const AY8910_interface ay8910_interface_2 =
static const ay8910_interface ay8910_interface_2 =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -460,7 +460,7 @@ static WRITE8_HANDLER(input_mux_w)
}
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -376,7 +376,7 @@ static WRITE8_HANDLER( portB_1_w )
}
static const AY8910_interface ay8910_interface_1 =
static const ay8910_interface ay8910_interface_1 =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,
@ -386,7 +386,7 @@ static const AY8910_interface ay8910_interface_1 =
portB_0_w
};
static const AY8910_interface ay8910_interface_2 =
static const ay8910_interface ay8910_interface_2 =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -1882,7 +1882,7 @@ static MACHINE_RESET( calomega )
* Sound Interfaces *
*************************/
static const AY8910_interface sys903_ay8912_intf =
static const ay8910_interface sys903_ay8912_intf =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,
@ -1892,7 +1892,7 @@ static const AY8910_interface sys903_ay8912_intf =
NULL
};
static const AY8910_interface sys905_ay8912_intf =
static const ay8910_interface sys905_ay8912_intf =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -269,7 +269,7 @@ static READ8_HANDLER( unknown_r )
}
/* these are set as input, but I have no idea which input port it uses is for the AY */
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -1543,7 +1543,7 @@ GFXDECODE_END
*
*************************************/
static const AY8910_interface centipdb_ay8910_interface =
static const ay8910_interface centipdb_ay8910_interface =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -77,7 +77,7 @@ static ADDRESS_MAP_START( writemem, ADDRESS_SPACE_PROGRAM, 8 )
AM_RANGE(0xc000, 0xffff) AM_WRITE(SMH_BANK1) // bitmap plane 1-4
ADDRESS_MAP_END
static const AY8910_interface ay8910_interface_1 =
static const ay8910_interface ay8910_interface_1 =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,
@ -87,7 +87,7 @@ static const AY8910_interface ay8910_interface_1 =
NULL
};
static const AY8910_interface ay8910_interface_2 =
static const ay8910_interface ay8910_interface_2 =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -457,7 +457,7 @@ static INPUT_PORTS_START( changela )
INPUT_PORTS_END
static const AY8910_interface ay8910_interface_1 =
static const ay8910_interface ay8910_interface_1 =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,
@ -467,7 +467,7 @@ static const AY8910_interface ay8910_interface_1 =
NULL
};
static const AY8910_interface ay8910_interface_2 =
static const ay8910_interface ay8910_interface_2 =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -361,7 +361,7 @@ static GFXDECODE_START( cherrym )
GFXDECODE_ENTRY( "gfx2", 0x0020, spritelayout, 0, 16 )
GFXDECODE_END
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -341,7 +341,7 @@ static GFXDECODE_START( alt )
GFXDECODE_END
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -159,7 +159,7 @@ static WRITE8_HANDLER( draco_ay8910_port_b_w )
*/
}
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_SINGLE_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -619,7 +619,7 @@ static MACHINE_RESET( trailblz )
pia_reset();
}
static const AY8910_interface ay8912_interface =
static const ay8910_interface ay8912_interface =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -119,7 +119,7 @@ static WRITE8_HANDLER( merit_prot_w )
}
#if 0
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
input_port_4_r,
};

View File

@ -378,7 +378,7 @@ static VIDEO_UPDATE( ddayjlc )
return 0;
}
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -6589,7 +6589,7 @@ static MACHINE_DRIVER_START( akamaru )
MACHINE_DRIVER_END
static const AY8910_interface quiz365_ay8910_interface =
static const ay8910_interface quiz365_ay8910_interface =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,
@ -6938,7 +6938,7 @@ static INTERRUPT_GEN( rtc_nmi_irq )
cpunum_set_input_line(machine, 0, INPUT_LINE_NMI, PULSE_LINE);
}
static const AY8910_interface mjmyster_ay8910_interface =
static const ay8910_interface mjmyster_ay8910_interface =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,
@ -6988,7 +6988,7 @@ static INTERRUPT_GEN( hginga_irq )
cpunum_set_input_line_and_vector(machine, 0, 0, HOLD_LINE, 0xf8);
}
static const AY8910_interface hginga_ay8910_interface =
static const ay8910_interface hginga_ay8910_interface =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -771,7 +771,7 @@ GFXDECODE_END
*
*************************************/
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -235,7 +235,7 @@ static GFXDECODE_START( dominob )
GFXDECODE_END
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -663,7 +663,7 @@ GFXDECODE_END
Machine Drivers
***************************************************************************/
static const AY8910_interface dunhuang_ay8910_interface =
static const ay8910_interface dunhuang_ay8910_interface =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -674,7 +674,7 @@ static PALETTE_INIT(dwarfd)
palette_set_color(machine, 6, MAKE_RGB(255, 0, 0));
}
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -3673,7 +3673,7 @@ MACHINE_DRIVER_END
Hana Oriduru
***************************************************************************/
static const AY8910_interface hnoridur_ay8910_interface =
static const ay8910_interface hnoridur_ay8910_interface =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,
@ -4077,7 +4077,7 @@ MACHINE_DRIVER_END
Hanafuda Hana Tengoku
***************************************************************************/
static const AY8910_interface htengoku_ay8910_interface =
static const ay8910_interface htengoku_ay8910_interface =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,
@ -4140,7 +4140,7 @@ static INTERRUPT_GEN( tenkai_interrupt )
}
}
static const AY8910_interface tenkai_ay8910_interface =
static const ay8910_interface tenkai_ay8910_interface =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -390,7 +390,7 @@ static CUSTOM_INPUT( p2_controls_r )
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -1120,7 +1120,7 @@ static const struct MSM5232interface equites_5232intf =
};
static const AY8910_interface equites_8910intf =
static const ay8910_interface equites_8910intf =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -207,7 +207,7 @@ static VIDEO_UPDATE( ettrivia )
return 0;
}
static const AY8910_interface ay8912_interface_2 =
static const ay8910_interface ay8912_interface_2 =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,
@ -217,7 +217,7 @@ static const AY8910_interface ay8912_interface_2 =
NULL
};
static const AY8910_interface ay8912_interface_3 =
static const ay8910_interface ay8912_interface_3 =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -258,7 +258,7 @@ GFXDECODE_END
*
*************************************/
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -633,7 +633,7 @@ static GFXDECODE_START( flstory )
GFXDECODE_END
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -289,7 +289,7 @@ static GFXDECODE_START( funkybee )
GFXDECODE_END
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -1664,7 +1664,7 @@ static const pia6821_interface pia1_intf =
* Sound Interface *
************************/
static const AY8910_interface ay8910_intf =
static const ay8910_interface ay8910_intf =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -1610,7 +1610,7 @@ GFXDECODE_END
*
*************************************/
static const AY8910_interface frogger_ay8910_interface =
static const ay8910_interface frogger_ay8910_interface =
{
AY8910_DISCRETE_OUTPUT,
{RES_K(5.1), RES_K(5.1), RES_K(5.1)},
@ -1620,7 +1620,7 @@ static const AY8910_interface frogger_ay8910_interface =
NULL
};
static const AY8910_interface konami_ay8910_interface_1 =
static const ay8910_interface konami_ay8910_interface_1 =
{
AY8910_DISCRETE_OUTPUT,
{RES_K(5.1), RES_K(5.1), RES_K(5.1)},
@ -1630,7 +1630,7 @@ static const AY8910_interface konami_ay8910_interface_1 =
NULL
};
static const AY8910_interface konami_ay8910_interface_2 =
static const ay8910_interface konami_ay8910_interface_2 =
{
AY8910_DISCRETE_OUTPUT,
{RES_K(5.1), RES_K(5.1), RES_K(5.1)},
@ -1640,7 +1640,7 @@ static const AY8910_interface konami_ay8910_interface_2 =
NULL
};
static const AY8910_interface explorer_ay8910_interface_1 =
static const ay8910_interface explorer_ay8910_interface_1 =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,
@ -1650,7 +1650,7 @@ static const AY8910_interface explorer_ay8910_interface_1 =
NULL
};
static const AY8910_interface explorer_ay8910_interface_2 =
static const ay8910_interface explorer_ay8910_interface_2 =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,
@ -1660,7 +1660,7 @@ static const AY8910_interface explorer_ay8910_interface_2 =
NULL
};
static const AY8910_interface sfx_ay8910_interface =
static const ay8910_interface sfx_ay8910_interface =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,
@ -1670,7 +1670,7 @@ static const AY8910_interface sfx_ay8910_interface =
sfx_sample_control_w
};
static const AY8910_interface scorpion_ay8910_interface =
static const ay8910_interface scorpion_ay8910_interface =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,
@ -1680,7 +1680,7 @@ static const AY8910_interface scorpion_ay8910_interface =
scorpion_sound_control_w,
};
static const AY8910_interface checkmaj_ay8910_interface =
static const ay8910_interface checkmaj_ay8910_interface =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -2276,7 +2276,7 @@ static GFXDECODE_START( _4in1 )
GFXDECODE_ENTRY( "gfx1", 0x4000, _4in1_spritelayout, 0, 8 )
GFXDECODE_END
static const AY8910_interface checkmaj_ay8910_interface =
static const ay8910_interface checkmaj_ay8910_interface =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,
@ -2286,7 +2286,7 @@ static const AY8910_interface checkmaj_ay8910_interface =
NULL
};
static const AY8910_interface bongo_ay8910_interface =
static const ay8910_interface bongo_ay8910_interface =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -1156,7 +1156,7 @@ INPUT_PORTS_END
*
*************************************/
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -273,7 +273,7 @@ GFXDECODE_END
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -448,7 +448,7 @@ static WRITE8_HANDLER( grchamp_portB_2_w )
*
*************************************/
static const AY8910_interface ay8910_interface_1 =
static const ay8910_interface ay8910_interface_1 =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,
@ -458,7 +458,7 @@ static const AY8910_interface ay8910_interface_1 =
grchamp_portB_0_w
};
static const AY8910_interface ay8910_interface_3 =
static const ay8910_interface ay8910_interface_3 =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -675,7 +675,7 @@ GFXDECODE_END
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -371,7 +371,7 @@ static GFXDECODE_START( gyruss )
GFXDECODE_END
static const AY8910_interface ay8910_interface_1 =
static const ay8910_interface ay8910_interface_1 =
{
AY8910_DISCRETE_OUTPUT,
{ RES_K(3.3), RES_K(3.3), RES_K(3.3) },
@ -381,7 +381,7 @@ static const AY8910_interface ay8910_interface_1 =
gyruss_filter0_w
};
static const AY8910_interface ay8910_interface_2 =
static const ay8910_interface ay8910_interface_2 =
{
AY8910_DISCRETE_OUTPUT,
{ RES_K(3.3), RES_K(3.3), RES_K(3.3) },
@ -391,7 +391,7 @@ static const AY8910_interface ay8910_interface_2 =
gyruss_filter1_w
};
static const AY8910_interface ay8910_interface_3 =
static const ay8910_interface ay8910_interface_3 =
{
AY8910_DISCRETE_OUTPUT,
{ RES_K(3.3), RES_K(3.3), RES_K(3.3) },
@ -401,7 +401,7 @@ static const AY8910_interface ay8910_interface_3 =
NULL
};
static const AY8910_interface ay8910_interface_4 =
static const ay8910_interface ay8910_interface_4 =
{
AY8910_DISCRETE_OUTPUT,
{ RES_K(3.3), RES_K(3.3), RES_K(3.3) },
@ -411,7 +411,7 @@ static const AY8910_interface ay8910_interface_4 =
NULL
};
static const AY8910_interface ay8910_interface_5 =
static const ay8910_interface ay8910_interface_5 =
{
AY8910_DISCRETE_OUTPUT,
{ RES_K(3.3), RES_K(3.3), RES_K(3.3) },

View File

@ -1939,7 +1939,7 @@ static MACHINE_RESET( halleys )
}
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -193,7 +193,7 @@ static GFXDECODE_START( hanaawas )
GFXDECODE_END
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -228,7 +228,7 @@ static GFXDECODE_START( hanaroku )
GFXDECODE_END
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -121,7 +121,7 @@ GFXDECODE_END
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -280,7 +280,7 @@ GFXDECODE_END
static const AY8910_interface ay8910_interface_1 =
static const ay8910_interface ay8910_interface_1 =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,
@ -290,7 +290,7 @@ static const AY8910_interface ay8910_interface_1 =
NULL
};
static const AY8910_interface ay8910_interface_2 =
static const ay8910_interface ay8910_interface_2 =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -176,7 +176,7 @@ static INTERRUPT_GEN( hotblocks_irq ) /* right? */
cpunum_set_input_line(machine, 0, INPUT_LINE_NMI, PULSE_LINE);
}
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -255,7 +255,7 @@ static INPUT_PORTS_START( hyhoo2 )
INPUT_PORTS_END
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -863,7 +863,7 @@ static GFXDECODE_START( joinem )
GFXDECODE_ENTRY( "gfx1", 0, joinem_charlayout, 0, 32 )
GFXDECODE_END
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -579,7 +579,7 @@ static PALETTE_INIT(jongkyo)
}
}
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -321,7 +321,7 @@ INPUT_PORTS_END
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -1646,7 +1646,7 @@ static INTERRUPT_GEN( kaneko16_interrupt )
}
}
static const AY8910_interface ay8910_intf_dsw =
static const ay8910_interface ay8910_intf_dsw =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,
@ -1656,7 +1656,7 @@ static const AY8910_interface ay8910_intf_dsw =
NULL,
};
static const AY8910_interface ay8910_intf_eeprom =
static const ay8910_interface ay8910_intf_eeprom =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -536,7 +536,7 @@ static GFXDECODE_START( rk )
GFXDECODE_ENTRY( "gfx4", 0x00000, rk_bglayout, 0, 32 ) /* bg tiles */
GFXDECODE_END
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -244,7 +244,7 @@ static GFXDECODE_START( kncljoe )
GFXDECODE_ENTRY( "gfx3", 0, spritelayout, 0x80, 16 )
GFXDECODE_END
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -245,7 +245,7 @@ static GFXDECODE_START( koikoi )
GFXDECODE_END
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -178,7 +178,7 @@ static WRITE8_HANDLER(dummy_w)
//DAC ? communication with main cpu ?
}
static const AY8910_interface ay8910_interface_1 =
static const ay8910_interface ay8910_interface_1 =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,
@ -188,7 +188,7 @@ static const AY8910_interface ay8910_interface_1 =
dummy_w
};
static const AY8910_interface ay8910_interface_2 =
static const ay8910_interface ay8910_interface_2 =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -477,7 +477,7 @@ GFXDECODE_END
*
*************************************/
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -121,7 +121,7 @@ static WRITE8_HANDLER(unk_w)
}
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -565,7 +565,7 @@ static VIDEO_UPDATE( laserbat )
/* Laser Battle sound **********************************/
static const SN76477_interface laserbat_sn76477_interface =
static const sn76477_interface laserbat_sn76477_interface =
{
RES_K(47), /* 4 noise_res R21 47K */
0, /* 5 filter_res (variable) */
@ -658,7 +658,7 @@ static const pia6821_interface pia_0_intf =
/*irqs : A/B */ zaccaria_irq0a, zaccaria_irq0b
};
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -682,7 +682,7 @@ INPUT_PORTS_END
register.
*/
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -562,7 +562,7 @@ static const struct TMS5220interface tms5220_interface =
looping_spcint
};
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -802,7 +802,7 @@ static const ppi8255_interface ppi8255_intf[4] =
* Sound Interfaces *
*****************************/
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -344,7 +344,7 @@ static GFXDECODE_START( lucky8 )
GFXDECODE_ENTRY( "gfx2", 0x1000, spritelayout2, 0, 64 )
GFXDECODE_END
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -456,7 +456,7 @@ GFXDECODE_END
/* Sound Interfaces */
static const AY8910_interface lcay8910_interface =
static const ay8910_interface lcay8910_interface =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -161,7 +161,7 @@ static INPUT_PORTS_START( madalien )
INPUT_PORTS_END
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -350,7 +350,7 @@ static GFXDECODE_START( magmax )
GFXDECODE_END
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -309,7 +309,7 @@ static PALETTE_INIT( malzak )
}
static const SN76477_interface sn76477_intf =
static const sn76477_interface sn76477_intf =
{
0, /* N/C */ /* 4 noise_res */
0, /* N/C */ /* 5 filter_res */

View File

@ -1470,7 +1470,7 @@ static MACHINE_RESET( greatgun )
/* only Great Guns */
static const AY8910_interface ay8912_interface_1 =
static const ay8910_interface ay8912_interface_1 =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,
@ -1480,7 +1480,7 @@ static const AY8910_interface ay8912_interface_1 =
NULL
};
static const AY8910_interface ay8912_interface_2 =
static const ay8910_interface ay8912_interface_2 =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -299,7 +299,7 @@ GFXDECODE_END
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -289,7 +289,7 @@ static INTERRUPT_GEN( meijinsn_interrupt )
cpunum_set_input_line(machine, 0, 2, HOLD_LINE);
}
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -789,7 +789,7 @@ static const ppi8255_interface ppi8255_intf[2] =
}
};
static const AY8910_interface merit_ay8912_interface =
static const ay8910_interface merit_ay8912_interface =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -729,7 +729,7 @@ static WRITE8_HANDLER(meritm_ay8930_port_b_w)
// lamps
};
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -298,7 +298,7 @@ INPUT_PORTS_END
/****************************************************************************/
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -65,7 +65,7 @@ static INPUT_PORTS_START( mjsiyoub )
INPUT_PORTS_END
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

View File

@ -1395,7 +1395,7 @@ static ADDRESS_MAP_START( mod2_memmap, ADDRESS_SPACE_PROGRAM, 8 )
AM_RANGE(0x1000, 0xffff) AM_READ(SMH_BANK1) /* 64k paged ROM (4 pages) */
ADDRESS_MAP_END
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_SINGLE_OUTPUT,
{820,0,0},

View File

@ -2808,7 +2808,7 @@ static INPUT_PORTS_START( nightlov )
INPUT_PORTS_END
static const AY8910_interface ay8910_config =
static const ay8910_interface ay8910_config =
{
AY8910_LEGACY_OUTPUT,
AY8910_DEFAULT_LOADS,

Some files were not shown because too many files have changed in this diff Show More