Commit Graph

93528 Commits

Author SHA1 Message Date
Roberto Fresca
c9294a989c naroutp.cpp driver improvements: [Roberto Fresca, Grull Osgo]
- Added a default NVRAM to fastdrwp.
 - Derivated inputs for fasdrwp.
 - Added buttons-lamps layout for fastdrwp.
 - Promoted fastdrwp set to working.

Systems promoted to working
---------------------------
Fast Draw (poker conversion kit) [Roberto Fresca, Grull Osgo]
2025-03-21 03:42:34 +01:00
Matthew Daniels
5363907b72
Write the results of an ALU operation before writing to register/memory (#13486)
Sega Rally has an instruction that calculates d += p and loads a value into d at the same time; it is the loaded value that should be used, not the result of the ALU operation

Also only test the d register when performing an ALU operation
2025-03-20 22:17:38 +01:00
Roberto Fresca
bdfd419e21 naroutp.cpp driver improvements: [Roberto Fresca, Grull Osgo]
- Added hopper support.
 - Extended palette.
 - Identified dphlunka as Sure Shot.
 - Custom palette for Sure Shot.
 - Buttons-lamps layout for Sure Shot.
 - Inputs for Sure Shot.
 - Machine config for Sure Shot.
 - Promote dphla set to working.
 - Promote sureshoto set to working.
 - Promote dphlunkb set to working.

Systems promoted to working
---------------------------
Joker Poker (Kramer, Alt) [Roberto Fresca, Grull Osgo]
Sure Shot (older, dphl hardware) [Roberto Fresca, Grull Osgo]
Draw Poker HI-LO (alt GFX) [Roberto Fresca, Grull Osgo]
2025-03-20 19:28:27 +01:00
Ivan Vangelista
aa45982496 New systems marked not working
------------------------------
Magical Tonic Part 2 [buffi]
2025-03-20 18:19:40 +01:00
ffxx68
8c3d05ed50
fixing cpu for missing opcode (#13502) 2025-03-20 17:07:39 +01:00
Mark Garlanger
adcf81c34c
[heathzenith/h8.cpp] Update interrupt handling to not use set_input_line_and_vector (#13492)
* [heathzenith/h8.cpp] Update interrupt handling to not use set_input_line_and_vector

* Fix include guards for moved header file
2025-03-20 15:42:29 +01:00
angelosa
805b01e8f4 tzbx15_sprites.cpp: cursory cleanups 2025-03-20 11:18:59 +01:00
mamehaze
b1caba31a6
tatsumi rotating sprite device refactor take 2 (#13470) 2025-03-20 11:03:31 +01:00
Patrick Mackinlay
d34540af25 mips/mips1: remove embedded syscall logging 2025-03-20 13:05:40 +07:00
Vas Crabb
3ad89ebbc7 Some relatively simple recompiler optimisations:
cpu/drcbex64.cpp: Avoid a lot of unnecessary flag manipulation on
shift/rotate operations.  Don't calculate flags when not requested.
Don't preserve carry in for operations that don't use it as an input.

cpu/drcbex64.cpp: Avoid loading CL when ECX can be used.  Loading CL
doesn't clear the upper bits, so it depends on the previous value of
RCX, causing pipeline dependencies.  Loading ECX can grab a fresh rename
register.

cpu/drcbearm64.cpp: Attempt more optimisation on one more load immediate
operation.

cpu/e132xs: Get rid of a redundant TEST - ROLAND can set the Z flag.
2025-03-20 15:00:40 +11:00
AJR
3fed48aedd m16c: Fix disassembly syntax for adjnz/sbjnz 2025-03-19 15:46:12 -04:00
Ivan Vangelista
9d68fc7941 New systems marked not working
------------------------------
Huahua Shijie 5 (V107CN) [little0, XingXing]
2025-03-19 18:10:42 +01:00
hap
c7fabe488e fidelity elite: add more notes about encyclop module 2025-03-19 17:48:13 +01:00
Vas Crabb
9e6036be2d -More DRC fixes/improvements:
* cpu/uml.cpp: Handle some more cases where ROLAND can be turned into
  AND in the simplifier.
* cpu/drcbearm.cpp, cpu/drcbex64.cpp: Fixed a number of cases where
  4-byte operations wouldn't clear the upper half of the destination
  (there are plenty more of these caused by the simplifier that will be
  harder to fix).
* cpu/drcbearm64.cpp: Fixed some cases where a conditional MOV could
  unexpectedly clear the upper bits of the destination.
* cpu/drcbex64.cpp: Improved code generation for various arithmetic and
  logical operations.  More AND/OR/XOR/ADD/ADDC operand combinations are
  optimised.  Special cases of ROLAND/ROLINS are optimised.
* cpu/drcbex64.cpp: Don't treat operands to FADD/FMUL as commutative.
  This isn't true when one is a NaN.

-cpu/e132xs: Use osd_printf_error for diagnositc output, and make more
 local variables const.
2025-03-20 03:27:08 +11:00
hap
a810611b06 fidelity elite: update todo notes 2025-03-19 17:19:10 +01:00
hap
7da0fa53ec tea1002: fix compile 2025-03-19 17:18:59 +01:00
angelosa
d3b7add3bc hash: remove spurious spaces with name and supported values for consistency 2025-03-19 14:10:34 +01:00
angelosa
b51f4b947b video/tea1002.cpp: fix misspelled amplitude variable 2025-03-19 14:10:34 +01:00
cam900
9c1b56c112
bus/nes/disksys.cpp, sound/rp2c33_snd.cpp: Updates (#13496)
* bus/nes/disksys.cpp: Updates
- Fix dead link
- Implement readable nametable mirroring status
- Fix save state support, Fix initializing function

* sound/rp2c33_snd.cpp: Fix dead link
2025-03-19 07:16:03 -04:00
m1macrophage
6367157aa1
linn/linndrum.cpp: Mixing, panning and tuning. (#13494)
* Mix and pan sliders work.
* Master volume knob works.
* Tuning knobs and trimmer work. Adjusted knob sensitivity on the layout.
* Corrected relative levels of voices.
* Added output LPF and DC-blocking HPFs.
* Mild refactoring: moved voice setup in strobe_* functions.
2025-03-19 10:17:48 +01:00
Ivan Vangelista
5e638a6a75 - igs/igs_68k_023vid.cpp: added preliminary inputs for the xypmd set
- igs/spoker.cpp: added input selection for jinhulu2
2025-03-18 17:54:20 +01:00
hap
6987c8f6bc jack: improve sound timer 2025-03-18 16:52:45 +01:00
Roberto Fresca
c09a48cc9e naroutp.cpp driver improvements: [Roberto Fresca, Grull Osgo]
- Implemented a custom timer and counter to get correct reads in unknown hardware.
 - Added buttons-lamps layout to smshilo.
 - Promoted dphl, dphljp, and smshilo to working.
 - Added technical notes.

Systems promoted to working
---------------------------
Draw Poker HI-LO (M.Kramer) [Roberto Fresca, Grull Osgo]
HI-LO Double Up Joker Poker [Roberto Fresca, Grull Osgo]
Draw Poker HI-LO (Japanese) [Roberto Fresca, Grull Osgo]
2025-03-18 02:55:24 +01:00
hap
2a830586b3 New working software list items
-------------------------------
fidel_scc: Chess Encyclopedia, Sicilian Variation [anonymous]
2025-03-17 19:24:50 +01:00
Ivan Vangelista
b3c6dfc93f - igs/igs_m027_033vid.cpp: fixed bitplane order in decode. Fixes colors [David Haywood]
- igs/spoker.cpp: fixed bitplane order in jinhulu2's decode. Fixes colors [David Haywood]

New working clones
------------------
Xingyun Man Guan (China, V651C, set 2) [little0]

New systems marked not working
------------------------------
Chaoji Daheng 6th (v100FI) [little0]
Chao Ji Laizi Dou Dizhu (V109CN) [little0]

New clones marked not working
-----------------------------
Jin Hu Lu 2 (v101IS) [little0]
2025-03-17 18:13:22 +01:00
Vas Crabb
daedf2ff31 -cpu/drcbe*.cpp: Print an error message and abort when running off the end of a generated code block.
-cpu/drcbearm64.cpp: Don't emit code for UML NOP - the simplifier
 litters the code with these for elided operations.

-frontend/mame/clifront.cpp: Added newline at end of -version output.
2025-03-18 01:50:44 +11:00
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