summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu
Commit message (Collapse)AuthorAgeFilesLines
* emu/render.cpp: Apply target orientation when mapping points to layout elements. Vas Crabb2020-09-123-124/+267
| | | | | | | | | Addresses MT07375. Also increase efficiency when layouts contain large numbers of non-interactive elements (e.g. thousands of matrix display dots). Also includes work in progress for future improvements.
* Remove last remaining uses of <background> elements in layouts, and print ↵ Vas Crabb2020-09-101-5/+15
| | | | warning messages on encountering deprecated elements.
* Migrate layouts in src/emu as well Vas Crabb2020-09-096-94/+87
|
* Updated most of the layouts using <bezel> elements Vas Crabb2020-09-091-4/+15
|
* -emu/rendlay.cpp: Fixed uninitialised variable breaking sdtor. Vas Crabb2020-09-091-9/+29
| | | | | | | | | | Also added some optional verbose logging for debugging group bounds calculation. -Updated another batch of layouts. Some chess layouts have had elements reordered in the XML to maintain stacking order when drawing.
* -Fix layout regressions in spacezap/ebases and ccompan. Vas Crabb2020-09-092-6/+7
| | | | | | -emu/rendlay.cpp: Actually add the group bounds calculation fix. -Update a few more layouts.
* New machines marked as NOT_WORKING Dirk Best2020-09-071-0/+1
| | | | | ---------------------------------- Informer 207/100 [Bitsavers]
* -Fixed issue that automatically generated unnecessary internal views. Vas Crabb2020-09-071-2/+13
| | | | | | | -Updated a few more internal layouts, mostly bezel-only ones. * brkball wasn't using the DMD dots at all (it has a screen). * The Aristocrat layouts could use collections to allow buttons and tower lamps to be enabled/disabled independently.
* Finished adding new mechanism for allowing parts of views to be hidden. Vas Crabb2020-09-073-37/+32
| | | | | | | | | | | | | | | | | | | | | | Changed name of element to "collection" and initial visibility attribute to "visible", and added them to documentation. Also added them to complay.py. Fixed issue with collection inside group, and improved initial view selection behaviour. Updated some internal layouts to demonstrate new features, including et3400, irrmaze, ltcasino, mekd3/mekd4, seawolf and vgmplay. Removed all uses of cpanel, marquee and overlay from internal layouts and removed them from complay.py to actively discourage use. Also cleaned up view names in layouts that were using them in place of spaces, and removed some superfluous name attributes on elements that won't do anything useful with an output value anyway. Made vgmplay cycle visualiser modes when visualiser screen is clicked. Fixed a copy/paste error in bus/rs232/hlemouse.cpp while I'm at it.
* render.cpp: May need to recompute selected view when loading visibility ↵ Vas Crabb2020-09-061-0/+3
| | | | toggle configuration.
* -util/xmlfile: Escape attribute and element content. Vas Crabb2020-09-065-249/+503
| | | | | | | | | | | | | | | | | | | | The previous behaviour was unintuitive - parsing an XML file and writing it out immediately would produce invalid XML if the file contained any characters that needed escaping. It makes far more sense to escape on writing rather than expecting the user to escape input. -Add preliminary support for visibility toggles to artwork system. This allows the user to show/hide related elements in a view, with nesting. The view can specify whether elements are shown or hidden by default. Settings are saved per host window/screen per view. There is no way to set the initial visibility state on the command line. Legacy "Space Invaders cabinet model" layers are mapped onto visibility toggles. This is not stable yet. In particular, the XML element/attribute names have not been finalised. The new features have not been added to complay.py to prevent them from being used before they're finalised.
* express.cpp: Replace simple_list with std::list in parsing AJR2020-09-032-56/+87
| | | | * Report too few or too many function parameters in debug expressions as expression errors instead of exiting MAME with a fatal error
* Don't ignore config elements with attributes but no child nodes. Vas Crabb2020-09-021-1/+1
|
* inputdev.cpp: Fix oversight AJR2020-08-311-1/+1
|
* device_state_interface overhaul AJR2020-08-314-171/+199
| | | | | | | | | | | - device_state_entry::value and device_state_entry::set_value now do everything except the register lookup, allowing them to be made public. The debugger expression engine now uses these. - device_state_entry::dvalue and device_state_entry::set_dvalue have also been made public, theoretically permitting outside code layers to inspect and modify floating-point registers. - The double specialization of device_pseudo_state_register (now renamed device_functional_state_register) has been added to the core. - state_add now has an additional specialization that takes both a reference and a write function, using the former for reads only. - state_max_length has been eliminated in favor of obtaining the relevant info through device_state_entry::max_length. - The debugger state view no longer adds "flags" as "???" if none have been registered. - set_state_string has been removed. It was never properly implemented, and it is difficult to see how it could have been done in a useful and consistent way. - state_find_entry and its typical callers state_int and set_state_int have been inlined for some hopeful efficiency gains.
* Remove memarray.h from emu.h AJR2020-08-305-5/+3
|
* ioport: Transfer crosshair polling loop to render_crosshair AJR2020-08-304-61/+60
|
* Move axis movement checking code down into input devices AJR2020-08-304-54/+98
|
* devfind.cpp: move explicit template instantiations below all member bodies ↵ Vas Crabb2020-08-281-81/+82
| | | | to make clang behave
* xtal: Add 9.732 MHz (used by CTA Invader) Dirk Best2020-08-281-0/+1
|
* validity.cpp, devfind.cpp: Catch missing required I/O ports in systems ↵ Vas Crabb2020-08-287-129/+197
| | | | (excluding slot cards)
* validity.cpp: Limit characters allowed in I/O port tags, and check ROMs and ↵ Vas Crabb2020-08-272-29/+44
| | | | I/O ports for devices individually.
* Get rid of a bunch of _Names - any name starting with an underscore followed ↵ Vas Crabb2020-08-251-6/+6
| | | | by an uppercase letter is reserved
* diserial: Use logmacro for optional logging and make the messages more useful AJR2020-08-231-7/+19
|
* srcclean for 0.224 Vas Crabb2020-08-232-5/+4
|
* odyssey2: different video xtal for jopac hap2020-08-221-0/+1
|
* emu/video: check macros are defined before doing comparisons, also fix a ↵ Vas Crabb2020-08-213-6/+5
| | | | typo in docs
* Clean up the preprocessor glue for selecting RGB utility implementation a little Vas Crabb2020-08-214-5/+12
|
* TMS340X0 updates AJR2020-08-1916-0/+195
| | | | | | | - tms34020: Upgrade data bus to 32 bits and add preliminary masking for 16-bit operations - tms34010, tms34020: Eliminate pure 8-bit read/write bus accesses (these are always read-modify-write, even if aligned) - btoads, midxunit: Use 8-bit handlers for NVRAM, reducing size to 8192 bytes - midwunit, midxunit: Eliminate dependencies on midtunit driver
* screen: fix possible issue if update_now and update_partial are both called ↵ hap2020-08-191-0/+8
| | | | from driver
* Clean up command-line -h output, tidy up emulator_info class a little, add ↵ Vas Crabb2020-08-141-10/+10
| | | | trim trailing whitespace to .editorconfig
* Revert "Add an overload to input_to_stream_input in disound.cpp, fixes the ↵ Lord-Nightmare2020-08-132-30/+1
| | | | | | input_gain and set_input_gain functions being unusable on device_mixer_interface type. [Lord Nightmare]" This reverts commit 03f3e1ff42f4171d7ef8f484b5b4843183e95a17.
* Add an overload to input_to_stream_input in disound.cpp, fixes the ↵ Lord-Nightmare2020-08-122-1/+30
| | | | input_gain and set_input_gain functions being unusable on device_mixer_interface type. [Lord Nightmare]
* i8244: fix problem with zoomed sprites, update sound/video at tighter intervals hap2020-08-121-2/+2
|
* odyssey2: add preliminary Videopac+ C7420 Home Computer Module emulation hap2020-08-121-0/+1
|
* mcs48: fix possible missed timer overflow if burn_cycles is larger than 2 hap2020-08-111-2/+4
|
* screen/update_now(): fix overwriting last pixel of previous update, fix ↵ hap2020-08-083-24/+33
| | | | rendering whole scanline when update was called inside hblank
* Document rowsize parameter for dump command in debugger help AJR2020-08-081-4/+4
|
* screen: add getter for pixeltime hap2020-08-071-0/+1
|
* Merge tag 'mame0223' into mainline-master Vas Crabb2020-08-061-25/+23
|\ | | | | | | MAME 0.223
| * -debug/debugcmd.cpp: Don't leak an open FILE when an argument is invalid and ↵ Vas Crabb2020-08-061-25/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | also fixed a spelling error. * The saver/loadr commands should consider region endianness for portability. -cpu/gigatron: Capitalisation of hex values was inconsistent, change it to lowercase as that tends to be the MAME standard. -machine/exorterm.cpp: Fixed inputs magically changing on reset when they shouldn't (there are still others that should be fixed). -mpu4vid.cpp: Corrected some errors in game descriptions. -Fixed a couple of editing errors.
* | odyssey2: make Videopac C52 a clone set(different XTAL), make g7400 a parent set hap2020-08-021-0/+2
| |
* | Add 'fill' command to debugger. Syntax and operation are similar to 'find' ↵ AJR2020-08-013-0/+130
| | | | | | | | command.
* | addrmap: remove unsupported setter, emumem enforces unmapval 0 or ~0 hap2020-08-011-1/+0
| |
* | New NOT_WORKING software list additions hap2020-08-011-0/+1
| | | | | | | | | | --------------------------------------- odyssey2: Home Computer Module (Euro) [unknown]
* | New machines marked as NOT_WORKING AJR2020-07-311-2/+4
| | | | | | | | | | ---------------------------------- CIT-101e Video Terminal [Bitsavers]
* | ssystem3: added the new lcd screen to internal artwork hap2020-07-301-2/+2
| |
* | New machines marked as NOT_WORKING AJR2020-07-281-0/+1
| | | | | | | | | | ---------------------------------- CIT-101XL Video Display Terminal [Bitsavers, Al Kossow]
* | speaker.cpp: Add new option -speaker_report <n> to help devs tune volume (#6995) Aaron Giles2020-07-274-39/+68
|/ | | * Add new option speaker_report to report clipping and other statistics after each session. This replaces the previous compile-time define and offers more detail.
* srcclean for 0.223 Vas Crabb2020-07-261-1/+1
|