Commit Graph

64642 Commits

Author SHA1 Message Date
mooglyguy
ce3e5ad376 -spg2xx: Various audio fixes. [Ryan Holtz]
* Increased internal sampling rate to audio 'frame rate' for better sync.
 * Moved envelope processing into sample-update loop. Fixes envelopes.
 * Reset envelope rampdown bit when a channel stops. Fixes missing channels in vii and others.
 * Only process envelope rampdown for active channels. Fixes missing channels in icanpian and others.
 * Reset ADPCM bit at sample loop point. Fixes bad samples in jak_sith and others.
 * Avoid treating end-of-sample marker as a playable sample. Fixes sample popping.
 * Fixed sample ordering for 8-bit PCM samples. Improves audio quality.
2019-03-10 06:40:52 +01:00
ajrhacker
7412204a09
Merge pull request #4740 from schnitzeltony/pokey-revert-regression
Revert "pokey: yet another performance enhancement (#4735)"
2019-03-09 18:31:51 -05:00
Andreas Müller
948d1be89d Revert "pokey: yet another performance enhancement (#4735)"
This patch causes regression on sound for many machines. Fixing it shows
that it does not cause a performance win but the opposite - sigh.

Thanks to Scott Stone for tests and reporting.

This reverts most parts of commit 107fff092e.
2019-03-10 00:29:54 +01:00
AJR
41fb106f07 tti: Fix ASC addressing; add more handlers (nw) 2019-03-09 17:18:34 -05:00
ArcadeShadow
12be4c9efe New working software list additions
ibm5150: Dragon's Lair, Golden Axe (3.5"), Indiana Jones And The Last Crusade - The Action Game (Kixx release), Panza Kick Boxing (Kixx budget release)
2019-03-09 20:25:23 +00:00
AJR
a2614ad206 tti: Add SCSI (nw) 2019-03-09 10:04:51 -05:00
ajrhacker
b158e4a321
Merge pull request #4737 from wilbertpol/ngp_simplify
ngp: simplify read/write handlers; made flash_w a template (nw)
2019-03-09 09:32:37 -05:00
AJR
dfa1c46856 svi318, bus/svi318: Simplify read/write handlers; minor driver cleanup (nw) 2019-03-09 09:30:28 -05:00
AJR
7ae0276843 bus/spectrum: Simplify read/write handlers (nw) 2019-03-09 09:11:27 -05:00
Wilbert Pol
e5c18fba32 ngp: simplify read/write handlers; made flash_w a template (nw) 2019-03-09 15:06:16 +01:00
ajrhacker
aaadc281cf
Merge pull request #4731 from cam900/tms34061_args
tms34061.cpp : Simplify handlers, Use shorter type values
2019-03-09 08:56:07 -05:00
AJR
ccb96bf6a1 tms9928a, v9938: Remove space and mem_mask from read/write handlers (nw)
efo90501: Tweak dots per line to get closer to typical PAL rates (nw)
2019-03-09 08:52:36 -05:00
ajrhacker
c9930e9388
Merge pull request #4736 from wilbertpol/wswan_simplify
wswan: simplify read/write handlers (nw)
2019-03-09 08:52:15 -05:00
Wilbert Pol
bb63e7c129 wswan: simplify read/write handlers (nw) 2019-03-09 14:04:11 +01:00
AJR
234b14ac75 bus/intv: Simplify read/write handlers (nw)
Note that mem_mask can be safely eliminated here because the CP1610 has no byte select lines.
2019-03-09 07:38:49 -05:00
Ivan Vangelista
5161cf2562 ggconnie.cpp: modified pixel clock to be the same as the other drivers using the PCE video chips, now games run at the correct speed. Implemented OKI banking for smf, sound test and intro seem ok but needs to be verified after hopper implementation allows to coin up and get in game. OKI banking still wrong for ggconnie (nw) 2019-03-09 13:20:10 +01:00
AJR
f7ff691bd2 bus/gameboy, bus/snes: Simplify read/write handlers (nw)
bus/snes: Add callback for fetching open bus (nw)
2019-03-09 01:55:11 -05:00
Andreas Müller
107fff092e pokey: yet another performance enhancement (#4735)
* pokey: yet another performance enhancement

In case

* no counters are running at high speed without prescalers - and
* no prescalers have triggered - and
* there is no borrow counter expected to finish

there is no need to continue on step_one_clock.

Performance measuements:
Before:
./mame64 -bench 50 missile -> Average speed: 1322.75% (49 seconds)
./mame64 -bench 50 starwars -> Average speed: 548.97% (49 seconds)
./mame64 -bench 50 jedi -> Average speed: 375.08% (49 seconds)
After:
./mame64 -bench 50 missile -> Average speed: 1503.10% (49 seconds)
./mame64 -bench 50 starwars -> Average speed: 648.10% (49 seconds)
./mame64 -bench 50 jedi -> Average speed: 444.25% (49 seconds)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>

* pokey: remove unused macros

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-03-09 00:43:57 -05:00
AJR
dc6c49f98f Housekeeping (nw) 2019-03-08 19:01:50 -05:00
Couriersud
1a2af1a23e netlist: add reverse parameter to 3-pin-potentiometer. (nw) 2019-03-09 00:34:40 +01:00
Couriersud
b346dea279 netlist: fix reset bug in 555 device. (nw) 2019-03-09 00:33:49 +01:00
R. Belmont
d8b8233ee0
Merge pull request #4721 from shattered/_9aae1db160
rt1715w: de-skeletonize (nw)
2019-03-08 16:13:59 -05:00
R. Belmont
d0b18581d5
Merge pull request #4727 from cam900/patch-82
itech32.cpp : Correct sound cpu type
2019-03-08 16:12:20 -05:00
R. Belmont
5978a133fd
Merge pull request #4730 from AmatCoder/AmatCoder-mc6845-2
mc6845.cpp: Check if vsync should be enabled when frame is reset
2019-03-08 16:12:05 -05:00
R. Belmont
d4843a7b57
Merge pull request #4733 from AmatCoder/AmatCoder-mc6845-3
mc6845.cpp: Fix mk88 machine
2019-03-08 16:11:43 -05:00
hap
6339d8d132 New working machine added
--------
Waddingtons 2001: The Game Machine [hap, Sean Riddle]
2019-03-08 21:14:03 +01:00
Michael Zapf
873e217fdb tutor: Limit offset values, so that gcc is no longer afraid of buffer overflows in snprintf. (nw) 2019-03-08 20:44:21 +01:00
AJR
e576d6201c att630.cpp: Remove MCFG macros (nw) 2019-03-08 14:23:34 -05:00
AJR
33949249a1 Fix clang error: must explicitly qualify name of member function when taking its address (nw) 2019-03-08 14:18:15 -05:00
ClawGrip
bd6808a02a vsmile_cart.xml: Add small note (nw) (#4734) 2019-03-08 18:54:31 +01:00
Ivan Vangelista
cf0ce4dd00 new not working machine
--------------------------------------
Super Chick [Travis Swager]
2019-03-08 18:53:56 +01:00
Ivan Vangelista
27978cff68 mame\drivers: removed most MCFG and MACHINE_CONFIG macros from drivers starting with e (nw) 2019-03-08 18:14:57 +01:00
braintro
348a4ba53b New working clones
New working clones
------------------
DJ Boy (World) [Artemio Urbina, The Dumping Union]
DJ Boy (Japan, set 2) [Artemio Urbina, The Dumping Union]
2019-03-07 22:21:24 -06:00
braintro
1f05360610 angelkds.cpp: Minor doc update for Space Position (nw) 2019-03-07 22:14:02 -06:00
ajrhacker
6baa512f7c
Merge pull request #4732 from schnitzeltony/pokey-fixup
pokey: force recalculation of raw sound output after reset
2019-03-07 21:14:37 -05:00
mooglyguy
d037ce99f2 -spg2xx: Fixed audio channel stop behavior. [Ryan Holtz]
* Fixes bad or missing music/effects in jak_sbfc, jak_mpac, jak_wof, jak_wwe, and many others.
2019-03-08 01:22:46 +01:00
AmatCoder
97377ac34a
mc6845.cpp: Fix mk88 machine
Regression caused by commit c4f0852c.
Thanks to Tafoid for catch it.
2019-03-08 00:32:48 +01:00
Ivan Vangelista
aeeeb05252 funybubl.cpp: appease Clang (nw) 2019-03-08 00:12:40 +01:00
Andreas Müller
3a0edd9a80 pokey: force recalculation of raw sound output after reset
* This fixes a regression introduced by [1]
* Could not detect a performance change introduced by this

[1] 308c3c2d04

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-03-07 23:39:35 +01:00
hap
725fa0f772 k28: simplify display handling (nw) 2019-03-07 22:33:30 +01:00
Michael Zapf
da3c5ca875 geneve: Fix GPL mode lockup, caused by prior interrupt latch modifications. 2019-03-07 21:12:49 +01:00
hap
f86ffd0802 added mm5445_device (nw) 2019-03-07 21:06:38 +01:00
Ivan Vangelista
b090ac4af1 mame\drivers: removed most MCFG and MACHINE_CONFIG macros from drivers starting with f and g (nw) 2019-03-07 17:52:30 +01:00
cam900
f7ebbfb981 tms34061.cpp : Simplify handlers, Use shorter type values
itech8.cpp : Reduce unnecessary arguments in some routine
2019-03-08 00:31:51 +09:00
AmatCoder
12d8a146aa mc6845.cpp: Check if vsync should be enabled when frame is reset
Fix MT 06927
2019-03-07 16:11:58 +01:00
Olivier Galibert
023d907486 i2cmem: fix page write logic [O. Galibert] 2019-03-07 15:14:32 +01:00
ajrhacker
ed341b1c1b
Merge pull request #4729 from schnitzeltony/atari-pokey-performance-III
pokey_device::step_pot: remove operations with no effect
2019-03-07 09:11:48 -05:00
Andreas Müller
9a32c9c0f8 pokey_device::step_pot: remove operations with no effect
* step_pot is called from step_one_clock only and just in case pokey is not in
  reset state -> No need to check reset state again
* in case there were no bits in 'upd' latched to one, there is no need to call
  synchronize(SYNC_POT, 0) because m_ALLPOT won't change.

Performance results with missile / starwars (no pots):
Before:
./mame64 -bench 50 missile -> Average speed: 1171.67% (49 seconds)
./mame64 -bench 50 starwars -> Average speed: 551.66% (49 seconds)
After:
./mame64 -bench 50 missile -> Average speed: 1321.16% (49 seconds)
./mame64 -bench 50 starwars -> Average speed: 551.10% (49 seconds)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-03-07 15:04:44 +01:00
ajrhacker
14bdb5e293
Merge pull request #4728 from clawgrip/patch-27
New NOT_WORKING software list additions
2019-03-07 09:00:25 -05:00
AJR
2958be7d8d i8155, nsc810: Simplify read/write handlers (nw)
i8155: Rename "read" and "write" handlers to data_r and data_w, since these are neither complete nor typically-used accessors (nw)
2019-03-07 08:57:14 -05:00