Commit Graph

75634 Commits

Author SHA1 Message Date
Firehawke
25397ebfda
Docs: Overhaul the default keys list (#7222)
* Docs: Overhaul the default keys list

* Second phase of documenting default inputs better, also change Score to Take Score in Mahjong inputs

* Phase two of default keys docs adjustment.
2020-09-16 11:12:02 +10:00
Aaron Giles
ea60f78b23 cem3394: Major rework
* Updated to new stream callback
* All calculations are now doing in floating point
* External input is now done via an input stream
* First attempt at implementing a proper filter -- needs some major
   work; checking in current state to get some assistance
2020-09-15 15:17:06 -07:00
Scott Stone
87dce66d84 megadriv.xml, vsmileb_cart.xml: Fixed typo and format fix (nw) 2020-09-15 16:45:12 -04:00
Scott Stone
0fb4099c2e megadriv.xml, vgmplay.xml: Change release years for Chester Cheetah games (nw) 2020-09-15 16:20:22 -04:00
hap
a94af580d5 supercon: trying a different blend method in internal artwork 2020-09-15 20:31:43 +02:00
Vas Crabb
6adc508015 emu/rendlay.cpp: Added parameter animation and state masks.
Components may have multiple bounds and/or color child elements with
state attributes, allowing for piecewise linear position/size/colour
animation.

Components may have a statemask attribute, allowing for things like
using external images to draw a multi-segment LED/VFD display without
requiring dozens of outputs for the individual lines or thousands of
images for all possible states.  (Texture caching still never releases
anything, so MAME can still exceed the maximum number of textures, but
that’s a separate issue.)

Image components with alpha now blend over previously drawn components.

Layouts have been changed to use yes/no for inputraw to match what's
used for flipx/flipy.  External layouts with 1/0 will still work, but
complay.py will complain.
2020-09-16 02:55:04 +10:00
AJR
523b1f11cf cyberbal: Fix SAC communications between 6502 and 68000 (MT 7749) 2020-09-15 11:48:33 -04:00
cracyc
90fd79601b
plugins/cheat: copy the cheat table to not expose internal state (#7238) 2020-09-15 09:37:47 -05:00
hap
8e517cc746 kp63: probably fixed compile error 2020-09-15 14:22:01 +02:00
Curt Coder
8697c30375 abc1600.cpp: Improve debug logging. [Curt Coder] 2020-09-15 13:59:20 +03:00
Curt Coder
73e090aa29 emu3.cpp: Fix clang build. 2020-09-15 13:27:33 +03:00
Aaron Giles
78f4e7be7e beep/bsmt2000/c140/c352/c6280/cdda: Update to new stream callbacks 2020-09-15 02:52:37 -07:00
Brian Troha
c65b8623c4 jaguar.cpp: Document alternate ROM labels for Maximum Force v1.02 2020-09-14 23:15:48 -05:00
AJR
ffbba47c4f kl5c80a12, kl5c80a16: Actually add timers to configuration (files overlooked in 7e121d68bb) 2020-09-14 23:42:58 -04:00
AJR
7e121d68bb kl5c80a12, kl5c80a16: Added emulation of KP63(A) Timer/Counter unit. This improves timings in animalc, haekaka, pyenaget and tdoboon.
* animalc: Pile kludge upon kludge for poorly understood video timing register
* gocowboy, itazuram: Increase frequency of one timer interrupt (and hopper timing in gocowboy)
* kc82, kp69: Modernize state_add syntax
2020-09-14 23:32:58 -04:00
Aaron Giles
949da6a0b0 sound: Fix edge case where pending sample rate matches output. 2020-09-14 15:24:22 -07:00
hap
44ea7782c1 i8244: update to use newsound 2020-09-14 20:29:01 +02:00
Aaron Giles
6ebf956324 sound: Drive updates more sensibly from the sound manager, fixing some asserts. 2020-09-14 11:08:10 -07:00
hap
e652ab5279 mcs48: fix a regression with previous change to strt_cnt 2020-09-14 19:48:26 +02:00
Dirk Best
29b0447e88 in207376: Hook up brightness control and switch to X2212 2020-09-14 19:41:31 +02:00
Devin Acker
912b93b030
zn.cpp: add config port for Tetris: The Grand Master debug buttons (#7232) 2020-09-14 19:13:35 +02:00
ClawGrip
f2257fcbaa microdar.cpp: Add small note about undumped game 2020-09-15 00:50:06 +10:00
hap
eeb4367e21 starwbc: increase cpu speed a bit 2020-09-14 15:29:55 +02:00
AJR
e10de0e0ba tx0: Fix CPU address calculation 2020-09-14 09:08:46 -04:00
AJR
f660270ce6 pdp1: More cleanups and fixes 2020-09-14 08:50:49 -04:00
Aaron Giles
d109811e3c Converted 'a' sound devices to new callbacks. 2020-09-14 01:20:20 -07:00
Aaron Giles
72be63e246 Merge branch 'master' of https://github.com/mamedev/mame 2020-09-13 20:49:52 -07:00
Aaron Giles
83e54266ab qbert: Better approximation of Votrax frequencies, pending deeper analysis. 2020-09-13 20:45:30 -07:00
Aaron Giles
d54e0e3f9f votrax: Updated to new stream callback. 2020-09-13 20:44:33 -07:00
AJR
cfeef27495 pdp8/unidasm: Consistency 2020-09-13 21:45:08 -04:00
AJR
f0572bbb8c pdp1: Clean up callbacks and start encapsulating peripherals
* pdp1, pdp8: Apply word shift to address spaces
2020-09-13 21:37:20 -04:00
cracyc
692ff2c06f plugin/cheat: subtract min before dividing 2020-09-13 19:13:38 -05:00
cracyc
35bfe62b59 plugin/cheat: check value is a mulitple of step 2020-09-13 19:03:22 -05:00
ClawGrip
0d3b24b32c bublbobl.cpp: Remove outdated comment about 8749 2020-09-14 09:04:18 +10:00
Vas Crabb
8eb1be4a48 emu/save.cpp: Fix bad SFINAE trick breaking segapcm.cpp, fix saving attotime array on 32-bit Linux targets that align u64 on 32-bit boundaries 2020-09-14 08:58:02 +10:00
MetalliC
3e452be576
Merge pull request #7230 from clawgrip/patch-69
bublbobl.cpp: Dumped and verified PROM from 'bub8749' [ArcadeHacker]
2020-09-14 01:20:00 +03:00
ClawGrip
d7795d9177
bublbobl.cpp: Dumped and verified PROM from 'bub8749' [ArcadeHacker] 2020-09-14 00:11:28 +02:00
cracyc
c70bc6be75 plugin/cheat: flesh out the exported interface a bit more 2020-09-13 16:37:53 -05:00
arbee
520e0cd0e7 taito_en: fix overdriving that caused distortion and pops in previous versions [R. Belmont] 2020-09-13 16:52:09 -04:00
arbee
2b3b79d9d9 es5503: don't overdrive the output [R. Belmont] 2020-09-13 16:31:59 -04:00
AJR
7d026a8dd0 multipcm.cpp: Work around template error introduced in 9b58257492 2020-09-13 16:26:05 -04:00
AJR
5d04561eda alpha_8921.cpp: Fix clang error: switch condition has boolean value [-Werror,-Wswitch-bool] 2020-09-13 15:55:16 -04:00
hap
56c6c357f2 sensorboard: makes no sense to apply Ctrl for lifted pieces on magnet board 2020-09-13 21:19:59 +02:00
hap
e2d3fa50bb sensorboard: add support for ctrl modifier with magnet boards 2020-09-13 21:08:52 +02:00
Aaron Giles
c1bd56f0d3
Significant internal changes to sound streams (#7169)
Significant internal changes to sound streams:

Abstracted buffers of sound data into an internal stream_buffer class, with helper classes read_stream_view and write_stream_view which offer readable/writable "views" into the buffers

Internal sound calculations are all done using stream_buffer::sample_t, which is a 32-bit float; existing callbacks are supported through an adapter that converts to/from signed 32-bit integers

Improved behavior of dynamic stream sample rate changes to resample a short runway of data to preserve continuity across transitions

Created a new stream update callback which passes a std::vector of read_stream_views for inputs, and a std::vector of write_stream_views for outputs

Updated core mixer and speaker devices to the new stream update callback

Updated the following sound cores to the new stream update callback: ay8910, dac, k054539, msm5205, namco, netlist, okim6295, pokey, samples, sn76496, sp0250, tms5220, tms57002, upd7759, vgm_visualizer, volt_reg

Changed existing stream update callback to make inputs explicitly const and the output pointers const as well, since they are re-used across calls; fixed several engines that violated this rule

Sound_manager::stream_alloc can no longer automatically connect to a device's sound_stream_update callback; instead, the stream_alloc() on the sound_device_interface should be called; updated many violators of this rule

Streams can be created with SAMPLE_RATE_OUTPUT_ADAPTIVE, which dynamically tracks the sample rate of its first downstream output, or with SAMPLE_RATE_INPUT_ADAPTIVE, which tracks the sample rate of its first input

Changed resampling to be a separate sound_stream that is invoked as needed, opening the path for selectable resampling implementations

Added a flags parameter to the new stream allocation method that allows you to specify a that input streams should not be resampled

Exposed stream_input and stream_output classes directly, simplifying access to user gains and stream names

Added a simple dynamic compressor to sound_manager to provide nicer results when overdriven sound happens; compression does not affect speaker_report results

Improved verbose speaker_report to print a graph of peaks over time

More aggressive debugging enabled for now even in release builds (should be disabled prior to next release) via SOUND_DEBUG define in sound.h; report any assertions for fixing
2020-09-13 10:18:44 -07:00
hap
a3572727bd pwm: remove now-obsolete savestate workaround 2020-09-13 18:28:14 +02:00
Robbbert
6a2a73558d mbc55x: fixed number pad, fixed '&' natural key 2020-09-14 02:01:03 +10:00
cracyc
9c4d1457da plugins: add emu.plugin table to contain plugin exported interfaces 2020-09-13 10:00:54 -05:00
Vas Crabb
9b58257492 emu/save.h: Added support for saving arrays of attotimes and renamed macros to make purpose more obvious. 2020-09-14 00:55:00 +10:00
Robbbert
cba1bff5b0 mm1kb: added quote natural key 2020-09-13 23:28:52 +10:00