Commit Graph

369 Commits

Author SHA1 Message Date
Vas Crabb
b56cd5707f -machine/intelfsh.cpp: Added Macronix 29F008TC (1M*8, 4K*8 pages).
-bgfx: Removed obsolete sample layout files, updated documentation.

New NOT_WORKING software list items (gbcolor.xml)
-------------------------------------------------
Chāojí Gédòu 2001 Alpha (Taiwan) [taizou]
Gédòu Jiàn Shén - Soul Falchion (Taiwan) [taizou]
2022-09-06 07:05:25 +10:00
Vas Crabb
051c380fd1 Patched up some gaps in functionality and fixed some bugs.
ui: Added some missing functionality:
* Added an option to copy input device IDs to the relevant menus.
* Added an item for setting the software lists files path (-hashpath) to
  the folder setup menu.
* Allow pasting text from clipboard in most places that allow typing
  (searching, entering filenames, entering barcodes).
* Changed the software selection menu heading to be a bit less
  misleading.
* Made barcode menu less eager to rebuild itself unnecessarily, and
  removed some confusing and apparently pointless code.

Exposed more Lua bindings:
* Added low-level palette objects.
* Added indexed bitmap types.
* Added a bitmap method for extracting pixels from a rectangular area as a
  packed binary string.
* Changed screen device pixels method to return width and height in
  addition to the pixels.

osd: Added some functionality and cleaned up a little:
* Added a function for copying text to the clipboard.
* Moved function for converting Windows error codes to standard error
  conditions to winutil.cpp so it can be used from more places.
* Removed duplicate declaration of osd_get_clipboard_text and made the
  function noexcept (including fixing implementations).
* Made macOS implementation of osd_get_clipboard_text skip the encoding
  conversion if it finds UTF-8 text first.
* Changed the default -uimodekey setting so it doesn't lose the "not
  shift" that stops the default from interfering with UI paste.

Various bug fixes:
* util/unicode.cpp: Fixed the version of utf8_from_uchar that returns
  std::string blowing up on invalid codepoints.
* util/bitmap.h: Fixed wrapping constructors for indexed bitmaps taking
  the wrong parameter type (nothing was using them before).
* util/bitmap.cpp: Fixed potential use-after-free issues with bitmap
  palettes.
* emu/input.cpp, emu/inputdev.cpp: Log 1-based device numbers, matching
  what's shown in the internal UI and used in tokens in CFG files.
* emu/emumem.cpp: Added the bank tag to a fatal error message where it
  was missing.

docs: Reworked and expanded documentation on configuring stable
controller IDs.

For translators, the changes are quite minor:
* There's a menu item for copying a device ID to the clipboard, and
  associated success/failure messages.
* There's the menu item for setting the software list file search path.
* One of the lines in the software selection menu heading has changes as
  it could be interpreted as implying it showed a software list name.
2022-09-02 08:55:16 +10:00
Vas Crabb
35d2b1d33b MAME 0.247
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEE0DYtsBhE4EM627+6wXSxAYxAcQ4FAmMORaEACgkQwXSxAYxA
 cQ5iSBAAvtVuhvRmABdl++wXHGD5b9J9ShF4RwUJpz7u1pmYF5GovXcn+wTNm7HN
 XvIew4JE+5gyfxUWoSfwJIJEtiLYj7oVgXo92FjLEUZAcK7y7g6yoyfw1x4xDCxE
 O1QWpPjqfpNYUNzQIcB4i0h7/Bt0DSU34obcdX7Tf+1MdgzZF8+yrimMut1gUMXv
 6ErdSSLe7oF7ADmppgGPokbJt79KNyyH/I5DkANuQmQNOS7aDHxZGteqo1+lHs43
 /08YsMvkQI9+f0dC1UuaHebHHD1wx+upyrl7bzPjY9x0kR9lhjZQGweMHLCa9Oce
 ioBLgq+7LA6UBtBuL/vHHUJQmr7ZPJTicwg5gqe5nDuBZcAezX8YY4LTO6B5+SUB
 DseD7Lth/jzRs8A0IPnErtetW/TAIyGn9xQw/cjvOMCfbGptOqDNuhFu2Hmbu+7S
 WhQ999gOa0QJVWzqAJ70gpMjVsuIAFnt759VsCMxIIYa/M2zYsYhbCRjhGh8bHjn
 RaEc5/PGT/WZl/gfElUfSGCztbkjCjRY+QbKta/ChI0CIjtPp6KzIZPnWIIB5kp5
 N8tLhn9sfuft9tLJFGFIViwqfnEP7K2hEVpSBek7kY6qjK3cMhtuioVvCKByhRvv
 4rd6Vh2ZVxzITwlAXY24gcq/jbksz9UzfN2Q6Dv+Y39sXlNHa1c=
 =sCJx
 -----END PGP SIGNATURE-----

Merge tag 'mame0247' into mainline-master

MAME 0.247
2022-08-31 15:46:38 +10:00
Vas Crabb
fa2d36c634 Bump version to 0.247 2022-08-31 03:14:51 +10:00
AJR
d8d588262d Debugger changes
- Added exception points as a new class of "points" triggering on specific exception numbers, with a similar set of commands to breakpoints and registerpoints.
- Removed the per-instruction callback hook from device_debug. Only one driver was using this (rmnimbus.cpp), and what it was doing with it could be done more cleanly with exception points.
- Change the type of the action string parameter for "points"-creating methods and make some parameters optional for those.
- Change trace file logging to use a std::ostream instead of FILE * to take better advantage of strformat.
2022-08-28 13:31:50 -04:00
Sandro Ronco
c25246cd26 hyperscan: added quickload support. 2022-08-23 19:57:35 +02:00
Vas Crabb
74fa8ec158 -nintendo/gb.cpp: Use taps to handle the boot ROM overlay.
-Moved some stuff out of misc and skeleton:
* Moved Innovative Concepts machines to their own project.
* Moved various things out of skeleton to existing company projects.
2022-08-24 03:45:50 +10:00
Vas Crabb
53d32b27d1 Lua scripting enhancements:
Added minimal support for manipulating bitmaps and drawing them in
render containers.  Y'CbCr 4:2:2, RGB and ARGB are supported.  Argument
order doesn't always match the underlying classes to make the Lua
interface more consistent with render bounds and render containers.

Added bindings for device_palette_interface.

Fixed some errors in the documentation as well as documenting new
functionality.
2022-08-23 05:01:26 +10:00
Vas Crabb
1c4c29aff6 Tweaked MAME icon:
* Use flat gradient style rather than embossed edges.
* Made rightmost stroke of the M thicker.
* Use a dark border to emphasise the outline on light backgrounds.
* Use flat style without anti-aliasing up to 64*64.
* Manually tweaked small sizes to preserve sharp mitres.
2022-08-07 02:47:19 +10:00
algestam
62dcdca21c
docs: Update emscripten compile instructions to reflect recent source rearrangement (#10179) 2022-08-06 01:46:18 +00:00
Vas Crabb
7e37c1ff8c docs: Updated documentation on compiling MAME.
Updated instructions for building subsets of MAME using the SOURCES
option.

Added descriptions for several more "useful" settings.

Bumped documentation version as the build system changes are not in
0.245.
2022-07-24 13:17:17 +10:00
Vas Crabb
b80b4066bf osd/sdl: Removed keyboard/mouse/joystick device mapping options.
The keyboard and mouse device mapping options did nothing at all, mostly
because of lack of support for separating inputs from multiple devices.

The joystick options were useless when you have two of the same kind of
controller, and you can achieve the same thing with controller
configuration files.
2022-07-15 15:16:33 +10:00
Vas Crabb
4d835afaa0 docs: Fixed another missing word. [Robbbert] 2022-07-01 18:17:25 +10:00
Vas Crabb
8b33a4c56d docs: I accidentally a word on the internet (fixed missing word in Visual Studio compiling notes). 2022-07-01 18:10:15 +10:00
Vas Crabb
8d4bbaddd4 docs: Added notes about issues building MAME with Visual Studio 2022-07-01 17:55:49 +10:00
Vas Crabb
8c4a95d586 docs: Updated data plugin documentation. 2022-06-25 06:18:18 +10:00
Vas Crabb
74fe6e9d5c -Got rid of some legacy MESS support glue.
* Got rid of the special-casing for the "mess" subtarget name.
* Got rid of the MESS-specific Windows resources, emuator info source
  and man page.
* Added subtarget name to the internal name and original name in Windows
  resources.

-ui: Put the system-specific items on the input settings menu together,
 and fixed the crosshair visibility settings.
2022-06-13 16:53:23 +10:00
Vas Crabb
f47f9c3db3
ui, docs: Added menus to fill a couple of gaps, improved consistency. (#9915)
Added menus for controlling toggle inputs, and showing recognised input
devices and control state.  Moved input menu options off main menu to a
submenu, as there are a lot of them now.

Moved menu heading drawing into base class, added headings to more
menus, and made headings more consistent with the menu items used to
reach them.  Also made terminology more consistent.

Changed the default names for buttons and hat switches/D-pads to use
1-based numbering.  DirectInput still returns 0-based button numbers for
some devices.

Removed local copy of MinGW xaudio2.h as it’s now included in the MSYS2
package.  Also fixed building the DirectSound sound output module with
the SDL OSD on Windows - the Windows headers are sensitive to include
order.

Started adding documentation for menus, to hopefully help people find
menus they remember seeing but can't recall how to access.

For translators, this makes terminology more consistent.  In particular:
* "Settings" is preferred over "configuration" in a number of places, as
  the latter can be construed as referring specifically to settings
  stored in .cfg files in the cfg_directory folder.  Also, references to
  saving machine configuration could be interpreted as relating to the
  settings on the "Machine Configuration" menu.
* The controls on host input devices (e.g. keys, buttons, joystick axes)
  are referred to as "controls", while emulated inputs are referred to
  as "inputs".
* The menus for assigning host controls to emulated inputs are called
  "input assignments" menus to distinguish them from other input
  settings menus.
* Combinations of controls that can be assigned to emulated inputs are
  referred to as "combinations" rather than "sequences".
* The potentially confusing term "ROM set" has been removed altogether.
  Use "short name" to refer to a device or system's identifier.
* "System" is used in almost places to refer to a complete, runnable
  system rather than "Machine".
* "Driver" is now only used to refer to source files where systems or
  devices are defined - it is no longer used to refer to individual
  systems.
* A few more menus have message context for the messages.  This makes it
  a bit easier to guess where the messages are used.  It also means you
  can use different translations in different places if necessary (e.g.
  if the same English text should be translated differently as an item
  in one menu and as a heading in another).
2022-06-11 21:47:19 +10:00
AJR
55f72a2a83 docs/source/debugger/execution.rst: Document gbf, gbt and gni commands 2022-05-28 18:01:17 -04:00
Vas Crabb
bcf77373a5 Bump version to 0.244 2022-05-24 14:32:30 +10:00
Vas Crabb
ffab5b98fa
ui/viewgfx.cpp: Added ability to restrict tiles to integer scale factors. (#9783)
Also encapsulated things a bit more and made the UI manager hold onto the storage rather than keeping it in file statics.
2022-05-20 18:26:14 +10:00
tedgreen99
352a505325
Add debugger time command to docs (#9735) 2022-05-10 16:45:26 -04:00
Vas Crabb
6ff40e09bd Micscellaneous cleanup/fixes:
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.
2022-04-30 06:42:09 +10:00
Vas Crabb
99af2df00f Bumped version to 0.243 2022-04-28 11:47:26 +10:00
Vas Crabb
e8166b5274 Bump version to 0.242 2022-04-01 01:07:51 +11:00
0kmg
21f0d58597
docs: Fixed a copy/paste typo in the Technical Specifications. (#9452) 2022-03-22 18:31:18 +11:00
Vas Crabb
394e5f18b6 Fixed some debugger memory view annoyances and cleaned up Lua bindings.
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.)
2022-03-16 04:13:18 +11:00
Vas Crabb
422185fe55 docs: Added page describing how MAME searches for media.
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.
2022-03-10 02:55:40 +11:00
hap
590c0383fe New working machines
--------------------
TC7: Air Traffic Control [hap, Sean Riddle]
2022-03-05 20:20:57 +01:00
Vas Crabb
05f681d36f emu/devcb.h: Cleaned up a little using C++17 type traits helpers.
Also made Lua I/O port field sensitivity nil for digital fields and put
in some more const.
2022-02-28 07:10:42 +11:00
feos
300206e308
Lua engine: Make setting analog I/O port field values user-friendly. (#9322)
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.
2022-02-28 02:12:25 +11:00
hap
8b530b872d rendlay: remove led8seg_gts1 2022-02-26 18:40:59 +01:00
hap
90f14d0780 remove vestiges of artwork dotmatrix element 2022-02-26 12:08:45 +01:00
hap
289f9461f4 Revert "rendlay: add optional alpha attribute to digit elements"
This reverts commit d196d072ff.
2022-02-26 12:05:21 +01:00
0kmg
cc7a94ac2d
docs: Fixed a couple errors in the Technical Specifications. (#9340)
These seemed like copy paste errors in their contexts.
2022-02-26 18:56:24 +11:00
hap
d196d072ff rendlay: add optional alpha attribute to digit elements 2022-02-25 19:29:32 +01:00
Vas Crabb
31f001e501 Bump version to 0.241 2022-02-23 01:55:13 +11:00
Vas Crabb
4684eaa4d6 Cleanup:
* 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.
2022-02-13 07:18:36 +11:00
Vas Crabb
a185091855
Addressed some Lua scripting pitfalls. (#9294)
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.
2022-02-12 04:10:39 +11:00
Vas Crabb
e1a6a41234 frontend: Exposed memory pass-through handlers (address space taps) to Lua. 2022-02-10 02:06:42 +11:00
dch42
d9ab2fc0aa
chdman.1: Fixed typo. (#9255) 2022-02-07 00:47:30 +11:00
Vas Crabb
cb16512392 Clean up various loose ends:
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.
2022-02-03 09:00:23 +11:00
Vas Crabb
149e9b0cac Bumped dates to 2022, bumped docs version to 0.240, fixed some license files that had somehow been screwed up, cleaned up some metadata. 2022-01-29 00:45:52 +11:00
Vas Crabb
3184beda90 docs: List MSYS2 packages required to build PDF documentation on Windows now that TeX Live is available. 2022-01-12 05:33:59 +11:00
Justin Kerk
3fd7f8ac57 Fix build with newer versions of Emscripten; minimum supported version is now 2.0.25. 2021-12-23 02:13:53 +00:00
Firehawke
48c2620e3e
Refactor html docs build process to use new template and env variable 2021-12-04 15:31:12 -07:00
Olivier Galibert
8027428e4d Fun with flags: Allows handlers to have user-defined flags set on
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.
2021-11-28 17:51:46 +01:00
Firehawke
17b9b96af3
docs: Implemented download links in docs theme. (#8887)
Modified the RTD theme to add PDF and EPUB download links in the left pane.
2021-11-28 00:19:14 +11:00
Vas Crabb
5668590fcb -frontend: Fixed crashes switching between favourites and other filters.
* Also made the system and software selection menus a bit less eager to
  reselect the first item.

-docs: Bumped documentation version to 0.238.
2021-11-23 11:19:29 +11:00
Vas Crabb
5afce6cfab emu/render.cpp, emu/rendlay.cpp: Added scroll support for all elements. 2021-11-18 10:34:38 +11:00