summaryrefslogtreecommitdiffstatshomepage
path: root/docs/source
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into time-experiments2 Aaron Giles2021-09-103-2/+1090
|\
| * docs: Update css for sphinx_rtd_theme to latest version, which includes ↵ Aaron Giles2021-09-051-0/+2
| | | | | | | | selectors missing from old version.
| * -ui: Made zoom controls a bit more intuitive. Vas Crabb2021-09-061-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * The UI controls are described as zoom in/out, but they had the opposite effect on the palette and tile viewers. That has been changed to make them consistent with the tilemap viewer. * Made the default zoom key not act as a toggle. People are familiar with the function of Ctrl+0/=/- in web browsers, so making them behave similarly in MAME should make it more approachable. Also added the default zoom key to the relevant documentation page. * Implemented the default zoom key for the palette and tile viewers. * In the tilemap viewer, if the view is in default expand to fit mode, zoom in/out starting from the actual zoom ratio. Once again, this behaves more like the zoom controls in a web browser displaying an image so it should be more intuitive. * Made more messages from the tilemap viewer localisable. -util/zippath.cpp: Fixed MT08074. * There were multiple issues at play here. After #8443 was applied, is_root was simply never returning true on Windows, as OSD_WINDOWS isn't actually defined outside libosd and libocore. This caused phantom parent items to appear in disk roots on Windows, but it meant that the check in zippath_resolve would always fail so the trailing backslash would be trimmed. Fixing the macro test in is_root meant the trailing backslash from C:\ would no longer be trimmed, which caused the stat in zippath_resolve to fail. -bigbord2.cpp: Hooked up floppy DRQ that had somehow got lost. -Reduced tag map lookups in several drivers and devices. -util/coretmpl.h: Removed an overload of bitswap that can be avoided using if constexpr. -Added doxygen comments to some classes, and fixed several doxygen warnings. -util, osd: Test for _WIN32 rather than WIN32. * In C++17 mode, WIN32 is no longer a predefined macro, although various things in 3rdparty define it to maintain legacy support. We're better off moving forward anyway for when WIN32 disappears entirely. (WIN32 is not a reserved name, while _WIN32 is, starting with an underscore follwed by an uppercase letter.)
| * Add docs for poly_manager. Aaron Giles2021-09-042-0/+1083
| |
* | Merge branch 'master' into time-experiments2 Aaron Giles2021-08-143-16/+248
|\|
| * API cleanups and miscellaneous fixes. Vas Crabb2021-07-153-16/+248
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | emu/ioport.cpp: Allow controller files to override input sequences for inputs that don't use defaults, and to override the toggle setting for digital inputs. emu/config.cpp: Expose configuration level (mostly matters for controller files), improved verbose diagnostic messages, and moved a few things out of the global and preprocessor namespaces. docs: Added documentation for some controller configuration file features. The device mapping feature documentation will be merged in at some point. util/unicode.cpp, emu/input.cpp: API cleanups.
* | Merge branch 'master' into time-experiments2 Aaron Giles2021-06-049-101/+323
|\|
| * Updated Chinese localisation. [YuiFAN] Vas Crabb2021-05-311-1/+1
| |
| * Remove leftover mame64 from docs Olivier Galibert2021-05-252-17/+11
| |
| * Docmumentation update/expansion. [Firehawke, Vas Crabb] Vas Crabb2021-05-078-98/+326
| |
| * docs: Update build requirements for Ubuntu (#8010) algestam2021-04-281-1/+1
| |
| * docs: Update build requirements for Fedora - someone should do this for ↵ Vas Crabb2021-04-251-1/+1
| | | | | | | | other distros.
* | You know, if I'm nice enough to give you an accessor, please use it. Aaron Giles2021-04-241-2/+2
| |
* | Merge branch 'master' into time-experiments2 Aaron Giles2021-04-231-6/+3
|\|
| * Updated compiling document to reflect that MSVC 2019 is working and recommended. Stiletto2021-04-161-6/+3
| | | | | | | | | | Source Changes -------------- Updated compiling document to reflect that MSVC 2019 is working and recommended.
* | Save states working again. Changed to save persistent timers directly, using ↵ Aaron Giles2021-04-131-4/+0
| | | | | | | | the save buffer only for transient timers. Now saving quantum state as well. Switched to using an array for that.
* | Switch out attoseconds in favor of more abstract subseconds. Update everyone ↵ Aaron Giles2021-04-021-2/+2
|/ | | | to use subseconds abstractly where possible. Builds, and many games work, but some are failing, so there be dragons here.
* Add 'wpsize' variable to access the data size from a watchpoint (#7837) Scott Percival2021-03-032-6/+6
|
* Suggested changes to MacOS to build reqs (#7715) mac-a-r0ni2021-01-291-17/+6
| | | | | | Update compilingmame.rst * Changes in macOS section regarding current build requirements * Added basic info for Apple Silicon to macOS build instructions.
* Change "mame64" to "mame" in docs (#7709) Firehawke2021-01-294-209/+209
|
* Update "2020" text to "2021" (#7713) Stiletto2021-01-283-3/+3
| | | Update "2020" text to "2021".
* -docs update: Vas Crabb2021-01-232-84/+165
| | | | | | | | | | | | | | | * Added note explaining that view options saved in machine CFG take precedence over INI/command line. * Added prerequisites for building HTML documentation under MSYS2 and Fedora Linux. * Explicitly mentioned that Ubuntu modifies GCC to enable "fortify source" by default in the relevant section. * Removed obsolete reference to glibstdc++6. * Re-formated compiling guide source (hard wrap at 80 columns, typographical quotes, code blocks for sample command lines). -genie.lua: Show GCC ignored attribute warnings, but don't fail for them.
* Merge tag 'mame0227' into mainline-master Vas Crabb2020-12-314-15/+28
|\ | | | | | | MAME 0.227
| * version bump for 0.227, some documentation clean-upmame0227 Vas Crabb2020-12-314-15/+28
| |
* | luareference.rst: Move the luareference-input properties together AJR2020-12-261-3/+3
| |
* | natkeyboard: Remove from ioport_manager AJR2020-12-261-5/+5
|/
* Expose a couple more things to Lua so the plugins can show the actual key ↵ Vas Crabb2020-12-272-20/+45
| | | | mapped to UI clear.
* docs: Fix up the instantiation sections in the Lua reference. Vas Crabb2020-12-271-60/+60
|
* More Lua interface cleanup - it's simpler with cleaner underlyng APIs. Vas Crabb2020-12-272-41/+555
| | | | | | | | | | | Made the sound manager mute controls readable, and got rid of system enable since it just controls system mute anyway. This was causing confusion: phantom2 was trying to use both independentlyt casuing the mute bit to be ignored. THe Lua interface changes are mostly changing methods to properties, some renames to make things clearer, and some additional properties for better control over snapshots.
* docs: Fix mistake on which key was SDL-specific and which was non-SDL AJR2020-12-241-2/+2
|
* docs: Update list of default keys due to recent removals AJR2020-12-241-7/+2
|
* Fix some oversights and emergent behaviour with view selection. Vas Crabb2020-12-202-27/+36
| | | | | | | | | | | | | | | | | | | | | | | | | Exposed the "native snapview" option on the video manager. Trying to use presence of a single view is a poor proxy that breaks with multi-screen systems. Allow rotation to be changed for native snapshot views, and disable the zoom to screen area control when it has no effect on the selected view. Treat an empty string identically to "auto" for view selectction. Previously this was being used for prefix matching so it would force the first view. (This caused the bad snapshot view selection. It had been relying on "internal" not being a common view name prefix so it fell through to automatic selection, but when changed to an empty string it forced the first view.) Documented "auto" as well as "native" for the -snapview option and changed the default to auto rather than an empty string for consistency with the -viewN options. Added [w]string_view handlers to the stuff that's instantiated in strformat.cpp since we'll be increasingly using them. Cleaned up and updated some documentation.
* More Lua engine clean-up and documentation, resulting in core cleanup. Vas Crabb2020-12-182-10/+608
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | More Lua interface cleanup, additional properties and methods, and documentation migration/expansion. Emulated switch inputs can have "not" codes applied to host input axis directions. It works the same way as host switch inputs - push twice for a "not" prefix. Input polling helpers no longer need to store state in the input device items. There’s less leakage, and less chance of things interfering with each other. Allow snapshot view options to be configured through the internal UI via the video options menu. Made video options menus place initial focus on the currently selected view item. Removed some crud from the menu base class. Fixed the description of the "snapview" option. The value to get raw screen pixels was changed to "native" a long time ago but the description was never updated. Re-arranged the Golden Poker button lamps so that the 6-button layouts for Jolli Witch and Wild Witch make sense. In 6-button mode, the hold buttons double as bonus game and bet buttons, but the lamp outputs don't change. The simplest way to deal with this without requiring the user to switch views or using layout scripting is to place the dedicated buttons directly below the hold buttons that correspond to them. Removed some software list data that was redundantly copied into device_image_interface (m_supported was never even set, so it didn't even work), and made crc() work better (previously it wasn't recalculuated after unloading and loading another image). Made strformat.h and devcb.h play nicer with C++17 and pre-standard C++20. Format precision now correctly limits the length of string views. Confirmed that strformat.{h,cpp} works with pre-standard C++20 support in GCC 9. Removed an auto_alloc from cpu/arm7.
* -Lua cleanup and documentation migration checkpoint. Vas Crabb2020-12-162-3/+1194
| | | | | | | | | | | | | | | | | | | | * Cleaned up some more of the Lua inteface. Mostly replacing methods with properties, some consistency fixes, a few renames, some more exposed functionality, and a couple of properties that have no business being set from scripts made read-only. * Moved a lot more Lua documentation out of source comments into the documentation, and expanded on it in the process. * Got more UI code out of the input manager. * Changed input sequence poller to a polymorphic class where you specify your intention upfront. * Changed the cheat plugin to use UI Clear to clear hotkey assignments and leave them unchanged if the user starts assignment but doesn't press any switches. * Ported AJR's fix for over-eager double-click recognition from SDL to Windows OSD. -goldnpkr.cpp: Cleaned up inputs, using standard keyout and payout types and key assignments.
* -luaengine.cpp: Clean up render classes and expose screen image adjustments. Vas Crabb2020-12-134-3/+1005
| | | | | | | | | | | | | | | | | | | | | * Started moving Lua class reference to docs. Expecting people to find the class reference material in the source isn’t going to help make it approachable. The docs allow longer explanations, better formatting, and cross reference links. * Added another layout scripting example to the docs. -goldnpkr.cpp: Minor clean-up. * Improved the short names for Witch Card and Witch Game clone sets. * Made Witch Up & Down artwork clickable. * Added working Video Klein sets where the parent is a working Video Klein set to the tiny subtarget. * Removed history from the header comment - we have version control for a readon.
* docs: Fix a bunch of errors from not reading what I wrote (thanks Ryan). Vas Crabb2020-12-091-9/+9
|
* -Lua engine cleanup, input edition: Vas Crabb2020-12-093-73/+292
| | | | | | | | | | | | | | | | | | | * Modernised and cleaned up Lua bindings for input classes. * Exposed the input_sequence_poller class to Lua and updated the autofire and cheat plugins to use it, rather than continuing to pretend it's part of the input manager. * Exposed more of the natural keyboard manager, including the ability to enable/disable individual keyboard and keypad devices like you can from the keyboard mode menu. * Exposed a few more things on ioport_port and input_device. -plugins/cheat: Fixed menu item not updating visually when disabling a cheat with UI Left. -plugins/cheatfind: Fixed not finding the first screen after screen enumerator was exposed as an object rather than using a table. -bwidow.cpp, pacman.cpp: Minor cleanup to recent changes.
* -luaengine_render.cpp: Work around MSVC ambiguous overload error. Vas Crabb2020-11-263-57/+81
| | | | | -docs: Clean up a little. * Includes typo fixes from Alexander Miller.
* Work around GNU libstdc++ wanting to stack large temporaries when vector ↵ Vas Crabb2020-11-231-7/+7
| | | | elements can be trivially constructed.
* Implement views, which are essentially bankdevs integrated into the Olivier Galibert2020-11-221-0/+97
| | | | memory map system. [O. Galibert]
* -Switch to building MAME as C++17. Vas Crabb2020-11-151-4/+4
| | | | | | | * Updated sol2 to 3.2.2 * Updated pugixml to 1.10 * Increased minimum clang version to 6 * Cleaned up some stuff that can use new features
* -emu/devfind: More cleanup/consistency changes. Vas Crabb2020-11-131-9/+366
| | | | | | | | | | | * Removed .mask(), as it’s not reliable in the general case. * Added asserts to things that assume power-of-two sizes. * Got rid of virtual qualifier on pointer-to-member operator. * Made helpers a bit more assertive about logging warnings. -emu/rendlay.cpp: Use delegates to avoid hot conditional branches. -docs: Finished off description of object finders and output finders.
* Got rid of a couple of easy auto_alloc_array Vas Crabb2020-11-091-1/+2
|
* -emu/dirom.{h,ipp}: Cleaned up and made it stricter. Vas Crabb2020-11-093-105/+180
| | | | | | | | * Made it an error to specify address map and explicit ROM region. * Made it an error if explicitly specified ROM region is not found. * Made the ROM region tag apply relative to the current device. -Cleaned up formatting for a couple more documentation pages.
* docs: Wrote another section of object finder documentation. Vas Crabb2020-11-093-343/+714
| | | | Also improved formatting of code snippets in a few pages.
* emu/devfind.h: Added missing memory_share_array_creator. Vas Crabb2020-11-081-0/+22
| | | | Also some miscellaneous tidying up.
* -emu/devfind.h: Made read_safe avaiable for optional I/O ports only. Vas Crabb2020-11-061-3/+236
| | | | -docs: Added the next couple of sections explaining object finders.
* -docs: Started writing page on object finders with worked examples. Vas Crabb2020-11-052-2/+208
| | | | | | -hp3478a.cpp: Removed outdated TODO comment from layout. -Hopefully fixed all remaining MSVC operator resolution failure errors.
* -hp3478a.cpp: Made LCD segments dark in internal artwork. Vas Crabb2020-11-041-6/+5
| | | | -Fixed another batch of MSVC errors resolving overloaded operators.
* -General maintenance on emu/devfind: Vas Crabb2020-11-041-0/+67
| | | | | | | | | | | | * Harmonised memory region/share finder/creator APIs. * Moved .found() to optional object finders. * Added truth test operator to optional object finders. * Fixed things that were testing .found() on required object finders. * Improved Doxygen API documentation. -dec8.cpp: Moved csilver to its own state class. -docs: Added some notes about setting up and using MSYS2.