Commit Graph

93528 Commits

Author SHA1 Message Date
Andrei Holub
1344cdef0d WIP2
Some checks failed
CI (Windows) / build-windows (gcc, gcc, g++, mame, mame) (push) Has been cancelled
2025-04-04 10:01:47 -04:00
Andrei Holub
ef6fb57117 tsconf: zxbus tidy 2025-04-04 10:01:47 -04:00
Andrei Holub
1826712d68 WIP: all-in-one 2025-04-04 10:01:47 -04:00
AJR
b9a91cada5 midw8080/8080bw.cpp: Remove shifter from some (mostly bootleg) sets that don't use it 2025-04-04 08:16:20 -04:00
ClawGrip
0cecc6f1cc
midw8080/8080bw.cpp: Fix typo on ROM name (#13556) 2025-04-04 12:51:01 +02:00
cam900
0ca50cf1fb
cpu/z180/z180.cpp: Fix filename in comment (#13555) 2025-04-03 22:19:43 -04:00
hap
950b396e53 konami cpu: set EXG/TFR reg A high byte to 0x10 2025-04-03 19:10:20 +02:00
Vas Crabb
b1c09f02b4 -cpu/e132xs: Got rid of "Mission Craft flags" compile time option.
* Assume ROL sets the V and C flags the same way as SHL and MOVI clears
  the V flag.

-cpu/drcbex64.cpp: Optimise SUB x,0,y to a NEG instruction (gets down to
 one instruction from two or three a lot of the time).  This had been a
 TODO comment for ages.

-cpu/drcbex86.cpp: Got rid of unnecessary std::function use.  This
 substantially reduces the code size and reduces allocations during code
 generation.

-cpu/drcbearm64.cpp, cpu/drcbex64.cpp, cpu/drcbex86.cpp: Got rid of the
 intermediate tables in favour of bit switch statements.  This improves
 startup time, reduces code size, and gives the compiler more
 optimisation opportunities.

-cpu/drcbearm64.cpp, cpu/drcbex64.cpp, cpu/drcbex86.cpp: Got rid of
 asmjit namespace qualifiers left over from when the class declarations
 were in headers and hence outside the scope of the using namespace
 statements.
2025-04-04 03:49:01 +11:00
Ivan Vangelista
9a2b909a9e New systems marked not working
------------------------------
Petit Lot (ver. 4.1) [buffi]

New clones marked not working
-----------------------------
Ichi Ban Jyan (Ver 2.35) [buffi]

- misc/fresh.cpp: small cleanups

- skeleton/cle68k.cpp: added 2nd RAMDAC place-holder
2025-04-03 17:11:54 +02:00
Vas Crabb
c5629193ce cpu/drcbearm64.cpp: orr immediate needs a mask immediate. 2025-04-03 16:41:01 +11:00
MetalliC
c5460b1011 New working clones
---------------------
Street Fighter III 3rd Strike: Fight for the Future (Asia 990512, NO CD) [Goldenglober]
Street Fighter III 3rd Strike: Fight for the Future (Asia 990608, NO CD) [Goldenglober]
2025-04-03 02:23:31 +03:00
hap
456d6b7619 konami cpu: corrections to EXG/TFR opcode [hap, Jim Westfall] 2025-04-02 22:32:23 +02:00
Ivan Vangelista
c6e93c06f3 - skeleton/cle68k.cpp: fleshed out the driver, needs correct colors / GFX decoding
- dynax/ddenlovr: myunivbl and myunivbl2 aren't bootlegs after all, so rearrange accordingly

- igs/igs011.cpp: demoted xymga to not working as it hangs during attract
2025-04-02 18:35:12 +02:00
Vas Crabb
e17d676fd1 cpu/drcbearm64.cpp: Fixed build after previous commit.
Sorry, I'm too tired and didn't git add this.  My bad.
2025-04-03 03:08:59 +11:00
Vas Crabb
436431d99b -cpu/e132xs: Miscellaneous fixes/optimisation:
* Fixed behaviour of delayed branches, trace exceptions, and saved PC
  calculation for error exceptions in delay slots for the interpreter.
  All instructions in delay slots, branching instructions that can raise
  exceptions and tracing shoud now (mis)behave properly for the
  interpreter, including things the manual says you shouldn't do.
* Fixed and optimised flag updates for left shifts for the recompiler.
* Optimised ROL instruction for the recompiler and made flag calculation
  equivalent to the interpreter both with and without the "Missioncraft
  flags" compile-time option.
* Only block interrupts for one instruction following a delayed branch.
* Optimised the SOFTWARE instruction a little for the recompiler.
* Added more SDRAM configuration logging and cleaned up code a bit.

-cpu/drcbearm64.cpp: Apply the change from 7efe37938f to OR and
 XOR instructions as well, and fix some cases where a 32-bit logical
 operation would fail to clear the upper bits of a register.

-cpu/drcbex64.cpp: Avoid more conditional branches on conditional MOV.
2025-04-03 02:40:43 +11:00
Devin Acker
9349b16a17
Add a skeleton for an Oldsmobile Driver Information System (#13525)
* New NOT_WORKING machine
----------
Oldsmobile Driver Information System (version 2.2 CH) [Devin Acker]
2025-04-02 10:22:45 -04:00
Daniel Nylander
838bd064c6
language/Swedish/strings.po: Update Swedish translation (#13541) 2025-04-02 10:20:24 -04:00
cam900
922a631001
bus/mmc5.cpp: Fix IRQ (#13547) 2025-04-02 11:09:38 +02:00
m1macrophage
3299e78bae
Implemented VA EG (Envelope Generator) and VCA (Voltage Controlled Amplifier) sound devices. (#13545)
* sound/va_eg.cpp, sound/va_vca.cpp: Envelope generator and voltage-controlled amplifier.

Implemented RC-based envelope generator and voltage-controlled amplifier devices.
Replaced custom implementations in paia/fatman, linn/linndrum and oberheim/dmx.

* Fixing comments.

* More comment fixes.

* Adding comments based on feedback.

* Fixed typo.
2025-04-02 10:31:23 +02:00
Patrick Mackinlay
a71c0333b7 x68k: add CZ-7BS1 dma glue logic 2025-04-02 13:27:05 +07:00
Patrick Mackinlay
ee6cb33f46 hd63450: add primitive /own and /dtack support
* also improve auto-request mode logic
2025-04-02 13:27:04 +07:00
Adam Billyard
3c729314b8
- consistent logging order for status (#13546)
Co-authored-by: Adam <adam@light-up.co.uk>
2025-04-02 00:07:38 +02:00
hap
1e9beec88c konamigx: small spacing correction after prev search/replace commit 2025-04-01 14:18:42 +02:00
hap
3aab3182fb konamigx,mystwarr: use hexadecimal for rom file sizes 2025-04-01 14:04:06 +02:00
hap
90b86c79b6 konamigx: small cleanup to spacing 2025-04-01 13:49:41 +02:00
Fredrik Sandkvist
7feaa6968d
Konami (GX) blending - additive sprite blending, improved tile blending (#13473)
k053246_k053247_k055673.cpp, k053246_k053247_k055673.h:
I went back to update zdrawgfxzoom32GP(), now down to a third of its original size before I started changing it. As a thinly veiled excuse for reworking the whole function, I went ahead and added additive sprite blending (to the now singular alpha call site).

Remarks: the mix priority setting is not yet handled. It seems simple enough (flip dst and src), but I would like to find an example of this before I implement it.

k054156_k054157_k056832.cpp:
The attr variable holds what appear to be the elusive tile (external) mix codes. Attach it to the flags variable so these bits can be accessed in the tile callback functions. Tiles with mix codes gets their own tilemap category.

Remarks: I've now changed the callback to include an attr param.

k054338.cpp:
Update set_alpha_level. This function now returns a level, an additive blend bool and a mixpri bool. Minor style changes to the overall file.

Remarks: set_alpha_level doesn't actually set anything. Maybe rename to get_alpha_level?

moo.cpp, xexex.cpp:
Mask out the new additive & mixpri bits from set_alpha_level calls for now, until it's known if / how they should be used over there.

mystwarr_v.cpp, mystwarr.h:
Remove mystwarr water hack.
Update mystwarr_tile_callback (and add viostorm_tile_callback) to read tile mix codes, store last read mix code in a new m_last_alpha_tile_mix_code variable.
Attach m_last_alpha_tile_mix_code to mixerflags, which happens to have two unused bits.

Remarks: I updated the mixerflags documentation to mention the usage of the last two bits.

konamigx_v.cpp, konamigx.cpp, konamigx.h:
Shrink GX_MAX_SPRITES, which to the best of my ability seems to be oversized. There does seem to be several oversized arrays / defs in these files, so I think this is one of them.
The usual FredYeye updates to konamigx_mixer - move declarations closer to use, more suited types, rename temp vars, etc.
Change objpool to a vector, simplifying usage (push_back, size).
Replace sorting loop with reverse + stable_sort.
Improve gx_draw_basic_tilemaps - read internal / external alpha mix codes based on vinmix_on. Tiles with mixcodes get drawn in a separate pass for per-tile blending.
Update alpha_tile_callback and add salmndr2_tile_callback, same as the mystwarr_v callbacks.

What started out as trying to sort out konamigx_mixer() to look at shadow/priority issues instead ended up with me finally getting a foot into the figurative tile blending door. The mystwarr water hack is gone, and sexyparo gets transparent windows. This might affect many GX and related games. Alpha blending might be broken in some games now, and needs to get their mix codes attached in their respective callbacks. salmndr2 got tagged in my automatic video comparison for differing from earlier versions, that's why I managed to fix it already.

Known problems:
metamrph: stained glass windows are near-transparent at the moment. I think additive tile blending will fix it...
viostorm: character names fade in in reverse. This also uses additive blending, so this might also get fixed once that's in.
fantjour: the top & bottom flames at the captain kebab ship go missing. Uses additive blending.
2025-04-01 13:03:25 +02:00
hap
cfa56c0d33 mb86233: add /3 clock divider 2025-04-01 12:28:27 +02:00
Matthew Daniels
0197c170bf
model2: wait state when writing to copro TGP input FIFO; also adjust TGP frequencies on Model 1/2 (#13543)
* model2: wait state when writing to copro TGP FIFO

The Manx TT course select rotation bug was caused by the i960 running too far ahead of the TGP and overwriting 0x918000 before the TGP got a chance to read it; adding a wait state when writing to the input FIFO prevents this

Also increase clock speed of TGP to 16.666 MHz (50 MHz / 3)

* model1: change TGP frequency to 13.333 MHz (40 MHz / 3)

* model2: remove issue that no longer occurs since TGP rewrite
2025-04-01 11:30:40 +02:00
Vas Crabb
7efe37938f -cpu/e132xs: Log bus control and memory control setup.
-cpu/drcbearm64.cpp: Simplified logic for choosing optimal AND strategy.
2025-04-01 10:13:14 +11:00
Vas Crabb
4e80f6e0d9 -misc/paracaidista.cpp: Fixed a really gross buffer overrun causing memory corruption.
-hash: Removed empty info elements.
2025-04-01 06:47:57 +11:00
ClawGrip
afd4012107
sega/vicdual.cpp: Added "Colision" (ASSA bootleg of Head On). (#13537)
New working clones
------------------
Colision (bootleg of Head On) [Jordi Tuells]
2025-04-01 05:42:00 +11:00
Ivan Vangelista
b6e44ca5e6 New systems marked not working
------------------------------
Zhongguo Majiang [little0]

- misc/norautp.cpp: updated decryption tables for norautua / norautub. Also srccleaned
2025-03-31 20:27:59 +02:00
ClawGrip
a4bfb636b4
taito/taitottl.cpp: Dumped the ROMs from the CPU-less Taito Speed Race game. (#13516)
New systems marked not working
------------------------------
Speed Race (Taito) [Roger Parramon Junyent]
2025-04-01 05:25:30 +11:00
Vas Crabb
2550f57948 debugger/qt: Fix Qt6 deprecation warning (see GitHub #13207). 2025-04-01 05:20:23 +11:00
ClawGrip
a95b62962b
midw8080/8080bw.cpp: Add a new Super Earth Invasion set (#13536)
New working clones
------------------
Super Earth Invasion (Centromatic, Spanish) [Jordi Tuells]
2025-03-31 13:40:42 -04:00
Vas Crabb
1dca832b37 -cpu/e132xs.cpp: Improved exception emulation:
* Fixed behaviour of exceptions in delay slots, and fixed recompiler not
  updating ILC and P for some exceptions.
* Implemented privilege error exception on setting L in user mode for
  interpreter.

-emu/debug, osd/modules/debugger: Added an option to show
 exceptionpoints in breakpoints windows.
2025-04-01 03:45:36 +11:00
Adam Billyard
e0ea955d1b
cpu/m68000: For 68010 only, do not throw away buserr on prefetch (#13405) 2025-03-31 12:04:48 -04:00
Roberto Fresca
3e29087147 Paracaidista.cpp driver.
- Added memory and port maps.
 - Hooked the PPI 8155
 - Decoded graphics, added palette.
 - Video update routines to draw the screen.
 - Hooked input port and DIP switch.
 - Accurate machine config.
 - Added technical notes.
 - Moved from /skeleton to /misc.
2025-03-31 16:28:33 +02:00
FMecha
9b8343ebe0
namco/namcops2.cpp: Document Battle Gear 3 Tuned Hong Kong version (#13489) 2025-03-30 20:53:06 -04:00
Roberto Fresca
8b14b80196 Norautp.cpp driver: Splitted the video update to fix palette for non bipolar PROM sets. 2025-03-31 01:52:11 +02:00
hap
b04c456d6a New working clones
------------------
The King of Fighters '96 (bug fix revision) [HBMAME]
2025-03-31 01:36:56 +02:00
hap
31743695fe New working systems
-------------------
Cruisin 5: Cruise Back [hap, Abyss]
2025-03-31 00:54:14 +02:00
Paul-Arnold
0370b0e7fd
bfm/cobra.cpp: Add Brain Box 2 GAME (#13498)
New working systems
-------------------
Brain Box II (Set 114) [Paul Arnold]

* bfm/cobra.cpp: Add watchdog timer
2025-03-30 17:54:00 -04:00
Roberto Fresca
aaaeb870b6 Norautp.cpp driver: Improved edge connector / pinout diagram. 2025-03-30 23:51:48 +02:00
Roberto Fresca
19a2b0e169 naroutp.cpp driver improvements: [Roberto Fresca, Grull Osgo]
- Decoded color palettes from bipolar PROMs
    (applies to hardware types featuring these devices)
 - Implemented dynamic palette per line.
 - Unified sureshoto and dphl machine config.
 - Real colors for dphl, dphljp, newhilop, pkii_dm,
    pma, gtipoker, smshilo, fastdrwp, sureshoto,
    and dphlunkb.
 - Fixed more ASCII PCB layouts.
 - Fixed documentation about the 3x PPI 8255 devices
    for both narout and DPHL types of hardware.
 - Documented control panels, and added/fixed a lot
    of technical notes.
2025-03-30 23:37:46 +02:00
cam900
3fb2594c99
devices/sound/mmc5.cpp: Implement MMC5 sound emulation (#13487)
* Implement MMC5 sound emulation
- Heavily based from devices/sound/nes_apu.cpp, Adjusted to differences compares to NES APU and MMC5.

* bus/nes/mmc5,cpp: Fix save state support, Implement MMC5 sound

* bus/nes/nes_slot.h: Fix save state support
 
* sound/nes_defs.h: Fix save state support
2025-03-30 15:53:31 -04:00
AJR
44b8ae58c6 subsino2.cpp: Correct part number 2025-03-30 14:58:38 -04:00
hap
15dd6ba403 v60: fix issue with CVTSW overflow flag after rounding 2025-03-30 20:39:31 +02:00
angelosa
27c2236773 skeleton/huangyeh_m68k.cpp: pinpoint a bunch of I/O handlers 2025-03-30 20:21:15 +02:00
Vas Crabb
9fae9b3d16 MAME 0.276
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEE0DYtsBhE4EM627+6wXSxAYxAcQ4FAmfoh48ACgkQwXSxAYxA
 cQ6R5RAAhlBVRIFx2tpXiQ1ow9g1pqBv9Ij5IitZVH0grOJjgXgs9bVlUueTtkvm
 A90tvKzxBwHYSkBQLtqhIZn3KGRVI59c65V2PwKEXf7GuwgteQleu3kN+hbP7jJM
 i2zbHVMSLmEjN4sUG2OsKn2OTAb0kF5mnVhY4/KUxwQwAan7is8kfpSTDYqqPoox
 Ov5mBAM6l5EJtMqM9RYASxnkWh475Bvn1I+T3GHq3wVbLr3Q1NhtfI/OKQ5VC8by
 pZSMvQmlj+hMSpaFrUjw8OwMI0tHRb7kYgmt9ALj7DvB8B3Oqc+fXrcg4DjZbxAq
 Jie78ygqR9evztq3/RXScpLXM9pYUBBIpWAPG7luDk+C+UpTZpC00vHk9xXF/efr
 GsWYajOvopPcfWrJvAswEUQeARMeXet0T78W9ML18NhQFrjAF7h6aWM1EDITMqX+
 NO/YIuPDjQhYXJIHjv+IPfJEAUY09eoFC91yEPIojGvbVXQLyRqC2ahT6nUR5xsR
 MA/0qm0MOtlctjcHFj9ZEIBuXsimiONkHALwfB0ov93lkTLV4u3azxUe9V2eD5VS
 VwEUsv+8pO25tlEJwdYXJPLeNPcHfWWwzf3ECki0YPZhhVe+0aadNmvrj+uNgLmI
 hjCBpPf1OWCvDIR4GgfzIUMHlsboSiW8OIJKFXndKwAW8xQ2Dsw=
 =oUy8
 -----END PGP SIGNATURE-----

Merge tag 'mame0276' into HEAD

MAME 0.276
2025-03-31 04:46:36 +11:00