| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
| |
-docs: Reorganised listing of MSYS2 packages for building documentation.
|
| |
|
|
| |
Also updaed Lua version and documentation link.
|
| | |
|
| |
|
|
|
|
|
|
|
| |
* Bumped minimum clang version to 13 - clang 12 is just too buggy.
* Assume Qt 6 will be used, dropped Qt 5 support.
* Fixed finding Qt headers on Fedora and hopefully other distros.
* Always use static SDL2 on Windows.
* debugger/qt/debuggerview.cpp: Fixed build with Qt < 6.6.
* imgtool/modules/vzdos.cpp: Fixed build with Linux GCC 11.
|
| |
|
|
|
|
|
|
|
|
|
| |
docs: It's no longer possible to get a working Qt 5 setup with MSYS2,
and there's no 32-bit Qt 6 package. Updated docs to reflect this.
Use Qt 6 on Windows, use qmake to find moc.
Fixed linking on Windows with static SDL3.
input/input_dinput.cpp: Support SDL3.
|
| |
|
|
|
|
|
|
|
|
| |
* emu/device.cpp: Take std::string_view tag in constructor.
* emu/save.cpp: Cleaned up interface for reporting error messages.
* docs: Cleaned up stuff that's no longer relevant.
* machine/s3c44b0.cpp: Overhauled logging.
* osd/modules/lib/osdobj_common.cpp: Removed CoreAudio options that
no longer do anything.
* Cleaned up some more stuff to prepare for 64-bit offs_t.
|
| |
|
|
|
| |
* GCC 7 hasn't been relevant in years.
* Added details on using the LLVM archiver.
|
| |
|
|
|
|
|
| |
Also updated compiling documentation. Mentioned the possibility to use
the x86-64 clang/libc++/ucrt environment with MSYS2 on Windows. Removed
link to tools at mamedev.org - it's trivially easy to get an up-to-date
MSYS2 environment by following the instructions.
|
| |
|
|
|
|
|
|
|
|
|
| |
(#15182)
* Hackery to allow UTF-8 strings as well as plain strings:
- emu/ioport.h: Allow char8_t for names in field configuration helper.
- emu/device.h, emu/gamedrv.h: Allow char8_t for descriptions and manufacturers.
- util/language.h: Allow char8_t message input.
* util/strformat.h: Allow char8_t format and string arguments with char output.
* ui/videoopt.cpp: Deal with UTF-8 strings as a distinct type.
* osd/windows: Assume Windows 8 or later.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
* Implemented short word sign extension.
* Fixed DAG2 (PM) register display in debugger.
* Track AF dependencies when analysing instructions.
* Log analysed instructions when logging UML code.
* Removed misplaced break in cpu/sharc/sharcfe.cpp.
* cpu/uml.h: Let C functions take any pointer/reference parameter.
|
| | |
|
| |
|
|
| |
hooks for vector devices. (#14991)
|
| |
|
|
| |
recompiler ASTAT for saved states.
|
| |
|
|
| |
Also cleaned up sega/segaybd.cpp and skeleton/aws.cpp a bit.
|
| |
|
|
|
|
|
|
|
| |
* Implemented bit-accurate RECIPS and RSQRTS in recompiler (fast
approximation can be enabled by setting a macro).
* Fixed/optimised RECIPS flag calculation for interpreter.
* Fixed FIX for negative numbers when MODE1 TRUNC bit it set for
interpreter and recompiler (should round towards negative infinity).
* Don't regenerate static helpers on cache flush.
|
| |
|
|
|
|
|
|
| |
* uismall.bdf: Added nine extended Latin and IPA characters, added
CC0-1.0 license comment.
* ui/submenu.cpp: Made hide_romless text clearer.
* README.md, docs: Updated/removed dead links.
* Lots of ATTR_COLD and some code cleanup.
|
| |
|
|
|
|
|
| |
After Burner game title
* the Sega game is two separate spaced words, and with roman numeral for the sequel.
* "afterburner" referenced as the fighter jet thrust is a single word i.e. gloc input and sc4mtbb.lay.
|
| | |
|
| |
|
|
| |
collection(toggle)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fixed shift with variable count when count is positive (should shift
left, was shifting right).
* Use recently-introduced UML bit field extract instructions.
* Don't follow arithmetic with redundant compare to zero if only zero
flag is required.
* Let the back-end take care of fetching source from memory or immediate
for simple arithmetic.
* Assume the back-end knows how to generate conditional CALLH.
* Use BIT helper.
* Don't assume x86-like magic sequence breaking on self-XOR.
* Corrected a comment that didn't match the code.
-docs: Corrected syntax for generating UML conditional CALLH
instructions.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
broken.
* GNU libstdc++ only provides a useless stub locale implementation when
using anything other than the glibc standard C library. However, llvm
libc++ provides a locale implementation that works fine with UCRT.
-dynax/royalmah.cpp: Filled in Mahjong Raijinhai DIP switches from
available manual pages.
-docs: added note about MinGW clang/llvm issues with CodeView/PDB
symbols at high detail levels.
|
| |
|
|
|
|
|
|
| |
-emu/inputdev.cpp, emu/emuopts.cpp: Removed core off-screen reload hack
now that the same thing can be achieved more flexibly with plugins.
-ui/pluginopt.cpp: Changed the "previos menu" item text to make what it
does more obvious.
|
| |
|
|
|
|
| |
Also bumped documentation version to 0.285 as it describes new
functionality not in 0.284, and removed ARM7 from the list of DRC CPUs
since its incomplete recompiler functionality was removed.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
cpu/drccache.cpp: Added helpers for allocating structures/objects in the
cache.
cpu/drccache.cpp: Supply desired alignment when allocating cache memory
(not fully implemented).
cpu/drccache.cpp: Log some statistics on destruction.
emu/emuopts.cpp: Added -[no]drc_rwx option to allow forcing W^X mode
when writable executable pages are permitted.
cpu/mips, cpu/powerpc: Allow DRC cache size to be set externally at
configuration time, so systems can override the default.
cpu/dspp, cpu/e132xs, cpu/unsp: Don't allocate DRC resources if
recompiler is disabled.
|
| |
|
|
| |
playing lightgun games with other types of controls.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
method instead of property. (#14626)
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
(#14550)
Also adds another text alignment option to stretch the text to fill its bounds horizontally.
The current code calculating the aspect ratio for text involves looping, calculating the width of text for a variety of decreasing aspect ratios until the text's width is less than the available bounds. However, this string width calculation performs the same loop over the text each time, finally multiplying by the candidate aspect ratio. That text width calculation thus really only needs to be done once. Further, instead of trying different aspect ratios, the ratio can simply be calculated directly by dividing the width of the bounds by the string's width. This also calculates a more accurate aspect ratio, rather than always resulting in an aspect ratio of (0.95)^n.
For example, when trying to fit a 101-pixel wide text into a 100-pixel wide space, the current code would result in an aspect ratio of 0.95, making the text 96 pixels wide, leaving 4 pixels unused; the new code will instead calculate the aspect ratio as 100/101 == 0.9900990099... , making the text use the full 100 available pixels.
This in turn allows us to easily calculate the ratio also if we want to not just schrink but also stretch the text to fill the available space, so we add that as another text alignment option, number 3 (three).
This PR also demonstrates this in the VFX family of layouts, where on the default Full view, the text "MUSIC PRODUCTION SYNTHESIZER" ("DYNAMIC COMPONENT SYNTHESIZER" on the VFX), the logo-like text "ensoniq", and the keyboard-specific markers "VFX", "VFX-SD", "SD-1" and "3 2 V O I C E" can now be made to fill their available space horizontally as they should, making it all look that much more like the real thing.
|
| | |
|
| |
|
|
| |
of strdump
|
| |
|
|
|
|
| |
cpu/drcbex64.cpp: Also added LZCNT implementation using x86 LZCNT
instruction and optimised the BSR-based implementation.
cpu/e132xs: Use bit field extract instructions.
|
| |
|
|
|
|
|
|
| |
* You actually need to add copyright notices when adding stuff in
3rdparty.
* bus/bk: Fixed bad exposed class.
* Metadata fixes.
* Got rid of non-const function statics.
|
| |
|
|
|
|
|
|
|
|
|
| |
Revert "Implement game exclusion support for hiscore (#14375)"
This reverts commit 0eb42bd963b350e96064423c8ee2b6cacc34fdef.
This reverts commit 7eba3bd1b383d5500edc48d8e938020b9ba6853e.
There's too much wrong with this in terms of design and implementation.
It isn't releasable.
|
| |
|
| |
Updated plugin documentation to cover the new ability to exclude games from the hiscore support.
|
| |
|
|
|
| |
Also don't disable sibling/tail call optimisation when symbols are
enabled. This is hurting our release builds since they're built with
symbols.
|
| |
|
|
|
|
|
|
| |
magic numbers with constants.
-docs: Bumped version to 0.282 - some features not in 0.281 are documented.
-Cleaned up miscellaneous stuff.
|
| |
|
|
| |
adjustments from scripts.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
It is completely non-functional. The loading code is commented out,
and the saving code crashes, because it attempts to access 70 tracks
regardless of how many there actually are.
The code has been in this state ever since it's been added in 36ea482a,
so it seems unlikely that it'll improve. Moreover, its utility seems
questionable: I haven't been able to find a single floppy image with an .rti
extension (and there are none listed in the software list). OTOH, for every
game mentioned in the description, there are WOZ images that can be used
instead (except for The Toy Shop, which has DSK images).
|
| |
|
|
|
|
|
|
|
|
| |
* cpu/drcbex64.cpp: Optimised GETFLGS: LEA to avoid the need to
save/restore flags for more flag combinations, choose registers more
wisely to avoid unnecessary copies and reduce REX prefixes, use more
efficient strategy to save and restore flags.
* cpu/drcbearm64.cpp: Save an instruction when calculating carry flag
for shifts with immediate count.
* docs: Documented the last of the UML instructions.
|
| |
|
|
|
| |
`comm_localport` and `comm_remoteport` flags: 15122 -> 15112. (#14254)
See https://github.com/mamedev/mame/blob/master/src/emu/emuopts.cpp#L192 and following.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* cpu/drcbex64.cpp: Simplified and ptimised flag calculations for rotate
instructions.
* cpu/drcbex64.cpp, cpu/drcbex86.cpp: Mask flags when setting via
SETFLGS or RESTORE to avoid possible buffer overrun, slightly
optimised SETFLGS with an immediate operand.
* cpu/drcbex64.cpp, cpu/drcbex86.cpp: Optimised FCMP when only the
unordered flags is required.
* drcbearm64.cpp, drcbec.cpp: Fixed default floating point rounding mode
not applying after RESTORE.
* drcbearm64.cpp: Optimised generated code for SETFLGS a little.
* docs: Documented a few more UML instructions.
-sound/l7a1045_l6028_dsp_a.cpp: More plausible loop point calculation.
|
| |
|
|
|
|
|
|
|
|
|
| |
* cpu/uml.cpp: Marked BREAK as clobbering all flags, and marked LOAD,
LOADS, STORE, SET, FLOAD and FSTORE as not modifying flags. CPUs
already depend on SET not modifying flags.
* cpu/drcbex64.cpp, cpu/drcbex86.cpp: Clear the zero and carry flags for
unordered floating point comparisons for consistency with the
documentation and the other back-ends.
* cpu/drcbex64.cpp: Slightly optimised flag calculation for some shifts
and rotates.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* cpu/drcbearm64.cpp: Use bfxil to save an instruction for smae cases of
CARRY and ROLINS.
* cpu/drcbec.cpp: Fixed code for ROLC that played fast and loose with
integer promotion, producing incorrect results for some
compilers/targets.
* cpu/uml.cpp: Truncate immediate operands for CARRY.
* docs: Documented a few more UML instructions.
-igs/igs_m027xa.cpp: Got rid of some stuff carried over from
igs_m027.cpp that no games on this platform seem to use.
|