| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
that TeX Live is available.
|
| |
|
|
|
|
|
|
| |
* Created an initial file system implementation for OS-9 under the CoCo
* Minor fixes to directory entry handling
* Changed to use fsblk_t::r[8|16|24|32]b()
- Changed the above functions to be const
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-mcd212: Assorted changes. [Ryan Holtz]
* Replaced verboselog with logmacro.
* Corrected end-of-line region control handling, fixing garbage in The Apprentice.
* Fixed screen bitmap handling to be more in line with MAME standards.
* Simplified region-control handling.
* Removed historical reliance on debug machine switches.
* Converted to use a map() function rather than an internal switch.
* Converted to use dipalette and rgb_t internally instead of separate CLUT arrays.
* Optimized by replacing rgb_t usage with uint32_t values.
* Optimized by calculating plane transparency on the fly.
* Templatized mix_lines to reduce inner-loop branching.
* Fixed a clamping issue with pre-calculated DYUV limits.
* Reduce effective color depth back to 6:6:6 to match hardware.
-cdrom: Allow recognizing CDI/2352 in cuesheets. [Ryan Holtz]
-cdic: Various audio-related changes. [Ryan Holtz]
* Attempt to descramble sectors that don't initially appear sensible.
* Added support for playing CDDA sectors.
* Fixed faulty logic in TOC processing.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
framework (currently read only) (#9080)
* Reimplemented support for the CoCo's RS-DOS filesystem on top of the "fsmgr" framework (currently read only)
* Added support for file_type and ascii_flag metadata, minor bug fix decoding file allocation table entries
* Creating a "CoCo Raw Disk" format and changing the CoCo RS-DOS filesystem to use it
* 1. Adding COCO_RAWDSK to all.cpp
2. Fixing sector order on CoCo raw disk
|
| |
|
|
| |
names there
|
| |
|
|
|
|
|
| |
- Eliminate dependencies on emu.h, replacing most fatalerror calls and floptool's ersatz emu_fatalerror class with standard exception classes
- Use range-based std::string constructors in some methods
- Move filesystem metadata handling to a separate source file
- Eliminate src/emu as an include path for libformats (necessitates kludge in ti99_dsk.cpp)
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
* Patched up a pile of code that was rotting behind UNUSED_FUNCTION, and
switched to [[maybe_unused]] attribute so it can't rot so easily.
* Reduced a bit more redundancy in fruit machine layouts.
|
| |
|
|
|
|
|
| |
Patched up positron.cpp input ports - you shouldn’t use PORT_NAME when
the key cap label is just the characters it produces anyway, and you’re
supposed to use the actual character a key produces for PORT_CHAR or
"natural" keyboard mode/paste will be unnatural.
|
| | |
|
| |
|
|
|
| |
Also changed the fix to ASIO itself to match the upstream change in
commit cd68912b7eb07f24e501e8cbff832b61ec292eea.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* frontend: Added support for message context to localisations.
* frontend: Added string_view versions of the message lookup functions.
* frontend: Added a few more folder options to the internal UI.
* emu/softlist.cpp: Use more appropriate containers.
* Switched to Python 3 by default - this will become a requirement.
* Updated msgfmt.py for message context support.
* frontend: Show all software item info in the internal UI.
* frontend: Search alternate titles in software selection menu.
* 3rdparty/utf8proc: Updated to v2.6.1 (has several fixes).
* frontend: Added software filters for common info fields.
* frontend: Allow UI manager to hold onto persistent session data.
* frontend: Cache software lists for eight machines.
* frontend: Added support for loading localised system names.
* frontend: Add UI for selecting localised system names.
|
| | |
|
| |
|
|
|
| |
* Browsing from a location inside an archive causes MAME to hang.
* Files inside archives are not listed.
|
| |
|
|
| |
bit more consistent, fixed another bug with root paths.
|
| |
|
|
|
|
|
|
| |
* Got more slot card classes out of headers.
* Changed most of the Apple II cards still looking up ROM regions
manually to use required_region_ptr.
* Removed an unreferenced function leftover from copy-pasting another
device from the Videx Uniprint device.
|
| |
|
|
|
| |
* Turned `core_file` into an implementation of `random_read_write`.
* Turned PNG errors into a standard error category.
* Added a helper for generating what look like derived classes on-the-fly.
|
| |
|
|
|
|
|
|
|
|
| |
Added comments with V.24 interchange circuit numbers and names to
rs232.h to make the meanings of the abbreviated signal names clearer.
Moved a few slot card classes out of headers and into anonymous
namespaces to reduce compile depedencies and exported symbols.
Transliterated a Korean NES game title.
|
| |
|
|
| |
-util/delegate.cpp: Detect clang x86-64 thunk for first vtable entry.
|
| |
|
|
| |
-util/delegate.cpp: Fixed typo in comment.
|
| | |
|
| |
|
|
|
|
|
| |
* Reduce repeated directory walking in cleansrc target (substantially
improves speed of building the target on Windows).
* Disable a validity check using an MSVC language extension when using
clang in MSVC ABI mode.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The Itanium delegate has questionable value on on MinGW i686 as it
injects a conditional branch in the hot path for delegates anyway to
deal with the different __thiscall convention. It's somehow breaking
and causing memory corruption in full builds, but I don't have the time
to work out exactly which delegate type is the problematic one,
especially not with a release coming soon.
This will probably cause 32-bit MinGW builds to become substantially
larger.
|
| |
|
|
|
|
| |
At some point I'll make a proper header ABI detection. There's too much
stuff to keep in the delegate sources, and it will be useful for other
stuff like recompilers.
|
| |
|
|
| |
-util/delegate.cpp: Added a couple of comments about assumptions.
|
| | |
|
| |
|
|
|
|
|
|
| |
The MSVC C++ ABI doesn't reserve the first vtable entry for classes
without a virtual destructor, so the instruction to load the virtual
member function address may not need an immediate displacement.
Also recognise virtual member function call thunks for AArch64.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
For Itanium ABI, two null member function pointers should compare equal
even if the undefined bits differ.
For MSVC ABI, there's all sorts of complexity around what happens when
you compare pointers to member functions for different inheritance
types.
You'll still occasionally get weird results comparing pointers to
members of different classes.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Resolve address space virtual member function addresses on constrcution
and call them directly. Provides a small but measurable improvement to
performance in drivers that use the recompiler and access the memory
system a lot.
Also made MSVC delegates capable of walking past all the thunks MSVC
puts in the way of actually calling a member function. I'm not
accounting for the "this" pointer being passed in RDX when the return
value is an oversize scalar. This is harmless because it won't see
anything that looks like a virtual call thunk using RCX when RCX points
to uninitialised space for the return value. It just means virtual
member function calls won't be bypassed if the return value is an
oversize scalar, but that doesn't happen frequently anyway.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Automatically use delegate_mfp_compatible to generate an adaptor for
member functions that return non-scalar, non-reference types
(partially addresses #8597).
* Enabled the MSVC delegate implemenation for MSVC on AArch64.
* Switched back to neater delegate types for layout item bounds and
colour.
-docs: Updated the example layout links to point to 0.235 - this means
there's now an example of embedded SVG.
|
| | |
|
| |
|
|
| |
function pointers across virtual inheritance relationships using MSVC with /vmg.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Optimised generation of late bind helper functions. The late bind
helper function doesn't depend on the delegate signature - only on the
late bind base class and function target class. Having it inside the
delegate base class means it needs to be instantiated for every
combination of late bind base class, function target class and delegate
signature. In a typical driver file, there is only one late bind base
class (delegate_late_bind), and there will be delegates with multiple
signatures bound to function members of the same class (e.g. read and
write handlers, possibly of different widths, bound to members of the
driver state class). By moving the late bind helper out of the delegate
base class, the number of required instantiations can be reduced. By
moving the body out of the enclosing class declaration, the compiler can
be encouraged to coalese instantiations across translation units. While
this won't give a further reduction in compile time, it should at least
reduce the output binary size by reducing duplication for devices that
frequently have handlers installed in memory maps.
Added an additional template parameter to delegates allowing the late
bind base class to be changed if desired.
Moved the MSVC implementation "this" pointer optimisation out-of-line
and added logging. Also cleaned up the Itanium "this" pointer
adjustment and code pointer resolution implementation to reduce
duplication and conditional compilation.
Made binding_type_exception give a more meaningful what() message than
"std::exception".
Added extensive validity tests for delegate functionality. Pointers to
member functions are tested, including multiple inheritance, virtual and
non-virtual member functions, and checking for generational loss across
copying/assigning delegates. This should properly exercise "this"
pointer adjustment for the Itanium and MSVC implementations, and vtable
lookup for the Itanium implementation. So-called late binding
functionality is tested, including exceptions on failure. Functoids are
tested, although given the encapsulation it's not possible to check that
an apator isn't generated when it shouldn't be.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fixed this pointer displacement being reapplied after delegates are
copied - caused issues with classes with multiple inheritance.
* Made null member function pointer test conformant with Itanium C++ ABI
specification.
* Corrected size of this pointer displacement - fixes issues on big
Endian targets.
* Fixed function addresses for virtual member functions on targets that
use function descriptors (e.g. PPC64).
* Applied shift to this pointer displacement for targets that use the
ARM variant of the Itanium ABI.
* Fixed this pointer displacement not being applied for virtual member
functions on targets using ARM variant of the Itanium ABI.
* Fixed this pointer displacement being incorrectly applied to vptr on
targets using ARM variant of the Itanium ABI.
* Made less code conditionally compiled to make it easier to catch
errors.
|
| |
|
|
| |
verifying a CHD's block size. [R. Belmont]
|
| | |
|