Commit Graph

400 Commits

Author SHA1 Message Date
hap
4d267d1262 sound: change audio_latency to seconds (float), so people with existing mame.ini won't get broken sound 2025-05-20 10:19:44 +02:00
hap
e3ec54ffe2 sound: remove references to portaudio options that were removed 2025-05-18 14:51:27 +02:00
hap
b50e41e857 sound: change audio_latency duration option to milliseconds 2025-05-18 14:32:45 +02:00
Vas Crabb
f201cc6c8d -igs/igs_m027.cpp: Hooked up sound ROM banking for Chong Chong Leyuan.
-misc/cardline.cpp: Use poker input types.

-misc/flower.cpp: Tabulated the system definitions again.

-docs: Actually commit the version bump.
2025-05-18 04:30:38 +10:00
Olivier Galibert
c0fa1306b8 sound: Add a compressor. May need some tuning 2025-05-10 14:09:03 +02:00
hap
d546f73425 docs: remove mentions of removed compressor cmdline option 2025-05-09 17:33:28 +02:00
Firehawke
e88235f7b3
Small documentation fixes (#13672) 2025-05-08 18:20:43 +02:00
Vas Crabb
fa32709859 emu/inpttype.ipp: Group default double-up game control assignments on home row.
* Also moved Mahjong P to P and Payout to 4.  This fixes the conflict
  between Mahjong I and Payout.
* misc/gms.cpp: Added missing Key Out, Payout and hopper inputs for
  Super 555 and improved input names.
* misc/gms.cpp: Use poker input types for Baile 2005.
* dynax/ddenlovr.cpp, dynax/dynax.cpp, dynax/royalmah.cpp: Removed
  Payout assignments as they match the new default anyway.
* docs: Bumped version since various features not in 0.277 are
  documented now.
2025-05-08 18:37:14 +10:00
Olivier Galibert
bd99a5d7f8 sound: correct sample timings 2025-05-05 00:31:09 +02:00
Olivier Galibert
6e965f9ce9 Add resampler configuration saving and documentation 2025-05-03 23:34:10 +02:00
Vas Crabb
3131c64672 MAME 0.277
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEE0DYtsBhE4EM627+6wXSxAYxAcQ4FAmgQe+MACgkQwXSxAYxA
 cQ5E/BAAw0sxdWkByQ/jz65nW09g49kVqEYTjtS3qM4DigRXz5Z+3P7+EAytVUvf
 bZJgNbncTJkXcXm8M+YhZgpNwTVkE0EHqzxUdDcL2MKMVukq84Iw7WeQoaXThIRY
 F2V87wAmCk9TSruFiKjmCPi0hUmrtw63Sx/+M0ahwYmh7a8J+K4pjn9H9Z28rFYa
 fTDFXSbi0N76MndJCHzmwxTOCre0FgV2osu57iDc0ivsgN6EEosdy2fodZxsM7EK
 w/4v6jaS0ToiWV/tMb5+LzP1wLKxwX4iIC1Gki0PYYhViQhOsxy+ab6m+anIDEhs
 DVF2iL3w+cDp6itQymMlmVYrU8DU7rMqoHVtyaIFjTz7mgYJXkRWEHH0RVZ3YEO3
 lfLEo90Q/pn0eI5j9qi7YChAKOXR6WaPy2RfNW0LGtH6Les9GNjZqd4RmcoU9II7
 I+3y6wRTpitl3719e9swzHlgewd8QyzuE55/xCagO3gpzhpso9qgqMZrYi0QS1/8
 MLjmhyQIE5mDGn7qQrpINWrYH+rk207X3IVTEfk2Rw3TMfx88M8OWBbuU7mul/uR
 qH0/NYdRIG2kKshZG7FPIn8vATS0wpJbMt5oH1PoUUX9/AJ55R8bSNua3PsAn4hX
 8uH2Zul0Q0o0pakr1JGMo7J8/UcSqrL9n9siwPjQIL5pxm/MGxU=
 =Ck6K
 -----END PGP SIGNATURE-----

Merge tag 'mame0277' into HEAD

MAME 0.277
2025-04-30 05:09:05 +10:00
hap
b5d39d98bd audiomix: update docs after prev commit 2025-04-29 14:53:15 +02:00
Vas Crabb
84cb44566c Bumped version to 0.277 2025-04-29 17:11:59 +10:00
hap
f68b2d87a1 sound docs: small corrections after doing a quick read 2025-04-28 12:54:29 +02:00
Olivier Galibert
d0f1c15a0f New sound infrastructure.
Should be added soon:
- mute
- speaker/microphone resampling

To be added a little later:
- compression
- reverb

Needs to be added by someone else:
- coreaudio
- direct
- portaudio
- xaudio2
- js
2025-04-27 22:23:20 +02:00
Vas Crabb
8c28d3ff7e Cleaned up build scripts and compiling documentation:
* Made it a bit easier to cross-compile for x86-64 or i686 on an AArch64
  Windows system.
* Choose the default native recompiler back-end based on predefined
  macros rather than requiring the build scripts to set it.
* Don't require every target without a native recompiler to declare
  this.
* Got rid of the code that was supposed to set -m32 or -m64 when
  building GENie (it didn't work - it tried to use ARCHITECTURE before
  setting it).
* Avoid relying on the unreliable PROCESSOR_ARCHITECTURE environment
  variable.
* Got rid of stuff for versions of Xcode that are definitely no longer
  supported.
* Got rid of workarounds for very old Linux distros.
* Use newer makefile syntax for if/else/if structures, comment some else
  and endif statements for clarity.
2025-04-20 02:36:58 +10:00
Vas Crabb
c5328f94c1 Avoid the need to set MINGW32 or MINGW64 environment variables when using a standard MSYS environment on Windows. 2025-04-19 00:32:18 +10:00
Vas Crabb
50178bb8a0 -apple/rbv.cpp, apple/maciici.cpp: Implemented monochrome mode, cleaned up clocks.
* apple/rbv.cpp: Send blue channel to all outputs when a monochrome
  monitor is connected.
* apple/rbv.cpp: Implement device_palette_interface rathr than using a
  separate palette device.
* apple/rbv.cpp: Derive 60.15 Hz timer and pseudo-VIA clock from clock
  input.
* apple/maciici.cpp: Derive clocks from RBV clock crystal.

-docs: Link more configuration options to their descriptions.
2025-04-14 03:31:55 +10:00
Vas Crabb
de40641555 More recompiler fixes:
* cpu/drcbec.cpp: Interpret index operand for load/store instructions as
  a signed value for consistency with other back-ends.
* cpu/drcbec.cpp: Honour alignment rules when packing immediate values.
* cpu/drcbex64.cpp: Don't special-case SEXT with an immediate source -
  the simplifier takes care of this.
* cpu/drcbex86.cpp: Be explicit about preserving flags in load/store
  instructions.
* docs: Added a couple more UML data movement instructions.
2025-04-12 13:25:58 +10:00
Vas Crabb
3e3d27dde5 Started moving UML instruction reference to main documentation, fixed more recompiler issues:
* cpu/drcbearm64.cpp Interpret index operand for load and store
  instructions as a signed 32-bit value for consistency with x86-64.
  Moved code to interpret load and scale the index for integer
  load/store to a helper function to make it easier to update if it
  needs changes or fixes.
* cpu/drcbearm64.cpp: Use and/orr to set carry flag directly rahter than
  using an intermediate register when both operands of a CARRY
  instruction are immediates.
* cpu/drcbearm64.cpp: Fixed incorrect operand type assertion for FREAD.
* cpu/drcbearm64.cpp: Use less verbose asmjit helper functions for shift
  operations and addressing modes.
* cpu/drcbex64.cpp: Interpret index operand for floating point
  load/store as a signed 32-bit value for consistency with integer
  load/store.
* cpu/drcbex64.cpp: Guard against any possibility of load and store
  instructions altering the flags.
* cpu/drcbex64.cpp: Reduced copy/paste in floating point load/store
  instructions.
* cpu/drcbex64.cpp: Cleaned up some casts between integer types with
  differing size and signedness.
* docs: Added reference for UML flow control, data movement and emulated
  memory access instructions.
* cpu/uml.cpp: Truncate immediates to size for a few more instructions.
* cpu/uml.cpp: Added SPACE_OPCODES since it's a well-known address space
  now.
* cpu/uml.cpp: Removed SCALE_DEFAULT.  It's unimplemented by back-ends
  and unused by front-ends.
* cpu/uml.h, cpu/drcumlsh.h: Less confusing names for parameters to read
  and write instruction generators.
* cpu/drcbex86.cpp: Templated 64-bit multiplication helpers on the
  zero/sign flag source, cleaned up casting pointers to integers.
2025-04-12 02:58:15 +10:00
Vas Crabb
b860e736f6 Miscelaneous minor fixes:
Changed "Exception Points" to "Exceptionpoints" in the debugger
documentation and help.  This better matches "Watchpoints" and
"Registerpoints".  Also, it's very confusing that you see the help topic
listing showing "Exception Points" but typing "help Exception Points"
doesn't actually work.

cpu/e132xs: Fixed a flags issue in the recompiler.

misc/dgpix.cpp: Demoted The X-Files to not working with unemulated
protection.

skeleton/turnierdart.cpp: The srcclean on this file was missed.
2025-03-30 06:29:08 +11:00
Vas Crabb
455ffbbd7e Bumped version to 0.275 2025-02-26 00:22:55 +11:00
algestam
c1bddc67a1
emscripten: fixes to get bgfx working (#13255)
* Emscripten: Fixes to get BGFX working

* Move emscripten specific setup into an #elif statement

* Fix indentation

* emscripten: remove no longer link option DEMANGLE_SUPPORT
2025-02-06 08:45:34 +01:00
Vas Crabb
cd82a83c3d Bumped version to 0.274 2025-01-30 02:16:40 +11:00
Vas Crabb
282fb57c70 Updated copyright years to 2025 2025-01-01 16:36:28 +11:00
Vas Crabb
ded96a0f4e docs: Updated compiling instructions to refer to Visual Studio 2022, bumped version to 0.273. 2024-12-23 03:52:05 +11:00
Vas Crabb
5d8e4cf07e Bumped version to 0.272 2024-11-30 03:05:16 +11:00
hap
97ca2ae8d3 idsoccer: improve adpcm emulation
Clones promoted to working
--------------------------
Indoor Soccer (set 2) [hap]
Indoor Soccer (Tecfri) [hap]
American Soccer (Japan) [hap]
2024-11-17 01:52:17 +01:00
Olivier Galibert
5e63771946 devcpu: add retry_access and document 2024-11-16 19:41:56 +01:00
Vas Crabb
4da96a0c4f Bumped version to 0.271 2024-10-30 23:23:19 +11:00
veganaiZe
fdab49ec0f
docs: Improved notes about DirectX SDK and added a link in compiling instructions. (#12848)
Also fixed typo "SDL" in place of "SDK".
2024-10-07 01:52:33 +11:00
Vas Crabb
ef032a31e5 Bumped version to 0.270 2024-09-25 06:02:22 +10:00
Vas Crabb
6d1970f5f1 Bumped version to 0.269 2024-08-28 05:56:16 +10:00
Vas Crabb
77d4cc3475 Cleaned up the mess from #12610:
* Command line options need to be documented.
* Don't assume C strings returned as option values remain valid
  indefinitely.
* Fixed wording for option description.
2024-08-27 04:17:23 +10:00
Vas Crabb
acea8712d6 Bumped version to 0.268 2024-07-31 03:16:53 +10:00
Vas Crabb
663abae071 Bumped version to 0.267 2024-06-28 01:10:40 +10:00
arbee
3c9f7829d9 docs: fix markup on the links that were added. [R. Belmont] 2024-06-01 10:53:52 -04:00
arbee
f3532784f8 docs: Added sections with recommendations for submitting machines that require media and/or user intervention to start up. [R. Belmont] 2024-06-01 10:31:24 -04:00
Olivier Galibert
8c5a984fa0 docs: Proofreading [Robert] 2024-05-18 12:43:16 +02:00
Olivier Galibert
793de96775 memory: Document taps, contention/interruptibility 2024-05-14 13:34:05 +02:00
Vas Crabb
0133d14353 -seta/ssv.cpp: Cleaned up key matrix code.
-docs: Fixed editing error.
2024-05-09 05:33:07 +10:00
Vas Crabb
e22aae63a1 -merit/mtouchxl.cpp: Added touch-enabled layout.
-ui/tapectrl.cpp: Ensure device monitored for media change is up-to-date.

-osd/windows: Changed a pointer to a const reference in an API.
2024-05-09 04:43:56 +10:00
Vas Crabb
64834145ae -osd: Update slider list on demand rather than on frame updated (fixes MT08857).
-konami/konamigq.cpp: No need to cancel a newly allocated timer.
2024-04-27 04:42:12 +10:00
Vas Crabb
f91b896cda input/input_sdl.cpp: Added an SDL lightgun provider.
This does essentially the same thing as the Win32 lightgun provider,
mapping the absolute pointer position over the window to gun axes.

Also added a bunch of const in the windows input handling code.

docs: Bumped version, as features that are not in a releaesd version of
MAME are now documented.
2024-04-26 06:26:22 +10:00
Vas Crabb
520ed5e44b -ui/ui.cpp, ui/videoopt.cpp: Made pointer activity timeout configurable.
-midway/wmg.cpp: Use a memory bank for NVRAM; also got rid of a really pointless trampoline function.
2024-04-18 05:59:03 +10:00
Firehawke
7542e0aaf2
docs: Updated RTD to 2.0.0 and removed dependency on jQuery. (#12253) 2024-04-16 03:22:07 +10:00
hap
e294e5598f misc internal artwork: disable orange mouse pointer (false positive clickable artwork detection) 2024-04-14 01:10:07 +02:00
Vas Crabb
8e7af961c6 emu/rendlay.cpp, ui/ui.cpp: Allow layout views to control pointer display. 2024-04-14 07:36:45 +10:00
Vas Crabb
4ddd26fe21 Initial touch input support:
* Feed mouse/pen/touch pointer events through UI input manager with Win32 and SDL.
* Started migrating UI code to use new API and reworking mouse/touch interaction.
* emu/render.cpp: Support pressing multiple clickable layout items simultaneously.
* emu/render.cpp: Allow UI elements to be drawn in any window.
* emu/rendlay.cpp, luaengine_render.cpp: Added layout view events for pointer input.
* ui/ui.cpp: Allow the UI handler to control pointer display.
* ui/analogipt.cpp: Added mouse/touch and more keys for navigating field state list.
* ui/menu.cpp: Use vertical swipe to scroll and horizontal swipe to adjust.
* ui/menu.cpp: Draw after processing input - greatly improves responsiveness.
* ui/menu.cpp: Ignore keyboard/gamepad input during pointer actions.
* ui/selmenu.cpp: Made left/right info pane arrows repeat when held.
* ui/selmenu.cpp: Use middle click to move keyboard focus.
* ui/selmenu.cpp: Let filter list scroll if it's too tall, and use a bit of horizontal padding.
* ui/selmenu.cpp: Improved divider sizing.
* ui/state.cpp: Don't allow clicks to pass through the confirm deletion prompt to the menu.
* ui/simpleselgame.cpp: Fixed error message display and graphics/sound status not showing.
* ui/simpleselgame.cpp: Allow tap/click to dismiss error message.
* ui/utils.cpp: Show UI for choice filters when there are no choices - it's less confusing.
* modules/input/input_sdl.cpp: Made scaling for mouse scroll better match RawInput and DirectInput.
* modules/input/input_rawinput.cpp: Added support for horizontal scroll axis.
* modules/input/input_win32.cpp: Added support for scroll axes and more buttons to mouse/lightgun.
* modules/debugger/debugimgui.cpp: Don't fight over events with the UI manager - it breaks menus.
* osd/windows/window.cpp: Translate mouse position to window cooridinates for scroll wheel events.
* osd/sdl/window.cpp: Supply last mouse position for scroll wheel events if possible.
* scripts/build/complay.py: Made zero input mask an error - it was only being used to block clicks.
2024-04-12 02:49:15 +10:00
Angelo Salese
23ac5bbc20
docs: Removed unnecessary repetition in othertools.rst. (#12224) 2024-04-09 02:32:58 +10:00