Commit Graph

490 Commits

Author SHA1 Message Date
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
d1781a7d1f docs: Fixed paper size selection (GitHub #13439). Also set paper size to widespread A4 for dist.mak and CI. 2025-03-08 23:26:00 +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
987123879113
79c1ae350d
tools/chdman.cpp: Added support for extracting cue/bin GD-ROM images and producing one binary file per track. (#12191)
* Use --splitbin/-sb option for extractcd to produce one binary file per track.
* When producing one binary file per track, the binary file name must contain a %t format conversion for the track number.
2024-03-31 05:04:09 +11:00
Vas Crabb
fe923e9b3c Drop support for GCC < 10.3, clang 6, SDL < 2.0.14 and Qt 5.10. 2024-03-28 00:11:18 +11:00
Patrick Mackinlay
f93a04010a
emu/debug/debugcmd.cpp: Add NUL-terminated string argument support to printf/logerror. (#12124)
* Use %s to read NUL-terminated strings from emulated memory.  Precision sets maximum length.
* Also added left-justification option for numeric and string formats.
* Made documentation more consistent and removed duplication.
2024-03-21 03:12:11 +11:00
Vas Crabb
0524b105c1 emu/debug/debugcmd.cpp: Added support for lowercase hex to printf/logerror. [Patrick Mackinlay]
Also simplified implementation by better leveraging util/strformat.h.

This is from pull request #12124, to get some testing for the
fundamental change before freeze.
2024-03-19 16:08:35 +11:00
angelosa
b39faa0cd8 docs: get rid of swlist folder 2024-03-15 17:43:14 +01:00
Vas Crabb
9626b93a41 Fixes and cleanup:
roland/roland_d70.cpp: Use object finders, use memory shares rather than
ram_device, fixed Endianness bugs, fixed bad indentation, fixed
double-qualified member functions, use m_ prefix consistently for
members, use lowercase hex digits, don't allow writes to ROM, fixed
header #include order.

docs: Corrected docmented default for ui_mouse option.

tektronix/tek440x.cpp: #include local headers first, etc.

bus/a2bus/snesmax.h: Fixed copy/pasted comment.

yamaha/ympsr2000.cpp: Put code in an anonymous namespace.
2024-03-12 04:47:09 +11:00
Vas Crabb
c53b36b892 -bus/a2bus: Added SNES MAX game controller interface card.
-docs: Clarified description of EMULATOR make option.
2024-03-10 23:38:41 +11:00
Vas Crabb
bdda7084bb MAME 0.263
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEE0DYtsBhE4EM627+6wXSxAYxAcQ4FAmXd0vMACgkQwXSxAYxA
 cQ5B8BAAiE+wyJ9vr5mscrzwZvfnEAWgPZxCqBQ9jyXL+Tz9yyQAij9iyIHz+14N
 Oe27Z04a0byKU+MNal74ap2c90Fz39cnABbcSl0n20TCMBs4Xfw1sldbURwLuJdG
 bowru+WebAzu1qgKAe71/PvUFniws+RbVF3dqCXhHEKjMgQmbbTLscfyU3IsXD3Y
 hiEoBXdUY+z+91BQgcjEtTqj2UqiBr0ePnRkyul1RhQI0GfndGqSXtW0/LnmscBb
 aBPbT4GiH1/a5Tq7AUmIQJkHHvCNhgFRDszgKBUWqSjOqYoCx08ZBel/fj76a820
 LqUlapSPScsVdSlUGZdhvhm8ZNdIzkX2ST+k5HILm0/vlCskfsK78ax8f9rJoOII
 DOVPU/EXmEVXTzImBjW1EWTFSgSpQ5zDQ8JqGXacTDrf5msQ0RAwtGMPuEkp9w2Y
 2uH8atN7Z+tYRDtPDhAHuRgvuvq5HrFqZZRNSjohwx2RTv/ye7vqdmWxzGF54+mw
 efPKQabagKSgQK4i8GH8nIHLSgvy2Xk0JwWjc7l7BueU1FtzEAQ1ajbsbyXJyhRg
 oV04FJx5QXJhptFreMkyKWobiXtjfYLK39lwLNiaKlpPuQrjo2IWsy+Bd015KGgo
 Kv3jtbGwXhPulyVU3O7bwuF3QP35SD/hjTYi90vSJbVvi1HCP30=
 =V7N9
 -----END PGP SIGNATURE-----

Merge tag 'mame0263' into HEAD

MAME 0.263
2024-02-28 16:20:55 +11:00
Firehawke
1f9c92a4cc
docs: Document building only the tools. (#12065) 2024-02-27 11:51:47 -05:00
Vas Crabb
93d8318325 Bumped version to 0.263 2024-02-27 23:17:06 +11:00
Vas Crabb
2dd558b2c0 Update copyright years. 2024-02-26 03:32:36 +11:00
hap
379b16587e mamemenus.rst: mention the changed pause key 2024-02-18 18:58:47 +01:00
hap
837fcc3996 docs: combine description for fastforward key 2024-02-17 15:05:12 +01:00
hap
2156f510bc osdsdl: move prescale keys from ctrl+f6/f7 to alt+f8/f9 2024-02-17 14:31:54 +01:00
hap
acf1912748 - osd sdl default keys: remove ctrl-blocks on f3 and f4, move opengl filter from lctrl+f5 to lalt+f10,
- osd windows default keys: move post processing key from lctrl+lalt+f5 to lalt+f10,
- mame default keys: move rewind step from shit+tilde to shift+f4, move cheat from shift+f6 to shift+f8, move quick save/load from (none) to shift+f6/f7
2024-02-16 23:37:50 +01:00
arbee
45890ad85c Default UI keys cleanup [hap, R. Belmont]
- Pause moved from P to F5
- Step single frame moved from Shift-P to Shift-F5
- Create save state moved from Shift-F7 to F6
- Toggle cheats moved from F6 to Shift-F6
2024-02-13 20:02:25 -05:00