Commit Graph

94445 Commits

Author SHA1 Message Date
angelosa
76af1dabbe misc/belatra.cpp: move to acorn folder 2025-06-09 11:23:58 +02:00
hap
186736b25a amiga_m: partial revert of 7441234f9f - see MT09176, DDFSTOP mask was correct before, and this workaround broke ar_ldrb 2025-06-09 11:21:55 +02:00
Pino Toscano
de1d577492
Various GNU/Hurd fixes (#13792)
* bx: Small platform detection/usage improvements

* Use BX_PLATFORM_POSIX where needed

The semaphone implementation already uses BX_PLATFORM_POSIX to include
<pthread.h> on all the POSIX platforms; do the same also in other places
for consistency. This is done also for <sched.h>, which is a POSIX API,
and sched_yield() from it is already guarded by BX_PLATFORM_POSIX.

* Drop support for GNU libc older than 2.12

glibc 2.12 was released on 2010, and at this point any supported Linux
distro has that version or way greather than that.

From bkaradzic/bx@b59b7debd3

* bx: fix <pthread/pthread.h> include on Hurd

<pthread/pthread.h> does not exist, the standard <pthread.h> does exist
so switch to it.

* osd/modules/file: use dirent::d_type on any GNU libc platform

This BSD extension is provided by GNU libc, so enable its usage with
that C library.

* osd/modules/file: use <pty.h> on any GNU libc platform

openpty() is implemented by GNU libc for all the OSes, so include
<pty.h> when using that C library.

* osd/modules/file: cast dirent::d_name to const char* before using it

According to POSIX [1], the type of dirent::d_name is loosely defined
as "char d_name[]", as array with an undefined size. In particular, few
ways are seen in the wild:
(a) "char d_name[size]", i.e. as proper array with a full size
(b) "char d_name[1]"/"char d_name[0]", i.e. as C flexible arrays
Regardless of its type, dirent::d_name is used as if it was a classic
const char *, i.e. as pointer to a null-terminated string.

util::string_format() uses C++ templates to collect all the arguments,
and thus it will use the actual type of dirent::d_name. In case of (a)
there is no issue, however for (b) the result is that only the first
character is used.

To ensure that dirent::d_name is fully used, explicitly cast it to
const char * before passing it to util::string_format(), so the whole
string is used.

[1] https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/dirent.h.html
2025-06-09 10:35:50 +02:00
m1macrophage
d91d9eb753
cpu/m6800/m6801.cpp: Corrected the ICR read handlers. (#13799) 2025-06-09 09:53:44 +02:00
Patrick Mackinlay
d77a012dbf sgi_gr1: add unsupported save emulation flag 2025-06-09 13:33:14 +07:00
AJR
a76d74cdaf a800_flop.xml: "Insert info link here" re: .atx support 2025-06-08 23:47:57 -04:00
AJR
4ce57e7f71 bus/a800/telelink2.cpp: Add mirroring to allow cartridge to boot 2025-06-08 23:37:48 -04:00
AJR
c41e9e0754 atarifdc: Convert to slot device 2025-06-08 23:03:25 -04:00
ClawGrip
f7b882b0fb
gaelco/gaelco2.cpp: Use the right gfx+sound ROMs arrangement for 'touchgona' (#13793) 2025-06-08 23:36:31 +02:00
Olivier Galibert
6930849d96 sound: Fix extremely subtle and rare problem that could happen when changing stream frequency. 2025-06-08 23:31:16 +02:00
Vas Crabb
891cbf7c8c -dynax/ddenlovr.cpp: Identified some DIP switch settings for Majiang Xingyun Shenlong, marked other settings as unknown.
-sound/sdl_sound.cpp: Corrected SDL verson detection macro.

-docs: A few sound documentation updates.
2025-06-09 04:04:51 +10:00
AJR
4389da1237 pokey: Emulate two-tone and force break serial output modes; fix logging message 2025-06-08 13:51:56 -04:00
AJR
6940f25f28 pokey: Replace fake serial port emulation with timer-driven line-level interface; most Acid800 serial tests pass now 2025-06-08 11:48:03 -04:00
hap
f254977ce3 samples: remove unneeded samples_start callback 2025-06-08 16:08:38 +02:00
hap
00fd57b058 samples: update notes, fix new regression with start_raw at very low samplerate 2025-06-08 14:34:52 +02:00
hap
e93a207ed7 risc2500: correct romlabels
New working clones
------------------
Mephisto Lyon 16 Bit (v2.09) [Berger]
2025-06-08 14:33:26 +02:00
hap
9ea43ae65c misc skeleton cpu: add SAVE_UNSUPPORTED flag 2025-06-08 03:53:48 +02:00
hap
0e9b50dd6d minx: add savestates 2025-06-08 03:45:58 +02:00
hap
151f259626 pdp1: add savestates 2025-06-08 03:36:36 +02:00
hap
1846b3c989 samples: fix off by 1 error when interpolating 2025-06-08 02:57:17 +02:00
hap
f67a1c039f samples: set stream samplerate to sample samplerate 2025-06-08 02:23:02 +02:00
ArcadeShadow
f13f2d0008
megadriv.xml: Added 27 working items + 1 redumped + 1 removed (#13765)
New working software list additions
--------------------------------------------
Attack of the Petscii Robots [no-intro]
Black Jewel Reborn (demo 2.1) [PSCD Games]
Black Jewel Reborn (demo 2.11) [PSCD Games]
Captain Barrel (demo) [OzzyOuzo]
Earthworm Jim 2 (USA, prototype 19950809) [Hidden Palace]
Fire Shark (Retro-Bit) [no-intro]
Gaiares (Retro-Bit) [no-intro]
Kirito - The Game (demo) [Tulfared]
Lethal Wedding (demo 1) [Mega Cat Studios]
Lethal Wedding (demo 2) [Mega Cat Studios]
Magic Girl: featuring Ling Ling the Little Witch (Europe, USA) [no-intro]
Smart Mouse (USA) [no-intro]
Syd of Valis (Retro-Bit) [no-intro]
T.C.K - The Cursed Knight [no-intro]
T.C.K - The Cursed Knight (pre-release beta) [no-intro]
T.C.K - The Cursed Knight (demo 1.0) [no-intro]
T.C.K - The Cursed Knight (demo 1.1) [no-intro]
T.C.K - The Cursed Knight (demo 2.0) [no-intro]
T.C.K - The Cursed Knight (demo 2.1) [no-intro]
T.C.K - The Cursed Knight (demo 3.0) [no-intro]
The Lost Vikings (USA, rev. A) [no-intro]
The Smurfs (Brazil) [no-intro]
Thunder Paw [no-intro]
Truxton (Europe, USA) (Retro-Bit) [no-intro]
Valis (Retro-Bit) [no-intro]
Valis III (Retro-Bit) [no-intro]
Xeno Crisis [no-intro]

Redumped set
--------------------------------------------
Donald in Maui Mallard (Brazil)

Removed set
--------------------------------------------
Fire Shark (USA) [bad dump]

Added chip serial, PCB serial, developer and language info on several sets
2025-06-07 17:38:18 -04:00
Olivier Galibert
7fa33906ae sound: fix sync issue when starting a stream that was stopped 2025-06-07 23:17:48 +02:00
m1macrophage
314365d8f6
roland_tr707.cpp: interactive layout. (#13789) 2025-06-07 22:20:49 +02:00
Olivier Galibert
8b6bd0fc66 sound: random fixes 2025-06-07 22:16:52 +02:00
hap
68a7f50ffb ay8910: remove unneeded set_volume (update the few drivers that use it to set_output_gain) 2025-06-07 22:09:11 +02:00
hap
7fbfd4d94e risc2500: add lcd screen 2025-06-07 20:45:01 +02:00
hap
7653173918 screen: add optional screen update callback for svg screens 2025-06-07 20:45:00 +02:00
hap
d838b1f6b3 a7800: update 1on1 comment again 2025-06-07 20:45:00 +02:00
Vas Crabb
0e6df89e98 -sound/gb.cpp: Initialise enough member variable to avoid branching on uninitialised memory on initial reset.
* Also removed old changelog comment.

-sound/sdl_sound.cpp: Allow MAME to be built with SDL 2.0.14 or 2.0.15
 with limited functionality.
2025-06-08 03:40:41 +10:00
Mark Garlanger
7e78cd00d2
heathzenith/z100.cpp: Confirm/update PROM images (#13788) 2025-06-07 08:38:03 -04:00
AJR
5b129d682c digezlg: Improve controls somewhat 2025-06-06 20:01:58 -04:00
hap
57b5c39f45 sinistarc: fix sound routing fatalerror 2025-06-06 20:15:50 +02:00
hap
874cb93005 docs: remove unneeded note on -speed setting 2025-06-06 20:15:50 +02:00
Vas Crabb
eb8fa304b2 -sound/xaudio2_sound.cpp: Use abuffer for bufferring input.
* This simplifies the code somewhat and gives a bit more consistency
  across modules.
* XAudio2 sound will ignore the audio latency setting for now - properly
  synchronising streams, etc. requires more work.

-Cleaned up some recent changes.
2025-06-07 03:40:52 +10:00
hap
a9ef77d049 sound: simplify prev commit 2025-06-06 19:28:56 +02:00
holub
e536c85b96
sinclair/specnext.cpp: Removed imperfect graphics flag. (#13787)
* All graphics features that are implemented are believed to be correct.
* Some blending modes are not implemented, but they currently lack test cases.
2025-06-07 02:45:13 +10:00
hap
6a5ce022d3 sound: fix default.cfg load not applying default effects, and rename default.cfg default_audio_effects to audio_effects (same as system.cfg, there's no clash) 2025-06-06 18:44:25 +02:00
buffi
d0b55a0a4b
nichibutsu/nbmj8688.cpp: Improved DIP switches for Mahjong Crystal Gal and Mahjong Crystal Gal 2. (#13734) 2025-06-07 02:40:10 +10:00
cam900
d7c30e0dad
sega/segahang.cpp: Fixed PCM sample ROM loading for endurobl. (#13786) 2025-06-07 01:39:03 +10:00
AJR
a4c3fdabdd hs36red, hs36blk: Descramble address and data lines and move to VT02/VT03 driver 2025-06-06 10:52:12 -04:00
hap
4e599009d8 device_mixer_interface: set rate to SAMPLE_RATE_OUTPUT_ADAPTIVE (highest samplerate of device it outputs to) 2025-06-06 15:33:46 +02:00
hap
86ef45b9b4 risc2500: lcd read is not hooked up, use pwm_display for leds 2025-06-06 15:33:46 +02:00
ClawGrip
2b590f6a66
gaelco/glass.cpp: Add a new Super Splash set (not working) (#13784)
New clones marked not working
-----------------------------
Super Splash (Ver 1.0, checksum 2104394E, 27 Oct 1993) [Josep Quingles, Recreativas.org, David Haywood]
2025-06-06 05:33:49 +02:00
ClawGrip
5f75dc43dc
gaelco/splash.cpp: Add more Splash clones (#13783)
New working clones
------------------
New Splash (ver. 1.4, checksum A26032A3, Korea, set 1) [Josep Quingles, Recreativas.org]
New Splash (ver. 1.4, checksum A26032A3, Korea, set 2) [Josep Quingles, Recreativas.org]
Splash! (ver. 1.1, checksum 4697D2BF, non North America) [Josep Quingles, Recreativas.org]
2025-06-06 05:32:37 +02:00
ClawGrip
18a307289e
gaelco/gaelco2.cpp: Add a new Maniaq Square set (#13781)
New working clones
------------------
Maniac Square (unprotected, version 1.0, checksum BEAE) [Josep Quingles, Recreativas.org]
2025-06-06 05:31:43 +02:00
ClawGrip
e0d5ac7e15
gaelco/splash_ms.cpp: Add a new Splash for Modular System (#13777)
New working clones
------------------
Splash (Modular System, ver. 1.0, checksum A6C431A4, non North America, uncensored) [Josep Quingles, Recreativas.org, David Haywood]
2025-06-06 05:28:53 +02:00
ClawGrip
da081d1077
gaelco/xorworld_ms.cpp: New Xor World for Modular System (not working) (#13785)
New clones marked not working
-----------------------------
Xor World (Modular System, set 2) [Josep Quingles, Recreativas.org]
2025-06-06 05:27:52 +02:00
FMecha
7a296de601
taitotz.cpp: mark raizpinj HDD as BAD_DUMP (#13779) 2025-06-06 05:26:59 +02:00
Justin Kerk
92b4640d3c sound: Set SOUND_DISABLE_THREADING for Emscripten target 2025-06-05 17:48:32 -07:00