Commit Graph

93352 Commits

Author SHA1 Message Date
hap
b5fafba307 v60: improve CVTSW flags and fix issue with float-to-u32 cast 2025-03-17 15:41:31 +01:00
holub
9bf243a537
sinclair/tsconf.cpp: Add onboard media devices before adding slots to make media options less unstable. (#13479) 2025-03-17 09:55:43 -04:00
Patrick Mackinlay
7f43186dff really fix the build 2025-03-17 12:38:40 +07:00
Patrick Mackinlay
e171d1fa03 fix the build 2025-03-17 11:26:25 +07:00
Patrick Mackinlay
6b6d06bdae x68k: improve interrupt handling 2025-03-17 09:28:35 +07:00
Roberto Fresca
50d077c63e Major improvements to norautp.cpp driver: [Roberto Fresca, Grull Osgo]
- Consolidate driver in one file.
 - New palette for drhl and drhla.
 - Added new test functions for drhl, drhla, dphl, and dphla.
 - Cleaned all the conditional unused things.
 - Rewrote inputs for different sets.
 - DIP switches improvements for norautp, norautrh,
 - New inputs for norautua, dphla, drhl, ssjkrpkr.
 - New portmap for dphl, dphla.
 - Added Interrupts through vertical sync for all sets based on i8080.
 - Fixed norautua and norautub table for bin to bcd conversion.
 - New button-lamps layout with 10 buttons for dphl, dphla, dphljp,
    drhl, drhla, and ssjkrpkr.
 - Clickable buttons for all former buttons-lamps layouts.
 - Promoted drhl, drhla, norautua, norautub, and ssjkrpkr to working.

Systems promoted to working
---------------------------
Drews Revenge (v.2.89, set 1) [Roberto Fresca, Grull Osgo]
Noraut Joker Poker (console, set 1) [Roberto Fresca, Grull Osgo]
Southern Systems Joker Poker [Roberto Fresca, Grull Osgo]

Clones promoted to working
--------------------------
Drews Revenge (v.2.89, set 2) [Roberto Fresca, Grull Osgo]
Noraut Joker Poker (console, set 2) [Roberto Fresca, Grull Osgo]
2025-03-17 02:13:18 +01:00
Vas Crabb
5f6296049b Miscellaneous minor stuff:
* scripts/minimaws: Set option strict for JavaScript code.
* util/mfpresolve.h: Be explicit about turning nullptr into a pointer to
  data.
* cpu/drcbearm64.cpp: Reduced number of temporary registers used for AND
  with some operand combinations.
2025-03-17 05:17:57 +11:00
Vas Crabb
d7d7a4c46c
cpu/drcbearm64.cpp: Optimised conditional operations using carry flag. (#13484)
Track the state of the native carry flag to avoid unnecessarily
manipulating the native NZCV register.  If the native carry flag does
not correspond to the UML carry flag, test the bit in the flags register
for the C and NC conditions.

Use condition select instructions to implement conditional forms of MOV
and FMOV when advantageous.

Fixed EXIT with C/NC/A/BE condition not working properly if it doesn't
immediately follow a CMP or SUB.  Extended reach of conditional EXIT to
+/-128MiB (was +/-1MiB for conditions other than U/NU).

Moved code to set up skipping conditional instructions to a common
function.

Use TBZ/TBNZ for short backward jumps with U/NU/C/NC conditions to save
one instruction and a temporary register.

Simplified/optimised ADD[C]/SUB[B] code generation - avoids an
unnecessary register copy when one operand is in memory and the other is
a small immediate value.  Also fixed another unnecessary register copy
for SUB[B] when an operand is kept in a host register.

Slightly optimised generated code for AND immediate.
2025-03-17 05:02:39 +11:00
hap
8d7167a901 ddragon: increase overall adpcm volume 2025-03-16 01:08:00 +01:00
MetalliC
1c9ef344e5 sega/segasp.cpp: bingogal security PIC dumped [HRKT20, MetalliC, rtw] 2025-03-15 21:58:55 +02:00
angelosa
377e9d6d7d machine/i82371sb.cpp: lift cargo cult 0xe0-0xef noprw
machine/mediagx_cs5530_bridge, machine/sis85c496.cpp, machine/sis950_lpc.cpp: as above
2025-03-15 19:32:47 +01:00
angelosa
f006b7ba89 pci/virge_pci.cpp: hookup Leadtek WinFast 3D S600DX BIOS alt to virgedx_pci [Devin Acker] 2025-03-15 19:32:47 +01:00
angelosa
cf89bc5e01 video/s3virge.cpp: add stub Serial Port implementation, retire s3virgedx_rev1_vga_device 2025-03-15 19:32:47 +01:00
angelosa
02f860e3e5 nec/pc88va_v.cpp: add display start address, fix bobs display in shinraba, add offset base for split graphics
nec/pc88va_sgp.cpp: handle source negative pitches, avoid out of bounds accesses in rtype
2025-03-15 19:32:47 +01:00
Vas Crabb
6af5a7a8dd cpu/drcbearm64.cpp: Minor fixes and optimisations:
Clear V/Z/S bits in flags register after SETFLGS or RESTORE.  These
flags are kept in the native NZCV register, and SAVE assumes the
corresponding bits in the flags register are clear.

Don't use an extra temporary register for SETFMOD with operand loaded
from memory.  It doesn't allow additional parallelism anyway.

Slightly optimised generated code for GETFLGS.

Avoid a redundant TST when flags are requested for the non-optimised
ROLAND case.  Also avoid unnecessarily updating flags when not
requested.

Don't update flags for ADD/ADDC/SUB/SUBB/AND if not requested.  Slightly
reduces pressure on the NZCV register.

Added TODO notes for opportunities to use CSEL/FCSEL rather than
conditional branches.
2025-03-16 05:08:00 +11:00
Vas Crabb
3269decb82 cpu/drcbearm64.cpp: General cleanup, no functional changes. 2025-03-16 05:07:29 +11:00
hap
1b4a43302d softfloat: remove unused global LITTLEENDIAN/BIGENDIAN macros, as well as TRUE/FALSE macros 2025-03-15 19:00:34 +01:00
hap
0ba9e43eed bbusters: correct what appears to be an old copy paste error with adpcm rom loading 2025-03-15 12:09:35 +01:00
hap
ac0e11dba7 taito tilemap chips: mark gfxram dirty after loadstate 2025-03-15 11:42:28 +01:00
Ivan Vangelista
6c504e6db2 igs/igs_m027_033vid.cpp: added MACHINE_IMPERFECT_COLORS flag 2025-03-15 10:17:54 +01:00
AJR
914fc4477b vax: Minor disassembly refinements
* xtal.cpp: Add value for later use
2025-03-14 23:43:24 -04:00
Vas Crabb
4a3b37d368
cpu/drcbearm64.cpp: Fixed issues with and optimise ADD[C]/SUB[B] code generation. (#13476)
* Fixed potential crash on generating code for UML ADDC or SUBB with immediate operands (GitHub #13475).
* Optimised generated code for various degenerate cases and cases where register loads can be avoided.
2025-03-15 13:44:49 +11:00
Ivan Vangelista
1da4590aa2 igs/igs_m027_033vid.cpp: added video enable bit, removed outdated comments 2025-03-14 20:57:29 +01:00
Ivan Vangelista
1a32ccff94 mame.lst: forgot to commit romset change 2025-03-14 19:44:39 +01:00
Ivan Vangelista
ab8c89d3a7 igs/igs_m027_033vid.cpp: added tile and oki banking, preliminary inputs. Renamed as per title screen. Playable but for the missing hopper support. 2025-03-14 19:37:42 +01:00
Ivan Vangelista
4c61c013bb - igs/igs_m027_033vid.cpp: redumped GFX ROM for flowerw3 [little0]
- igs/jackie.cpp: corrected ROM loading for kungfu [David Haywood]
2025-03-14 18:06:45 +01:00
m1macrophage
77ece1c0db
linn/linndrum.cpp: First pass at audio emulation. (#13458)
* linn/linndrum.cpp: First pass at audio emulation. Promoted to working.

* linndrum: Remove stray & from tom variation calculation.
2025-03-14 17:07:00 +01:00
Mike Swanson
62fa67a5a5
hash/ibm5170{,_cdrom}: PartitionMagic 8.05 (#13139)
New working software list items
---------------------------------------------
ibm5170.xml: Norton PartitionMagic 8.05 (English), Norton PartitionMagic 8.05 (French), Norton PartitionMagic 8.05 (German), Norton PartitionMagic 8.05 (Italian), Norton PartitionMagic 8.05 (Spanish) [chungy]

New working software list items
---------------------------------------------------
ibm5170_cdrom.xml: Norton PartitionMagic 8.05 [chungy]
2025-03-14 10:45:45 +01:00
Patrick Mackinlay
47e9f4eee2 z80scc: reassert interrupt if conditions persist (fixes MT#9141) 2025-03-14 16:13:55 +07:00
mamehaze
dfcb1350c4
make flowerw3 (igs_m027_033vid.cpp) show the attract demo (#13474)
Co-authored-by: David Haywood <hazemamewip@hotmail.com>
2025-03-14 08:38:22 +01:00
Vas Crabb
e75c7079cf -cpu/drcbearm64.cpp: More fixes and optimisations:
* Correctly identify valid immediate constants for add/sub/cmp (it was
  too conservative).
* Don't unnecessarily copy UML register values kept in host registers
  for CMP.
* Fixed detection of TST against immediate zero and optimised generated
  code.
* Optimised TST against immediate with all bits set.

-cpu/alto2: Follow the same pattern as the other things that have been
 altered to avoid problematic memsets in this device.

-cpu/powerpc: Realigned some comments that had drifted.
2025-03-14 14:18:43 +11:00
Ivan Vangelista
14d11c479e New systems marked not working
------------------------------
Flower World 3 (V118CN) [little0, XingXing]

New clones marked not working
-----------------------------
Super Star 97 / Ming Xing 97 Jianan Ban [little0]
Tumble Pop (Electronic Devices bootleg) [Hammy]

- neogeo/neogeo.cpp: updated documentation [JacKc]

- various drivers: identified manufacturers for some bootlegs [Hammy]

- devices/cpu/alto2/a2disp.cpp: removed use of memset on non-trivial object
2025-03-13 18:14:09 +01:00
Vas Crabb
f1efcbd75f dynax/ddenlovr.cpp: Default to Hong Kong/Taiwan region for mjmyunivbl and mjmyunivbl2. 2025-03-14 00:25:14 +11:00
Vas Crabb
155db7151f dynax/ddenlovr.cpp: Fixed some Chinese titles:
* Use Jyutping transliteration for mjmyunivbl title as Hong Kong is a Cantonese-speaking area.
* Corrected character in mjmyunivbl2 Chinese title in comment (traditional, not simplified).
2025-03-14 00:11:01 +11:00
Vas Crabb
e6c8f8ccf0
cpu/drcbearm64.cpp: Add disassembled UML comments to logged native assembly language. (#13472) 2025-03-13 23:41:05 +11:00
hap
b71012d11b wgp: compile error slipped in 2025-03-13 11:32:16 +01:00
hap
f18bde12bc neogeo: correct link mcu rom label,
wgp: rename World Grand Prix to WGP, make wgp2 a parent set
2025-03-13 11:30:23 +01:00
Vas Crabb
c20ff92ac2
frontend/mame/infoxml.cpp: Added null check. 2025-03-13 17:59:03 +11:00
Vas Crabb
25fa1ff89a -Fixed some -listxml issues:
* frontend/mame/infoxml.cpp: Recursively discover device types when
  filtering output.
* frontend/mame/infoxml.cpp: Don't waste time/memory collecting device
  types when not filtering.
* scripts/target/mame: Sort driver projects and sources within driver
  projects to give more determinisitc output on filesystems that don't
  enumerate in order by filename (e.g. XFS or ext).

-machine/s3c24xx.hxx: Got rid of a layer of indirection on LCD bitmaps.
2025-03-13 16:49:51 +11:00
AJR
d12235d009 dec/uvax3100.cpp: Hook up ROM to memory map and (really) fix loading 2025-03-12 21:48:11 -04:00
ClawGrip
315ab91286
Add a skeleton driver for DEC MicroVAX 3100 (#13331)
New systems marked not working
------------------------------
MicroVAX 3100 Model 10 [OldComputers ES]
2025-03-12 21:37:55 -04:00
angelosa
9ed724e2ce nec/pc88va_sgp.cpp: make RMW shifting more reliable, add 1bpp to 1bpp/4bpp OPs 2025-03-12 21:17:15 +01:00
Ivan Vangelista
044fb3002a New working clones
------------------
Toffy (unencrypted) [Hammy]
2025-03-12 21:16:47 +01:00
Ivan Vangelista
f7ec617100 - skeleton/vgame.cpp: added complete PCB infos and dumped EEPROM for cjsjh [Guru]
- devices/machine: fixed Clang 20.1.0 erroring due to using memset on non-trivial objects
2025-03-12 18:24:19 +01:00
Vas Crabb
d3afef2289 -kaneko/kaneko_calc3.cpp: Organise decryption table as 256*64, restored tabulation killed by a previous incarnation of srcclean.
-cpu/dsp56156: Fixed class memory access warnings (was nuking some memory_access::specific helpers).
2025-03-13 04:21:31 +11:00
cam900
e7ae0c266c
shared/seibusound.cpp: Read coin inputs through sound device. (#13450)
Coin inputs are read through the sound MCU, so this documents the connections better and allows fake I/O ports to be removed.

Also cleaned up code and improved tags.
2025-03-13 02:39:27 +11:00
Devin Acker
515a8c31e8
sound/gt155.cpp: Increased range of filter output to avoid overflow. (#13454) 2025-03-13 01:57:53 +11:00
cam900
06183fc297
metro/hyprduel.cpp: Use explicitly size integers for things that need to be registered for save states. (#13463) 2025-03-13 01:55:10 +11:00
AJR
dc2ba0ed83 machine/ncr5380.cpp: Add DP8490 type so that its Enhanced Mode can be emulated in the future 2025-03-12 10:50:17 -04:00
cam900
da5ddf83c5
kaneko/kaneko16.cpp, kaneko/kaneko_calc3.cpp: Cleaned up code: (#13466)
* kaneko/kaneko16.cpp: Moved Blaze On and Wing Force to a derived state class, reduced optional object finders.
* kaneko/kaneko16.cpp: Reduced literal tag use, made more variables const, improved ROM region names, added notes.
* kaneko/kaneko_calc3.cpp: Removed hard-coded tags, updated comments.
2025-03-13 01:29:15 +11:00