summaryrefslogtreecommitdiffstatshomepage
path: root/docs/source
Commit message (Collapse)AuthorAgeFilesLines
* Bump version to 0.244mame0244 Vas Crabb2022-05-241-2/+2
|
* ui/viewgfx.cpp: Added ability to restrict tiles to integer scale factors. ↵ Vas Crabb2022-05-201-4/+6
| | | | | (#9783) Also encapsulated things a bit more and made the UI manager hold onto the storage rather than keeping it in file statics.
* Add debugger time command to docs (#9735) tedgreen992022-05-101-0/+2
|
* Micscellaneous cleanup/fixes: Vas Crabb2022-04-301-10/+13
| | | | | | | | | | | | | | | | machine/z80scc.cpp: Fixed a cast-to-bool that broke detection of changes to one register bit. formats/fsmeta.cpp: Use visitors with variants where it makes sense. docs: Updated minimum required SDL version to 2.0.6 for all targets, added note that Python 3 is included with Xcode and updated instructions for downloading stand-alone Python 3 for macOS. ksys573.cpp: Don't create an insane number of textures for fghtmn and pnchman internal artwork. Tidied another batch of slot machine layouts.
* Bumped version to 0.243 Vas Crabb2022-04-281-2/+2
|
* Bump version to 0.242mame0242 Vas Crabb2022-04-011-2/+2
|
* docs: Fixed a copy/paste typo in the Technical Specifications. (#9452) 0kmg2022-03-221-1/+1
|
* Fixed some debugger memory view annoyances and cleaned up Lua bindings. Vas Crabb2022-03-161-0/+12
| | | | | | | | | | | | Made the debugger memory view not depend on isprint which is affected by the global locale. Assume the OSD will display as ISO-8869-1 and replace problematic printable characters. Started changing Lua function bindings to use set_function to avoid potential issues related to ThePhD/sol2#608, and worked out what was causing problems with symbol table read_memory/write_memory. (They aren't really essential - you can do the same thing with the address space object itself, but they're easier to parameterise.)
* docs: Added page describing how MAME searches for media. Vas Crabb2022-03-104-11/+475
| | | | | | | Also made error messages for missing CHDs and missing files for software parts using the image file loader show search paths, and changed the (poorly named) bitbanger device to use the image file loader rather than the ROM loader for software items.
* New working machines hap2022-03-051-2/+2
| | | | | -------------------- TC7: Air Traffic Control [hap, Sean Riddle]
* emu/devcb.h: Cleaned up a little using C++17 type traits helpers. Vas Crabb2022-02-281-3/+3
| | | | | Also made Lua I/O port field sensitivity nil for digital fields and put in some more const.
* Lua engine: Make setting analog I/O port field values user-friendly. (#9322) feos2022-02-281-3/+10
| | | | | Exposed minimum/maximum values for analog fields. together with defvalue, they can be used to check range of values and neutral position. Previously you had to send a normalised value between -65535 and 65535 which would be scaled depending on machine specifics. You could read the scaled value from the port, but you couldn't send scaled values in. This allows scripts to set scaled values as seen by the machine.
* rendlay: remove led8seg_gts1 hap2022-02-261-8/+0
|
* remove vestiges of artwork dotmatrix element hap2022-02-261-15/+0
|
* Revert "rendlay: add optional alpha attribute to digit elements" hap2022-02-261-19/+25
| | | | This reverts commit d196d072ff54277a7c3ad0c5048f8fdc6b7e18c8.
* docs: Fixed a couple errors in the Technical Specifications. (#9340) 0kmg2022-02-262-2/+2
| | | These seemed like copy paste errors in their contexts.
* rendlay: add optional alpha attribute to digit elements hap2022-02-251-25/+19
|
* Bump version to 0.241mame0241 Vas Crabb2022-02-231-2/+2
|
* Cleanup: Vas Crabb2022-02-131-11/+11
| | | | | | * bus/nes/multigame.cpp: Got rid of a device type comparison. * Fixed a couple of errors in debugger documentation. * Reduced redundancy in more slot machine layouts.
* Addressed some Lua scripting pitfalls. (#9294) Vas Crabb2022-02-121-65/+72
| | | | | | | | | | | | | | | | | | | | | | | | | Addressed pure virtual function call crash on end of emulation session if you haven't explicitly removed all address space taps, memory corruption on end of emulation session if you haven't explicitly removed all address space change notifiers, and symbol being garbage-collected out from under you while you have parsed expressions or other symbol tables that depend on them. Removed the copy constructor for parsed expressions as the underlying C++ copy constructor appears to be broken, and simplified symbol table constructors. Also made symbol table add methods return the new entry to avoid the need for an extra lookup. Fixed breakpoint/watchpoint objects being inappropriately copied into the tables returned by bplist() and wplist(), allowing the enabled property to be modifiable for breakpoint and watchpoint objects in Lua. Fixed drivers and devices causing a new memory pass-through handler to be allocated on each soft reset, and fixed multiple instances of taps being installed in the event the machine is reset before the tap is removed. Added classes for managing broadcast subscriptions, and adapted address spaces to use this for change notifications.
* frontend: Exposed memory pass-through handlers (address space taps) to Lua. Vas Crabb2022-02-101-2/+108
|
* Clean up various loose ends: Vas Crabb2022-02-036-73/+312
| | | | | | | | | | | | | | | | | | | | | frontend: Exposed debug symbol tables and parsed expressions to Lua (these can be used when the debugger is not active). Also made it simpler to walk input types. imagedev/bitbngr.cpp: Added software list loader support (used by sitcom). sitcom.cpp: Replaced bankdev with a memory view. Also added a bar graph for the timer DAC output, and made the DL1414 displays squarer in the layout like they are in real life. They still don't look right because the internal segment drawing code doen't draw the segments the right width. docs: Fixed broken links and added missing links in command line options index. Also removed documentation for an option that no longer exists and fixed some inconsistent terminology. Separated includes by module in various drivers.
* Bumped dates to 2022, bumped docs version to 0.240, fixed some license files ↵ Vas Crabb2022-01-293-5/+5
| | | | that had somehow been screwed up, cleaned up some metadata.
* docs: List MSYS2 packages required to build PDF documentation on Windows now ↵ Vas Crabb2022-01-121-2/+11
| | | | that TeX Live is available.
* Fix build with newer versions of Emscripten; minimum supported version is ↵ Justin Kerk2021-12-231-2/+2
| | | | now 2.0.25.
* Refactor html docs build process to use new template and env variable Firehawke2021-12-042-0/+23
|
* Fun with flags: Allows handlers to have user-defined flags set on Olivier Galibert2021-11-281-21/+43
| | | | | | them, which can them be picked up on access with the {read,write}_*_flags variants of the accessors. Example use with the i960 and its burstable rom/ram.
* -frontend: Fixed crashes switching between favourites and other filters. Vas Crabb2021-11-231-3/+3
| | | | | | | * Also made the system and software selection menus a bit less eager to reselect the first item. -docs: Bumped documentation version to 0.238.
* emu/render.cpp, emu/rendlay.cpp: Added scroll support for all elements. Vas Crabb2021-11-183-19/+178
|
* input: Clarify docuemntation and a comment. Vas Crabb2021-11-061-7/+7
|
* -Enabled complex combinations for analog axes: Vas Crabb2021-11-061-28/+59
| | | | | | | | | | | | | | | | | | | | | | | | * Made it possible to add digital controls to axis settings as enables. * Mix multiple analog controls assigned to an axis setting. * Added a "reverse" modifier for analog controls (useful with mixing). * Fixed an issue assigning mouse axes using multiple mouse-like devices with -nomultimouse. -frontend: More cleanup: * Got rid of some abuse of "special main menus". * Added a helper class for auto-pause menus that don't spawn submenus. * Got rid of the fake menu that schedules an exit on the first frame. * Turned the confirm quit prompt into a menu, eliminated one more special-cased event loop. * Fixed the confirm quit prompt resuming if you return to emulation if you weren't paused to begin with. -bus/centronics: Fixed conflicting DIP locations, reversed order and inverted polarity for Epson printers. * Also added the LX-810 (without L suffix) DIP switches for reference - we don't have a device for this printer yet.
* plugins: Rewrote timer plugin fixing multiple issues. Vas Crabb2021-11-061-8/+8
| | | | | | | | | | | | | | | | | | | | Added emulated time recording as well as wall clock time. Fixed recording time for multiple software items per system. An incorrect constraint on the database table meant that time was only being recorded for a single software item per system. Detect the "empty" driver so the time spent at the selection menu isn't recorded (you'd get multiple entries for this due to the way options leak when returning to the system selection menu). Included schema migration code to update existing timer plugin databases. Also replaced some unnecessary floating point code with integer maths, added log messages, and made the plugin unload unload its database access code during emulation. Changed other plugins' use of paths with trailing slashes as this causes stat to fail on Windows.
* Two small fixes (bad menu flags in cheat plugin, copy/paste in docs). Vas Crabb2021-11-041-2/+3
|
* luareference.rst: Clarify contract of as_hz, as_khz and as_mhz AJR2021-11-031-3/+6
|
* -emu/ioport.cpp: Fixed some default setting handling issues. Vas Crabb2021-11-042-37/+140
| | | | | | | | | | | | | | | | | | | | | | * Issues were unlikely to actually manifest unless you use controller configuration files to change specific system input defaults. -src/emu/output.h: Added size accessor to multi-element output finder. * std::size will work on the top rank of an outut finder now. Sorry for hitting emu.h again so soon. -lua: Exposed a couple more input related things. * Exposed constructor and a few methods on input_seq required for scripts to properly clear assignments or restore default settings. * Exposed ioport_manager::set_type_seq which is required to configure general input assignments properly. * Removed unnecessary use of sol::overload in favour of optional parameters. * Updated documentation and also fixed a few errors. -docs: Added description for axis setting assignments.
* -emu/ioport.cpp: Made default behaviour better. Vas Crabb2021-11-035-11/+179
| | | | | | | | | | | | | | | * If an input is configured to some combination of controls that are not present at all, ignore the setting altogether for the session. * Fixed relative axes with PORT_RESET not responding to absolute controls (MT07685). * Fixed relative axes not responding to an absolute control if the value doesn’t change every frame (eg. holding a stick against the stop). * Changed the scaling for absolute controls assigned to relative axes to make defaults more sane (e.g. arkanoid or spdheat with a joystick). -frontend: Fixed some localisation issues in Analog Controls menu. -docs: Added documentation on assigning inputs.
* Fixed Windows build as well - default input overrides in OSD modules are ↵ Vas Crabb2021-11-021-3/+3
| | | | annoying.
* plugins: Moved the timecode recording functionality to a plugin. Vas Crabb2021-11-025-16/+104
|
* docs: Fix an error in the Lua reference that I copy/pasted without noticing. Vas Crabb2021-11-021-2/+2
|
* Fix various usability issues: Vas Crabb2021-11-022-31/+221
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | frontend: Made it so you can press UI On Screen Display to hide the Analog Controls menu and see the response to your inputs without the risk of changing settings, and see more axes at once and scroll them for systems with very large number of axes. Also ensure the axis being configured is visible when the menu is visible, and made the menu behave a bit more like the system input assignments menu (including previous/next group navigation). frontend: Allow Lua to draw to the UI container - this addresses the main complaint in #7475. Note that drawing to the UI container will draw over any UI elements, including menus. Plugins can check menu_active to avoid drawing over menus. Also removed some unnecessary use of sol::overload. frontend: Improved info/image box navigation on the system/softwre selection menus, and cleaned up some leftover code that came from the copy/pasted event handling functions. frontend: Fixed sliders menu not handling Alt+Shift as intended (thanks Coverity). Fixed a couple of harmless Coverity errors, too. emu/inpttype.ipp: Made the default assignment for Save State recognise right shift. plugins: Added next/previous group navigation to input macro edit menu. docs: Added basic description of the system and software selection menus, and corrected a couple of errors in the Lua reference.
* -frontend: Refactored menu event handling and fixed a number of issues. (#8777) Vas Crabb2021-10-316-28/+202
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Moved common code for drawing about box, info viewer, and other text box menus to a base class; removed the last of the info viewer logic and the multi-line item hack from the base menu class. * Added previous/next group navigation for general inputs and plugin input selection menus. * Moved message catalog logic to lib/util, allowing osd and emu to use localised messages. * Made the base menu class use the UI manager’s feature for holding session state rather than a static map and mutex. * Improved menu event handling model, and fixed many issues, particularly with menus behaving badly when hidden/shown. * Added better support for menus that don’t participate in the usual menu stack, like the menuless sliders and the save/load state menus. * Made a number of menus refresh state when being shown after being hidden (fixes MT08121 among other issues). * Fixed indication of mounted slot option in the slot option details menu. * Improved appearance of background menus when emulation isn't running - draw all menus in the stack, and darken the background menus to make the edges of the active menu clearer. * Fixed locale issues in -listxml. -debugger: Made GUI debuggers more uniform. * Added new memory view features to Win32 debugger. * Fixed spelling of hexadecimal in Cocoa debugger and added decimal address option. * Fixed duplicate keyboard shortcut in Cocoa debugger (Shift-Cmd-D was both new device window and 64-bit float format). * Made keyboard shortcuts slightly more consistent across debuggers. -plugins: Moved input selection menu and sequence polling code to a common library. Fixed the issue that prevented keyboard inputs being mapped with -steadykey on. -docs: Started adding some documentation for MAME's internal UI, and updated the list of example front-ends. -Regenerated message catalog sources. For translators, the new strings are mostly: * The names of the inputs provided by the OS-dependent layer for things like fullscreen and video features. These show up in the user interface inputs menu. * The names for automatically generated views. These show up in the video options menu - test with a system with a lot of screens to see more variants. * The input macro plugin UI. * A few format strings for analog input assignments. * A few strings for the about box header.
* Plugin updates: Vas Crabb2021-10-243-4/+244
| | | | | | | | | | | | | | | Changed the hiscore plugin to save inside the "hiscore" folder in the plugin data directory. The old hiscore path setting has already been removed from MAME for some time. This means the plugin was always saving in the "hi" folder in the working directory with no way to change it, which is problematic on Linux and macOS, particularly for distro packagers. There are lots of plugin and UI changes in this release, so we may as well get this out of the way now. Also made it possible to change the "timed save" option from the Plugin Options menu, and save that in the data folder, too. Documented the input macro plugin. The only undocumented plugins now are the cheat plugin, the cheat finder plugin, and the port name plugin.
* -docs: Started documenting plugins. Vas Crabb2021-10-2416-80/+443
| | | | | | | | | * Also added a couple of missing command-line options, and added a local table of contents to the (rather long) command line options page. -Added a separate CI target for localisation updates that produces an artefact, and removed the message catalogs from the trigger paths for the Linux CI build.
* docs: Still more cleanup on the FAQ page. Vas Crabb2021-10-221-14/+45
|
* docs: More adjustments. Vas Crabb2021-10-221-18/+51
|
* commonissues.rst: Fixed bad English. Robbbert2021-10-221-2/+2
|
* plugins/timer: Fixed ticking when menu is left on the screen. Vas Crabb2021-10-221-34/+60
|
* docs: Fix a copy/paste error. Vas Crabb2021-10-211-1/+1
|
* Tie up a few loose ends: Vas Crabb2021-10-201-2/+1
| | | | | | | | | | | debugger: Octal cheats for octal address spaces. frontend: Pass events for automatically generated menu items to the plugin - they will have index zero. frontend: Don't try calling the data plugin from the main menu if the system isn't starting yet - doing so will prevent the data plugin from loading at all.
* -docs: Documented debugger's built-in functions for expressions. Vas Crabb2021-10-193-4/+40
| | | | -Fixed a couple of coverity warnings.