Commit graph

456 commits

Author SHA1 Message Date
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
hap
c0d7a5c607 Revert "ui: move decrease frameskip key from F8 to Shift F9"
This reverts commit d88e127143.
2024-02-11 10:35:24 +01:00
Vas Crabb
5731492874 tools/chdman.cpp: Fixed numerous issues, including:
Support input start/size options for createdvd.

Fixed not reporting an error on unrecognised command line options.

Fixed --fix/-f option for verify command not working.

Report an error when conflicting options are supplied (e.g. hard disk
template and C/H/S geometry, or input start offset in both bytes and
hunks).  Previously the results would be unpredictable.

Detect more invalid combinations of options, and detect when output unit
size or hunk size doesn't match parent.

Changed order of processing options for createhd so using a template
cannot not inadvertently result in an invalid combination of sector size
and hunk size.

Don't require an explicit unit size for createraw if an output parent
CHD file is supplied.

Fixed an object leak in createcd.
2024-02-10 06:21:05 +11:00
hap
d88e127143 ui: move decrease frameskip key from F8 to Shift F9 2024-02-09 19:35:06 +01:00
Vas Crabb
fa9d0fc32a chdman: Fixed a couple of issues and added preliminary web docs.
tools/chdman.cpp: Added --hunksize/-hs option for createdvd command and
default to 4K hunks (2 sectors, same size as hard disk hunks).  Also
removed --outputbin/-ob option from extractdvd command - it did nothing
as it's CD-specific.

docs: Added preliminary chdman documentation.  Most common options have
at least basic descriptions, supported options are listed for all
commands, and supported compression algorithms are described.

docs: Cleaned up heading levels in tools section.
2024-02-05 05:07:29 +11:00
Angelo Salese
7c67c1b2da
docs: Fixed typo in -wavwrite option example. (#11919) 2024-01-09 05:22:38 +11:00
Vas Crabb
59cbd883f8 sega/sega_beena.cpp: Hooked up barcode cards.
Systems promoted to working
---------------------------
Sega TV Ocha-Ken [QUFB]

Software list items promoted to working (tvochken.xml)
------------------------------------------------------
TV to Ocha-Card: Ocha-Ken 'Ho' to Seikatsu [Vas Crabb]
2023-12-14 13:14:26 +11:00
Vas Crabb
b807708470 emu/diimage.cpp: Added media change notifier and exposed to Lua.
This allows interested parties to receive notifications on media
changes.  This is demonstrated by the file manager and media image
information menus now updating immediately if the system ejects a
mounted image, or a mounted image is changed by a script or something.

ui/filemngr.cpp, ui/info.cpp: Update file manager and media image
information menus immediately on media image changes.

ui/menu.cpp: Return index of added item from item_append.

bus/generic/slot.cpp: Use out-of-line virtual destructors to avoid
vtable link errors in certain single-driver builds.

bus/nubus: Tidy up some #include statements.
2023-12-14 02:06:19 +11:00
Vas Crabb
05e69b43e9
Added Zstandard support for zip archives and CHDs. (#11827)
* 3rdparty/zstd: Added Zstandard compression library version 1.5.5.
* util/unzip.cpp: Added support for Zstandard compression (method 93).
* util/chdcodec.cpp: Added support for Zstandard compression.
* 3rdparty/flac: Always define NDEBUG to avoid log spam.
2023-12-11 10:48:02 +11:00
Vas Crabb
37917d743f docs: Removed reference to directory that isn't added yet. 2023-12-06 17:34:04 +11:00
Vas Crabb
e5186344e5 Tied up loose ends:
* Updated copyright for FLAC.
* Enabled some more warnings for LZMA now that upstream is cleaner.
* Removed Subversion attributes from .gitattributes.
2023-12-06 17:31:13 +11:00
Vas Crabb
ab892a4bc7 Miscellaneous simple changes:
* docs: Updated example layout links to latest tagged release (0.261).
* capcom/1943.cpp: Improved DIP switch setting labels (MT08797).
* sega/sms.cpp: Original Master System/Gam*Boy wasn't numbered (MT08754).
2023-12-02 12:00:20 +11:00
Vas Crabb
143f6c4508 luaengine.cpp: Restored ability for wait functions to yield values from coroutines.
Made the documentation on what it's supposed to do a bit clearer.
2023-11-17 02:56:56 +11:00
Vas Crabb
a101939009 -luaengine.cpp: Fixed jobs waiting for frame updates sleeping forever.
-sega_beena.cpp: Removed requires external artwork flag - the internal
 artwork is adequate.
2023-11-17 02:18:28 +11:00
Vas Crabb
6e60af32c1 sega/sega_beena.cpp: Added basic book page display.
sega_beena_cart.xml: Put page scans in individual data areas.

frontend/mame/luaengine_mem.cpp: Added a raw read function for memory
regions.

plugins/layout: Added bitmap classes to layout sandbox.
2023-11-04 00:37:48 +11:00
Vas Crabb
fccbed7657 Miscellaneous fixes:
* docs: Added option for Wayland support to compiling guide.
* docs: Clarified behaviour of memory region read/write methods.
* Fixed some editing errors in Turkish UI translation.
* Added some parentheses on ternary conditional operators for clarity.
2023-11-02 02:08:05 +11:00
Vas Crabb
e4ceeee567 Added some additional layout functionality and script bindings.
Also corrected some copy/paste errors in documentation, and bumped
documentation version as it now describes features that will appear in
an upcoming release.
2023-10-30 03:11:15 +11:00
Vas Crabb
ceb582b8a0 docs: Updated for changes to media loading behaviour.
Bumped docs version since this now describes behaviour of the
upcoming release.
2023-10-20 17:57:18 +11:00
invertego
963561c7cb
3rdparty/portaudio: Updated to latest upstream version. (#11604)
Up-to-date with revision 24c8d575e588d557d28f4011becb753421346860.  Resolves issues building with Visual Studio.

Enabled PortAudio when building with Visual Studio and clang-cl.

docs: Removed note about duplicate GUID symbols in PortAudio when built with MSVC.
2023-10-09 01:50:30 +11:00
Tom Cariello
4ab590e2a9
docs: Fixed a number of grammatical errors and editing errors. (#11578) 2023-10-01 13:39:06 +11:00
Firehawke
09be4295de
docs: Fixed documentation compilation warning. (#11586)
Fixes a title underline too short warning.
2023-10-01 13:10:30 +11:00
Vas Crabb
727e600b94 MAME 0.259
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEE0DYtsBhE4EM627+6wXSxAYxAcQ4FAmUVpEIACgkQwXSxAYxA
 cQ7EBg/+PO4UlnOG5nvQg8TxHGkavpgzr/z5BXHer1mpwDB7091BrKqi+6fgDsHU
 pNGKdjSR9EdmCjPs5aqW29Fgd+xk29NEJtUVU5U2Ab2NfV16hzfF3zTXGsvojlBn
 n28Ja5MmWiAYTPTEHa1MlJnOQuxD6nhdLD1xEJV5TiFjl9ceVd5il+BLQ/7nn1T1
 zNSvUa/mF6EpvmpcIIbBSF+MpIq8rTH57QdOY0pD3RmAltnwmIOkKLnirmPtmRaq
 X3ncHQBWcu8iggz3ty+K9cF4n6GpFa8Unjsi44m5CgTRhDEwRA0eAJUm8ud3UlU+
 uKWOnDCwsjKnZCWPmfeo54osJV7tSCzcNzCzsxThR6ogfZxcULj3G/+tatyXkvoe
 gpyIzqBDQPWxJgtFZKRRRsixwgivnlY/axQWiXG6wFWIpHthT3ypbSciBJKfZX+N
 B3E37UtmU4ObzLsNvuhdSCXQHMv8teQxREP2DxsIDAFDjyS1URDXbkL2qA62pQ08
 0e0VqxoULxS65jVWquDsotShMWrcgooxDmB6PUORP8YEsbCIF7c4cEYcjc5j+zVD
 v1v3za3rfEFoT+IcHjT7w3vz/cfWMu3HQJEiZ90A7v9h78EZ9ujo2kNHHAxaKD6u
 y71MvjpFrrmkKuvKsJFP1cYuf+tbqBWRRQ/vVG4+w0uz3RJvk4U=
 =ZKbi
 -----END PGP SIGNATURE-----

Merge tag 'mame0259' into HEAD

MAME 0.259
2023-09-29 21:56:21 +10:00
Vas Crabb
d71c72ba74 Miscellaneous change roll-up:
render/drawbgfx.cpp: Return an error if Wayland EGL surface can't be
created for additional windows.

emu/emucore.h: Added explicitly defaulted copy and move constructors for
emu_fatalerror.

Fixed apparent misunderstanding of const.  Returning const value types
and casting to const value types is pointless outside very narrow use
cases.  Putting const value type parameters in interfaces just makes
trouble.

cpu/adsp2100: Use count_leading_ones_32 where it's simple rather than
inverting and counting leading zeroes.

util/multibyte.h: Don't pollute global namespace, constexpr implies
inline, make narrowing casts explicit.

imagedev/simh_tape_image.h: inline is implied for member functions with
bodies supplied at declaration.

Tidied up some ugly casts in various places.
2023-09-29 01:56:51 +10:00
Vas Crabb
4ff20056c3 Bumped version to 0.259 2023-09-29 01:23:40 +10:00
Tom Cariello
30d92e397d
docs: Fixed many editing errors and spelling errors. (#11575)
Also fixed outdated link to contributing guidelines.
2023-09-29 00:41:31 +10:00
Tom Cariello
eaa84a2679 Removed extra tick after gtime example in documentation (#11574) 2023-09-28 00:33:45 +10:00
Tom Cariello
1d1ff1b5f8
Removed extra tick after gtime example in documentation (#11574) 2023-09-27 15:51:32 +02:00
Vas Crabb
2e0aa82350 Bumped version to 0.258 2023-08-29 04:29:19 +10:00
Vas Crabb
f811a66c53 Bump version to 0.257 2023-07-28 02:00:24 +10:00
Vas Crabb
12623c3fd3 docs: Moved Lua API reference to its own section - the page was far too long. 2023-07-06 09:52:10 +10:00
Vas Crabb
5442ec7960 docs: Remove link to Gaming-History/Arcade-History since the front page is covered in dodgy gambling links. 2023-06-29 06:05:31 +10:00
Vas Crabb
b41370db02 Bump version to 0.256 2023-06-28 01:49:47 +10:00
Vas Crabb
c6650dc072 Bump version to 0.255 2023-05-31 03:50:57 +10:00
Vas Crabb
82394e8569 Adjustments to option priority interactions:
emu/sound.cpp: Made -volume in source file INI or higher priority
context take precedence over volume read from CFG file.  This matches
behaviour of -bgfx_screen_chains.

emu/input.cpp: Made explicit -no{mouse|joystick|lightgun} take
precedence over -{mouse|trackball|adstick|paddle}_device etc. from lower
priority levels.

Alos got rid of a bunch of unnecessary simple_list.
2023-05-09 01:49:41 +10:00
Vas Crabb
a93d6c9fc7 emu/emumem.h: Allow emu::rw_delegate to work with device finders. 2023-04-15 19:44:30 +10:00