Previous 199869 Revisions Next

r17587 Sunday 2nd September, 2012 at 10:47:07 UTC by Tafoid
Continuing new device implementation for SN76496 and clones - circusc.c, gberet.c, guab.c, homedata.c, lasso.c, segag80r.c  [Osso]
[src/mame/drivers]circusc.c gberet.c guab.c homedata.c lasso.c segag80r.c spcforce.c
[src/mame/includes]circusc.h gberet.h homedata.h lasso.h segag80r.h spcforce.h

trunk/src/mame/includes/segag80r.h
r17586r17587
55*************************************************************************/
66
77#include "machine/segag80.h"
8#include "sound/sn76496.h"
89
910class segag80r_state : public driver_device
1011{
r17586r17587
1213   segag80r_state(const machine_config &mconfig, device_type type, const char *tag)
1314      : driver_device(mconfig, type, tag) ,
1415      m_mainram(*this, "mainram"),
15      m_videoram(*this, "videoram"){ }
16
16      m_videoram(*this, "videoram"),
17      m_sn1(*this, "sn1"),
18      m_sn2(*this, "sn2"){ }
19     
1720   required_shared_ptr<UINT8> m_mainram;
1821   required_shared_ptr<UINT8> m_videoram;
22   
23   optional_device<sn76496_new_device> m_sn1;
24   optional_device<sn76496_new_device> m_sn2;
1925
2026   UINT8 m_sound_state[2];
2127   UINT8 m_sound_rate;
trunk/src/mame/includes/circusc.h
r17586r17587
55*************************************************************************/
66
77#include "sound/dac.h"
8#include "sound/sn76496.h"
89
910class circusc_state : public driver_device
1011{
r17586r17587
1617      m_colorram(*this, "colorram"),
1718      m_videoram(*this, "videoram"),
1819      m_spriteram_2(*this, "spriteram_2"),
19      m_spriteram(*this, "spriteram"){ }
20      m_spriteram(*this, "spriteram"),
21      m_sn_1(*this, "sn1"),
22      m_sn_2(*this, "sn2"){ }
2023
2124   /* memory pointers */
2225   required_shared_ptr<UINT8> m_spritebank;
r17586r17587
3437
3538   /* devices */
3639   cpu_device *m_audiocpu;
37   device_t *m_sn1;
38   device_t *m_sn2;
40   required_device<sn76496_new_device> m_sn_1;
41   required_device<sn76496_new_device> m_sn_2;
3942   dac_device *m_dac;
4043   device_t *m_discrete;
4144
trunk/src/mame/includes/lasso.h
r17586r17587
44
55***************************************************************************/
66
7#include "sound/sn76496.h"
8
79class lasso_state : public driver_device
810{
911public:
r17586r17587
1618      m_chip_data(*this, "chip_data"),
1719      m_bitmap_ram(*this, "bitmap_ram"),
1820      m_last_colors(*this, "last_colors"),
19      m_track_scroll(*this, "track_scroll"){ }
21      m_track_scroll(*this, "track_scroll"),
22      m_sn_1(*this, "sn76489.1"),
23      m_sn_2(*this, "sn76489.2"){ }
2024
2125   /* memory pointers */
2226   required_shared_ptr<UINT8> m_videoram;
r17586r17587
3741   /* devices */
3842   device_t *m_maincpu;
3943   device_t *m_audiocpu;
40   device_t *m_sn_1;
41   device_t *m_sn_2;
44   optional_device<sn76489_new_device> m_sn_1;
45   optional_device<sn76489_new_device> m_sn_2;
4246   DECLARE_WRITE8_MEMBER(sound_command_w);
4347   DECLARE_WRITE8_MEMBER(pinbo_sound_command_w);
4448   DECLARE_READ8_MEMBER(sound_status_r);
trunk/src/mame/includes/spcforce.h
r17586r17587
1#include "sound/sn76496.h"
2
13class spcforce_state : public driver_device
24{
35public:
r17586r17587
57      : driver_device(mconfig, type, tag) ,
68      m_scrollram(*this, "scrollram"),
79      m_videoram(*this, "videoram"),
8      m_colorram(*this, "colorram"){ }
10      m_colorram(*this, "colorram"),
11        m_sn1(*this, "sn1"),
12        m_sn2(*this, "sn2"),
13        m_sn3(*this, "sn3"){ }
914
15
1016   required_shared_ptr<UINT8> m_scrollram;
1117   required_shared_ptr<UINT8> m_videoram;
1218   required_shared_ptr<UINT8> m_colorram;
1319
20   required_device<sn76496_new_device> m_sn1;
21    required_device<sn76496_new_device> m_sn2;
22    required_device<sn76496_new_device> m_sn3;
23
1424   int m_sn76496_latch;
1525   int m_sn76496_select;
1626
trunk/src/mame/includes/gberet.h
r17586r17587
44
55***************************************************************************/
66
7#include "sound/sn76496.h"
8
79class gberet_state : public driver_device
810{
911public:
r17586r17587
1416      m_spriteram2(*this, "spriteram2"),
1517      m_spriteram(*this, "spriteram"),
1618      m_scrollram(*this, "scrollram"),
17      m_soundlatch(*this, "soundlatch"){ }
19      m_soundlatch(*this, "soundlatch"),
20      m_sn(*this, "snsnd") { }
1821
1922   /* memory pointers */
2023   required_shared_ptr<UINT8> m_colorram;
r17586r17587
2326   required_shared_ptr<UINT8> m_spriteram;
2427   optional_shared_ptr<UINT8> m_scrollram;
2528   optional_shared_ptr<UINT8> m_soundlatch;
29   
30   /* devices */
31   required_device<sn76489a_new_device> m_sn;
2632
2733   /* video-related */
2834   tilemap_t * m_bg_tilemap;
trunk/src/mame/includes/homedata.h
r17586r17587
11#include "sound/dac.h"
2#include "sound/sn76496.h"
23
34class homedata_state : public driver_device
45{
r17586r17587
67   homedata_state(const machine_config &mconfig, device_type type, const char *tag)
78      : driver_device(mconfig, type, tag) ,
89      m_vreg(*this, "vreg"),
9      m_videoram(*this, "videoram"){ }
10      m_videoram(*this, "videoram") {}
1011
1112   /* memory pointers */
1213   optional_shared_ptr<UINT8> m_vreg;
r17586r17587
3940   device_t *m_audiocpu;
4041   dac_device *m_dac;
4142   device_t *m_ym;
42   device_t *m_sn;
43   sn76489a_new_device *m_sn;
4344   UINT8 m_prot_data;
4445   DECLARE_READ8_MEMBER(mrokumei_keyboard_r);
4546   DECLARE_WRITE8_MEMBER(mrokumei_keyboard_select_w);
trunk/src/mame/drivers/guab.c
r17586r17587
7676{
7777public:
7878   guab_state(const machine_config &mconfig, device_type type, const char *tag)
79      : driver_device(mconfig, type, tag) { }
80
79      : driver_device(mconfig, type, tag) ,
80      m_sn(*this, "snsnd") { }
81     
82   /* devices */
83   required_device<sn76489_new_device> m_sn;
84   
8185   struct ef9369 m_pal;
8286   emu_timer *m_fdc_timer;
8387   struct wd1770 m_fdc;
r17586r17587
651655      }
652656      case 0x30:
653657      {
654         sn76496_w(machine().device("snsnd"), 0, data & 0xff);
658         m_sn->write(space, 0, data & 0xff);
655659         break;
656660      }
657661      case 0x31:
r17586r17587
774778
775779/*************************************
776780 *
781 *  Sound interface
782 *
783 *************************************/
784 
785 
786//-------------------------------------------------
787//  sn76496_config psg_intf
788//-------------------------------------------------
789
790static const sn76496_config psg_intf =
791{
792    DEVCB_NULL
793};
794
795
796/*************************************
797 *
777798 *  Machine driver
778799 *
779800 *************************************/
r17586r17587
813834   MCFG_SPEAKER_STANDARD_MONO("mono")
814835
815836   /* TODO: Verify clock */
816   MCFG_SOUND_ADD("snsnd", SN76489, 2000000)
837   MCFG_SOUND_ADD("snsnd", SN76489_NEW, 2000000)
817838   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
839   MCFG_SOUND_CONFIG(psg_intf)
818840
819841   /* 6840 PTM */
820842   MCFG_PTM6840_ADD("6840ptm", ptm_intf)
trunk/src/mame/drivers/segag80r.c
r17586r17587
301301/* the data lines are flipped */
302302WRITE8_MEMBER(segag80r_state::sindbadm_sn1_SN76496_w)
303303{
304   device_t *device = machine().device("sn1");
305   sn76496_w(device, offset, BITSWAP8(data, 0,1,2,3,4,5,6,7));
304      m_sn1->write(space, offset, BITSWAP8(data, 0,1,2,3,4,5,6,7));
306305}
307306WRITE8_MEMBER(segag80r_state::sindbadm_sn2_SN76496_w)
308307{
309   device_t *device = machine().device("sn2");
310   sn76496_w(device, offset, BITSWAP8(data, 0,1,2,3,4,5,6,7));
308      m_sn2->write(space, offset, BITSWAP8(data, 0,1,2,3,4,5,6,7));
311309}
312310
313311
r17586r17587
816814GFXDECODE_END
817815
818816
817/*************************************
818 *
819 *  Sound interface
820 *
821 *************************************/
822 
823 
824//-------------------------------------------------
825//  sn76496_config psg_intf
826//-------------------------------------------------
819827
828static const sn76496_config psg_intf =
829{
830    DEVCB_NULL
831};
832
833
820834/*************************************
821835 *
822836 *  Machine drivers
r17586r17587
934948   MCFG_CPU_PERIODIC_INT(irq0_line_hold,4*60)
935949
936950   /* sound hardware */
937   MCFG_SOUND_ADD("sn1", SN76496, SINDBADM_SOUND_CLOCK/4)
951   MCFG_SOUND_ADD("sn1", SN76496_NEW, SINDBADM_SOUND_CLOCK/4)
938952   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
953   MCFG_SOUND_CONFIG(psg_intf)
939954
940   MCFG_SOUND_ADD("sn2", SN76496, SINDBADM_SOUND_CLOCK/2)
955   MCFG_SOUND_ADD("sn2", SN76496_NEW, SINDBADM_SOUND_CLOCK/2)
941956   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
957   MCFG_SOUND_CONFIG(psg_intf)
942958MACHINE_CONFIG_END
943959
944960
trunk/src/mame/drivers/circusc.c
r17586r17587
5252#include "machine/konami1.h"
5353#include "cpu/m6809/m6809.h"
5454#include "sound/dac.h"
55#include "sound/sn76496.h"
5655#include "sound/discrete.h"
5756#include "includes/circusc.h"
5857
r17586r17587
6261   circusc_state *state = machine.driver_data<circusc_state>();
6362
6463   state->m_audiocpu = machine.device<cpu_device>("audiocpu");
65   state->m_sn1 = machine.device("sn1");
66   state->m_sn2 = machine.device("sn2");
6764   state->m_dac = machine.device<dac_device>("dac");
6865   state->m_discrete = machine.device("fltdisc");
6966
r17586r17587
118115
119116      /* CS3 */
120117      case 1:
121         sn76496_w(m_sn1, 0, m_sn_latch);
118         m_sn_1->write(space, 0, m_sn_latch);
122119         break;
123120
124121      /* CS4 */
125122      case 2:
126         sn76496_w(m_sn2, 0, m_sn_latch);
123         m_sn_2->write(space, 0, m_sn_latch);
127124         break;
128125
129126      /* CS5 */
r17586r17587
302299   GFXDECODE_ENTRY( "gfx2", 0, spritelayout, 16*16, 16 )
303300GFXDECODE_END
304301
302
303/*************************************
304 *
305 *  Sound interface
306 *
307 *************************************/
308 
309 
310//-------------------------------------------------
311//  sn76496_config psg_intf
312//-------------------------------------------------
313
314static const sn76496_config psg_intf =
315{
316    DEVCB_NULL
317};
318
319
305320static const discrete_mixer_desc circusc_mixer_desc =
306321   {DISC_MIXER_IS_RESISTOR,
307322      {RES_K(2.2), RES_K(2.2), RES_K(10)},
r17586r17587
371386   /* sound hardware */
372387   MCFG_SPEAKER_STANDARD_MONO("mono")
373388
374   MCFG_SOUND_ADD("sn1", SN76496, XTAL_14_31818MHz/8)
389   MCFG_SOUND_ADD("sn1", SN76496_NEW, XTAL_14_31818MHz/8)
390   MCFG_SOUND_CONFIG(psg_intf)
375391   MCFG_SOUND_ROUTE_EX(0, "fltdisc", 1.0, 0)
376392
377   MCFG_SOUND_ADD("sn2", SN76496, XTAL_14_31818MHz/8)
393   MCFG_SOUND_ADD("sn2", SN76496_NEW, XTAL_14_31818MHz/8)
394   MCFG_SOUND_CONFIG(psg_intf)
378395   MCFG_SOUND_ROUTE_EX(0, "fltdisc", 1.0, 1)
379396
380397   MCFG_DAC_ADD("dac")
trunk/src/mame/drivers/lasso.c
r17586r17587
3232#include "cpu/m6502/m6502.h"
3333#include "cpu/z80/z80.h"
3434#include "sound/dac.h"
35#include "sound/sn76496.h"
3635#include "sound/ay8910.h"
3736#include "includes/lasso.h"
3837
r17586r17587
6968   UINT8 to_write = BITSWAP8(*m_chip_data, 0, 1, 2, 3, 4, 5, 6, 7);
7069
7170   if (~data & 0x01)   /* chip #0 */
72      sn76496_w(m_sn_1, 0, to_write);
71      m_sn_1->write(space, 0, to_write);
7372
7473   if (~data & 0x02)   /* chip #1 */
75      sn76496_w(m_sn_2, 0, to_write);
74      m_sn_2->write(space, 0, to_write);
7675}
7776
7877
r17586r17587
459458GFXDECODE_END
460459
461460
461/*************************************
462 *
463 *  Sound interface
464 *
465 *************************************/
466 
467 
468//-------------------------------------------------
469//  sn76496_config psg_intf
470//-------------------------------------------------
462471
472static const sn76496_config psg_intf =
473{
474    DEVCB_NULL
475};
476
477
463478static MACHINE_START( lasso )
464479{
465480   lasso_state *state = machine.driver_data<lasso_state>();
466481
467482   state->m_maincpu = machine.device("maincpu");
468483   state->m_audiocpu = machine.device("audiocpu");
469   state->m_sn_1 = machine.device("sn76489.1");
470   state->m_sn_2 = machine.device("sn76489.2");
471
484   
472485   state->save_item(NAME(state->m_gfxbank));
473486}
474487
r17586r17587
529542   /* sound hardware */
530543   MCFG_SPEAKER_STANDARD_MONO("mono")
531544
532   MCFG_SOUND_ADD("sn76489.1", SN76489, 2000000)
545   MCFG_SOUND_ADD("sn76489.1", SN76489_NEW, 2000000)
533546   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
547   MCFG_SOUND_CONFIG(psg_intf)
534548
535   MCFG_SOUND_ADD("sn76489.2", SN76489, 2000000)
549   MCFG_SOUND_ADD("sn76489.2", SN76489_NEW, 2000000)
536550   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
551   MCFG_SOUND_CONFIG(psg_intf)
537552MACHINE_CONFIG_END
538553
539554static MACHINE_CONFIG_DERIVED( lasso, base )
trunk/src/mame/drivers/spcforce.c
r17586r17587
3636#include "emu.h"
3737#include "cpu/i8085/i8085.h"
3838#include "cpu/mcs48/mcs48.h"
39#include "sound/sn76496.h"
4039#include "includes/spcforce.h"
4140
4241
r17586r17587
4948READ8_MEMBER(spcforce_state::spcforce_SN76496_select_r)
5049{
5150
52   if (~m_sn76496_select & 0x40) return sn76496_ready_r(machine().device("sn1"));
53   if (~m_sn76496_select & 0x20) return sn76496_ready_r(machine().device("sn2"));
54   if (~m_sn76496_select & 0x10) return sn76496_ready_r(machine().device("sn3"));
51      if (~m_sn76496_select & 0x40) return m_sn1->ready_r();
52       if (~m_sn76496_select & 0x20) return m_sn2->ready_r();
53       if (~m_sn76496_select & 0x10) return m_sn3->ready_r();
5554
55
5656   return 0;
5757}
5858
r17586r17587
6161
6262   m_sn76496_select = data;
6363
64   if (~data & 0x40) sn76496_w(machine().device("sn1"), 0, m_sn76496_latch);
65   if (~data & 0x20) sn76496_w(machine().device("sn2"), 0, m_sn76496_latch);
66   if (~data & 0x10) sn76496_w(machine().device("sn3"), 0, m_sn76496_latch);
64   if (~data & 0x40) m_sn1->write(space, 0, m_sn76496_latch);
65    if (~data & 0x20) m_sn2->write(space, 0, m_sn76496_latch);
66    if (~data & 0x10) m_sn3->write(space, 0, m_sn76496_latch);
67
6768}
6869
6970READ8_MEMBER(spcforce_state::spcforce_t0_r)
r17586r17587
241242   }
242243}
243244
245
246//-------------------------------------------------
247//  sn76496_config psg_intf
248//-------------------------------------------------
249
250static const sn76496_config psg_intf =
251{
252    DEVCB_NULL
253};
254
255
244256static INTERRUPT_GEN( vblank_irq )
245257{
246258   spcforce_state *state = device->machine().driver_data<spcforce_state>();
r17586r17587
277289   /* sound hardware */
278290   MCFG_SPEAKER_STANDARD_MONO("mono")
279291
280   MCFG_SOUND_ADD("sn1", SN76496, 2000000)
292   MCFG_SOUND_ADD("sn1", SN76496_NEW, 2000000)
281293   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
294   MCFG_SOUND_CONFIG(psg_intf)
282295
283   MCFG_SOUND_ADD("sn2", SN76496, 2000000)
296   MCFG_SOUND_ADD("sn2", SN76496_NEW, 2000000)
284297   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
298   MCFG_SOUND_CONFIG(psg_intf)
285299
286   MCFG_SOUND_ADD("sn3", SN76496, 2000000)
300   MCFG_SOUND_ADD("sn3", SN76496_NEW, 2000000)
287301   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
302   MCFG_SOUND_CONFIG(psg_intf)
288303MACHINE_CONFIG_END
289304
290305
trunk/src/mame/drivers/gberet.c
r17586r17587
145145
146146WRITE8_MEMBER(gberet_state::gberet_sound_w)
147147{
148   sn76496_w(machine().device("snsnd"), 0, *m_soundlatch);
148   m_sn->write(space, 0, *m_soundlatch);
149149}
150150
151151static ADDRESS_MAP_START( gberet_map, AS_PROGRAM, 8, gberet_state )
r17586r17587
218218   AM_RANGE(0xe900, 0xe9ff) AM_RAM AM_SHARE("spriteram")
219219   AM_RANGE(0xf000, 0xf000) AM_WRITENOP // coin counter not supported
220220   AM_RANGE(0xf200, 0xf200) AM_READ_PORT("DSW2")
221   AM_RANGE(0xf400, 0xf400) AM_DEVWRITE_LEGACY("snsnd", sn76496_w)
221   AM_RANGE(0xf400, 0xf400) AM_DEVWRITE("snsnd", sn76489a_new_device, write)
222222   AM_RANGE(0xf600, 0xf600) AM_READ_PORT("P2")
223223   AM_RANGE(0xf601, 0xf601) AM_READ_PORT("DSW1")
224224   AM_RANGE(0xf602, 0xf602) AM_READ_PORT("P1")
r17586r17587
381381
382382/*************************************
383383 *
384 *  Sound interface
385 *
386 *************************************/
387 
388 
389//-------------------------------------------------
390//  sn76496_config psg_intf
391//-------------------------------------------------
392
393static const sn76496_config psg_intf =
394{
395    DEVCB_NULL
396};
397
398
399/*************************************
400 *
384401 *  Machine drivers
385402 *
386403 *************************************/
r17586r17587
430447   /* sound hardware */
431448   MCFG_SPEAKER_STANDARD_MONO("mono")
432449
433   MCFG_SOUND_ADD("snsnd", SN76489A, XTAL_18_432MHz/12) /* type verified on real and bootleg pcb */
450   MCFG_SOUND_ADD("snsnd", SN76489A_NEW, XTAL_18_432MHz/12) /* type verified on real and bootleg pcb */
434451   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
452   MCFG_SOUND_CONFIG(psg_intf)
435453MACHINE_CONFIG_END
436454
437455static MACHINE_CONFIG_DERIVED( mrgoemon, gberet )
r17586r17587
469487   /* sound hardware */
470488   MCFG_SPEAKER_STANDARD_MONO("mono")
471489
472   MCFG_SOUND_ADD("snsnd", SN76489A, XTAL_20MHz/12) // divider guessed
490   MCFG_SOUND_ADD("snsnd", SN76489A_NEW, XTAL_20MHz/12) // divider guessed
473491   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
492   MCFG_SOUND_CONFIG(psg_intf)
474493MACHINE_CONFIG_END
475494
476495
trunk/src/mame/drivers/homedata.c
r17586r17587
222222#include "includes/homedata.h"
223223#include "sound/dac.h"
224224#include "sound/2203intf.h"
225#include "sound/sn76496.h"
226225
227226static INTERRUPT_GEN( homedata_irq )
228227{
r17586r17587
499498   coin_counter_w(machine(), 0, ~data & 0x80);
500499
501500   if (BIT(m_upd7807_portc, 5) && !BIT(data, 5))   /* clock 1->0 */
502      sn76496_w(m_sn, 0, m_upd7807_porta);
501      m_sn->write(space, 0, m_upd7807_porta);
503502
504503   m_upd7807_portc = data;
505504}
r17586r17587
537536   AM_RANGE(0x8000, 0x8000) AM_WRITE(mrokumei_blitter_start_w)   // in some games also ROM bank switch to access service ROM
538537   AM_RANGE(0x8001, 0x8001) AM_WRITE(mrokumei_keyboard_select_w)
539538   AM_RANGE(0x8002, 0x8002) AM_WRITE(mrokumei_sound_cmd_w)
540   AM_RANGE(0x8003, 0x8003) AM_DEVWRITE_LEGACY("snsnd", sn76496_w)
539   AM_RANGE(0x8003, 0x8003) AM_DEVWRITE("snsnd", sn76489a_new_device, write)
541540   AM_RANGE(0x8006, 0x8006) AM_WRITE(homedata_blitter_param_w)
542541   AM_RANGE(0x8007, 0x8007) AM_WRITE(mrokumei_blitter_bank_w)
543542   AM_RANGE(0x8000, 0xffff) AM_ROM
r17586r17587
11241123GFXDECODE_END
11251124
11261125
1126/*************************************
1127 *
1128 *  Sound interface
1129 *
1130 *************************************/
1131 
1132 
1133//-------------------------------------------------
1134//  sn76496_config psg_intf
1135//-------------------------------------------------
11271136
1137static const sn76496_config psg_intf =
1138{
1139    DEVCB_NULL
1140};
1141
1142
11281143static MACHINE_START( homedata )
11291144{
11301145   homedata_state *state = machine.driver_data<homedata_state>();
r17586r17587
11321147   state->m_maincpu = machine.device("maincpu");
11331148   state->m_audiocpu = machine.device("audiocpu");
11341149   state->m_ym = machine.device("ymsnd");
1135   state->m_sn = machine.device("snsnd");
1150   state->m_sn = machine.device<sn76489a_new_device>("snsnd");
11361151   state->m_dac = machine.device<dac_device>("dac");
11371152
11381153   state->save_item(NAME(state->m_visible_page));
r17586r17587
12651280   /* sound hardware */
12661281   MCFG_SPEAKER_STANDARD_MONO("mono")
12671282
1268   MCFG_SOUND_ADD("snsnd", SN76489A, 16000000/4)     // SN76489AN actually
1283   MCFG_SOUND_ADD("snsnd", SN76489A_NEW, 16000000/4)     // SN76489AN actually
12691284   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
1285   MCFG_SOUND_CONFIG(psg_intf)
12701286
12711287   MCFG_DAC_ADD("dac")
12721288   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
r17586r17587
13841400   /* sound hardware */
13851401   MCFG_SPEAKER_STANDARD_MONO("mono")
13861402
1387   MCFG_SOUND_ADD("snsnd", SN76489A, 16000000/4)     // SN76489AN actually
1403   MCFG_SOUND_ADD("snsnd", SN76489A_NEW, 16000000/4)     // SN76489AN actually
13881404   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
1405   MCFG_SOUND_CONFIG(psg_intf)
13891406
13901407   MCFG_DAC_ADD("dac")
13911408   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)

Previous 199869 Revisions Next


© 1997-2024 The MAME Team