mirror of
https://github.com/holub/mame
synced 2025-04-20 23:42:22 +03:00
ym2413: Isolate, objectify, integrate [O. Galibert]
This commit is contained in:
parent
ded91ac888
commit
ff2887100f
@ -1132,7 +1132,7 @@ end
|
||||
-- Yamaha FM synthesizers
|
||||
--@src/devices/sound/ym2151.h,SOUNDS["YM2151"] = true
|
||||
--@src/devices/sound/2203intf.h,SOUNDS["YM2203"] = true
|
||||
--@src/devices/sound/2413intf.h,SOUNDS["YM2413"] = true
|
||||
--@src/devices/sound/ym2413.h,SOUNDS["YM2413"] = true
|
||||
--@src/devices/sound/2608intf.h,SOUNDS["YM2608"] = true
|
||||
--@src/devices/sound/2610intf.h,SOUNDS["YM2610"] = true
|
||||
--@src/devices/sound/2612intf.h,SOUNDS["YM2612"] = true
|
||||
@ -1154,8 +1154,6 @@ end
|
||||
|
||||
if (SOUNDS["YM2413"]~=null) then
|
||||
files {
|
||||
MAME_DIR .. "src/devices/sound/2413intf.cpp",
|
||||
MAME_DIR .. "src/devices/sound/2413intf.h",
|
||||
MAME_DIR .. "src/devices/sound/ym2413.cpp",
|
||||
MAME_DIR .. "src/devices/sound/ym2413.h",
|
||||
}
|
||||
|
@ -4,7 +4,7 @@
|
||||
#define __MSX_CART_FMPAC_H
|
||||
|
||||
#include "bus/msx_cart/cartridge.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
|
||||
|
||||
extern const device_type MSX_CART_FMPAC;
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
#include "bus/msx_slot/slot.h"
|
||||
#include "bus/msx_slot/rom.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
|
||||
|
||||
extern const device_type MSX_SLOT_MUSIC;
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
#include "nxrom.h"
|
||||
#include "sound/vrc6.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
|
||||
|
||||
// ======================> nes_konami_vrc1_device
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
|
||||
#include "emu.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
#include "sg1000exp.h"
|
||||
|
||||
|
||||
|
@ -1,95 +0,0 @@
|
||||
// license:BSD-3-Clause
|
||||
// copyright-holders:Ernesto Corvi
|
||||
/****************************************************************
|
||||
|
||||
MAME / MESS functions
|
||||
|
||||
****************************************************************/
|
||||
|
||||
#include "emu.h"
|
||||
#include "ym2413.h"
|
||||
#include "2413intf.h"
|
||||
|
||||
|
||||
static void ym2413_update_request(void *param, int interval)
|
||||
{
|
||||
ym2413_device *ym2413 = (ym2413_device *) param;
|
||||
ym2413->_ym2413_update_request();
|
||||
}
|
||||
|
||||
void ym2413_device::_ym2413_update_request()
|
||||
{
|
||||
m_stream->update();
|
||||
}
|
||||
|
||||
//-------------------------------------------------
|
||||
// sound_stream_update - handle a stream update
|
||||
//-------------------------------------------------
|
||||
|
||||
void ym2413_device::sound_stream_update(sound_stream &stream, stream_sample_t **inputs, stream_sample_t **outputs, int samples)
|
||||
{
|
||||
ym2413_update_one(m_chip, outputs, samples);
|
||||
}
|
||||
|
||||
//-------------------------------------------------
|
||||
// device_start - device-specific startup
|
||||
//-------------------------------------------------
|
||||
|
||||
void ym2413_device::device_start()
|
||||
{
|
||||
int rate = clock()/72;
|
||||
|
||||
/* emulator create */
|
||||
m_chip = ym2413_init(this, clock(), rate);
|
||||
assert_always(m_chip != nullptr, "Error creating YM2413 chip");
|
||||
|
||||
/* stream system initialize */
|
||||
m_stream = machine().sound().stream_alloc(*this,0,2,rate);
|
||||
|
||||
ym2413_set_update_handler(m_chip, ym2413_update_request, this);
|
||||
}
|
||||
|
||||
//-------------------------------------------------
|
||||
// device_stop - device-specific stop
|
||||
//-------------------------------------------------
|
||||
|
||||
void ym2413_device::device_stop()
|
||||
{
|
||||
ym2413_shutdown(m_chip);
|
||||
}
|
||||
|
||||
//-------------------------------------------------
|
||||
// device_reset - device-specific reset
|
||||
//-------------------------------------------------
|
||||
|
||||
void ym2413_device::device_reset()
|
||||
{
|
||||
ym2413_reset_chip(m_chip);
|
||||
}
|
||||
|
||||
|
||||
WRITE8_MEMBER( ym2413_device::write )
|
||||
{
|
||||
ym2413_write(m_chip, offset & 1, data);
|
||||
}
|
||||
|
||||
WRITE8_MEMBER( ym2413_device::register_port_w ) { write(space, 0, data); }
|
||||
WRITE8_MEMBER( ym2413_device::data_port_w ) { write(space, 1, data); }
|
||||
|
||||
const device_type YM2413 = &device_creator<ym2413_device>;
|
||||
|
||||
ym2413_device::ym2413_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: device_t(mconfig, YM2413, "YM2413", tag, owner, clock, "ym2413", __FILE__),
|
||||
device_sound_interface(mconfig, *this)
|
||||
{
|
||||
}
|
||||
|
||||
//-------------------------------------------------
|
||||
// device_config_complete - perform any
|
||||
// operations now that the configuration is
|
||||
// complete
|
||||
//-------------------------------------------------
|
||||
|
||||
void ym2413_device::device_config_complete()
|
||||
{
|
||||
}
|
@ -1,42 +0,0 @@
|
||||
// license:BSD-3-Clause
|
||||
// copyright-holders:Ernesto Corvi
|
||||
#pragma once
|
||||
|
||||
#ifndef __2413INTF_H__
|
||||
#define __2413INTF_H__
|
||||
|
||||
#include "emu.h"
|
||||
|
||||
class ym2413_device : public device_t,
|
||||
public device_sound_interface
|
||||
{
|
||||
public:
|
||||
ym2413_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
|
||||
DECLARE_WRITE8_MEMBER( write );
|
||||
|
||||
DECLARE_WRITE8_MEMBER( register_port_w );
|
||||
DECLARE_WRITE8_MEMBER( data_port_w );
|
||||
|
||||
void _ym2413_update_request();
|
||||
|
||||
protected:
|
||||
// device-level overrides
|
||||
virtual void device_config_complete() override;
|
||||
virtual void device_start() override;
|
||||
virtual void device_stop() override;
|
||||
virtual void device_reset() override;
|
||||
|
||||
// sound stream update overrides
|
||||
virtual void sound_stream_update(sound_stream &stream, stream_sample_t **inputs, stream_sample_t **outputs, int samples) override;
|
||||
|
||||
private:
|
||||
// internal state
|
||||
sound_stream * m_stream;
|
||||
void * m_chip;
|
||||
};
|
||||
|
||||
extern const device_type YM2413;
|
||||
|
||||
|
||||
#endif /* __2413INTF_H__ */
|
File diff suppressed because it is too large
Load Diff
@ -1,45 +1,191 @@
|
||||
// license:GPL-2.0+
|
||||
// copyright-holders:Jarek Burczynski
|
||||
// copyright-holders:Jarek Burczynski,Ernesto Corvi
|
||||
#pragma once
|
||||
|
||||
#ifndef __YM2413_H__
|
||||
#define __YM2413_H__
|
||||
|
||||
/* select output bits size of output : 8 or 16 */
|
||||
#define SAMPLE_BITS 16
|
||||
#include "emu.h"
|
||||
|
||||
/* compiler dependence */
|
||||
#ifndef __OSDCOMM_H__
|
||||
#define __OSDCOMM_H__
|
||||
typedef unsigned char UINT8; /* unsigned 8bit */
|
||||
typedef unsigned short UINT16; /* unsigned 16bit */
|
||||
typedef unsigned int UINT32; /* unsigned 32bit */
|
||||
typedef signed char INT8; /* signed 8bit */
|
||||
typedef signed short INT16; /* signed 16bit */
|
||||
typedef signed int INT32; /* signed 32bit */
|
||||
#endif
|
||||
class ym2413_device : public device_t,
|
||||
public device_sound_interface
|
||||
{
|
||||
public:
|
||||
ym2413_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
|
||||
typedef stream_sample_t SAMP;
|
||||
DECLARE_WRITE8_MEMBER( write );
|
||||
|
||||
DECLARE_WRITE8_MEMBER( register_port_w );
|
||||
DECLARE_WRITE8_MEMBER( data_port_w );
|
||||
|
||||
void _ym2413_update_request();
|
||||
|
||||
protected:
|
||||
// device-level overrides
|
||||
virtual void device_start() override;
|
||||
virtual void device_reset() override;
|
||||
|
||||
// sound stream update overrides
|
||||
virtual void sound_stream_update(sound_stream &stream, stream_sample_t **inputs, stream_sample_t **outputs, int samples) override;
|
||||
|
||||
private:
|
||||
struct OPLL_SLOT
|
||||
{
|
||||
UINT32 ar; /* attack rate: AR<<2 */
|
||||
UINT32 dr; /* decay rate: DR<<2 */
|
||||
UINT32 rr; /* release rate:RR<<2 */
|
||||
UINT8 KSR; /* key scale rate */
|
||||
UINT8 ksl; /* keyscale level */
|
||||
UINT8 ksr; /* key scale rate: kcode>>KSR */
|
||||
UINT8 mul; /* multiple: mul_tab[ML] */
|
||||
|
||||
/* Phase Generator */
|
||||
UINT32 phase; /* frequency counter */
|
||||
UINT32 freq; /* frequency counter step */
|
||||
UINT8 fb_shift; /* feedback shift value */
|
||||
INT32 op1_out[2]; /* slot1 output for feedback */
|
||||
|
||||
/* Envelope Generator */
|
||||
UINT8 eg_type; /* percussive/nonpercussive mode*/
|
||||
UINT8 state; /* phase type */
|
||||
UINT32 TL; /* total level: TL << 2 */
|
||||
INT32 TLL; /* adjusted now TL */
|
||||
INT32 volume; /* envelope counter */
|
||||
UINT32 sl; /* sustain level: sl_tab[SL] */
|
||||
|
||||
UINT8 eg_sh_dp; /* (dump state) */
|
||||
UINT8 eg_sel_dp; /* (dump state) */
|
||||
UINT8 eg_sh_ar; /* (attack state) */
|
||||
UINT8 eg_sel_ar; /* (attack state) */
|
||||
UINT8 eg_sh_dr; /* (decay state) */
|
||||
UINT8 eg_sel_dr; /* (decay state) */
|
||||
UINT8 eg_sh_rr; /* (release state for non-perc.)*/
|
||||
UINT8 eg_sel_rr; /* (release state for non-perc.)*/
|
||||
UINT8 eg_sh_rs; /* (release state for perc.mode)*/
|
||||
UINT8 eg_sel_rs; /* (release state for perc.mode)*/
|
||||
|
||||
UINT32 key; /* 0 = KEY OFF, >0 = KEY ON */
|
||||
|
||||
/* LFO */
|
||||
UINT32 AMmask; /* LFO Amplitude Modulation enable mask */
|
||||
UINT8 vib; /* LFO Phase Modulation enable flag (active high)*/
|
||||
|
||||
/* waveform select */
|
||||
unsigned int wavetable;
|
||||
};
|
||||
|
||||
struct OPLL_CH
|
||||
{
|
||||
OPLL_SLOT SLOT[2];
|
||||
/* phase generator state */
|
||||
UINT32 block_fnum; /* block+fnum */
|
||||
UINT32 fc; /* Freq. freqement base */
|
||||
UINT32 ksl_base; /* KeyScaleLevel Base step */
|
||||
UINT8 kcode; /* key code (for key scaling) */
|
||||
UINT8 sus; /* sus on/off (release speed in percussive mode)*/
|
||||
};
|
||||
|
||||
enum {
|
||||
RATE_STEPS = (8),
|
||||
|
||||
/* sinwave entries */
|
||||
SIN_BITS = 10,
|
||||
SIN_LEN = (1<<SIN_BITS),
|
||||
SIN_MASK = (SIN_LEN-1),
|
||||
|
||||
TL_RES_LEN = (256), /* 8 bits addressing (real chip) */
|
||||
|
||||
/* TL_TAB_LEN is calculated as:
|
||||
* 11 - sinus amplitude bits (Y axis)
|
||||
* 2 - sinus sign bit (Y axis)
|
||||
* TL_RES_LEN - sinus resolution (X axis)
|
||||
*/
|
||||
TL_TAB_LEN = (11*2*TL_RES_LEN),
|
||||
|
||||
LFO_AM_TAB_ELEMENTS = 210
|
||||
|
||||
};
|
||||
|
||||
static const double ksl_tab[8*16];
|
||||
static const UINT32 ksl_shift[4];
|
||||
static const UINT32 sl_tab[16];
|
||||
static const unsigned char eg_inc[15*RATE_STEPS];
|
||||
static const unsigned char eg_rate_select[16+64+16];
|
||||
static const unsigned char eg_rate_shift[16+64+16];
|
||||
static const UINT8 mul_tab[16];
|
||||
static const UINT8 lfo_am_table[LFO_AM_TAB_ELEMENTS];
|
||||
static const INT8 lfo_pm_table[8*8];
|
||||
static const unsigned char table[19][8];
|
||||
|
||||
int tl_tab[TL_TAB_LEN];
|
||||
|
||||
/* sin waveform table in 'decibel' scale */
|
||||
/* two waveforms on OPLL type chips */
|
||||
unsigned int sin_tab[SIN_LEN * 2];
|
||||
|
||||
|
||||
OPLL_CH P_CH[9]; /* OPLL chips have 9 channels*/
|
||||
UINT8 instvol_r[9]; /* instrument/volume (or volume/volume in percussive mode)*/
|
||||
|
||||
UINT32 eg_cnt; /* global envelope generator counter */
|
||||
UINT32 eg_timer; /* global envelope generator counter works at frequency = chipclock/72 */
|
||||
UINT32 eg_timer_add; /* step of eg_timer */
|
||||
UINT32 eg_timer_overflow; /* envelope generator timer overlfows every 1 sample (on real chip) */
|
||||
|
||||
UINT8 rhythm; /* Rhythm mode */
|
||||
|
||||
/* LFO */
|
||||
UINT32 LFO_AM;
|
||||
INT32 LFO_PM;
|
||||
UINT32 lfo_am_cnt;
|
||||
UINT32 lfo_am_inc;
|
||||
UINT32 lfo_pm_cnt;
|
||||
UINT32 lfo_pm_inc;
|
||||
|
||||
UINT32 noise_rng; /* 23 bit noise shift register */
|
||||
UINT32 noise_p; /* current noise 'phase' */
|
||||
UINT32 noise_f; /* current noise period */
|
||||
|
||||
|
||||
/* instrument settings */
|
||||
/*
|
||||
#if (SAMPLE_BITS==16)
|
||||
typedef INT16 SAMP;
|
||||
#endif
|
||||
#if (SAMPLE_BITS==8)
|
||||
typedef INT8 SAMP;
|
||||
#endif
|
||||
0-user instrument
|
||||
1-15 - fixed instruments
|
||||
16 -bass drum settings
|
||||
17,18 - other percussion instruments
|
||||
*/
|
||||
UINT8 inst_tab[19][8];
|
||||
|
||||
UINT32 fn_tab[1024]; /* fnumber->increment counter */
|
||||
|
||||
UINT8 address; /* address register */
|
||||
|
||||
void *ym2413_init(device_t *device, int clock, int rate);
|
||||
void ym2413_shutdown(void *chip);
|
||||
void ym2413_reset_chip(void *chip);
|
||||
void ym2413_write(void *chip, int a, int v);
|
||||
unsigned char ym2413_read(void *chip, int a);
|
||||
void ym2413_update_one(void *chip, SAMP **buffers, int length);
|
||||
signed int output[2];
|
||||
|
||||
typedef void (*OPLL_UPDATEHANDLER)(void *param,int min_interval_us);
|
||||
// internal state
|
||||
sound_stream * m_stream;
|
||||
|
||||
void ym2413_set_update_handler(void *chip, OPLL_UPDATEHANDLER UpdateHandler, void *param);
|
||||
int limit( int val, int max, int min );
|
||||
void advance_lfo();
|
||||
void advance();
|
||||
int op_calc(UINT32 phase, unsigned int env, signed int pm, unsigned int wave_tab);
|
||||
int op_calc1(UINT32 phase, unsigned int env, signed int pm, unsigned int wave_tab);
|
||||
void chan_calc( OPLL_CH *CH );
|
||||
void rhythm_calc( OPLL_CH *CH, unsigned int noise );
|
||||
void key_on(OPLL_SLOT *SLOT, UINT32 key_set);
|
||||
void key_off(OPLL_SLOT *SLOT, UINT32 key_clr);
|
||||
void calc_fcslot(OPLL_CH *CH, OPLL_SLOT *SLOT);
|
||||
void set_mul(int slot,int v);
|
||||
void set_ksl_tl(int chan,int v);
|
||||
void set_ksl_wave_fb(int chan,int v);
|
||||
void set_ar_dr(int slot,int v);
|
||||
void set_sl_rr(int slot,int v);
|
||||
void load_instrument(UINT32 chan, UINT32 slot, UINT8* inst );
|
||||
void update_instrument_zero( UINT8 r );
|
||||
void write_reg(int r, int v);
|
||||
|
||||
};
|
||||
|
||||
extern const device_type YM2413;
|
||||
|
||||
#endif /*__YM2413_H__*/
|
||||
|
@ -191,7 +191,7 @@ DIP locations verified from manuals for:
|
||||
#include "sound/ay8910.h"
|
||||
#include "sound/dac.h"
|
||||
#include "sound/3812intf.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
#include "sound/2203intf.h"
|
||||
#include "includes/alpha68k.h"
|
||||
|
||||
|
@ -149,7 +149,7 @@ Adder hardware:
|
||||
|
||||
#include "video/bfm_adr2.h"
|
||||
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
#include "sound/upd7759.h"
|
||||
|
||||
/* fruit machines only */
|
||||
|
@ -107,7 +107,7 @@ Main board:
|
||||
#include "machine/nvram.h"
|
||||
#include "sound/ay8910.h"
|
||||
#include "sound/okim6295.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
#include "video/ramdac.h"
|
||||
|
||||
#define NVRAM_HACK
|
||||
|
@ -18,7 +18,7 @@ Other: BMC B816140 (CPLD)
|
||||
#include "emu.h"
|
||||
#include "cpu/m68000/m68000.h"
|
||||
#include "video/ramdac.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
#include "sound/okim6295.h"
|
||||
#include "machine/nvram.h"
|
||||
#include "machine/ticket.h"
|
||||
|
@ -25,7 +25,7 @@ are the same of IGS. AMT may be previous IGS name.
|
||||
|
||||
#include "emu.h"
|
||||
#include "cpu/z180/z180.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
|
||||
|
||||
class cabaret_state : public driver_device
|
||||
|
@ -20,7 +20,7 @@
|
||||
#include "includes/cbasebal.h"
|
||||
#include "machine/eepromser.h"
|
||||
#include "sound/okim6295.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
|
||||
|
||||
/*************************************
|
||||
|
@ -23,7 +23,7 @@
|
||||
|
||||
#include "emu.h"
|
||||
#include "cpu/z80/z80.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
|
||||
|
||||
class d9final_state : public driver_device
|
||||
|
@ -56,7 +56,7 @@ Notes:
|
||||
#include "machine/watchdog.h"
|
||||
#include "sound/ay8910.h"
|
||||
#include "sound/okim6295.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
|
||||
#define DUNHUANG_DEBUG 0
|
||||
|
||||
|
@ -73,7 +73,7 @@ with the following code:
|
||||
#include "emu.h"
|
||||
#include "cpu/z80/z80.h"
|
||||
#include "sound/ay8910.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
#include "sound/msm5205.h"
|
||||
#include "includes/fromance.h"
|
||||
|
||||
|
@ -196,7 +196,7 @@
|
||||
#include "emu.h"
|
||||
#include "cpu/m6502/m6502.h"
|
||||
#include "sound/ay8910.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
#include "video/mc6845.h"
|
||||
#include "machine/nvram.h"
|
||||
|
||||
|
@ -40,7 +40,7 @@ fix comms so it boots, it's a bit of a hack for hyperduel at the moment ;-)
|
||||
#include "cpu/m68000/m68000.h"
|
||||
#include "sound/ym2151.h"
|
||||
#include "sound/okim6295.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
#include "includes/hyprduel.h"
|
||||
|
||||
/***************************************************************************
|
||||
|
@ -40,7 +40,7 @@ HSync - 15.510kHz
|
||||
#include "emu.h"
|
||||
#include "cpu/z80/z80.h"
|
||||
#include "sound/ay8910.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
|
||||
#define MAIN_CLOCK XTAL_18_432MHz
|
||||
|
||||
|
@ -31,7 +31,7 @@ Year Game Manufacturer Notes
|
||||
#include "emu.h"
|
||||
#include "cpu/z180/z180.h"
|
||||
#include "machine/i8255.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
#include "sound/okim6295.h"
|
||||
#include "machine/nvram.h"
|
||||
|
||||
|
@ -65,7 +65,7 @@ Notes:
|
||||
#include "emu.h"
|
||||
#include "cpu/m68000/m68000.h"
|
||||
#include "sound/okim6295.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
#include "sound/3812intf.h"
|
||||
#include "sound/ics2115.h"
|
||||
#include "machine/nvram.h"
|
||||
|
@ -48,7 +48,7 @@ Notes:
|
||||
#include "cpu/m68000/m68000.h"
|
||||
#include "cpu/z180/z180.h"
|
||||
#include "machine/i8255.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
#include "sound/okim6295.h"
|
||||
#include "machine/igs025.h"
|
||||
#include "machine/igs022.h"
|
||||
|
@ -68,7 +68,7 @@ FIX: PK Tetris have an input named AMUSE which I couldn't map. Maybe it is
|
||||
|
||||
#include "emu.h"
|
||||
#include "cpu/z80/z80.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
#include "sound/okim6295.h"
|
||||
#include "igspoker.lh"
|
||||
|
||||
|
@ -56,7 +56,7 @@ Grndtour:
|
||||
#include "cpu/z180/z180.h"
|
||||
#include "machine/i8255.h"
|
||||
#include "includes/iqblock.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
|
||||
|
||||
WRITE8_MEMBER(iqblock_state::iqblock_prot_w)
|
||||
|
@ -47,7 +47,7 @@ Note
|
||||
|
||||
#include "emu.h"
|
||||
#include "cpu/z80/z80.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
|
||||
|
||||
class jackie_state : public driver_device
|
||||
|
@ -94,7 +94,7 @@ Notes:
|
||||
#include "machine/msm6242.h"
|
||||
#include "machine/eepromser.h"
|
||||
#include "machine/intelfsh.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
#include "sound/okim6295.h"
|
||||
|
||||
class joystand_state : public driver_device
|
||||
|
@ -33,7 +33,7 @@ ft5_v6_c4.u58 /
|
||||
#include "emu.h"
|
||||
#include "cpu/m68000/m68000.h"
|
||||
#include "sound/okim6295.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
#include "video/ramdac.h"
|
||||
|
||||
|
||||
|
@ -167,7 +167,7 @@
|
||||
|
||||
#include "emu.h"
|
||||
#include "cpu/m68000/m68000.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
#include "video/ramdac.h"
|
||||
|
||||
|
||||
|
@ -133,7 +133,7 @@ Find lamps/reels after UPD changes.
|
||||
#include "machine/i8279.h"
|
||||
#include "machine/6821pia.h"
|
||||
#include "machine/mc68681.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
#include "sound/upd7759.h"
|
||||
#include "machine/nvram.h"
|
||||
|
||||
|
@ -106,7 +106,7 @@ driver modified by Hau
|
||||
#include "cpu/h8/h83006.h"
|
||||
#include "includes/metro.h"
|
||||
#include "machine/watchdog.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
#include "sound/2610intf.h"
|
||||
#include "sound/ymf278b.h"
|
||||
|
||||
|
@ -123,7 +123,7 @@ mw-9.rom = ST M27C1001 / GFX
|
||||
#include "includes/mitchell.h"
|
||||
#include "sound/okim6295.h"
|
||||
#include "sound/3812intf.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
#include "sound/msm5205.h"
|
||||
|
||||
|
||||
|
@ -183,7 +183,7 @@ TODO:
|
||||
#include "cpu/m6809/m6809.h"
|
||||
#include "sound/ay8910.h"
|
||||
#include "sound/okim6376.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
#include "sound/upd7759.h"
|
||||
#include "machine/steppers.h"
|
||||
#include "machine/roc10937.h"
|
||||
|
@ -80,7 +80,7 @@ Component Side A B Solder Side
|
||||
#include "emu.h"
|
||||
#include "cpu/m68000/m68000.h"
|
||||
#include "sound/okim6295.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
|
||||
class popobear_state : public driver_device
|
||||
{
|
||||
|
@ -134,7 +134,7 @@ Dip locations added based on the notes above.
|
||||
#include "emu.h"
|
||||
#include "cpu/z80/z80.h"
|
||||
#include "machine/gen_latch.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
#include "sound/dac.h"
|
||||
|
||||
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include "cpu/m68000/m68000.h"
|
||||
#include "machine/watchdog.h"
|
||||
#include "sound/okim6295.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
#include "includes/rampart.h"
|
||||
|
||||
|
||||
|
@ -46,7 +46,7 @@ To Do:
|
||||
#include "emu.h"
|
||||
#include "cpu/m68000/m68000.h"
|
||||
#include "includes/realbrk.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
#include "sound/ymz280b.h"
|
||||
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
#include "machine/watchdog.h"
|
||||
#include "machine/atarigen.h"
|
||||
#include "sound/okim6295.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
#include "includes/relief.h"
|
||||
|
||||
|
||||
|
@ -48,7 +48,7 @@ TODO:
|
||||
#include "emu.h"
|
||||
#include "cpu/z80/z80.h"
|
||||
#include "video/v9938.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
|
||||
|
||||
class sangho_state : public driver_device
|
||||
|
@ -246,7 +246,7 @@ DC00 - Selection buttons #2, 9-16 (R)
|
||||
#include "emu.h"
|
||||
#include "cpu/z80/z80.h"
|
||||
#include "sound/sn76496.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
#include "video/315_5124.h"
|
||||
#include "includes/sms.h"
|
||||
#include "softlist.h"
|
||||
|
@ -124,7 +124,7 @@ A Korean version has been seen too (unless this can be switched?)
|
||||
#include "emu.h"
|
||||
#include "cpu/z80/z80.h"
|
||||
#include "sound/sn76496.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
#include "video/315_5124.h"
|
||||
#include "includes/sms_bootleg.h"
|
||||
|
||||
|
@ -31,7 +31,7 @@
|
||||
#include "cpu/z180/z180.h"
|
||||
#include "cpu/z80/z80.h"
|
||||
#include "machine/i8255.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
#include "sound/okim6295.h"
|
||||
#include "machine/nvram.h"
|
||||
|
||||
|
@ -222,7 +222,7 @@ To Do:
|
||||
#include "machine/subsino.h"
|
||||
#include "machine/ticket.h"
|
||||
#include "sound/okim6295.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
#include "sound/3812intf.h"
|
||||
|
||||
#include "victor5.lh"
|
||||
|
@ -21,7 +21,7 @@
|
||||
#include "machine/i8255.h"
|
||||
#include "machine/pit8253.h"
|
||||
#include "machine/ticket.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
#include "sound/msm5205.h"
|
||||
|
||||
#include "wackygtr.lh"
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
***************************************************************************/
|
||||
#include "machine/msm6242.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
#include "sound/msm5205.h"
|
||||
#include "sound/okim6295.h"
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
#include "machine/6821pia.h"
|
||||
#include "machine/6840ptm.h"
|
||||
#include "machine/6850acia.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
#include "sound/upd7759.h"
|
||||
#include "video/tms34061.h"
|
||||
#include "machine/nvram.h"
|
||||
|
@ -19,7 +19,7 @@
|
||||
#include "machine/roc10937.h" // vfd
|
||||
#include "machine/steppers.h" // stepper motor
|
||||
#include "sound/ay8910.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
#include "sound/okim6376.h"
|
||||
#include "machine/nvram.h"
|
||||
#include "sound/upd7759.h"
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include "cpu/m6809/m6809.h"
|
||||
#include "sound/ay8910.h"
|
||||
#include "sound/okim6376.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
#include "sound/upd7759.h"
|
||||
#include "machine/steppers.h"
|
||||
#include "machine/roc10937.h"
|
||||
|
@ -18,7 +18,7 @@
|
||||
#include "sound/ay8910.h"
|
||||
#include "sound/dac.h"
|
||||
#include "sound/wave.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
#include "video/v9938.h"
|
||||
#include "video/tms9928a.h"
|
||||
#include "imagedev/flopdrv.h"
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
#include "machine/atarigen.h"
|
||||
#include "sound/okim6295.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
#include "video/atarimo.h"
|
||||
|
||||
class rampart_state : public atarigen_state
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include "machine/atarigen.h"
|
||||
#include "video/atarimo.h"
|
||||
#include "sound/okim6295.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
|
||||
class relief_state : public atarigen_state
|
||||
{
|
||||
|
@ -13,7 +13,7 @@
|
||||
#include "machine/nvram.h"
|
||||
#include "machine/segaic16.h"
|
||||
#include "sound/ym2151.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
#include "sound/upd7759.h"
|
||||
#include "video/segaic16.h"
|
||||
#include "video/sega16sp.h"
|
||||
|
@ -4,7 +4,7 @@
|
||||
#include "crsshair.h"
|
||||
#include "video/315_5124.h"
|
||||
#include "sound/sn76496.h"
|
||||
#include "sound/2413intf.h"
|
||||
#include "sound/ym2413.h"
|
||||
#include "includes/sms.h"
|
||||
|
||||
#define VERBOSE 0
|
||||
|
Loading…
Reference in New Issue
Block a user