trunk/src/emu/sound/x1_010.c
| r20875 | r20876 | |
| 51 | 51 | #include "emu.h" |
| 52 | 52 | #include "x1_010.h" |
| 53 | 53 | |
| 54 | |
| 54 | 55 | #define VERBOSE_SOUND 0 |
| 55 | 56 | #define VERBOSE_REGISTER_WRITE 0 |
| 56 | 57 | #define VERBOSE_REGISTER_READ 0 |
| r20875 | r20876 | |
| 59 | 60 | #define LOG_REGISTER_WRITE(x) do { if (VERBOSE_REGISTER_WRITE) logerror x; } while (0) |
| 60 | 61 | #define LOG_REGISTER_READ(x) do { if (VERBOSE_REGISTER_READ) logerror x; } while (0) |
| 61 | 62 | |
| 63 | #define SETA_NUM_CHANNELS 16 |
| 64 | |
| 62 | 65 | #define FREQ_BASE_BITS 8 // Frequency fixed decimal shift bits |
| 63 | 66 | #define ENV_BASE_BITS 16 // wave form envelope fixed decimal shift bits |
| 64 | | #define VOL_BASE (2*32*256/30) // Volume base |
| 67 | #define VOL_BASE (2*32*256/30) // Volume base |
| 65 | 68 | |
| 66 | 69 | /* this structure defines the parameters for a channel */ |
| 67 | 70 | struct X1_010_CHANNEL { |
| r20875 | r20876 | |
| 74 | 77 | unsigned char reserve[2]; |
| 75 | 78 | }; |
| 76 | 79 | |
| 77 | | /* mixer tables and internal buffers */ |
| 78 | | //static short *mixer_buffer = NULL; |
| 79 | | |
| 80 | | |
| 81 | | // device type definition |
| 82 | | const device_type X1_010 = &device_creator<x1_010_device>; |
| 83 | | |
| 84 | | |
| 85 | | //************************************************************************** |
| 86 | | // LIVE DEVICE |
| 87 | | //************************************************************************** |
| 88 | | |
| 89 | | //------------------------------------------------- |
| 90 | | // x1_010_device - constructor |
| 91 | | //------------------------------------------------- |
| 92 | | |
| 93 | | x1_010_device::x1_010_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 94 | | : device_t(mconfig, X1_010, "X1-010", tag, owner, clock), |
| 95 | | device_sound_interface(mconfig, *this), |
| 96 | | m_rate(0), |
| 97 | | m_stream(NULL), |
| 98 | | m_address(0), |
| 99 | | m_region(NULL), |
| 100 | | m_sound_enable(0), |
| 101 | | m_base_clock(0) |
| 80 | struct x1_010_state |
| 102 | 81 | { |
| 103 | | } |
| 82 | /* Variables only used here */ |
| 83 | int rate; // Output sampling rate (Hz) |
| 84 | sound_stream * stream; // Stream handle |
| 85 | int address; // address eor data |
| 86 | const UINT8 *region; // region name |
| 87 | int sound_enable; // sound output enable/disable |
| 88 | UINT8 reg[0x2000]; // X1-010 Register & wave form area |
| 89 | UINT8 HI_WORD_BUF[0x2000]; // X1-010 16bit access ram check avoidance work |
| 90 | UINT32 smp_offset[SETA_NUM_CHANNELS]; |
| 91 | UINT32 env_offset[SETA_NUM_CHANNELS]; |
| 104 | 92 | |
| 93 | UINT32 base_clock; |
| 94 | }; |
| 105 | 95 | |
| 106 | | //------------------------------------------------- |
| 107 | | // device_start - device-specific startup |
| 108 | | //------------------------------------------------- |
| 96 | /* mixer tables and internal buffers */ |
| 97 | //static short *mixer_buffer = NULL; |
| 109 | 98 | |
| 110 | | void x1_010_device::device_start() |
| 99 | INLINE x1_010_state *get_safe_token(device_t *device) |
| 111 | 100 | { |
| 112 | | int i; |
| 113 | | const x1_010_interface *intf = (const x1_010_interface *)static_config(); |
| 114 | | |
| 115 | | m_region = *region(); |
| 116 | | m_base_clock = clock(); |
| 117 | | m_rate = clock() / 1024; |
| 118 | | m_address = intf->adr; |
| 119 | | |
| 120 | | for( i = 0; i < SETA_NUM_CHANNELS; i++ ) { |
| 121 | | m_smp_offset[i] = 0; |
| 122 | | m_env_offset[i] = 0; |
| 123 | | } |
| 124 | | /* Print some more debug info */ |
| 125 | | LOG_SOUND(("masterclock = %d rate = %d\n", clock(), m_rate )); |
| 126 | | |
| 127 | | /* get stream channels */ |
| 128 | | m_stream = stream_alloc(0, 2, m_rate); |
| 101 | assert(device != NULL); |
| 102 | assert(device->type() == X1_010); |
| 103 | return (x1_010_state *)downcast<x1_010_device *>(device)->token(); |
| 129 | 104 | } |
| 130 | 105 | |
| 131 | 106 | |
| 132 | | //------------------------------------------------- |
| 133 | | // sound_stream_update - handle a stream update |
| 134 | | //------------------------------------------------- |
| 135 | | |
| 136 | | void x1_010_device::sound_stream_update(sound_stream &stream, stream_sample_t **inputs, stream_sample_t **outputs, int samples) |
| 107 | /*-------------------------------------------------------------- |
| 108 | generate sound to the mix buffer |
| 109 | --------------------------------------------------------------*/ |
| 110 | static STREAM_UPDATE( seta_update ) |
| 137 | 111 | { |
| 112 | x1_010_state *info = (x1_010_state *)param; |
| 138 | 113 | X1_010_CHANNEL *reg; |
| 139 | 114 | int ch, i, volL, volR, freq; |
| 140 | 115 | register INT8 *start, *end, data; |
| 141 | 116 | register UINT8 *env; |
| 142 | 117 | register UINT32 smp_offs, smp_step, env_offs, env_step, delta; |
| 143 | | const UINT8 *snd1 = m_region; |
| 118 | const UINT8 *snd1 = info->region; |
| 144 | 119 | |
| 145 | 120 | // mixer buffer zero clear |
| 146 | 121 | memset( outputs[0], 0, samples*sizeof(*outputs[0]) ); |
| 147 | 122 | memset( outputs[1], 0, samples*sizeof(*outputs[1]) ); |
| 148 | 123 | |
| 149 | | // if( m_sound_enable == 0 ) return; |
| 124 | // if( info->sound_enable == 0 ) return; |
| 150 | 125 | |
| 151 | 126 | for( ch = 0; ch < SETA_NUM_CHANNELS; ch++ ) { |
| 152 | | reg = (X1_010_CHANNEL *)&(m_reg[ch*sizeof(X1_010_CHANNEL)]); |
| 127 | reg = (X1_010_CHANNEL *)&(info->reg[ch*sizeof(X1_010_CHANNEL)]); |
| 153 | 128 | if( (reg->status&1) != 0 ) { // Key On |
| 154 | 129 | stream_sample_t *bufL = outputs[0]; |
| 155 | 130 | stream_sample_t *bufR = outputs[1]; |
| r20875 | r20876 | |
| 158 | 133 | end = (INT8 *)((0x100-reg->end)*0x1000+snd1); |
| 159 | 134 | volL = ((reg->volume>>4)&0xf)*VOL_BASE; |
| 160 | 135 | volR = ((reg->volume>>0)&0xf)*VOL_BASE; |
| 161 | | smp_offs = m_smp_offset[ch]; |
| 136 | smp_offs = info->smp_offset[ch]; |
| 162 | 137 | freq = reg->frequency&0x1f; |
| 163 | 138 | // Meta Fox does not write the frequency register. Ever |
| 164 | 139 | if( freq == 0 ) freq = 4; |
| 165 | | smp_step = (UINT32)((float)m_base_clock/8192.0 |
| 166 | | *freq*(1<<FREQ_BASE_BITS)/(float)m_rate); |
| 140 | smp_step = (UINT32)((float)info->base_clock/8192.0 |
| 141 | *freq*(1<<FREQ_BASE_BITS)/(float)info->rate); |
| 167 | 142 | if( smp_offs == 0 ) { |
| 168 | 143 | LOG_SOUND(( "Play sample %p - %p, channel %X volume %d:%d freq %X step %X offset %X\n", |
| 169 | 144 | start, end, ch, volL, volR, freq, smp_step, smp_offs )); |
| r20875 | r20876 | |
| 180 | 155 | *bufR++ += (data*volR/256); |
| 181 | 156 | smp_offs += smp_step; |
| 182 | 157 | } |
| 183 | | m_smp_offset[ch] = smp_offs; |
| 158 | info->smp_offset[ch] = smp_offs; |
| 184 | 159 | } else { // Wave form |
| 185 | | start = (INT8 *)&(m_reg[reg->volume*128+0x1000]); |
| 186 | | smp_offs = m_smp_offset[ch]; |
| 160 | start = (INT8 *)&(info->reg[reg->volume*128+0x1000]); |
| 161 | smp_offs = info->smp_offset[ch]; |
| 187 | 162 | freq = (reg->pitch_hi<<8)+reg->frequency; |
| 188 | | smp_step = (UINT32)((float)m_base_clock/128.0/1024.0/4.0*freq*(1<<FREQ_BASE_BITS)/(float)m_rate); |
| 163 | smp_step = (UINT32)((float)info->base_clock/128.0/1024.0/4.0*freq*(1<<FREQ_BASE_BITS)/(float)info->rate); |
| 189 | 164 | |
| 190 | | env = (UINT8 *)&(m_reg[reg->end*128]); |
| 191 | | env_offs = m_env_offset[ch]; |
| 192 | | env_step = (UINT32)((float)m_base_clock/128.0/1024.0/4.0*reg->start*(1<<ENV_BASE_BITS)/(float)m_rate); |
| 165 | env = (UINT8 *)&(info->reg[reg->end*128]); |
| 166 | env_offs = info->env_offset[ch]; |
| 167 | env_step = (UINT32)((float)info->base_clock/128.0/1024.0/4.0*reg->start*(1<<ENV_BASE_BITS)/(float)info->rate); |
| 193 | 168 | /* Print some more debug info */ |
| 194 | 169 | if( smp_offs == 0 ) { |
| 195 | 170 | LOG_SOUND(( "Play waveform %X, channel %X volume %X freq %4X step %X offset %X\n", |
| r20875 | r20876 | |
| 212 | 187 | smp_offs += smp_step; |
| 213 | 188 | env_offs += env_step; |
| 214 | 189 | } |
| 215 | | m_smp_offset[ch] = smp_offs; |
| 216 | | m_env_offset[ch] = env_offs; |
| 190 | info->smp_offset[ch] = smp_offs; |
| 191 | info->env_offset[ch] = env_offs; |
| 217 | 192 | } |
| 218 | 193 | } |
| 219 | 194 | } |
| 220 | 195 | } |
| 221 | 196 | |
| 222 | 197 | |
| 223 | | void x1_010_device::seta_sound_enable_w(int data) |
| 198 | |
| 199 | static DEVICE_START( x1_010 ) |
| 224 | 200 | { |
| 225 | | m_sound_enable = data; |
| 201 | int i; |
| 202 | const x1_010_interface *intf = (const x1_010_interface *)device->static_config(); |
| 203 | x1_010_state *info = get_safe_token(device); |
| 204 | |
| 205 | info->region = *device->region(); |
| 206 | info->base_clock = device->clock(); |
| 207 | info->rate = device->clock() / 1024; |
| 208 | info->address = intf->adr; |
| 209 | |
| 210 | for( i = 0; i < SETA_NUM_CHANNELS; i++ ) { |
| 211 | info->smp_offset[i] = 0; |
| 212 | info->env_offset[i] = 0; |
| 213 | } |
| 214 | /* Print some more debug info */ |
| 215 | LOG_SOUND(("masterclock = %d rate = %d\n", device->clock(), info->rate )); |
| 216 | |
| 217 | /* get stream channels */ |
| 218 | info->stream = device->machine().sound().stream_alloc(*device,0,2,info->rate,info,seta_update); |
| 226 | 219 | } |
| 227 | 220 | |
| 228 | 221 | |
| 229 | | // |
| 230 | | // Use these for 8 bit CPUs |
| 231 | | // |
| 232 | | READ8_MEMBER( x1_010_device::seta_sound_r ) |
| 222 | void seta_sound_enable_w(device_t *device, int data) |
| 233 | 223 | { |
| 234 | | offset ^= m_address; |
| 235 | | return m_reg[offset]; |
| 224 | x1_010_state *info = get_safe_token(device); |
| 225 | info->sound_enable = data; |
| 236 | 226 | } |
| 237 | 227 | |
| 238 | 228 | |
| 239 | | WRITE8_MEMBER( x1_010_device::seta_sound_w ) |
| 229 | |
| 230 | /* Use these for 8 bit CPUs */ |
| 231 | |
| 232 | |
| 233 | READ8_DEVICE_HANDLER( seta_sound_r ) |
| 240 | 234 | { |
| 235 | x1_010_state *info = get_safe_token(device); |
| 236 | offset ^= info->address; |
| 237 | return info->reg[offset]; |
| 238 | } |
| 239 | |
| 240 | |
| 241 | |
| 242 | |
| 243 | WRITE8_DEVICE_HANDLER( seta_sound_w ) |
| 244 | { |
| 245 | x1_010_state *info = get_safe_token(device); |
| 241 | 246 | int channel, reg; |
| 242 | | offset ^= m_address; |
| 247 | offset ^= info->address; |
| 243 | 248 | |
| 244 | 249 | channel = offset/sizeof(X1_010_CHANNEL); |
| 245 | 250 | reg = offset%sizeof(X1_010_CHANNEL); |
| 246 | 251 | |
| 247 | 252 | if( channel < SETA_NUM_CHANNELS && reg == 0 |
| 248 | | && (m_reg[offset]&1) == 0 && (data&1) != 0 ) { |
| 249 | | m_smp_offset[channel] = 0; |
| 250 | | m_env_offset[channel] = 0; |
| 253 | && (info->reg[offset]&1) == 0 && (data&1) != 0 ) { |
| 254 | info->smp_offset[channel] = 0; |
| 255 | info->env_offset[channel] = 0; |
| 251 | 256 | } |
| 252 | | LOG_REGISTER_WRITE(("%s: offset %6X : data %2X\n", machine().describe_context(), offset, data )); |
| 253 | | m_reg[offset] = data; |
| 257 | LOG_REGISTER_WRITE(("%s: offset %6X : data %2X\n", device->machine().describe_context(), offset, data )); |
| 258 | info->reg[offset] = data; |
| 254 | 259 | } |
| 255 | 260 | |
| 256 | 261 | |
| 257 | | // |
| 258 | | // Use these for 16 bit CPUs |
| 259 | | // |
| 260 | | READ16_MEMBER( x1_010_device::seta_sound_word_r ) |
| 262 | |
| 263 | |
| 264 | /* Use these for 16 bit CPUs */ |
| 265 | |
| 266 | READ16_DEVICE_HANDLER( seta_sound_word_r ) |
| 261 | 267 | { |
| 268 | x1_010_state *info = get_safe_token(device); |
| 262 | 269 | UINT16 ret; |
| 263 | | ret = m_HI_WORD_BUF[offset]<<8; |
| 264 | | ret += (seta_sound_r( space, offset )&0xff); |
| 265 | | LOG_REGISTER_READ(( "%s: Read X1-010 Offset:%04X Data:%04X\n", machine().describe_context(), offset, ret )); |
| 270 | |
| 271 | ret = info->HI_WORD_BUF[offset]<<8; |
| 272 | ret += (seta_sound_r( device, space, offset )&0xff); |
| 273 | LOG_REGISTER_READ(( "%s: Read X1-010 Offset:%04X Data:%04X\n", device->machine().describe_context(), offset, ret )); |
| 266 | 274 | return ret; |
| 267 | 275 | } |
| 268 | 276 | |
| 269 | | WRITE16_MEMBER( x1_010_device::seta_sound_word_w ) |
| 277 | WRITE16_DEVICE_HANDLER( seta_sound_word_w ) |
| 270 | 278 | { |
| 271 | | m_HI_WORD_BUF[offset] = (data>>8)&0xff; |
| 272 | | seta_sound_w( space, offset, data&0xff ); |
| 273 | | LOG_REGISTER_WRITE(( "%s: Write X1-010 Offset:%04X Data:%04X\n", machine().describe_context(), offset, data )); |
| 279 | x1_010_state *info = get_safe_token(device); |
| 280 | info->HI_WORD_BUF[offset] = (data>>8)&0xff; |
| 281 | seta_sound_w( device, space, offset, data&0xff ); |
| 282 | LOG_REGISTER_WRITE(( "%s: Write X1-010 Offset:%04X Data:%04X\n", device->machine().describe_context(), offset, data )); |
| 274 | 283 | } |
| 284 | |
| 285 | |
| 286 | const device_type X1_010 = &device_creator<x1_010_device>; |
| 287 | |
| 288 | x1_010_device::x1_010_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 289 | : device_t(mconfig, X1_010, "X1-010", tag, owner, clock), |
| 290 | device_sound_interface(mconfig, *this) |
| 291 | { |
| 292 | m_token = global_alloc_clear(x1_010_state); |
| 293 | } |
| 294 | |
| 295 | //------------------------------------------------- |
| 296 | // device_config_complete - perform any |
| 297 | // operations now that the configuration is |
| 298 | // complete |
| 299 | //------------------------------------------------- |
| 300 | |
| 301 | void x1_010_device::device_config_complete() |
| 302 | { |
| 303 | } |
| 304 | |
| 305 | //------------------------------------------------- |
| 306 | // device_start - device-specific startup |
| 307 | //------------------------------------------------- |
| 308 | |
| 309 | void x1_010_device::device_start() |
| 310 | { |
| 311 | DEVICE_START_NAME( x1_010 )(this); |
| 312 | } |
| 313 | |
| 314 | //------------------------------------------------- |
| 315 | // sound_stream_update - handle a stream update |
| 316 | //------------------------------------------------- |
| 317 | |
| 318 | void x1_010_device::sound_stream_update(sound_stream &stream, stream_sample_t **inputs, stream_sample_t **outputs, int samples) |
| 319 | { |
| 320 | // should never get here |
| 321 | fatalerror("sound_stream_update called; not applicable to legacy sound devices\n"); |
| 322 | } |
trunk/src/mame/drivers/seta.c
| r20875 | r20876 | |
| 1654 | 1654 | |
| 1655 | 1655 | static ADDRESS_MAP_START( downtown_map, AS_PROGRAM, 16, seta_state ) |
| 1656 | 1656 | AM_RANGE(0x000000, 0x09ffff) AM_ROM // ROM |
| 1657 | | AM_RANGE(0x100000, 0x103fff) AM_DEVREADWRITE("x1snd", x1_010_device, seta_sound_word_r, seta_sound_word_w) // Sound |
| 1657 | AM_RANGE(0x100000, 0x103fff) AM_DEVREADWRITE_LEGACY("x1snd", seta_sound_word_r,seta_sound_word_w) // Sound |
| 1658 | 1658 | AM_RANGE(0x200000, 0x200001) AM_NOP // watchdog? (twineagl) |
| 1659 | 1659 | AM_RANGE(0x300000, 0x300001) AM_WRITENOP // IRQ enable/acknowledge? |
| 1660 | 1660 | AM_RANGE(0x400000, 0x400007) AM_WRITE(twineagl_tilebank_w) // special tile banking to animate water in twineagl |
| r20875 | r20876 | |
| 1823 | 1823 | static ADDRESS_MAP_START( atehate_map, AS_PROGRAM, 16, seta_state ) |
| 1824 | 1824 | AM_RANGE(0x000000, 0x0fffff) AM_ROM // ROM |
| 1825 | 1825 | AM_RANGE(0x900000, 0x9fffff) AM_RAM // RAM |
| 1826 | | AM_RANGE(0x100000, 0x103fff) AM_DEVREADWRITE("x1snd", x1_010_device, seta_sound_word_r, seta_sound_word_w) // Sound |
| 1826 | AM_RANGE(0x100000, 0x103fff) AM_DEVREADWRITE_LEGACY("x1snd", seta_sound_word_r,seta_sound_word_w) // Sound |
| 1827 | 1827 | AM_RANGE(0x200000, 0x200001) AM_WRITENOP // ? watchdog ? |
| 1828 | 1828 | AM_RANGE(0x300000, 0x300001) AM_WRITENOP // ? 0 (irq ack lev 2?) |
| 1829 | 1829 | AM_RANGE(0x500000, 0x500001) AM_WRITENOP // ? (end of lev 1: bit 4 goes 1,0,1) |
| r20875 | r20876 | |
| 1866 | 1866 | AM_RANGE(0xb04000, 0xb0ffff) AM_RAM // (jjsquawk) |
| 1867 | 1867 | AM_RANGE(0xb80000, 0xb83fff) AM_RAM_WRITE(seta_vram_2_w) AM_SHARE("vram_2") // VRAM 2&3 |
| 1868 | 1868 | AM_RANGE(0xb84000, 0xb8ffff) AM_RAM // (jjsquawk) |
| 1869 | | AM_RANGE(0xc00000, 0xc03fff) AM_DEVREADWRITE("x1snd", x1_010_device, seta_sound_word_r, seta_sound_word_w) // Sound |
| 1869 | AM_RANGE(0xc00000, 0xc03fff) AM_DEVREADWRITE_LEGACY("x1snd", seta_sound_word_r,seta_sound_word_w) // Sound |
| 1870 | 1870 | AM_RANGE(0xd00000, 0xd00007) AM_WRITENOP // ? |
| 1871 | 1871 | AM_RANGE(0xe00000, 0xe00001) AM_WRITENOP // ? VBlank IRQ Ack |
| 1872 | 1872 | AM_RANGE(0xf00000, 0xf00001) AM_WRITENOP // ? Sound IRQ Ack |
| r20875 | r20876 | |
| 1901 | 1901 | AM_RANGE(0xa00600, 0xa00607) AM_RAM AM_DEVREADWRITE_LEGACY("spritegen", spritectrl_r16, spritectrl_w16) |
| 1902 | 1902 | /**/AM_RANGE(0xa80000, 0xa80001) AM_RAM // ? 0x4000 |
| 1903 | 1903 | AM_RANGE(0xb00000, 0xb03fff) AM_RAM AM_DEVREADWRITE_LEGACY("spritegen", spritecode_r16, spritecode_w16) // Sprites Code + X + Attr |
| 1904 | | AM_RANGE(0xc00000, 0xc03fff) AM_DEVREADWRITE("x1snd", x1_010_device, seta_sound_word_r, seta_sound_word_w) // Sound |
| 1904 | AM_RANGE(0xc00000, 0xc03fff) AM_DEVREADWRITE_LEGACY("x1snd", seta_sound_word_r,seta_sound_word_w) // Sound |
| 1905 | 1905 | AM_RANGE(0xd00000, 0xd00007) AM_WRITENOP // ? |
| 1906 | 1906 | AM_RANGE(0xe00000, 0xe00001) AM_WRITENOP // ? VBlank IRQ Ack |
| 1907 | 1907 | AM_RANGE(0xf00000, 0xf00001) AM_WRITENOP // ? Sound IRQ Ack |
| r20875 | r20876 | |
| 1981 | 1981 | AM_RANGE(0xa00600, 0xa00607) AM_RAM AM_DEVREADWRITE_LEGACY("spritegen", spritectrl_r16, spritectrl_w16) |
| 1982 | 1982 | /**/AM_RANGE(0xa80000, 0xa80001) AM_RAM // ? 0x4000 |
| 1983 | 1983 | AM_RANGE(0xb00000, 0xb03fff) AM_RAM AM_DEVREADWRITE_LEGACY("spritegen", spritecode_r16, spritecode_w16) // Sprites Code + X + Attr |
| 1984 | | AM_RANGE(0xc00000, 0xc03fff) AM_DEVREADWRITE("x1snd", x1_010_device, seta_sound_word_r, seta_sound_word_w) // Sound |
| 1984 | AM_RANGE(0xc00000, 0xc03fff) AM_DEVREADWRITE_LEGACY("x1snd", seta_sound_word_r,seta_sound_word_w) // Sound |
| 1985 | 1985 | #if __uPD71054_TIMER |
| 1986 | 1986 | AM_RANGE(0xd00000, 0xd00007) AM_WRITE(timer_regs_w) // ? |
| 1987 | 1987 | #else |
| r20875 | r20876 | |
| 2057 | 2057 | AM_RANGE(0xa0a600, 0xa0a607) AM_RAM AM_DEVREADWRITE_LEGACY("spritegen", spritectrl_r16, spritectrl_w16) |
| 2058 | 2058 | // AM_RANGE(0xa80000, 0xa80001) AM_RAM // ? 0x4000 |
| 2059 | 2059 | AM_RANGE(0xb0c000, 0xb0ffff) AM_RAM AM_DEVREADWRITE_LEGACY("spritegen", spritecode_r16, spritecode_w16) // RZ: Sprites Code + X + Attr |
| 2060 | | AM_RANGE(0xc00000, 0xc03fff) AM_DEVREADWRITE("x1snd", x1_010_device, seta_sound_word_r, seta_sound_word_w) // Sound |
| 2060 | AM_RANGE(0xc00000, 0xc03fff) AM_DEVREADWRITE_LEGACY("x1snd", seta_sound_word_r,seta_sound_word_w) // Sound |
| 2061 | 2061 | #if __uPD71054_TIMER |
| 2062 | 2062 | AM_RANGE(0xd00000, 0xd00007) AM_WRITE(timer_regs_w) // ? |
| 2063 | 2063 | #else |
| r20875 | r20876 | |
| 2084 | 2084 | //AM_RANGE(0x600000, 0x60000f) AM_READ(krzybowl_input_r ) // P1 |
| 2085 | 2085 | AM_RANGE(0x8000f0, 0x8000f1) AM_RAM // NVRAM |
| 2086 | 2086 | AM_RANGE(0x800100, 0x8001ff) AM_RAM // NVRAM |
| 2087 | | AM_RANGE(0xa00000, 0xa03fff) AM_DEVREADWRITE("x1snd", x1_010_device, seta_sound_word_r, seta_sound_word_w) // Sound |
| 2087 | AM_RANGE(0xa00000, 0xa03fff) AM_DEVREADWRITE_LEGACY("x1snd", seta_sound_word_r,seta_sound_word_w) // Sound |
| 2088 | 2088 | AM_RANGE(0xb00000, 0xb003ff) AM_RAM AM_SHARE("paletteram") // Palette |
| 2089 | 2089 | AM_RANGE(0xc00000, 0xc03fff) AM_RAM AM_DEVREADWRITE_LEGACY("spritegen", spritecode_r16, spritecode_w16) // Sprites Code + X + Attr |
| 2090 | 2090 | /**/AM_RANGE(0xd00000, 0xd00001) AM_RAM // ? 0x4000 |
| r20875 | r20876 | |
| 2165 | 2165 | AM_RANGE(0x800100, 0x8001ff) AM_RAM // NVRAM |
| 2166 | 2166 | AM_RANGE(0x900000, 0x900001) AM_WRITENOP // ? |
| 2167 | 2167 | AM_RANGE(0x900002, 0x900003) AM_WRITE(keroppi_prize_w) // |
| 2168 | | AM_RANGE(0xa00000, 0xa03fff) AM_DEVREADWRITE("x1snd", x1_010_device, seta_sound_word_r, seta_sound_word_w) // Sound |
| 2168 | AM_RANGE(0xa00000, 0xa03fff) AM_DEVREADWRITE_LEGACY("x1snd", seta_sound_word_r,seta_sound_word_w) // Sound |
| 2169 | 2169 | AM_RANGE(0xb00000, 0xb003ff) AM_RAM AM_SHARE("paletteram") // Palette |
| 2170 | 2170 | AM_RANGE(0xc00000, 0xc03fff) AM_RAM AM_DEVREADWRITE_LEGACY("spritegen", spritecode_r16, spritecode_w16) // Sprites Code + X + Attr |
| 2171 | 2171 | /**/AM_RANGE(0xd00000, 0xd00001) AM_RAM // ? 0x4000 |
| r20875 | r20876 | |
| 2196 | 2196 | AM_RANGE(0x500000, 0x500001) AM_READ_PORT("P1") // P1 |
| 2197 | 2197 | AM_RANGE(0x500002, 0x500003) AM_READ_PORT("P2") // P2 |
| 2198 | 2198 | AM_RANGE(0x500004, 0x500005) AM_READ_PORT("COINS") // Coins |
| 2199 | | AM_RANGE(0xa00000, 0xa03fff) AM_DEVREADWRITE("x1snd", x1_010_device, seta_sound_word_r, seta_sound_word_w) // Sound |
| 2199 | AM_RANGE(0xa00000, 0xa03fff) AM_DEVREADWRITE_LEGACY("x1snd", seta_sound_word_r,seta_sound_word_w) // Sound |
| 2200 | 2200 | AM_RANGE(0xb00000, 0xb003ff) AM_RAM AM_SHARE("paletteram") // Palette |
| 2201 | 2201 | AM_RANGE(0xc00000, 0xc03fff) AM_RAM AM_DEVREADWRITE_LEGACY("spritegen", spritecode_r16, spritecode_w16) // Sprites Code + X + Attr |
| 2202 | 2202 | /**/AM_RANGE(0xd00000, 0xd00001) AM_RAM // ? 0x4000 |
| r20875 | r20876 | |
| 2233 | 2233 | AM_RANGE(0xa80000, 0xa80001) AM_RAM // ? 0x4000 |
| 2234 | 2234 | AM_RANGE(0xb00000, 0xb03fff) AM_RAM AM_DEVREADWRITE_LEGACY("spritegen", spritecode_r16, spritecode_w16) // Sprites Code + X + Attr |
| 2235 | 2235 | AM_RANGE(0xb04000, 0xb13fff) AM_RAM |
| 2236 | | AM_RANGE(0xc00000, 0xc03fff) AM_DEVREADWRITE("x1snd", x1_010_device, seta_sound_word_r, seta_sound_word_w) // Sound |
| 2236 | AM_RANGE(0xc00000, 0xc03fff) AM_DEVREADWRITE_LEGACY("x1snd", seta_sound_word_r,seta_sound_word_w) // Sound |
| 2237 | 2237 | AM_RANGE(0xe00000, 0xe00001) AM_WRITENOP // |
| 2238 | 2238 | ADDRESS_MAP_END |
| 2239 | 2239 | |
| r20875 | r20876 | |
| 2246 | 2246 | AM_RANGE(0x000000, 0x0bffff) AM_ROM // ROM |
| 2247 | 2247 | AM_RANGE(0xf00000, 0xf0ffff) AM_RAM // RAM (qzkklogy) |
| 2248 | 2248 | AM_RANGE(0xffc000, 0xffffff) AM_RAM // RAM (drgnunit,stg) |
| 2249 | | AM_RANGE(0x100000, 0x103fff) AM_DEVREADWRITE("x1snd", x1_010_device, seta_sound_word_r, seta_sound_word_w) // Sound |
| 2249 | AM_RANGE(0x100000, 0x103fff) AM_DEVREADWRITE_LEGACY("x1snd", seta_sound_word_r,seta_sound_word_w) // Sound |
| 2250 | 2250 | AM_RANGE(0x200000, 0x200001) AM_WRITENOP // Watchdog |
| 2251 | 2251 | AM_RANGE(0x300000, 0x300001) AM_WRITENOP // ? IRQ Ack |
| 2252 | 2252 | AM_RANGE(0x500000, 0x500001) AM_RAM_WRITE(seta_vregs_w) AM_SHARE("vregs") // Coin Lockout + Video Registers |
| r20875 | r20876 | |
| 2364 | 2364 | /**/AM_RANGE(0xa80000, 0xa80001) AM_RAM // ? 0x4000 |
| 2365 | 2365 | AM_RANGE(0xb00000, 0xb03fff) AM_RAM AM_DEVREADWRITE_LEGACY("spritegen", spritecode_r16, spritecode_w16) // Sprites Code + X + Attr |
| 2366 | 2366 | AM_RANGE(0xb04000, 0xb13fff) AM_RAM // |
| 2367 | | AM_RANGE(0xe00000, 0xe03fff) AM_DEVREADWRITE("x1snd", x1_010_device, seta_sound_word_r, seta_sound_word_w) // Sound |
| 2367 | AM_RANGE(0xe00000, 0xe03fff) AM_DEVREADWRITE_LEGACY("x1snd", seta_sound_word_r,seta_sound_word_w) // Sound |
| 2368 | 2368 | ADDRESS_MAP_END |
| 2369 | 2369 | |
| 2370 | 2370 | |
| r20875 | r20876 | |
| 2401 | 2401 | #else |
| 2402 | 2402 | AM_RANGE(0xc00000, 0xc00007) AM_WRITENOP // ? |
| 2403 | 2403 | #endif |
| 2404 | | AM_RANGE(0xd00000, 0xd03fff) AM_DEVREADWRITE("x1snd", x1_010_device, seta_sound_word_r, seta_sound_word_w) // Sound |
| 2404 | AM_RANGE(0xd00000, 0xd03fff) AM_DEVREADWRITE_LEGACY("x1snd", seta_sound_word_r,seta_sound_word_w) // Sound |
| 2405 | 2405 | ADDRESS_MAP_END |
| 2406 | 2406 | |
| 2407 | 2407 | /* almost identical to kamenrid */ |
| r20875 | r20876 | |
| 2430 | 2430 | #else |
| 2431 | 2431 | AM_RANGE(0xc00000, 0xc00007) AM_WRITENOP // ? |
| 2432 | 2432 | #endif |
| 2433 | | AM_RANGE(0xd00000, 0xd03fff) AM_DEVREADWRITE("x1snd", x1_010_device, seta_sound_word_r, seta_sound_word_w) // Sound |
| 2433 | AM_RANGE(0xd00000, 0xd03fff) AM_DEVREADWRITE_LEGACY("x1snd", seta_sound_word_r,seta_sound_word_w) // Sound |
| 2434 | 2434 | ADDRESS_MAP_END |
| 2435 | 2435 | |
| 2436 | 2436 | |
| r20875 | r20876 | |
| 2477 | 2477 | #else |
| 2478 | 2478 | AM_RANGE(0xc00000, 0xc00007) AM_WRITENOP // ? |
| 2479 | 2479 | #endif |
| 2480 | | AM_RANGE(0xd00000, 0xd03fff) AM_DEVREADWRITE("x1snd", x1_010_device, seta_sound_word_r, seta_sound_word_w) // Sound |
| 2480 | AM_RANGE(0xd00000, 0xd03fff) AM_DEVREADWRITE_LEGACY("x1snd", seta_sound_word_r,seta_sound_word_w) // Sound |
| 2481 | 2481 | ADDRESS_MAP_END |
| 2482 | 2482 | |
| 2483 | 2483 | |
| r20875 | r20876 | |
| 2522 | 2522 | AM_RANGE(0x600000, 0x60000f) AM_READ(krzybowl_input_r) // P1 |
| 2523 | 2523 | AM_RANGE(0x8000f0, 0x8000f1) AM_RAM // NVRAM |
| 2524 | 2524 | AM_RANGE(0x800100, 0x8001ff) AM_RAM // NVRAM |
| 2525 | | AM_RANGE(0xa00000, 0xa03fff) AM_DEVREADWRITE("x1snd", x1_010_device, seta_sound_word_r, seta_sound_word_w) // Sound |
| 2525 | AM_RANGE(0xa00000, 0xa03fff) AM_DEVREADWRITE_LEGACY("x1snd", seta_sound_word_r,seta_sound_word_w) // Sound |
| 2526 | 2526 | AM_RANGE(0xb00000, 0xb003ff) AM_RAM AM_SHARE("paletteram") // Palette |
| 2527 | 2527 | AM_RANGE(0xc00000, 0xc03fff) AM_RAM AM_DEVREADWRITE_LEGACY("spritegen", spritecode_r16, spritecode_w16) // Sprites Code + X + Attr |
| 2528 | 2528 | /**/AM_RANGE(0xd00000, 0xd00001) AM_RAM // ? 0x4000 |
| r20875 | r20876 | |
| 2568 | 2568 | AM_RANGE(0xa80000, 0xa83fff) AM_RAM_WRITE(seta_vram_2_w) AM_SHARE("vram_2") // VRAM 2&3 |
| 2569 | 2569 | AM_RANGE(0xb00000, 0xb00005) AM_RAM AM_SHARE("vctrl_0") // VRAM 0&1 Ctrl |
| 2570 | 2570 | AM_RANGE(0xb80000, 0xb80005) AM_RAM AM_SHARE("vctrl_2") // VRAM 2&3 Ctrl |
| 2571 | | AM_RANGE(0xc00000, 0xc03fff) AM_DEVREADWRITE("x1snd", x1_010_device, seta_sound_word_r, seta_sound_word_w) // Sound |
| 2571 | AM_RANGE(0xc00000, 0xc03fff) AM_DEVREADWRITE_LEGACY("x1snd", seta_sound_word_r,seta_sound_word_w) // Sound |
| 2572 | 2572 | #if __uPD71054_TIMER |
| 2573 | 2573 | AM_RANGE(0xd00000, 0xd00007) AM_WRITE(timer_regs_w) // ? |
| 2574 | 2574 | #else |
| r20875 | r20876 | |
| 2592 | 2592 | AM_RANGE(0x400004, 0x400005) AM_READ_PORT("COINS") // Coins |
| 2593 | 2593 | AM_RANGE(0x400000, 0x400001) AM_WRITENOP // ? IRQ Ack |
| 2594 | 2594 | AM_RANGE(0x500000, 0x500005) AM_RAM_WRITE(seta_vregs_w) AM_SHARE("vregs") // Coin Lockout + Video Registers |
| 2595 | | AM_RANGE(0x700000, 0x703fff) AM_DEVREADWRITE("x1snd", x1_010_device, seta_sound_word_r, seta_sound_word_w) // Sound |
| 2595 | AM_RANGE(0x700000, 0x703fff) AM_DEVREADWRITE_LEGACY("x1snd", seta_sound_word_r,seta_sound_word_w) // Sound |
| 2596 | 2596 | AM_RANGE(0x800000, 0x803fff) AM_RAM_WRITE(seta_vram_0_w) AM_SHARE("vram_0") // VRAM 0&1 |
| 2597 | 2597 | AM_RANGE(0x880000, 0x883fff) AM_RAM_WRITE(seta_vram_2_w) AM_SHARE("vram_2") // VRAM 2&3 |
| 2598 | 2598 | /**/AM_RANGE(0x900000, 0x900005) AM_RAM AM_SHARE("vctrl_0") // VRAM 0&1 Ctrl |
| r20875 | r20876 | |
| 2683 | 2683 | /**/AM_RANGE(0xa00000, 0xa005ff) AM_RAM AM_DEVREADWRITE_LEGACY("spritegen", spriteylow_r16, spriteylow_w16) // Sprites Y |
| 2684 | 2684 | AM_RANGE(0xa00600, 0xa00607) AM_RAM AM_DEVREADWRITE_LEGACY("spritegen", spritectrl_r16, spritectrl_w16) |
| 2685 | 2685 | AM_RANGE(0xb00000, 0xb003ff) AM_RAM AM_SHARE("paletteram") // Palette |
| 2686 | | AM_RANGE(0xc00000, 0xc03fff) AM_DEVREADWRITE("x1snd", x1_010_device, seta_sound_word_r, seta_sound_word_w) // Sound |
| 2686 | AM_RANGE(0xc00000, 0xc03fff) AM_DEVREADWRITE_LEGACY("x1snd", seta_sound_word_r,seta_sound_word_w) // Sound |
| 2687 | 2687 | AM_RANGE(0xd00000, 0xd00009) AM_READ(kiwame_input_r) // mahjong panel |
| 2688 | 2688 | AM_RANGE(0xe00000, 0xe00003) AM_READ(seta_dsw_r) // DSW |
| 2689 | 2689 | ADDRESS_MAP_END |
| r20875 | r20876 | |
| 2708 | 2708 | static ADDRESS_MAP_START( thunderl_map, AS_PROGRAM, 16, seta_state ) |
| 2709 | 2709 | AM_RANGE(0x000000, 0x00ffff) AM_ROM // ROM |
| 2710 | 2710 | AM_RANGE(0xffc000, 0xffffff) AM_RAM // RAM |
| 2711 | | AM_RANGE(0x100000, 0x103fff) AM_DEVREADWRITE("x1snd", x1_010_device, seta_sound_word_r, seta_sound_word_w) // Sound |
| 2711 | AM_RANGE(0x100000, 0x103fff) AM_DEVREADWRITE_LEGACY("x1snd", seta_sound_word_r,seta_sound_word_w) // Sound |
| 2712 | 2712 | AM_RANGE(0x200000, 0x200001) AM_WRITENOP // ? |
| 2713 | 2713 | AM_RANGE(0x300000, 0x300001) AM_WRITENOP // ? |
| 2714 | 2714 | AM_RANGE(0x400000, 0x40ffff) AM_WRITE(thunderl_protection_w) // Protection (not in wits) |
| r20875 | r20876 | |
| 2732 | 2732 | static ADDRESS_MAP_START( thunderlbl_map, AS_PROGRAM, 16, seta_state ) |
| 2733 | 2733 | AM_RANGE(0x000000, 0x00ffff) AM_ROM // ROM |
| 2734 | 2734 | AM_RANGE(0xffc000, 0xffffff) AM_RAM // RAM |
| 2735 | | // AM_RANGE(0x100000, 0x103fff) AM_DEVREADWRITE("x1snd", x1_010_device, seta_sound_word_r, seta_sound_word_w) // Sound |
| 2735 | // AM_RANGE(0x100000, 0x103fff) AM_DEVREADWRITE_LEGACY("x1snd", seta_sound_word_r,seta_sound_word_w) // Sound |
| 2736 | 2736 | AM_RANGE(0x200000, 0x200001) AM_WRITENOP // ? |
| 2737 | 2737 | AM_RANGE(0x300000, 0x300001) AM_WRITENOP // ? |
| 2738 | 2738 | // AM_RANGE(0x400000, 0x40ffff) AM_WRITE(thunderl_protection_w) // Protection (not in wits) |
| r20875 | r20876 | |
| 2818 | 2818 | AM_RANGE(0xa00600, 0xa00607) AM_RAM AM_DEVREADWRITE_LEGACY("spritegen", spritectrl_r16, spritectrl_w16) |
| 2819 | 2819 | /**/AM_RANGE(0xa80000, 0xa80001) AM_RAM // ? 0x4000 |
| 2820 | 2820 | AM_RANGE(0xb00000, 0xb03fff) AM_RAM AM_DEVREADWRITE_LEGACY("spritegen", spritecode_r16, spritecode_w16) // Sprites Code + X + Attr |
| 2821 | | AM_RANGE(0xc00000, 0xc03fff) AM_DEVREADWRITE("x1snd", x1_010_device, seta_sound_word_r, seta_sound_word_w) // Sound |
| 2821 | AM_RANGE(0xc00000, 0xc03fff) AM_DEVREADWRITE_LEGACY("x1snd", seta_sound_word_r,seta_sound_word_w) // Sound |
| 2822 | 2822 | ADDRESS_MAP_END |
| 2823 | 2823 | |
| 2824 | 2824 | |
| r20875 | r20876 | |
| 2886 | 2886 | AM_RANGE(0x500002, 0x500003) AM_READ_PORT("P2") // P2 |
| 2887 | 2887 | AM_RANGE(0x500004, 0x500005) AM_READ_PORT("COINS") // Coins |
| 2888 | 2888 | AM_RANGE(0x900000, 0x9001ff) AM_READWRITE(pairlove_prot_r,pairlove_prot_w) |
| 2889 | | AM_RANGE(0xa00000, 0xa03fff) AM_DEVREADWRITE("x1snd", x1_010_device, seta_sound_word_r, seta_sound_word_w) // Sound |
| 2889 | AM_RANGE(0xa00000, 0xa03fff) AM_DEVREADWRITE_LEGACY("x1snd", seta_sound_word_r,seta_sound_word_w) // Sound |
| 2890 | 2890 | AM_RANGE(0xb00000, 0xb00fff) AM_RAM AM_SHARE("paletteram") // Palette |
| 2891 | 2891 | AM_RANGE(0xc00000, 0xc03fff) AM_RAM AM_DEVREADWRITE_LEGACY("spritegen", spritecode_r16, spritecode_w16) // Sprites Code + X + Attr |
| 2892 | 2892 | AM_RANGE(0xd00000, 0xd00001) AM_RAM // ? 0x4000 |
| r20875 | r20876 | |
| 2976 | 2976 | |
| 2977 | 2977 | AM_RANGE(0x800000, 0x80001f) AM_DEVREADWRITE8("rtc", msm6242_device, read, write, 0x00ff) |
| 2978 | 2978 | |
| 2979 | | AM_RANGE(0x900000, 0x903fff) AM_DEVREADWRITE("x1snd", x1_010_device, seta_sound_word_r, seta_sound_word_w ) // Sound |
| 2979 | AM_RANGE(0x900000, 0x903fff) AM_DEVREADWRITE_LEGACY("x1snd", seta_sound_word_r, seta_sound_word_w ) // Sound |
| 2980 | 2980 | |
| 2981 | 2981 | AM_RANGE(0xa00000, 0xa00005) AM_WRITEONLY AM_SHARE("vctrl_0") // VRAM 0&1 Ctrl |
| 2982 | 2982 | AM_RANGE(0xb00000, 0xb03fff) AM_RAM_WRITE(seta_vram_0_w) AM_SHARE("vram_0") // VRAM 0&1 |
| r20875 | r20876 | |
| 3038 | 3038 | |
| 3039 | 3039 | AM_RANGE(0x800000, 0x80001f) AM_DEVREADWRITE8("rtc", msm6242_device, read, write, 0x00ff) |
| 3040 | 3040 | |
| 3041 | | AM_RANGE(0x900000, 0x903fff) AM_DEVREADWRITE("x1snd", x1_010_device, seta_sound_word_r, seta_sound_word_w) // Sound |
| 3041 | AM_RANGE(0x900000, 0x903fff) AM_DEVREADWRITE_LEGACY("x1snd", seta_sound_word_r, seta_sound_word_w) // Sound |
| 3042 | 3042 | |
| 3043 | 3043 | AM_RANGE(0xa00000, 0xa00005) AM_WRITEONLY AM_SHARE("vctrl_0") // VRAM 0&1 Ctrl |
| 3044 | 3044 | AM_RANGE(0xb00000, 0xb03fff) AM_RAM_WRITE(seta_vram_0_w) AM_SHARE("vram_0") // VRAM 0&1 |
| r20875 | r20876 | |
| 3177 | 3177 | } |
| 3178 | 3178 | |
| 3179 | 3179 | static ADDRESS_MAP_START( calibr50_sub_map, AS_PROGRAM, 8, seta_state ) |
| 3180 | | AM_RANGE(0x0000, 0x1fff) AM_DEVREADWRITE("x1snd", x1_010_device, seta_sound_r, seta_sound_w) // Sound |
| 3180 | AM_RANGE(0x0000, 0x1fff) AM_DEVREADWRITE_LEGACY("x1snd", seta_sound_r,seta_sound_w) // Sound |
| 3181 | 3181 | AM_RANGE(0x4000, 0x4000) AM_READ(soundlatch_byte_r) // From Main CPU |
| 3182 | 3182 | AM_RANGE(0x4000, 0x4000) AM_WRITE(sub_bankswitch_w) // Bankswitching |
| 3183 | 3183 | AM_RANGE(0x8000, 0xbfff) AM_ROMBANK("bank1") // Banked ROM |
| r20875 | r20876 | |
| 3213 | 3213 | static ADDRESS_MAP_START( utoukond_sound_map, AS_PROGRAM, 8, seta_state ) |
| 3214 | 3214 | AM_RANGE(0x0000, 0xdfff) AM_ROM |
| 3215 | 3215 | AM_RANGE(0xe000, 0xefff) AM_RAM |
| 3216 | | AM_RANGE(0xf000, 0xffff) AM_DEVREADWRITE("x1snd", x1_010_device, seta_sound_r, seta_sound_w) |
| 3216 | AM_RANGE(0xf000, 0xffff) AM_DEVREADWRITE_LEGACY("x1snd", seta_sound_r,seta_sound_w) |
| 3217 | 3217 | ADDRESS_MAP_END |
| 3218 | 3218 | |
| 3219 | 3219 | static ADDRESS_MAP_START( utoukond_sound_io_map, AS_IO, 8, seta_state ) |
| r20875 | r20876 | |
| 7544 | 7544 | /* sound hardware */ |
| 7545 | 7545 | MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 7546 | 7546 | |
| 7547 | | MCFG_X1_010_ADD("x1snd", 16000000) /* 16 MHz */ |
| 7547 | MCFG_SOUND_ADD("x1snd", X1_010, 16000000) /* 16 MHz */ |
| 7548 | 7548 | MCFG_SOUND_CONFIG(seta_sound_intf) |
| 7549 | 7549 | MCFG_SOUND_ROUTE(0, "lspeaker", 1.0) |
| 7550 | 7550 | MCFG_SOUND_ROUTE(1, "rspeaker", 1.0) |
| r20875 | r20876 | |
| 7585 | 7585 | |
| 7586 | 7586 | /* sound hardware */ |
| 7587 | 7587 | MCFG_SPEAKER_STANDARD_MONO("mono") |
| 7588 | | MCFG_X1_010_ADD("x1snd", 16000000) /* 16 MHz */ |
| 7588 | MCFG_SOUND_ADD("x1snd", X1_010, 16000000) /* 16 MHz */ |
| 7589 | 7589 | MCFG_SOUND_CONFIG(seta_sound_intf) |
| 7590 | 7590 | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50) |
| 7591 | 7591 | MACHINE_CONFIG_END |
| r20875 | r20876 | |
| 7645 | 7645 | /* sound hardware */ |
| 7646 | 7646 | MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 7647 | 7647 | |
| 7648 | | MCFG_X1_010_ADD("x1snd", 16000000) /* 16 MHz */ |
| 7648 | MCFG_SOUND_ADD("x1snd", X1_010, 16000000) /* 16 MHz */ |
| 7649 | 7649 | MCFG_SOUND_CONFIG(seta_sound_intf2) |
| 7650 | 7650 | MCFG_SOUND_ROUTE(0, "lspeaker", 1.0) |
| 7651 | 7651 | MCFG_SOUND_ROUTE(1, "rspeaker", 1.0) |
| r20875 | r20876 | |
| 7692 | 7692 | |
| 7693 | 7693 | /* sound hardware */ |
| 7694 | 7694 | MCFG_SPEAKER_STANDARD_MONO("mono") |
| 7695 | | MCFG_X1_010_ADD("x1snd", 16000000) /* 16 MHz */ |
| 7695 | MCFG_SOUND_ADD("x1snd", X1_010, 16000000) /* 16 MHz */ |
| 7696 | 7696 | MCFG_SOUND_CONFIG(seta_sound_intf2) |
| 7697 | 7697 | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50) |
| 7698 | 7698 | MACHINE_CONFIG_END |
| r20875 | r20876 | |
| 7733 | 7733 | /* sound hardware */ |
| 7734 | 7734 | MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 7735 | 7735 | |
| 7736 | | MCFG_X1_010_ADD("x1snd", 16000000) /* 16 MHz */ |
| 7736 | MCFG_SOUND_ADD("x1snd", X1_010, 16000000) /* 16 MHz */ |
| 7737 | 7737 | MCFG_SOUND_CONFIG(seta_sound_intf) |
| 7738 | 7738 | MCFG_SOUND_ROUTE(0, "lspeaker", 1.0) |
| 7739 | 7739 | MCFG_SOUND_ROUTE(1, "rspeaker", 1.0) |
| r20875 | r20876 | |
| 7769 | 7769 | /* sound hardware */ |
| 7770 | 7770 | MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 7771 | 7771 | |
| 7772 | | MCFG_X1_010_ADD("x1snd", 16000000) /* 16 MHz */ |
| 7772 | MCFG_SOUND_ADD("x1snd", X1_010, 16000000) /* 16 MHz */ |
| 7773 | 7773 | MCFG_SOUND_CONFIG(seta_sound_intf) |
| 7774 | 7774 | MCFG_SOUND_ROUTE(0, "lspeaker", 1.0) |
| 7775 | 7775 | MCFG_SOUND_ROUTE(1, "rspeaker", 1.0) |
| r20875 | r20876 | |
| 7813 | 7813 | /* sound hardware */ |
| 7814 | 7814 | MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 7815 | 7815 | |
| 7816 | | MCFG_X1_010_ADD("x1snd", 16000000) /* 16 MHz */ |
| 7816 | MCFG_SOUND_ADD("x1snd", X1_010, 16000000) /* 16 MHz */ |
| 7817 | 7817 | MCFG_SOUND_CONFIG(seta_sound_intf) |
| 7818 | 7818 | MCFG_SOUND_ROUTE(0, "lspeaker", 1.0) |
| 7819 | 7819 | MCFG_SOUND_ROUTE(1, "rspeaker", 1.0) |
| r20875 | r20876 | |
| 7846 | 7846 | /* sound hardware */ |
| 7847 | 7847 | MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 7848 | 7848 | |
| 7849 | | MCFG_X1_010_ADD("x1snd", 16000000) /* 16 MHz */ |
| 7849 | MCFG_SOUND_ADD("x1snd", X1_010, 16000000) /* 16 MHz */ |
| 7850 | 7850 | MCFG_SOUND_CONFIG(seta_sound_intf) |
| 7851 | 7851 | MCFG_SOUND_ROUTE(0, "lspeaker", 1.0) |
| 7852 | 7852 | MCFG_SOUND_ROUTE(1, "rspeaker", 1.0) |
| r20875 | r20876 | |
| 7882 | 7882 | /* sound hardware */ |
| 7883 | 7883 | MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 7884 | 7884 | |
| 7885 | | MCFG_X1_010_ADD("x1snd", 16000000) /* 16 MHz */ |
| 7885 | MCFG_SOUND_ADD("x1snd", X1_010, 16000000) /* 16 MHz */ |
| 7886 | 7886 | MCFG_SOUND_CONFIG(seta_sound_intf) |
| 7887 | 7887 | MCFG_SOUND_ROUTE(0, "lspeaker", 1.0) |
| 7888 | 7888 | MCFG_SOUND_ROUTE(1, "rspeaker", 1.0) |
| r20875 | r20876 | |
| 7918 | 7918 | /* sound hardware */ |
| 7919 | 7919 | MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 7920 | 7920 | |
| 7921 | | MCFG_X1_010_ADD("x1snd", 16000000) /* 16 MHz */ |
| 7921 | MCFG_SOUND_ADD("x1snd", X1_010, 16000000) /* 16 MHz */ |
| 7922 | 7922 | MCFG_SOUND_CONFIG(seta_sound_intf) |
| 7923 | 7923 | MCFG_SOUND_ROUTE(0, "lspeaker", 1.0) |
| 7924 | 7924 | MCFG_SOUND_ROUTE(1, "rspeaker", 1.0) |
| r20875 | r20876 | |
| 7960 | 7960 | /* sound hardware */ |
| 7961 | 7961 | MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 7962 | 7962 | |
| 7963 | | MCFG_X1_010_ADD("x1snd", 16000000) /* 16 MHz */ |
| 7963 | MCFG_SOUND_ADD("x1snd", X1_010, 16000000) /* 16 MHz */ |
| 7964 | 7964 | MCFG_SOUND_CONFIG(seta_sound_intf) |
| 7965 | 7965 | MCFG_SOUND_ROUTE(0, "lspeaker", 1.0) |
| 7966 | 7966 | MCFG_SOUND_ROUTE(1, "rspeaker", 1.0) |
| r20875 | r20876 | |
| 7995 | 7995 | /* sound hardware */ |
| 7996 | 7996 | MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 7997 | 7997 | |
| 7998 | | MCFG_X1_010_ADD("x1snd", 16000000) /* 16 MHz */ |
| 7998 | MCFG_SOUND_ADD("x1snd", X1_010, 16000000) /* 16 MHz */ |
| 7999 | 7999 | MCFG_SOUND_CONFIG(seta_sound_intf) |
| 8000 | 8000 | MCFG_SOUND_ROUTE(0, "lspeaker", 1.0) |
| 8001 | 8001 | MCFG_SOUND_ROUTE(1, "rspeaker", 1.0) |
| r20875 | r20876 | |
| 8046 | 8046 | /* sound hardware */ |
| 8047 | 8047 | MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 8048 | 8048 | |
| 8049 | | MCFG_X1_010_ADD("x1snd", 16000000) /* 16 MHz */ |
| 8049 | MCFG_SOUND_ADD("x1snd", X1_010, 16000000) /* 16 MHz */ |
| 8050 | 8050 | MCFG_SOUND_CONFIG(seta_sound_intf) |
| 8051 | 8051 | MCFG_SOUND_ROUTE(0, "lspeaker", 1.0) |
| 8052 | 8052 | MCFG_SOUND_ROUTE(1, "rspeaker", 1.0) |
| r20875 | r20876 | |
| 8082 | 8082 | /* sound hardware */ |
| 8083 | 8083 | MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 8084 | 8084 | |
| 8085 | | MCFG_X1_010_ADD("x1snd", 16000000) /* 16 MHz */ |
| 8085 | MCFG_SOUND_ADD("x1snd", X1_010, 16000000) /* 16 MHz */ |
| 8086 | 8086 | MCFG_SOUND_CONFIG(seta_sound_intf) |
| 8087 | 8087 | MCFG_SOUND_ROUTE(0, "lspeaker", 1.0) |
| 8088 | 8088 | MCFG_SOUND_ROUTE(1, "rspeaker", 1.0) |
| r20875 | r20876 | |
| 8124 | 8124 | /* sound hardware */ |
| 8125 | 8125 | MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 8126 | 8126 | |
| 8127 | | MCFG_X1_010_ADD("x1snd", 16000000) /* 16 MHz */ |
| 8127 | MCFG_SOUND_ADD("x1snd", X1_010, 16000000) /* 16 MHz */ |
| 8128 | 8128 | MCFG_SOUND_CONFIG(seta_sound_intf) |
| 8129 | 8129 | MCFG_SOUND_ROUTE(0, "lspeaker", 1.0) |
| 8130 | 8130 | MCFG_SOUND_ROUTE(1, "rspeaker", 1.0) |
| r20875 | r20876 | |
| 8185 | 8185 | /* sound hardware */ |
| 8186 | 8186 | MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 8187 | 8187 | |
| 8188 | | MCFG_X1_010_ADD("x1snd", 16000000) /* 16 MHz */ |
| 8188 | MCFG_SOUND_ADD("x1snd", X1_010, 16000000) /* 16 MHz */ |
| 8189 | 8189 | MCFG_SOUND_CONFIG(seta_sound_intf) |
| 8190 | 8190 | MCFG_SOUND_ROUTE(0, "lspeaker", 1.0) |
| 8191 | 8191 | MCFG_SOUND_ROUTE(1, "rspeaker", 1.0) |
| r20875 | r20876 | |
| 8226 | 8226 | /* sound hardware */ |
| 8227 | 8227 | MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 8228 | 8228 | |
| 8229 | | MCFG_X1_010_ADD("x1snd", 16000000) /* 16 MHz */ |
| 8229 | MCFG_SOUND_ADD("x1snd", X1_010, 16000000) /* 16 MHz */ |
| 8230 | 8230 | MCFG_SOUND_CONFIG(seta_sound_intf) |
| 8231 | 8231 | MCFG_SOUND_ROUTE(0, "lspeaker", 1.0) |
| 8232 | 8232 | MCFG_SOUND_ROUTE(1, "rspeaker", 1.0) |
| r20875 | r20876 | |
| 8258 | 8258 | /* sound hardware */ |
| 8259 | 8259 | MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 8260 | 8260 | |
| 8261 | | MCFG_X1_010_ADD("x1snd", 16000000) /* 16 MHz */ |
| 8261 | MCFG_SOUND_ADD("x1snd", X1_010, 16000000) /* 16 MHz */ |
| 8262 | 8262 | MCFG_SOUND_CONFIG(seta_sound_intf) |
| 8263 | 8263 | MCFG_SOUND_ROUTE(0, "lspeaker", 1.0) |
| 8264 | 8264 | MCFG_SOUND_ROUTE(1, "rspeaker", 1.0) |
| r20875 | r20876 | |
| 8298 | 8298 | /* sound hardware */ |
| 8299 | 8299 | MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 8300 | 8300 | |
| 8301 | | MCFG_X1_010_ADD("x1snd", 16000000) /* 16 MHz */ |
| 8301 | MCFG_SOUND_ADD("x1snd", X1_010, 16000000) /* 16 MHz */ |
| 8302 | 8302 | MCFG_SOUND_CONFIG(seta_sound_intf) |
| 8303 | 8303 | MCFG_SOUND_ROUTE(0, "lspeaker", 1.0) |
| 8304 | 8304 | MCFG_SOUND_ROUTE(1, "rspeaker", 1.0) |
| r20875 | r20876 | |
| 8335 | 8335 | /* sound hardware */ |
| 8336 | 8336 | MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 8337 | 8337 | |
| 8338 | | MCFG_X1_010_ADD("x1snd", 14318180) /* 14.318180 MHz */ |
| 8338 | MCFG_SOUND_ADD("x1snd", X1_010, 14318180) /* 14.318180 MHz */ |
| 8339 | 8339 | MCFG_SOUND_CONFIG(seta_sound_intf) |
| 8340 | 8340 | MCFG_SOUND_ROUTE(0, "lspeaker", 1.0) |
| 8341 | 8341 | MCFG_SOUND_ROUTE(1, "rspeaker", 1.0) |
| r20875 | r20876 | |
| 8373 | 8373 | /* sound hardware */ |
| 8374 | 8374 | MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 8375 | 8375 | |
| 8376 | | MCFG_X1_010_ADD("x1snd", 14318180) /* 14.318180 MHz */ |
| 8376 | MCFG_SOUND_ADD("x1snd", X1_010, 14318180) /* 14.318180 MHz */ |
| 8377 | 8377 | MCFG_SOUND_CONFIG(seta_sound_intf) |
| 8378 | 8378 | MCFG_SOUND_ROUTE(0, "lspeaker", 1.0) |
| 8379 | 8379 | MCFG_SOUND_ROUTE(1, "rspeaker", 1.0) |
| r20875 | r20876 | |
| 8409 | 8409 | /* sound hardware */ |
| 8410 | 8410 | MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 8411 | 8411 | |
| 8412 | | MCFG_X1_010_ADD("x1snd", 16000000) /* 16 MHz */ |
| 8412 | MCFG_SOUND_ADD("x1snd", X1_010, 16000000) /* 16 MHz */ |
| 8413 | 8413 | MCFG_SOUND_CONFIG(seta_sound_intf) |
| 8414 | 8414 | MCFG_SOUND_ROUTE(0, "lspeaker", 1.0) |
| 8415 | 8415 | MCFG_SOUND_ROUTE(1, "rspeaker", 1.0) |
| r20875 | r20876 | |
| 8452 | 8452 | /* sound hardware */ |
| 8453 | 8453 | MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 8454 | 8454 | |
| 8455 | | MCFG_X1_010_ADD("x1snd", 16000000) /* 16 MHz */ |
| 8455 | MCFG_SOUND_ADD("x1snd", X1_010, 16000000) /* 16 MHz */ |
| 8456 | 8456 | MCFG_SOUND_CONFIG(seta_sound_intf) |
| 8457 | 8457 | MCFG_SOUND_ROUTE(0, "lspeaker", 1.0) |
| 8458 | 8458 | MCFG_SOUND_ROUTE(1, "rspeaker", 1.0) |
| r20875 | r20876 | |
| 8492 | 8492 | /* sound hardware */ |
| 8493 | 8493 | MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 8494 | 8494 | |
| 8495 | | MCFG_X1_010_ADD("x1snd", 16000000) /* 16 MHz */ |
| 8495 | MCFG_SOUND_ADD("x1snd", X1_010, 16000000) /* 16 MHz */ |
| 8496 | 8496 | MCFG_SOUND_CONFIG(seta_sound_intf) |
| 8497 | 8497 | MCFG_SOUND_ROUTE(0, "lspeaker", 1.0) |
| 8498 | 8498 | MCFG_SOUND_ROUTE(1, "rspeaker", 1.0) |
| r20875 | r20876 | |
| 8539 | 8539 | /* sound hardware */ |
| 8540 | 8540 | MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 8541 | 8541 | |
| 8542 | | MCFG_X1_010_ADD("x1snd", 16000000) /* 16 MHz */ |
| 8542 | MCFG_SOUND_ADD("x1snd", X1_010, 16000000) /* 16 MHz */ |
| 8543 | 8543 | MCFG_SOUND_CONFIG(seta_sound_intf) |
| 8544 | 8544 | MCFG_SOUND_ROUTE(0, "lspeaker", 1.0) |
| 8545 | 8545 | MCFG_SOUND_ROUTE(1, "rspeaker", 1.0) |
| r20875 | r20876 | |
| 8576 | 8576 | /* sound hardware */ |
| 8577 | 8577 | MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 8578 | 8578 | |
| 8579 | | MCFG_X1_010_ADD("x1snd", 16000000) /* 16 MHz */ |
| 8579 | MCFG_SOUND_ADD("x1snd", X1_010, 16000000) /* 16 MHz */ |
| 8580 | 8580 | MCFG_SOUND_CONFIG(seta_sound_intf) |
| 8581 | 8581 | MCFG_SOUND_ROUTE(0, "lspeaker", 1.0) |
| 8582 | 8582 | MCFG_SOUND_ROUTE(1, "rspeaker", 1.0) |
| r20875 | r20876 | |
| 8648 | 8648 | /* sound hardware */ |
| 8649 | 8649 | MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 8650 | 8650 | |
| 8651 | | MCFG_X1_010_ADD("x1snd", 16000000) /* 16 MHz */ |
| 8651 | MCFG_SOUND_ADD("x1snd", X1_010, 16000000) /* 16 MHz */ |
| 8652 | 8652 | MCFG_SOUND_CONFIG(seta_sound_intf) |
| 8653 | 8653 | MCFG_SOUND_ROUTE(0, "lspeaker", 1.0) |
| 8654 | 8654 | MCFG_SOUND_ROUTE(1, "rspeaker", 1.0) |
| r20875 | r20876 | |
| 8687 | 8687 | /* sound hardware */ |
| 8688 | 8688 | MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 8689 | 8689 | |
| 8690 | | MCFG_X1_010_ADD("x1snd", 16000000) /* 16 MHz */ |
| 8690 | MCFG_SOUND_ADD("x1snd", X1_010, 16000000) /* 16 MHz */ |
| 8691 | 8691 | MCFG_SOUND_CONFIG(seta_sound_intf) |
| 8692 | 8692 | MCFG_SOUND_ROUTE(0, "lspeaker", 1.0) |
| 8693 | 8693 | MCFG_SOUND_ROUTE(1, "rspeaker", 1.0) |
| r20875 | r20876 | |
| 8726 | 8726 | /* sound hardware */ |
| 8727 | 8727 | MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 8728 | 8728 | |
| 8729 | | MCFG_X1_010_ADD("x1snd", 16000000) /* 16 MHz */ |
| 8729 | MCFG_SOUND_ADD("x1snd", X1_010, 16000000) /* 16 MHz */ |
| 8730 | 8730 | MCFG_SOUND_CONFIG(seta_sound_intf) |
| 8731 | 8731 | MCFG_SOUND_ROUTE(0, "lspeaker", 1.0) |
| 8732 | 8732 | MCFG_SOUND_ROUTE(1, "rspeaker", 1.0) |
| r20875 | r20876 | |
| 8831 | 8831 | /* sound hardware */ |
| 8832 | 8832 | MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 8833 | 8833 | |
| 8834 | | MCFG_X1_010_ADD("x1snd", 16000000) /* 16 MHz */ |
| 8834 | MCFG_SOUND_ADD("x1snd", X1_010, 16000000) /* 16 MHz */ |
| 8835 | 8835 | MCFG_SOUND_CONFIG(seta_sound_intf) |
| 8836 | 8836 | MCFG_SOUND_ROUTE(0, "lspeaker", 1.0) |
| 8837 | 8837 | MCFG_SOUND_ROUTE(1, "rspeaker", 1.0) |
| r20875 | r20876 | |
| 8867 | 8867 | /* sound hardware */ |
| 8868 | 8868 | MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 8869 | 8869 | |
| 8870 | | MCFG_X1_010_ADD("x1snd", 16000000) /* 16 MHz */ |
| 8870 | MCFG_SOUND_ADD("x1snd", X1_010, 16000000) /* 16 MHz */ |
| 8871 | 8871 | MCFG_SOUND_CONFIG(seta_sound_intf) |
| 8872 | 8872 | MCFG_SOUND_ROUTE(0, "lspeaker", 1.0) |
| 8873 | 8873 | MCFG_SOUND_ROUTE(1, "rspeaker", 1.0) |
| r20875 | r20876 | |
| 8907 | 8907 | /* sound hardware */ |
| 8908 | 8908 | MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 8909 | 8909 | |
| 8910 | | MCFG_X1_010_ADD("x1snd", 16000000) |
| 8910 | MCFG_SOUND_ADD("x1snd", X1_010, 16000000) |
| 8911 | 8911 | MCFG_SOUND_CONFIG(seta_sound_intf) |
| 8912 | 8912 | MCFG_SOUND_ROUTE(0, "lspeaker", 1.0) |
| 8913 | 8913 | MCFG_SOUND_ROUTE(1, "rspeaker", 1.0) |
| r20875 | r20876 | |
| 8956 | 8956 | /* sound hardware */ |
| 8957 | 8957 | MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 8958 | 8958 | |
| 8959 | | MCFG_X1_010_ADD("x1snd", 16000000) /* 16 MHz */ |
| 8959 | MCFG_SOUND_ADD("x1snd", X1_010, 16000000) /* 16 MHz */ |
| 8960 | 8960 | MCFG_SOUND_CONFIG(seta_sound_intf) |
| 8961 | 8961 | MCFG_SOUND_ROUTE(0, "lspeaker", 1.0) |
| 8962 | 8962 | MCFG_SOUND_ROUTE(1, "rspeaker", 1.0) |
| r20875 | r20876 | |
| 9000 | 9000 | /* sound hardware */ |
| 9001 | 9001 | MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 9002 | 9002 | |
| 9003 | | MCFG_X1_010_ADD("x1snd", 16000000) /* 16 MHz */ |
| 9003 | MCFG_SOUND_ADD("x1snd", X1_010, 16000000) /* 16 MHz */ |
| 9004 | 9004 | MCFG_SOUND_CONFIG(seta_sound_intf) |
| 9005 | 9005 | MCFG_SOUND_ROUTE(0, "lspeaker", 1.0) |
| 9006 | 9006 | MCFG_SOUND_ROUTE(1, "rspeaker", 1.0) |
| r20875 | r20876 | |
| 9052 | 9052 | /* sound hardware */ |
| 9053 | 9053 | MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 9054 | 9054 | |
| 9055 | | MCFG_X1_010_ADD("x1snd", 16000000) /* 16 MHz */ |
| 9055 | MCFG_SOUND_ADD("x1snd", X1_010, 16000000) /* 16 MHz */ |
| 9056 | 9056 | MCFG_SOUND_CONFIG(seta_sound_intf) |
| 9057 | 9057 | MCFG_SOUND_ROUTE(0, "lspeaker", 1.0) |
| 9058 | 9058 | MCFG_SOUND_ROUTE(1, "rspeaker", 1.0) |
| r20875 | r20876 | |
| 9196 | 9196 | /* sound hardware */ |
| 9197 | 9197 | MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 9198 | 9198 | |
| 9199 | | MCFG_X1_010_ADD("x1snd", 16000000) |
| 9199 | MCFG_SOUND_ADD("x1snd", X1_010, 16000000) |
| 9200 | 9200 | MCFG_SOUND_CONFIG(seta_sound_intf) |
| 9201 | 9201 | MCFG_SOUND_ROUTE(0, "lspeaker", 1.0) |
| 9202 | 9202 | MCFG_SOUND_ROUTE(1, "rspeaker", 1.0) |