1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
|
// license:BSD-3-Clause
// copyright-holders:Fabio Priuli
/***********************************************************************************************************
NES/Famicom cartridge emulation for Jaleco PCBs
Here we emulate the following PCBs
* Jaleco JF-11 [mapper 140]
* Jaleco JF-13 [mapper 86]
* Jaleco JF-16 [mapper 78]
* Jaleco JF-17 [mapper 72] + its variant with samples
* Jaleco JF-19 [mapper 92] + its variant with samples
* Jaleco SS88006 [mapper 18] + its variant(s) with samples
***********************************************************************************************************/
#include "emu.h"
#include "jaleco.h"
#include "speaker.h"
#ifdef NES_PCB_DEBUG
#define VERBOSE 1
#else
#define VERBOSE 0
#endif
#define LOG_MMC(x) do { if (VERBOSE) logerror x; } while (0)
//-------------------------------------------------
// constructor
//-------------------------------------------------
DEFINE_DEVICE_TYPE(NES_JF11, nes_jf11_device, "nes_jf11", "NES Cart Jaleco JF-11 PCB")
DEFINE_DEVICE_TYPE(NES_JF13, nes_jf13_device, "nes_jf13", "NES Cart Jaleco JF-13 PCB")
DEFINE_DEVICE_TYPE(NES_JF16, nes_jf16_device, "nes_jf16", "NES Cart Jaleco JF-16 PCB")
DEFINE_DEVICE_TYPE(NES_JF17, nes_jf17_device, "nes_jf17", "NES Cart Jaleco JF-17 PCB")
DEFINE_DEVICE_TYPE(NES_JF17_ADPCM, nes_jf17_adpcm_device, "nes_jf17_pcm", "NES Cart Jaleco JF-17 + ADPCM (Moero!! Pro Tennis) PCB")
DEFINE_DEVICE_TYPE(NES_JF19, nes_jf19_device, "nes_jf19", "NES Cart Jaleco JF-19 (Moero!! Pro Soccer) PCB")
DEFINE_DEVICE_TYPE(NES_JF19_ADPCM, nes_jf19_adpcm_device, "nes_jf19_pcm", "NES Cart Jaleco JF-19 + ADPCM (Moero!! Pro Yakyuu 88) PCB")
DEFINE_DEVICE_TYPE(NES_SS88006, nes_ss88006_device, "nes_ss88006", "NES Cart Jaleco SS88006 PCB")
DEFINE_DEVICE_TYPE(NES_JF23, nes_jf23_device, "nes_jf23", "NES Cart Jaleco JF-23 (Shin Moero Pro Yakyuu) PCB")
DEFINE_DEVICE_TYPE(NES_JF24, nes_jf24_device, "nes_jf24", "NES Cart Jaleco JF-24 (Terao no Dosukoi Oozumou) PCB")
DEFINE_DEVICE_TYPE(NES_JF29, nes_jf29_device, "nes_jf29", "NES Cart Jaleco JF-29 (Moe Pro! '90) PCB")
DEFINE_DEVICE_TYPE(NES_JF33, nes_jf33_device, "nes_jf33", "NES Cart Jaleco JF-33 (Moe Pro! Saikyou-hen) PCB")
nes_jf11_device::nes_jf11_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: nes_nrom_device(mconfig, NES_JF11, tag, owner, clock)
{
}
nes_jf13_device::nes_jf13_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: nes_nrom_device(mconfig, NES_JF13, tag, owner, clock)
, m_samples(*this, "samples")
{
}
nes_jf16_device::nes_jf16_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: nes_nrom_device(mconfig, NES_JF16, tag, owner, clock)
{
}
nes_jf17_device::nes_jf17_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock, bool prg_flip)
: nes_nrom_device(mconfig, type, tag, owner, clock)
, m_samples(*this, "samples")
, m_latch(0)
, m_prg_flip(prg_flip)
{
}
nes_jf17_device::nes_jf17_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: nes_jf17_device(mconfig, NES_JF17, tag, owner, clock, false)
{
}
nes_jf17_adpcm_device::nes_jf17_adpcm_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: nes_jf17_device(mconfig, NES_JF17_ADPCM, tag, owner, clock, false)
{
}
nes_jf19_device::nes_jf19_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: nes_jf17_device(mconfig, NES_JF19, tag, owner, clock, true)
{
}
nes_jf19_adpcm_device::nes_jf19_adpcm_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: nes_jf17_device(mconfig, NES_JF19_ADPCM, tag, owner, clock, true)
{
}
nes_ss88006_device::nes_ss88006_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock)
: nes_nrom_device(mconfig, type, tag, owner, clock)
, m_samples(*this, "samples")
, m_irq_count(0)
, m_irq_count_latch(0)
, m_irq_mode(0)
, m_irq_enable(0)
, irq_timer(nullptr)
, m_wram_protect(0)
{
}
nes_ss88006_device::nes_ss88006_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: nes_ss88006_device(mconfig, NES_SS88006, tag, owner, clock)
{
}
nes_jf23_device::nes_jf23_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: nes_ss88006_device(mconfig, NES_JF23, tag, owner, clock)
{
}
nes_jf24_device::nes_jf24_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: nes_ss88006_device(mconfig, NES_JF24, tag, owner, clock)
{
}
nes_jf29_device::nes_jf29_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: nes_ss88006_device(mconfig, NES_JF29, tag, owner, clock)
{
}
nes_jf33_device::nes_jf33_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: nes_ss88006_device(mconfig, NES_JF33, tag, owner, clock)
{
}
void nes_jf16_device::pcb_reset()
{
prg16_89ab(0);
prg16_cdef(m_prg_chunks - 1);
chr8(0, m_chr_source);
set_nt_mirroring(PPU_MIRROR_LOW);
}
void nes_jf17_device::device_start()
{
common_start();
save_item(NAME(m_latch));
}
void nes_jf17_device::pcb_reset()
{
prg16_89ab(0);
prg16_cdef(m_prg_flip ? 0 : m_prg_chunks - 1);
chr8(0, m_chr_source);
m_latch = 0;
}
void nes_ss88006_device::device_start()
{
common_start();
irq_timer = timer_alloc(FUNC(nes_ss88006_device::irq_timer_tick), this);
irq_timer->adjust(attotime::zero, 0, clocks_to_attotime(1));
save_item(NAME(m_mmc_prg_bank));
save_item(NAME(m_mmc_vrom_bank));
save_item(NAME(m_irq_enable));
save_item(NAME(m_irq_count));
save_item(NAME(m_irq_count_latch));
save_item(NAME(m_irq_mode));
save_item(NAME(m_wram_protect));
}
void nes_ss88006_device::pcb_reset()
{
prg16_89ab(0);
prg16_cdef(m_prg_chunks - 1);
chr8(0, m_chr_source);
std::fill(std::begin(m_mmc_prg_bank), std::end(m_mmc_prg_bank), 0x00);
std::fill(std::begin(m_mmc_vrom_bank), std::end(m_mmc_vrom_bank), 0x00);
m_irq_enable = 0;
m_irq_mode = 0;
m_irq_count = 0;
m_irq_count_latch = 0;
m_wram_protect = 0;
}
/*-------------------------------------------------
mapper specific handlers
-------------------------------------------------*/
/*-------------------------------------------------
Jaleco JF-11, JF-12 & JF-14 boards emulation
Games: Bio Senshi Dan, Mississippi Satsujin Jiken,
Yousai Club
iNES: mapper 140
In MAME: Supported.
-------------------------------------------------*/
void nes_jf11_device::write_m(offs_t offset, u8 data)
{
LOG_MMC(("jf11 write_m, offset: %04x, data: %02x\n", offset, data));
chr8(data, CHRROM);
prg32(data >> 4);
}
/*-------------------------------------------------
Jaleco JF-13 board emulation
Games: Moero Pro Yakyuu
Note: we don't emulate the additional sound hardware.
iNES: mapper 86
In MAME: Supported.
-------------------------------------------------*/
void nes_jf13_device::write_m(offs_t offset, u8 data)
{
LOG_MMC(("jf13 write_m, offset: %04x, data: %02x\n", offset, data));
if (offset < 0x1000)
{
prg32(BIT(data, 4, 2));
chr8(bitswap<3>(data, 6, 1, 0), CHRROM);
}
else if ((data & 0x30) == 0x20)
m_samples->start(data & 0x0f, data & 0x0f);
}
/*-------------------------------------------------
Jaleco JF-16 board emulation
Games: Uchuusen Cosmo Carrier
iNES: mapper 78 (shared with a diff Irem board)
-------------------------------------------------*/
void nes_jf16_device::write_h(offs_t offset, u8 data)
{
LOG_MMC(("jf16 write_h, offset: %04x, data: %02x\n", offset, data));
// this pcb is subject to bus conflict
data = account_bus_conflict(offset, data);
set_nt_mirroring(BIT(data, 3) ? PPU_MIRROR_HIGH : PPU_MIRROR_LOW);
chr8(data >> 4, CHRROM);
prg16_89ab(data);
}
/*-------------------------------------------------
Jaleco JF-17 & JF-19 boards emulation
Note: we don't emulate the additional sound hardware
for Moero!! Pro Tennis
Games: Moero!! Juudou Warriors, Moero!! Pro Tennis, Pinball
Quest Jpn, Moero Pro Soccer, Moero Pro Yakyuu '88
iNES: mapper 72 & 92
In MAME: Supported, see below for the games with samples
-------------------------------------------------*/
void nes_jf17_device::write_h(offs_t offset, u8 data)
{
LOG_MMC(("jf17 write_h, offset: %04x, data: %02x\n", offset, data));
// this pcb is subject to bus conflict
data = account_bus_conflict(offset, data);
if (BIT(data, 7) && !BIT(m_latch, 7)) // 74174 clocks on 0 -> 1
{
if (m_prg_flip)
prg16_cdef(data & 0x0f);
else
prg16_89ab(data & 0x07);
}
if (BIT(data, 6) && !BIT(m_latch, 6)) // 74174 clocks on 0 -> 1
chr8(data & 0x0f, CHRROM);
m_latch = data;
if (m_samples)
if ((data & 0x30) == 0x20)
m_samples->start(offset & 0x1f, offset & 0x1f);
}
/*-------------------------------------------------
Jaleco SS88006 board emulation, aka JF-27, JF-29, JF-30, ...,
JF-38, JF-40, JF-41
Games: Lord of King, Magic John, Moe Pro '90, Ninja Jajamaru,
Pizza Pop, Plasma Ball
iNES: mapper 18
In MAME: Supported, see below for the games with samples
-------------------------------------------------*/
TIMER_CALLBACK_MEMBER(nes_ss88006_device::irq_timer_tick)
{
if (m_irq_enable)
{
u16 mask = 0xffff; // 16-bit counter (default)
if (BIT(m_irq_mode, 3)) // 4-bit counter
mask = 0x000f;
else if (BIT(m_irq_mode, 2)) // 8-bit counter
mask = 0x00ff;
else if (BIT(m_irq_mode, 1)) // 12-bit counter
mask = 0x0fff;
m_irq_count = (m_irq_count & ~mask) | ((m_irq_count - 1) & mask);
if ((m_irq_count & mask) == mask)
set_irq_line(ASSERT_LINE);
}
}
u8 nes_ss88006_device::read_m(offs_t offset)
{
LOG_MMC(("ss88006 read_m, offset: %04x\n", offset));
if (m_wram_protect & 1) // RAM enabled
return device_nes_cart_interface::read_m(offset);
return get_open_bus();
}
void nes_ss88006_device::write_m(offs_t offset, u8 data)
{
LOG_MMC(("ss88006 write_m, offset: %04x, data: %02x\n", offset, data));
if (m_wram_protect == 0x03) // RAM enabled and writable
device_nes_cart_interface::write_m(offset, data);
}
void nes_ss88006_device::write_h(offs_t offset, u8 data)
{
LOG_MMC(("ss88006 write_h, offset: %04x, data: %02x\n", offset, data));
int bank, shift;
switch (offset & 0x7003)
{
case 0x0000:
case 0x0001:
case 0x0002:
case 0x0003:
case 0x1000:
case 0x1001:
bank = bitswap<2>(offset, 12, 1);
shift = (offset & 1) << 2;
m_mmc_prg_bank[bank] &= ~(0x0f << shift);
m_mmc_prg_bank[bank] |= (data & 0x0f) << shift;
prg8_x(bank, m_mmc_prg_bank[bank]);
break;
case 0x1002:
m_wram_protect = data & 0x03;
break;
case 0x2000: case 0x2001: case 0x2002: case 0x2003:
case 0x3000: case 0x3001: case 0x3002: case 0x3003:
case 0x4000: case 0x4001: case 0x4002: case 0x4003:
case 0x5000: case 0x5001: case 0x5002: case 0x5003:
bank = 2 * (BIT(offset, 12, 3) - 2) + BIT(offset, 1);
shift = (offset & 1) << 2;
m_mmc_vrom_bank[bank] &= ~(0x0f << shift);
m_mmc_vrom_bank[bank] |= (data & 0x0f) << shift;
chr1_x(bank, m_mmc_vrom_bank[bank], CHRROM);
break;
case 0x6000:
case 0x6001:
case 0x6002:
case 0x6003:
shift = 4 * (offset & 0x03);
m_irq_count_latch &= ~(0x000f << shift);
m_irq_count_latch |= (data & 0x0f) << shift;
break;
case 0x7000:
m_irq_count = m_irq_count_latch;
set_irq_line(CLEAR_LINE);
break;
case 0x7001:
m_irq_enable = data & 0x01;
m_irq_mode = data & 0x0e;
set_irq_line(CLEAR_LINE);
break;
case 0x7002:
switch (data & 0x03)
{
case 0: set_nt_mirroring(PPU_MIRROR_HORZ); break;
case 1: set_nt_mirroring(PPU_MIRROR_VERT); break;
case 2: set_nt_mirroring(PPU_MIRROR_LOW); break;
case 3: set_nt_mirroring(PPU_MIRROR_HIGH); break;
}
break;
case 0x7003:
if (m_samples)
if ((data & 0x03) == 0x02)
m_samples->start(BIT(data, 2, 5), BIT(data, 2, 5));
break;
default:
logerror("Jaleco SS88006 uncaught write, addr: %04x, value: %02x\n", offset + 0x8000, data);
break;
}
}
/**********************************************************
Boards with external samples
(due to undumpable UPD7755C/UPD7756C)
JF-13 (Moero!! Pro Yakyuu) / iNES mapper 86
JF-17 (Moero!! Pro Tennis) / iNES mapper 72 + ADPCM
JF-19 (Moero!! Pro Yakyuu '88 - Kettei Ban) / iNES mapper 92 + ADPCM
JF-23 (Shin Moero Pro Yakyuu) / iNES mapper 18 + ADPCM
JF-24 (Terao no Dosukoi Oozumou) / iNES mapper 18 + ADPCM
JF-29 (Moe Pro 90) / iNES mapper 18 + ADPCM
JF-33 (Moe Pro Saikyou-hen) / iNES mapper 18 + ADPCM
***********************************************************/
static const char *const jf13_sample_names[] =
{
"*moepro",
"00", // strike
"01", // ball
"02", // time
"03", // out
"04", // safe
"05", // foul
"06", // (catcher obtains the ball)
"07", // batter out
"08", // play ball
"09", // ball four
"10", // home run
"11", // new pitcher
"12", // ouch (pitcher hits batter)
"13", // aho (idiot)
"14", // (bat hits the ball)
"15", // (crowd)
nullptr
};
static const char *const jf17_sample_names[] =
{
"*mptennis",
"00", // NOT EXISTING?
"01", // NOT EXISTING?
"02", // "love" (points)
"03", // 15 (points)
"04", // 30 (points)
"05", // 40 (points)
"06", // advantage
"07", // (advantage) server
"08", // (advantage) receiver
"09", // all (equal points)
"10", // deuce
"11", // game
"12", // (racket hits ball)
"13", // (crowd?)
"14", // fault
"15", // net
"16", // out
"17", // ??
"18", // (ball hits player)
"19", // NOT EXISTING?
nullptr
};
static const char *const jf19_sample_names[] =
{
"*moepro88",
"00", // out
"01", // safe
"02", // foul
"03", // fair
"04", // strike
"05", // ball
"06", // time
"07", // batter out
"08", // ball four
"09", // home run
"10", // play ball
"11", // new pitcher
"12", // pinch-hit
"13", // (hit by pitch)
"14", // (bat hits the ball)
"15", // (bunt)
"16", // NOT EXISTING?
"17", // (catcher obtains the ball)
"18", // (pitcher obtains the ball)
"19", // (crowd)
nullptr
};
static const char *const jf23_sample_names[] =
{
"*smoepro",
"00", // out
"01", // safe
"02", // foul
"03", // NOT EXISTING?
"04", // strike
"05", // ball
"06", // time
"07", // batter out
"08", // ball four
"09", // home run
"10", // play ball
"11", // new pitcher
"12", // pinch-hit
"13", // (hit by pitch)
"14", // (bat hits the ball)
"15", // (bunt)
"16", // (catcher obtains the ball)
"17", // fair
"18", // (catcher obtains the ball, alt)
"19", // (crowd)
nullptr
};
static const char *const jf24_sample_names[] =
{
"*terao",
"00", // (tree beating sound)
"01", // Hakkyoyoi
"02", // Nokotta
"03", // Matta Nashi
"04", // Nokotta Nokotta
"05", // Matta Arimasen
nullptr
};
static const char *const jf29_sample_names[] =
{
"*moepro90",
"00", // out
"01", // safe
"02", // foul
"03", // Not existing?
"04", // strike
"05", // ball
"06", // time
"07", // batter out
"08", // ball four
"09", // home run
"10", // play ball
"11", // new pitcher
"12", // pinch-hit
"13", // (hit by pitch)
"14", // (bat hits the ball)
"15", // (bunt)
"16", // (catcher obtains the ball, alt)
"17", // (catcher obtains the ball)
"18", // (catcher obtains the ball, alt 2)
"19", // (crowd)
nullptr
};
static const char *const jf33_sample_names[] =
{
"*mpsaikyo",
"00", // out
"01", // safe
"02", // foul
"03", // ???
"04", // strike
"05", // ball
"06", // time
"07", // batter out
"08", // ball four
"09", // home run
"10", // play ball
"11", // new pitcher
"12", // pinch-hit
"13", // (hit by pitch)
"14", // (bat hits the ball)
"15", // (bunt)
"16", // (catcher obtains the ball)
"17", // (catcher obtains the ball, alt)
"18", // ??
"19", // (crowd)
nullptr
};
//-------------------------------------------------
// device_add_mconfig - add device configuration
//-------------------------------------------------
void nes_jf13_device::device_add_mconfig(machine_config &config)
{
// additional sound hardware
SPEAKER(config, "addon").front_center();
SAMPLES(config, m_samples);
m_samples->set_channels(16);
m_samples->set_samples_names(jf13_sample_names);
m_samples->add_route(ALL_OUTPUTS, "addon", 0.50);
}
void nes_jf17_adpcm_device::device_add_mconfig(machine_config &config)
{
// additional sound hardware
SPEAKER(config, "addon").front_center();
SAMPLES(config, m_samples);
m_samples->set_channels(20);
m_samples->set_samples_names(jf17_sample_names);
m_samples->add_route(ALL_OUTPUTS, "addon", 0.50);
}
void nes_jf19_adpcm_device::device_add_mconfig(machine_config &config)
{
// additional sound hardware
SPEAKER(config, "addon").front_center();
SAMPLES(config, m_samples);
m_samples->set_channels(20);
m_samples->set_samples_names(jf19_sample_names);
m_samples->add_route(ALL_OUTPUTS, "addon", 0.50);
}
void nes_jf23_device::device_add_mconfig(machine_config &config)
{
// additional sound hardware
SPEAKER(config, "addon").front_center();
SAMPLES(config, m_samples);
m_samples->set_channels(20);
m_samples->set_samples_names(jf23_sample_names);
m_samples->add_route(ALL_OUTPUTS, "addon", 0.50);
}
void nes_jf24_device::device_add_mconfig(machine_config &config)
{
// additional sound hardware
SPEAKER(config, "addon").front_center();
SAMPLES(config, m_samples);
m_samples->set_channels(6);
m_samples->set_samples_names(jf24_sample_names);
m_samples->add_route(ALL_OUTPUTS, "addon", 0.50);
}
void nes_jf29_device::device_add_mconfig(machine_config &config)
{
// additional sound hardware
SPEAKER(config, "addon").front_center();
SAMPLES(config, m_samples);
m_samples->set_channels(20);
m_samples->set_samples_names(jf29_sample_names);
m_samples->add_route(ALL_OUTPUTS, "addon", 0.50);
}
void nes_jf33_device::device_add_mconfig(machine_config &config)
{
// additional sound hardware
SPEAKER(config, "addon").front_center();
SAMPLES(config, m_samples);
m_samples->set_channels(20);
m_samples->set_samples_names(jf33_sample_names);
m_samples->add_route(ALL_OUTPUTS, "addon", 0.50);
}
|