summaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
* Update voodoo code to leverage new save_registrar instead of its own ↵save_structs Aaron Giles2021-09-159-185/+132
| | | | temporary system.
* Enable flexible structure saving. Aaron Giles2021-09-154-34/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | This change introduces the ability to save arbitrary structures. To make a structure eligible for saving, it must implement a new method register_save(save_registrar &). Structs can then save their members directly via the provided save_registrar. Nested structs and arrays of structs are supported in this manner. Note that state registration is not done via a virtual method or mix-in interface because doing so would convert lightweight structures away from being POD, and lightweight structures are one of the most common situations where this system can be leveraged in MAME. As a first example, the attotime struct has been changed to support this mechanism for saving, allowing us to remove the special cases for attotimes currently in save_manager. (It would be tempting to do the same for bitmap_t, but bitmaps are defined in lib/util and can't take a dependency on save.h so those special cases will remain.) This is a prologue to full hierarchical save state support, which I am working on in another branch. The save_registrar class name and reg() signatures match current work on that branch, so any changes made to existing code to leverage struct saving in this way will port over cleanly.
* segam1audio.cpp: Fix overdriven sound (#8556) algestam2021-09-101-6/+6
|
* jvs13551.cpp: dumped Sega 838-13683-91 Rev.A JVS I/O [Darksoft] MetalliC2021-09-102-9/+11
|
* cking_master: use clock device for irq signal hap2021-09-102-12/+5
|
* clock: add setters for period, duty cycle, pulse width hap2021-09-104-28/+152
|
* fixed vs2019, broken by clang fix. smf-2021-09-091-3/+5
|
* Merge pull request #8550 from 0kmg/nes-kaiser-smb2-smb3 ajrhacker2021-09-083-66/+82
|\ | | | | bus/nes: Improved IRQ emulation for Kaiser KS202 and KS7032.
| * bus/nes: Improved IRQ emulation for Kaiser KS202 and KS7032. 0kmg2021-09-073-66/+82
| | | | | | | | | | - Corrected IRQ behavior based on more recent PCB observations. Fixes some flickering on World X-Y interlevel screens in SMB2J bootleg. - Corrected SMB3 bootleg's banking, also per PCB analysis.
* | Miscellaneous cleanup. Vas Crabb2021-09-0914-1183/+1048
| | | | | | | | | | | | | | | | | | | | | | | | cchasm.cpp: Combined source files, added I/O port finder, reduced audio levels to avoid hitting the limiter. redalert.cpp: Converted sound boards to devices and removed a couple of trampolines, making the driver state class considerably tidier. bus/amiga/keyboard, bus/sunkbd: Put a bunch of implementation classes in anonymous namespaces, getting implementation details out of headers and out of the global namespace.
* | Filesystem-related bug fixes AJR2021-09-082-14/+16
| | | | | | | | | | - Fix recently-introduced path-trashing bug in zippath_resolve - Prevent UI file select menu from crashing in error cases where no files can be found
* | qix: remove a popmessage hap2021-09-081-2/+4
| |
* | kinst: add preliminary screen raw params hap2021-09-081-38/+32
| |
* | a2sd: warning: 'unused' attribute directive ignored [-Wattributes] Robbbert2021-09-081-1/+1
|/
* bus/nes: Added support for a 4 in 1 multicart. (#8549) 0kmg2021-09-078-7/+120
| | | | | New working software list additions (nes.xml) ----------------------------------- 4 in 1 HQ [famiac]
* saturn.xml: corrected the name "Isto é Zico - Zico no Kangaeru Soccer ↵ ArcadeShadow2021-09-071-1/+1
| | | | (Jpn)" (#8539)
* bus/nes: Added support for A88S-1 board and related multicarts. (#8547) 0kmg2021-09-077-2/+205
| | | | | | | | | | | | New working software list additions (nes.xml) ----------------------------------- 1997 Super 7 in 1 (JY-201) [MLX] 1997 Super 6 in 1 (JY-202) [MLX] 1997 Super 7 in 1 (JY-203) [MLX] 1997 Super 7 in 1 (JY-204) [MLX] 1997 Super 7 in 1 (JY-205) [MLX] 1997 Super 7 in 1 (JY-206) [MLX] * C++ is not C, appease the compiler
* new WORKING machines (#8531) David Haywood2021-09-075-47/+70
| | | | | | | | | | ------ SpongeBob SquarePants Jellyfish Dodge (JAKKS Pacific TV Game) (Apr 5 2007) [Sean Riddle, David Haywood] new WORKING clones ------ Dora the Explorer - Doras Abenteuer-Globus (Germany) [Sean Riddle, TeamEurope] -namcos2.cpp : made Japanese Marvel Land the parent, the US prototype is an earlier incomplete build, it ends abruptly, lacks any end credits, and is missing many of the levels (plus various other incomplete elements, see https://tcrf.net/Marvel_Land_(Arcade) ) 'US' could also be 'World' but I haven't changed that.
* atarisy1.cpp: Fix overdriven sound (#8540) algestam2021-09-071-6/+6
|
* apple2: support for the AppleIISD card [R. Belmont, Florian Reitz] arbee2021-09-079-5/+697
|
* banprestoms.cpp: identified some dips Ivan Vangelista2021-09-071-34/+35
|
* flstory.cpp: corrected divider for rumba's main CPU, wrong source for copy-paste Ivan Vangelista2021-09-071-1/+1
|
* unkhorse, tamag1: add anonymous namespace hap2021-09-073-56/+62
|
* - airraid.cpp, hanaawas.cpp: used finders instead of tagmap lookups and ↵ Ivan Vangelista2021-09-077-304/+280
| | | | | | | | other minor cleanups - flstory.cpp: corrected main CPU clock for rumba, fixes sound regression [David Haywood] - sbmjb.cpp: lowered Oki volume
* kinst: do some driver cleanups hap2021-09-071-243/+112
|
* doxygen: Updated configuration to be based on up-to-date template, updated ↵ Vas Crabb2021-09-085-328/+897
| | | | bootstrapped theme so it doesn't 404 (still won't work due to lack of support for jQuery smartmenus).
* -Reworked device type definition macros a little and added more Doxygen. Vas Crabb2021-09-0793-202/+584
| | | | | | | | | | | | | | | * Reworked device type definition macros to eliminate one level of indirection when using device types by name. * Fixed a potential initialisation order issue that could affect device parent ROMs. * Eliminated the need for DEFINE_DEVICE_TYPE_NS - just use DEFINE_DEVICE_TYPE or DEFINE_DEVICE_TYPE_PRIVATE with fully-qualified names. * Changed device type aliases to static auto references in the headers. * Added Doxygen comments for system/device definition macros and system flags. -Added ROM parents for m68705u3 and a2diskiing.
* supstarf: added notes. Robbbert2021-09-071-3/+15
|
* saitek_osa/maestro: use parent_rom_device_type for analyst hap2021-09-075-21/+11
|
* spirit76,barni: updated copyright holders as requested. Robbbert2021-09-073-7/+3
|
* Update the RTD theme to the 1.0.0rc1 release. I noticed no issues building ↵ Aaron Giles2021-09-0775-3236/+1364
| | | | docs with this, and it includes sphinx 4 CSS fixes. (#8544)
* taito_f2.cpp: fixed MT08059 Ivan Vangelista2021-09-071-7/+9
|
* pipeline.cpp updates: Ivan Vangelista2021-09-071-83/+84
| | | | | - added missing input [David Haywood] - minor cleanups
* device.h: fix typos Patrick Mackinlay2021-09-071-2/+2
|
* mc68hc11: Add stubs for TCTL registers; document coding bug in asma2k AJR2021-09-062-0/+52
|
* alphasma.cpp: Use finder array for LCDCs; use memory_share_creator instead ↵ AJR2021-09-061-23/+15
| | | | of RAM device
* barni.cpp : wip Robbbert2021-09-072-48/+321
|
* i8244: use parent_rom_device_type for i8245 hap2021-09-061-5/+15
|
* minimaws: Better equality for devices. Vas Crabb2021-09-072-7/+7
|
* Allow devices to specify a parent for the purpose of searching for ROMs. Vas Crabb2021-09-0610-47/+216
|
* pipeline: Hook up sound communications and YM2203; fix sound PPI mapping AJR2021-09-061-13/+46
|
* kinst.cpp: Simulate Killer Instinct 2 Upgrade Kit CPLD. [pdaderko] Vas Crabb2021-09-061-74/+184
| | | | | | | | | | Original device was reverse-engineered with a logic analyzer and test ROMs. The CPLD behaves as a slave device, returning data when selected, based on previous writes. Clones promoted to working -------------------------- Killer Instinct 2 (Upgrade kit) [pdaderko]
* docs: Update css for sphinx_rtd_theme to latest version, which includes ↵ Aaron Giles2021-09-052-2/+4
| | | | selectors missing from old version.
* dooyong.cpp: Reduced volume for YM2151/M6295 sound, coalesced some machine ↵ Vas Crabb2021-09-061-47/+20
| | | | configuration.
* calchase.cpp: Don't try to use portr for half the bus width. Vas Crabb2021-09-061-5/+14
|
* amiga.cpp: Change machine configuration sequence so that the 68K CPU always ↵ AJR2021-09-051-51/+51
| | | | comes first. This works around an issue with the debugger trying to focus first on a keyboard MCU being held in reset.
* util/coretmpl.h: Fixed clang narrowing warning. Vas Crabb2021-09-061-1/+1
|
* tx0.cpp: Add preliminary software list for both systems [AJR] AJR2021-09-052-46/+114
| | | | | | New working software list additions ----------------------------------- tx0_ptp: Munching Squares, Punchy [Bitsavers, AJR]
* -ui: Made zoom controls a bit more intuitive. Vas Crabb2021-09-0665-957/+1071
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * The UI controls are described as zoom in/out, but they had the opposite effect on the palette and tile viewers. That has been changed to make them consistent with the tilemap viewer. * Made the default zoom key not act as a toggle. People are familiar with the function of Ctrl+0/=/- in web browsers, so making them behave similarly in MAME should make it more approachable. Also added the default zoom key to the relevant documentation page. * Implemented the default zoom key for the palette and tile viewers. * In the tilemap viewer, if the view is in default expand to fit mode, zoom in/out starting from the actual zoom ratio. Once again, this behaves more like the zoom controls in a web browser displaying an image so it should be more intuitive. * Made more messages from the tilemap viewer localisable. -util/zippath.cpp: Fixed MT08074. * There were multiple issues at play here. After #8443 was applied, is_root was simply never returning true on Windows, as OSD_WINDOWS isn't actually defined outside libosd and libocore. This caused phantom parent items to appear in disk roots on Windows, but it meant that the check in zippath_resolve would always fail so the trailing backslash would be trimmed. Fixing the macro test in is_root meant the trailing backslash from C:\ would no longer be trimmed, which caused the stat in zippath_resolve to fail. -bigbord2.cpp: Hooked up floppy DRQ that had somehow got lost. -Reduced tag map lookups in several drivers and devices. -util/coretmpl.h: Removed an overload of bitswap that can be avoided using if constexpr. -Added doxygen comments to some classes, and fixed several doxygen warnings. -util, osd: Test for _WIN32 rather than WIN32. * In C++17 mode, WIN32 is no longer a predefined macro, although various things in 3rdparty define it to maintain legacy support. We're better off moving forward anyway for when WIN32 disappears entirely. (WIN32 is not a reserved name, while _WIN32 is, starting with an underscore follwed by an uppercase letter.)
* Decoupled RPK logic from TI-99 cartridge code. (#7880) npwoods2021-09-065-408/+719
| | | Decoupled support for RPK (RomPacK cartridge images) from TI-99 code, enabling the logic to be leveraged by other drivers.