Commit Graph

542 Commits

Author SHA1 Message Date
Vas Crabb
4a7c424657 -bus/isa/ubpnic.cpp: Added side effect checks.
-cpu/uml.cpp: Added a simplification rule for pathological cases of
 SEXT.

-docs: Documented the DRC UML SEXT instruction.

-Tidied some random stuff.
2025-09-09 02:29:16 +10:00
Vas Crabb
5cca9a22a4 -cpu/drcbec.cpp: Improved behaviour for float-to-int conversion.
-docs: Documented several DRC UML shift/rotate instructions.
2025-09-08 13:55:25 +10:00
Vas Crabb
e49cbb909f cpu/drcbearm64.cpp: Implemented float-to-int conversion using rounding mode.
Also optimised code generation for UML ROL (rotate left) and slightly
optimised carry flag calculation for left shift (save one instruction).
2025-09-06 19:54:04 +10:00
Vas Crabb
72f1d62b4b docs: Documented more DRC UML floating point instructions.
* cpu/uml.cpp: Added simplification rules for FFRINT and FFRFLT.
* cup/drcumlsh.h: Use "src" rather than "src1" if there's only one
  source operand.
* cpu/drcbearm64.cpp: Added a fixme comment.
2025-09-06 12:47:42 +10:00
Vas Crabb
366df9419c -docs: Documented some UML floating point arithmetic instructions.
* Also replaced mathematical symbols for Boolean algebra with less
  desirable C operators as they were upsetting pdflatex.

-cpu/uml.cpp: Got rid of a redundant assignment.
2025-09-05 14:58:58 +10:00
Vas Crabb
a418fb4267 Various small improvements:
misc/crystal.cpp: Added lamp outputs used by Office Yeoin Cheonha and
Urachacha Mudaeri, and fixed button order/names for Urachacha Mudaeri.

cpu/uml.cpp: Added a couple of simplification rules.  ADDC's inputs are
commutative, and TEST with an immediate zero operand effectively ignores
the other operand.

namco/namcos23.cpp: Treat spinny things as a dial rather than half a
mouse.

cpu/arm7: Removed the recompiler that had never been completed.

cpu/drcumlsh.h: Removed helpers for generating the unimplemented JMPH
instrcution.  Trying to use it would cause a compile error.

docs: Documented the most common DRC UML integer arithmetic and logical
instructions.
2025-09-05 02:06:54 +10:00
Vas Crabb
0480c0384e emu/rendlay.cpp: Make hit test priority match visual order (GitHub #14113).
Also made order of parsing view element more logical (makes interation
with parameter elements less confusing).

Some layouts have been updated, others still need work.
2025-09-04 00:00:11 +10:00
holub
f1fc482541
Split multiple languages/developers into separate info elements in all software lists. (#14101) 2025-09-02 02:40:38 +10:00
Vas Crabb
5ad79a46c4 MAME 0.280
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEE0DYtsBhE4EM627+6wXSxAYxAcQ4FAmix/BAACgkQwXSxAYxA
 cQ7D1BAAsX31UfUGBEoEWvnh+n+Q2EJ/6bE8NUyHxhotgSwj+8WPVpR8BOwyIABU
 5SQALWiD04efCn/YN1sRPDl71RA8zDcSoC1avLKSL17/50PjT/bqJ2GOWtYncgrH
 cGBtqt5B5Zhjrtg/2NXSrrOZHUDOm1Lq4Knsx6l/sHn4qAAWK6lKY2vq3DAcWaFd
 X4cCC08lhfsDEUa5euXljqWTPDfC3+Fh1ay7wB25+Ca5YlqAT7FCIZeOPE6TUmsH
 2Zlui1MWgbtNdC7b5d4vz3RII4ps7WKfNz0qOCJmX5bDIk4L5hydI4hwwVpUqbgr
 agHFHlSs/KwyomLPFHqXnfWG9shJN9iooDQ3Bv0uPO9QMX//MmyR1Vavh6NAaa0g
 LVy8HjXBgNzEb1qyZe39IN5B2Gy+niTt4o6fa1hc0ThJ26AosHhAqm6ZDVbPVoMv
 YO1saX2v95QCoMtSh9FR8TQUYZ2KmCSHoMacLSNgpD3rTs9ZNk6yhs0NnbugItF1
 CpeC8cSFcPFiGH9Zx1tCloRG12/5reYrVwfe2qgpB/GO/mrTybpwB4a9/bqf61wj
 asVWLcYOmEJoF7RkNGC3JmBOS2gBQY1iRCKK1UXLJ0bv/ydrUK82fhoH759EMDMB
 D6T8kuq18OC6Vj8LUOI5kJFAiJIk6AQi8TW6uFjOnQjTT3ajajs=
 =ptnW
 -----END PGP SIGNATURE-----

Merge tag 'mame0280' into HEAD

MAME 0.280
2025-08-31 06:54:00 +10:00
holub
095418aec5
emu/debug: Extended memory commands for region and space (#13767) 2025-08-30 16:25:16 +02:00
Vas Crabb
ec9abd86c6 Bumped version to 0.280 2025-08-30 05:13:51 +10:00
Vas Crabb
7589dee02c Bumped version to 0.279 2025-07-31 08:06:29 +10:00
hap
fc2b4598c4 docs: add note about audio effect defaults 2025-07-16 17:19:05 +02:00
hap
9f3b3f583a docs: asterisk typo 2025-07-16 16:48:01 +02:00
hap
761ade32c6 docs: add note about compressor 2025-07-16 16:46:17 +02:00
hap
893e61d051 docs: update text about hq resampler 2025-07-16 16:28:54 +02:00
hap
b93a6afad7 viewgfx: add shift/ctrl/alt modifier keys to some controls 2025-07-08 01:22:03 +02:00
Vas Crabb
0bdb4f0669 Clean up various stuff.
docs: Explicitly state that installing a read/write tap returns the
pass-through handler.

cpu/mb86235: Using lowercas integer literal suffixes hurts readability,
especially when it's 1ll (compare to 1LL, especially in a Courier-like
font).

video/ppu2c0x_vt.cpp: Look for the patterns.

mame.lst: Expunge comments that started creeping back in.

taito/taitotz.cpp: Use versions as printed on Taito's hard disk labels
in descriptions.

debug/win: Requiring every debugger window class to care about the
console window's views is bad design.  That's a clear case of
unnecessary coupling.

posix/posixptty.cpp: Testing for glibc does not guarantee pty.h is
available.  It's possible to build glibc for targets where its PTY
wrapper functions are not implemented.
2025-07-01 06:35:44 +10:00
hap
f335e88c84 docs: lucky star 2025-06-25 21:31:49 +02:00
hap
033c012f67 audiomix: let's move those new full/channel menus up 2025-06-25 21:24:22 +02:00
hap
90a76099de audiomix: put devtag in add ful/channel menu entry 2025-06-25 11:16:44 +02:00
hap
0041d08149 docs: update docs after prev audiomix commit 2025-06-25 03:14:08 +02:00
Vas Crabb
af10f3f21c Various fixes:
ui: The new menus were unusable with a touchscreen, and not conducive to
localisation.  It's still not possible to add sound routes with a
touchscreen, but at least it's possible to configure routes that exist.

emu/sound.cpp: Fixed localisation issues, less temporary objects.

emu/audio_effects: Fixed some localisation issues.

plugins/autofire, plugins/inputmacro: Allow deleting autofire buttons or
input macros without needing to use the UI Clear input.

ui/selmenu.cpp, ui/imgcntrl.cpp: Use terse messages for bad media.
Making these messages longer hasn't reduced support burden.  Adding the
version will just perpetuate the myth that you need to redownload all
your ROMs for every release.

ui/ui.cpp: Allow info screens to be dismissed by mouse clicks or
touches.

ui/sliders.cpp: Hiding the menu should preserve state.  This is a design
choice.

sound: Avoid anything that could possibly depend on static
initialisation order across transaltion units.  Allow speaker position
names to be localised.

sound/none.cpp: Don't pretend it can create output streams.
2025-06-25 03:56:09 +10:00
Vas Crabb
891cbf7c8c -dynax/ddenlovr.cpp: Identified some DIP switch settings for Majiang Xingyun Shenlong, marked other settings as unknown.
-sound/sdl_sound.cpp: Corrected SDL verson detection macro.

-docs: A few sound documentation updates.
2025-06-09 04:04:51 +10:00
hap
874cb93005 docs: remove unneeded note on -speed setting 2025-06-06 20:15:50 +02:00
hap
d368a1cffa docs: fix spacing after prev commit 2025-05-31 17:08:37 +02:00
hap
01cdde101f sound: change audio_latency meaning similar to what it was before (20ms steps for portaudio, xaudio2, wasapi), old mame.ini default setting of 2 should work fine 2025-05-31 17:04:28 +02:00
hap
6fbb9dc728 sound: print verbose message if module doesn't support audio_latency option,
docs: small update, remove references to dsound
2025-05-31 12:25:42 +02:00
hap
73b7cdabef attotime: fix lockup with as_string and negative attotime,
video: fix issue with throttling when mame runs at slow motion (-speed lower than 0.2)
options: change mimimum speed setting from 0.01 to 0.1 (mame would crash with very low value, and besides, video throttle still fails below 0.1),
ui: add speed slider when cheats are enabled
2025-05-30 19:18:49 +02:00
Olivier Galibert
bae52721de update.sh: be silent when there's nothing to do 2025-05-30 14:48:40 +02:00
Olivier Galibert
4c71d2d089 Aloow seperate display and configuration names for sound nodes 2025-05-29 15:20:32 +02:00
hap
05d798c1b3 misc: small spelling correction 2025-05-29 14:40:58 +02:00
Vas Crabb
a0412a6387 -sound: Removed DirectSound sound module.
-sound/xaudio2_sound.cpp: Use more fine-grained locking in voice
 callbacks, simplified further simplified buffer queueing.
2025-05-29 16:20:33 +10:00
Vas Crabb
335639e65f -sound/wasapi_sound.cpp: Improved error handling and buffer management.
-lib/osdobj_common.cpp: Made WASAPI sound the default on Windows and
 made DirectSound lower priority than XAudio2.

-osd/eminline.h: Made multiply/divide helper names a bit more consistent
 with other functions.

-osd/eigcc.h: Moved helpers that use the __int128 type here, and fixed
 availability detection for them.

-osd/eigccx86.h: Added fast multiply/divide helpers for x86-64.

-docs: Updated the list of supported sound modules.

-exidy/exidy.cpp: Use the 1 Coin/1 Credit setting listed in the manual
for Venture by default.

-emu/sound.cpp: Fixed GCC uninitialised local variable warnings in
 sound_manager::run_effects().
2025-05-26 04:16:19 +10:00
Olivier Galibert
1050ddce5b speaker: allow positioning unknown and don't map
audiomix: fix mistake on microphone channel mapping
2025-05-25 10:39:13 +02:00
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