Commit graph

80476 commits

Author SHA1 Message Date
David Haywood
5d7a51946b
Various volume level adjustements to avoid hitting limiter. (#8553)
* Adjusted levels in mustache.cpp, metlfrzr.cpp, xyonix.cpp, labybug.cpp, pgm.cpp, terracre.cpp, boogwing.cpp, astrocde.cpp, and gottlieb.cpp.
* Re-balanced some Votrax stuff, attempting to keep the chip output between +/-1.0.
2021-09-24 03:51:23 +10:00
ClawGrip
56d36080b4
mpu4.cpp: Added three Vifico Escalera Tobogan sets. (#8607)
New NOT_WORKING machines
----------------------------
Escalera Tobogan (MPU4, set 1) [jordigahan, ClawGrip]

New NOT_WORKING clones
----------------------------
Escalera Tobogan (MPU4, set 2) [jordigahan, ClawGrip]
Escalera Tobogan (MPU4, set 3) [jordigahan, ClawGrip]
2021-09-24 03:08:01 +10:00
Vas Crabb
7a6e383cb9 minimaws: Added disclosure triangle controls to many sections. 2021-09-23 23:59:19 +10:00
Ivan Vangelista
fbc858eee2 konmedal68k.cpp: made pwrchanc show the title screen 2021-09-23 09:09:47 +02:00
Vas Crabb
d35ff4bca6 -minimaws: Made table sort widgets (and the code behind them) less ugly.
-util/delegate.cpp: Added a couple of comments about assumptions.
2021-09-23 17:03:20 +10:00
Ivan Vangelista
5c447ee722 konmedal68k.cpp: adjusted some dips definitions 2021-09-23 07:49:46 +02:00
Ivan Vangelista
fd1bba9a58 - konmedal68k.cpp: tentatively identified the unkkonmd set [Wayder]
- model2.cpp: minor documentation update [Brian Troha]

- arcade.lua: fixed arcade build compiling [Brian Troha]
2021-09-23 06:32:55 +02:00
ClawGrip
5bc9a4e7d7
4enraya.cpp: Add PCB ASCII layout for 'tourpgum' (#8610) 2021-09-22 17:38:24 -04:00
AJR
3d5033cc53 Make debugger 'out' command step over return delay slots on SH architectures 2021-09-22 17:33:27 -04:00
Olivier Galibert
401dccf05e supernova: fix oob access on transcient incorrect sprites, use masking instead of %, silence watchdog access 2021-09-22 20:19:38 +02:00
AJR
f6d04b9e87 pss680: Bank some of the ROM space 2021-09-22 13:59:42 -04:00
Olivier Galibert
cc66d8797b view: take into account the pre-offsetting when expanding handlers 2021-09-22 07:50:28 +02:00
David Haywood
c83fb1b2fa
new WORKING machine (#8558)
New WORKING machine
------
Paradise / Gum (France) [Benjamin Roux, David Haywood]
2021-09-21 22:27:47 -04:00
David Haywood
47e5d8c5c6
Dumped the 68705P3 MCUs on 2 different types of sp.ACE fruit machine reel driver PCBs [TTX] (#8593) 2021-09-21 22:26:09 -04:00
Fabio DL
1d819e186a
added tzx to the sc-3000 formats (#8592) 2021-09-21 22:23:08 -04:00
Vas Crabb
45d893eaa5 util/delegate.cpp: Recognise a couple more MSVC thunks.
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.
2021-09-22 09:42:10 +10:00
Vas Crabb
2bfa21eb2a util/delegate.h: Make comparison operators more technically correct.
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.
2021-09-22 05:58:42 +10:00
Vas Crabb
86c005377d cpu/drcbex64.cpp: Proof-of-concept for optimisation of calling out.
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.
2021-09-22 05:05:19 +10:00
Dirk Best
a0289bfd4c wndrplnt: Decapped and dumped MCU [Alex, Brian A. Troha, TeamEurope]
- Also remove simulation, clean ups
2021-09-21 19:52:25 +02:00
Ivan Vangelista
6c7cd1f5c6 plsonic4.cpp: added inputs, dips as per test mode 2021-09-21 17:38:58 +02:00
0kmg
3408a5c4e2
bus/nes: Added support for Donkey Kong 8 in 1. (#8603)
- Also, corrected previous related PCB name.
- Separately, set correct board type for Grandia games.

New working software list additions (nes.xml)
-----------------------------------
Donkey Kong 8 in 1 (JY-041) [anonymous]
2021-09-21 07:52:46 -04:00
0kmg
a48be35e14
snes.xml: Added Raiden prototypes. (#8604)
New working software list additions
-----------------------------------
Raiden Densetsu (Jpn, prototype) [Gaming Alexandria]
Raiden Trad (USA, prototype) [Revenant]
2021-09-21 07:52:07 -04:00
algestam
347fd3266f
hh_sm510: Add cheats for gnw_flagman, gnw_judge and gnw_lion (#8601) 2021-09-21 12:40:32 +02:00
r09
203ed3827b
fmtowns_cd.xml: 16 new dumps, 7 replacements, add missing floppies (#8594)
fm_towns_cd.xml:
- Added the missing floppy disk to amarant3 [akira_2020]
- Added the missing floppy disk to hypnote [cyo.the.vile]
- Added the Planet's Edge bonus audio CD [redump.org]
- Removed the floppy part_id from uwaki, as it's not part of the floppy label

New working software list additions
-----------------------------------
CRI Postman [redump.org]
Dynamic English 3 - Upper Basic [redump.org, cyo.the.vile]
FM Towns Shougaku Ongaku (5-6-nensei-you) [redump.org, cyo.the.vile]
Hyper Aquarium - Kaisui-hen [redump.org]
Hyper Aquarium - Tansui-hen [redump.org]
Hyper Eigo Gakushuu System - New Crown Series 1 [redump.org]
Igo Doujou Yaburi - Menkyo Kaiden!! Mezase 7-kyuu [redump.org]
J.League 1994 Professional Soccer [redump.org]
Master CD - Fresh Series-you [redump.org]
Meikyoku Master (FM Towns Marty version) [redump.org]
Nihon no Rekishi - Sengoku-hen - Oda Nobunaga [redump.org]
Nihongo Nyuumon Dai-1-kan - Fundamental Japanese [redump.org]
Steepia [redump.org]
Touch the Music by Casiopea [redump.org, cyo.the.vile]
TownsPAINT V1.1 L21 [redump.org]

New not working software list additions
---------------------------------------
Dynamic English 2 - Basic [redump.org]

Replaced software list items
----------------------------
Highlight CD 20 [redump.org]
Okiraku TownsGEAR [redump.org]
Oshare Cooking [redump.org]
Sangokushi II [redump.org]
SimCity (HMB-121A) [redump.org]
Uwaki na Anata - Switch o Irete [redump.org]
Zak McKracken and The Alien Mindbenders [redump.org]

Software list items promoted to working
---------------------------------------
Hyper Note [cyo.the.vile]
2021-09-20 20:53:38 -04:00
r09
7fc2c465be
fmtowns_flop_*.xml: 7 new dumps, misc list cleanups (#8588)
- fmtowns_flop_*:  renamed the Houma Hunter Lime entries to be more accurate to the disk labels
- fmtowns_flop_misc.xml: marked dpssg2, dpssg3, hhunt01, hhunt02, hhunt03 and superdps as alternate versions of the ones in the original list
- fmtowns_flop_misc.xml: removed duplicate entries that have been moved to the original list (drstop, rance, rance2) and were left here by mistake in the last update

New working software list additions (fmtowns_flop_orig.xml)
-----------------------------------------------------------
Houma Hunter Lime Dai-1-wa [cyo.the.vile]
Houma Hunter Lime Dai-2-wa [cyo.the.vile]
Houma Hunter Lime Dai-3-wa [cyo.the.vile]
Kitty World 2 [cyo.the.vile]
Metal Eye Special Disk [r09]
Sadistic Gamers Part-3 - Telephone Play [cyo.the.vile]
Sadistic Gamers Part-5 - Burusera Play [cyo.the.vile]
2021-09-20 20:52:04 -04:00
ArcadeShadow
fe6758f41e
Update spectrum_cass.xml (#8587)
New working software list additions
------------------------------------
Action Force (Dro Soft) [spectrumcomputing.co.uk]
Blam! [Planeta Sinclair]
Combat School (Erbe) [spectrumcomputing.co.uk]
Cross [spectrumcomputing.co.uk]
Esquimó [Planeta Sinclair]
Golden Pack 100 [Planeta Sinclair]
Insomnia [spectrumcomputing.co.uk]
Mr. Weems and the She Vampires (Zafi Chip) [spectrumcomputing.co.uk]
O Globo da Luz [Planeta Sinclair]
Pesquisa Submarina [Planeta Sinclair]
The Raven + Polearn [Planeta Sinclair]
Silent Service (Erbe) [spectrumcomputing.co.uk]
Travessia [Planeta Sinclair]
Travessia (alt) [Planeta Sinclair]
Turbo Esprit (Durell) [spectrumcomputing.co.uk]
Vampiri [Planeta Sinclair]
WOSP - Whole Orbit Survey Plotter [Planeta Sinclair]

spectrum_cass.xml:  Redumped - Airwolf [worldofspectrum.org], Dragon Ninja (Erbe) [spectrumcomputing.co.uk], Operation Gunship [spectrumcomputing.co.uk], Perigos na Selva [Planeta Sinclair]
2021-09-20 20:50:17 -04:00
David 'Foxhack' Silva
e8c2b01065
Update cdi.xml (#8529)
New working software list additions
-----------------------------------
* Sinnaneun Susjanala 2 (KR) [Gaming Alexandria, Dave "Foxhack" Silva]
* Ulihamkke Bulleoyo - Jayeongwa Hamkke (KR) [Gaming Alexandria, Dave "Foxhack" Silva]
* Ulihamkke Bulleoyo - Chinguwa Hamkke (KR) [Gaming Alexandria, Dave "Foxhack" Silva]

New NON_WORKING software list additions
-----------------------------------
* Depression - The Search For The NaSSA (NL)[DVC] [Gaming Alexandria, Dave "Foxhack" Silva]
* Nijmegen 'n rijk aan mogelijkheden (NL)[DVC] [Gaming Alexandria, Dave "Foxhack" Silva]
2021-09-20 20:43:39 -04:00
MetalliC
ced08b9acd tiamc1.cpp little note change 2021-09-21 01:33:53 +03:00
MetalliC
a3047d9bad tiamc1.cpp: set games release years to 198?, they are actually unknown 2021-09-21 01:26:14 +03:00
MetalliC
759697e8c5 new NOT_WORKING machine
-----------------------
Mushiking The King Of Beetle (2K3 2ND Ver. 1.000-, Korea) [Jorge Valero, MetalliC, rtw]
2021-09-21 01:23:39 +03:00
987123879113
cf56fff9c2
New clone marked as WORKING (#8586)
--------------------------------
beatmania complete MIX (ver AA-C) [DeepSeaSqueeze]
2021-09-21 04:59:41 +10:00
0kmg
91b4d0267b
bus/nes: Added support for Star Versus. (#8598)
New working software list additions (nes.xml)
-----------------------------------
Star Versus [anonymous]
2021-09-21 04:34:57 +10:00
0kmg
cdf1780074
bus/nes: Added support for several Shenzhen Jncota RPGs. (#8500)
* Also corrected metadata for lots of items.

Software list items promoted to working (nes.xml)
---------------------------------------
Jīng Kē Xīnzhuàn (China, Shenzhen Jncota)
Shènghuǒ Lièzhuàn (China)
Xiákè Chuánqí (China)
Zhànguó Fēngyún (China)
2021-09-21 04:31:28 +10:00
0kmg
501c949c25
bus/nes: Several small separate fixes. (#8580)
* Fixed empty menu in Supervision 16 in 1.
* Fixed softlist loading of GB 63 in 1 and hooked it up with a compatible board type. Removed old partially-working code.
* Removed a spurious line in PCB loader that set WRAM in SMB2J bootlegs--they don't have any!

Software list items promoted to working (nes.xml)
---------------------------------------
Ghostbusters 63 in 1
Super 128k - 16 in 1
2021-09-21 04:21:31 +10:00
Vas Crabb
da1af2b0d6 -delegates: Fixed structure return with MSVC C++ ABI.
* 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.
2021-09-21 01:02:11 +10:00
Robbbert
362d859dc1 arcade.flt: added konmedal020.cpp 2021-09-20 23:44:59 +10:00
Ivan Vangelista
d2ea56516b New clones marked as NOT_WORKING
--------------------------------
Faeton (6 digits) [Jordi, Orlando, PinMAME]
Hardbody (rev. D) [PinMAME]
Hook (UK 4.06, display A4.01) [PinMAME]
MotorDome (rev. B) [PinMAME]
2021-09-20 09:08:51 +02:00
Ivan Vangelista
5d8d5bf5e2 namcos1.cpp: corrected the program ROM label for Tank Force (US, 2 Players) [Action Jackson] 2021-09-20 08:09:24 +02:00
Ivan Vangelista
cd43ead03c New clones marked as NOT_WORKING
--------------------------------
Peacock Flutter (01J00011, NSW/ACT) [Dam0, Heihachi_73]
2021-09-20 08:07:04 +02:00
arbee
ef41d5f454 Fix build script typo [R. Belmont] 2021-09-19 20:09:18 -04:00
arbee
e89bd996d2 Fix compile on GCC x64 Linux [R. Belmont] 2021-09-19 19:59:10 -04:00
arbee
463fb129c4 New games added as MACHINE_NOT_WORKING
--------------------------------------
Unknown medal game GS471 [Phil Bennett, R. Belmont]
2021-09-19 19:47:14 -04:00
Vas Crabb
e135ac348d util/delegate.cpp: Fixed calculation of this pointer when casting member function pointers across virtual inheritance relationships using MSVC with /vmg. 2021-09-20 05:29:43 +10:00
Vas Crabb
401b22bbf5 util/delegate.h: Try to catch issues earlier, and some cleanup.
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.
2021-09-20 03:03:26 +10:00
Dirk Best
566a741f4f
sharrier: Hook up MCU, remove simulation (#8552)
- The MCU for the sharrier1 set is handcrafted and marked BAD_DUMP
- There is a slight issue with the initial synchronisation, so there is a hack to ignore the problematic write
2021-09-19 17:45:33 +02:00
ClawGrip
4e972dc95b
merits.cpp: Correctly identified set as "Pub Time Darts II" (#8595) 2021-09-19 17:36:33 +02:00
ajrhacker
0147443cf8
Merge pull request #8596 from ArcadeShadow/samcoupe_flop_202109
samcoupe_flop.xml: New working software list additions
2021-09-19 11:27:24 -04:00
ArcadeShadow
6528816a3c Update samcoupe_flop.xml 2021-09-19 16:11:54 +01:00
ajrhacker
a570a7aea7
Merge pull request #8591 from 0kmg/nes-batlab
bus/nes: Added support for Super Russian Roulette.
2021-09-18 23:10:29 -04:00
Vas Crabb
e7afb00aea util/delegate.cpp: Fixed multiple issues.
* 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.
2021-09-19 05:10:55 +10:00