Commit Graph

75610 Commits

Author SHA1 Message Date
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
Robbbert
06c504f651 poisk1: added direction natural keys 2020-09-13 20:29:07 +10:00
couriersud
48fada3c34 netlist: remove obsolete headers from netlist.lua 2020-09-13 12:20:11 +02:00
hap
fbc26283c5 alpha_8921: remove empty comment blocks 2020-09-13 10:56:48 +02:00
cam900
612bf6546f Device-fied PRO-CT0
for protection, aka ALPHA-8921(in Some later 80s alpha denshi PCBs) or SNK-9201
prot_fatfury2.cpp: Convert protection into alpha_8921.cpp device
2020-09-13 18:51:53 +10:00
Robbbert
59ff79f394 octopus: added a few missing natural keys 2020-09-13 18:39:31 +10:00
Dirk Best
9360c67660 in207376: Push hardcoded line 1 line down, verify video clocks [Dirk Best, charcole] 2020-09-13 10:33:34 +02:00
couriersud
0f1de1357c netlist: move more models into the core. 2020-09-13 09:29:07 +02:00
Robbbert
55954e8c72 rx78: added direction, backspace, ^ natural keys 2020-09-13 17:06:15 +10:00
Firehawke
79034d1523
Merge pull request #7223 from Firehawke/master
Update Apple software lists to September 12th, 2020
2020-09-12 21:17:55 -07:00
Firehawke
939e6495ab
New working software list additions (apple2_flop_orig.xml)
----------------------------------------------------------

The Last Ninja [4am, Firehawke]
Centauri Alliance [4am, Firehawke]
Apple Galaxian (StarCraft) [4am, Firehawke]
Apple World [4am, Firehawke]
2020-09-12 21:15:33 -07:00
ClawGrip
d31e6bb94b neptunp2.cpp: Fix games metadata 2020-09-13 12:21:07 +10:00
couriersud
6726338362 netlist: Move selected NET_MODELS into the core 2020-09-12 23:52:20 +02:00
MetalliC
fcd09ebdc6 new NOT_WORKING machine
-----------------------
Unknown Konami slot medal game [SpinalFeyd]
2020-09-13 00:41:13 +03:00
couriersud
ca31c844cd netlist: move to generated header and link support files files.
* Removed device and macro header files.
* All of those can be generated automatically so going forward there is
no need for these any longer.
* Introduced the modules concept. Modules are netlists for which
automatic lib entries are generated.
* Going forward you just store them in macro/modules and they will be
automatically registered as device elements.
* You need to do a "make generated" is src/lib/netlist/build
* Some_device.cpp still needs to be added to netlist.lua
* Added documentation on how to add devices to netlist.
* Please refer to adding_devices.md for more information.
2020-09-12 23:20:16 +02:00
Dirk Best
cda35c9402 in207376: Various fixes [Dirk Best, charcole]
- Replace bad ROM
- Render line above status line
- Support display enable bit
- Verify PIT clock
2020-09-12 19:28:27 +02:00
MetalliC
4e365c0140 Merge branch 'master' of github.com:mamedev/mame 2020-09-12 20:06:07 +03:00
MetalliC
ba113f167c new WORKING clones
------------------
JoJo's Bizarre Adventure (Euro 990927) [Darksoft]
JoJo's Bizarre Adventure (Euro 990913) [Darksoft]
2020-09-12 20:05:47 +03:00
Robbbert
38982ce0b3 vic20: Added ^ natural key 2020-09-13 02:57:02 +10:00
Robbbert
cf08a0d606 squale: altered note; removed non-existing software list (#3041) 2020-09-13 02:06:39 +10:00
Ivan Vangelista
af647f75e7 New machines marked as NOT_WORKING
----------------------------------
Mexico Lindo [Eduardo Humberto Menezes]
2020-09-12 17:39:22 +02:00
Vas Crabb
82b696c9dd alphatpx.cpp: Fix stray quote.' 2020-09-13 01:32:09 +10:00
Vas Crabb
6367942a5c alphatpx.cpp, hp80.cpp: Adjust keyboard mapping.
* alphatpx.cpp: Corrected QWERTZ layout, added u8 qualifier to key names
  with characters outside ASCII.
* hp80.cpp: Added default assignment for KP. and restored PORT_CHAR for
  keypad digits.
2020-09-13 01:26:43 +10:00
ClawGrip
03578f6bb3
New working clones (#7218)
* New working clones

------------------
Speed Up (Version 2.20) [Victor Fernandez (City Game), ClawGrip]
2020-09-12 17:08:25 +02:00
AJR
a3c6349c86 bvm.cpp: Missed in 8edc2c5f91 2020-09-12 09:35:13 -04:00