Commit Graph

348 Commits

Author SHA1 Message Date
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
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 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