Commit Graph

1940 Commits

Author SHA1 Message Date
funkenzuzzler
cbea89aa6b Misc fixes (#1103)
* DiskImage: match new[] with delete[]

Signed-off-by: Sven Schnelle <fz@stackframe.org>

* st_tos: match new[] with delete[]

Signed-off-by: Sven Schnelle <fz@stackframe.org>

* scaler: fix calloc arguments

The first argument is the number of members, the second
argument the size of each member. Swap the arguments to
the correct order to prevent warings with newer compilers.

Signed-off-by: Sven Schnelle <fz@stackframe.org>

---------

Signed-off-by: Sven Schnelle <fz@stackframe.org>
2026-02-24 18:57:25 +08:00
funkenzuzzler
7114bd2ac5 x86/share: support wildcards in delete (#1102)
deleting file by using wildcards  isn't working with a shared
fs. Add the code to support deleting multiple files.

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Co-authored-by: Sven Schnelle <svens@stackframe.org>
2026-02-24 12:52:30 +08:00
Wojciech Mostowski
deb43cd870 Migrate Atari800/5200 FW to Main (#1101)
* WIP Adding Atari800 side of things

* WIP Migrated some functionality from .sv to here

* WIP XEX file loading works, clean-ups

* WIP UART/SIO interface beginning

* WIP Adding Atari800 drive emulator

* WIP First version of the drive emulator working with ATR and XEX files

* WIP ATX files are working

* WIP HDD is now mounted separately

* WIP PBI/HDD is working too

* Cleaning up and adding supporting Atari ASM files

* Updated versioning information in the Atari800 FW

* WIP Adding support for the Atari 5200 core

* Atari 5200 support complete

* Atari800: fixed SIO timing bugs

* Atari800: sorting out SIO timing issues still

* Atari800: eliminate OSD lock up possibilities

* Atari800: Improved XEX loader
2026-02-24 12:51:17 +08:00
funkenzuzzler
a9eb1f5c11 FileOpenEx: fix file mode mapping for O_WRONLY (#1100)
The x86 file sharing code opens files with O_WRONLY which maps
incorrectly to O_RDONLY. Fix this by explicitely mapping O_RDONLY
and O_WRONLY.

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Co-authored-by: Sven Schnelle <svens@stackframe.org>
2026-02-23 19:42:55 +08:00
Sorgelig
4177aa61c7 Release 20260220. 2026-02-20 21:53:37 +08:00
Tony Toon
5ea051dcea input: switch autofire to tracking frames per key (#1094) 2026-02-02 14:42:10 +08:00
Tony Toon
4d1a9fc2d3 input: autofire overhaul (#1091)
* frame-synchronized autofire, per-button rates, custom rates via mister.ini
* frame timer using core frame counter, fallback to timerfd
* improved button reference counting (previously limited to 2)
2026-01-22 13:07:44 +08:00
Andre Zeps
c397c9413d CD-i: Add detection of different disc types for TOC usage (#1088)
Also replaced some magic numbers with enums
2026-01-19 13:41:45 +08:00
zakk4223
bc49794c6e Initialize empty n64 save file with all 0xFF instead of zero (fixes some game hangs) (#1085) 2026-01-13 22:18:57 +08:00
PetrM1
cf4ada2fa8 Signaling F12 key should be passed to core - framework/core menu should use F12+(L/R)GUI kye modifier (#1084) 2026-01-13 22:18:11 +08:00
Sergiy Dvodnenko
abfc731add Saturn fixes. (#1082)
* Saturn: fix CUE parsing for mixed-size images (Vigilant Paradise).

* Saturn: partially revert "adjust max seek delay (Astal stage1)"
2026-01-08 13:23:20 +08:00
Aitor Gómez García
e8b3746b44 Detect PCXT variants in is_pcxt (#1081)
Expand is_pcxt() to recognize Tandy1000 and PCjr as PCXT-class systems, while keeping the cached detection behavior.
2026-01-08 13:21:33 +08:00
zakk4223
7ac98c1068 PSX: process save states before sending cue/metadata (#1080) 2026-01-04 01:11:04 +08:00
Sergiy Dvodnenko
8ee3c51519 Saturn: CD fixes
-adjust max seek delay (Astal stage1)
-minimum seek time when the old and new positions are close (Sonic R retry race)
2025-12-30 00:43:57 +08:00
Nelson
e07dd83858 Fix bootcore config param for generic core names (#1076)
* Fix bootcore config param

We fix the case of a given generic corename set in bootcore (without version and extension).

* When bootcore is not version specific, find the latest
2025-12-23 17:52:40 +08:00
Sergiy Dvodnenko
2e1653f803 SNES: add Competition Cart support. (#1075)
* SNES: add Competition Cart support.

* SNES: add PowerFest 94 1m cart recognition.
2025-12-21 15:25:22 +08:00
Nelson
d16bc7332f Ensure devcontainer uses the platform of the toolchain (#1073)
* Refactor devcontainer into Docker Compose

We need to make the platform explicit (only via the Docker Compose) as the Dockerfile fetches a crosscompiler for x86.

* Add git to dev container
2025-12-13 21:02:38 +08:00
Rikard Bengtsson
5e82f602ed N64: Tiny fix (#1071)
* Fix of-by-one error

ROMs with headers containing an internal name of 20 characters (or more) got truncated to 19.

* Make sure not to read outside of the intended header section
2025-12-12 13:19:52 +08:00
Rikard Bengtsson
ba0ae19cd2 N64: Save file fix and fix (#1072)
Got rid of the annoying message you get when opening the menu in a game that uses cpak.
It said "Saving..." even when there wasn't anything to save.
Cleaned up and refactored the save file code. Much easier to follow now.
2025-12-12 13:18:05 +08:00
Bemjo
7d912245c3 file_io: Expanded ScanDirectory file skipping to include boot#.rom files (#1069)
Co-authored-by: Bemjo <Bemjo@users.noreply.github.com>
2025-12-09 22:38:23 +08:00
Sorgelig
c75ae1fb0c user_io: implement I/O to get frame counter from core. 2025-12-02 19:33:29 +08:00
Rikard Bengtsson
bb02516af3 Add missing type resets (#1068) 2025-11-27 17:58:19 +08:00
Christof Harnischmacher
b6207d423c video: send standard compliant SPD infoframe, when direct_video is not enabled (#1066) 2025-11-22 14:00:23 +08:00
Brendan Saricks
dfcd8e05be video: Rotation Direction in SPD (#1065) 2025-11-20 13:30:29 +08:00
Sorgelig
4002275336 video: code cleanup in spd/spare packets handling and fix for freesync mode. 2025-11-17 16:29:06 +08:00
Sorgelig
84c69a4b6c video: add rotation flag to SPD. 2025-11-13 14:28:50 +08:00
Sorgelig
8f88fc9237 video: change ID in SPD info frame for non-direct video. 2025-11-12 21:01:23 +08:00
Sorgelig
80697c01b4 video: send spd info in non-direct video mode. 2025-11-12 14:55:41 +08:00
Andre Zeps
c81247306b CD-i: Adapt save file name according to PSX behavior (#1060)
All of these scenarios will share one save file:
- Root folder titles
- Multi-Disc titles
- CHD and CUE/BIN
2025-11-11 22:51:35 +08:00
Sergiy Dvodnenko
d9dbd6de84 Saturn: fix the status of commands, increase max seek delay between tracks. (#1058)
* Saturn: fix the status of commands (Die Hard Arcade, Suchie-Pie Doki Doki Nightmare)

* Saturn: increase max seek delay between tracks (Pocket Fighter)
2025-11-09 23:52:32 +08:00
zakk4223
cef0ce5e51 Fix next/prev letter jump when directories start with _
* Fix next/prev letter jump when directories start with _

* Only skip '_' on directories during SCANO_CORES
2025-11-04 13:54:37 +08:00
misteraddons
96726e4bb3 MiSTer.ini: Add missing lookahead option 2025-10-27 15:06:28 +08:00
kaloun34
32fd66d881 Update MiSTer.ini (#1051)
subcarrier : unknown option
2025-10-24 13:43:51 +08:00
misteraddons
26c7564b5d video: Make subcarrier a vga_mode option instead of standalone 2025-10-23 15:21:24 +08:00
misteraddons
2efa6a87a8 Write unique game info to /tmp/GAMENAME (#1045)
* Write unique game info to /tmp/GAMENAME

* Remove CD product code lookup, and crc32

* Remove product codes

/tmp/GAMENAME only uses file path and crc32

* Clean up

* Cleanup

* Only write CRC32 and or Product Code to /tmp/GAMEID

Realizing we already have the file path, this change writes the already calculated CRC32 and or game ID (N64 and PSX only) to /tmp/GAMEID. This ignores boot*.rom and cd_bios*.rom

CRC32: XXXXXXXX
Product Code: XXXXXXXXXXXX

* Clean up

* Update neogeo_loader.cpp

* Skip GAMEID for all BIOS files

* Guard behind log_file_entry ini option and clean up print statements

* Add MRA GAMEID support and improve GAMEID writing

MRA files use setname as serial

* Add MGL handling for /tmp/ STARTPATH, FULLPATH, CURRENTPATH, and FILESELECT

* Update mgl /tmp/ file handling
2025-10-22 19:54:43 +08:00
zakk4223
9fc5a2b212 Fix compile 2025-10-16 20:33:43 +08:00
Brendan Saricks
596ebe5dc0 video: Change composite_sync default value to 1
* Change default composite_sync value to 1

From a troubleshooting perspective, composite_sync=1 seems like a more common gotcha because more people are using consumer CRTs than monitors.

I'm wondering if it makes sense to make this change as it covers more use cases.

* Update cfg.cpp
2025-10-16 14:28:31 +08:00
Bemjo
4e2e950237 PSX: Persistent noreset.txt state until core is reset or reloaded. (#1046)
Co-authored-by: Bemjo <Bemjo@users.noreply.github.com>
2025-10-14 22:01:01 +08:00
Sergiy Dvodnenko
75f567e96d Saturn: transition to the next track when indexes overflow (Flash Sega Saturn Vol. 14: Monster Slider demo) (#1044) 2025-10-02 12:36:19 +08:00
Andre Zeps
1addb89ffe CD-i: Fix table of contents (#1043)
Repair of accidental removal of subcode generation
during Lead-In. (negative lba)

Bug was introduced with c0171c9
2025-09-30 14:27:16 +08:00
Brendan Saricks
aa998b6fa2 Add Gamate to yc.txt (#1042)
[Insert joke about Gamate here]
2025-09-30 00:16:59 +08:00
MikeS11
7ce34b2651 YC.txt Update 20250926 (#1040)
Added ST_V, CD-I, Many JT Cores and others
2025-09-28 19:44:57 +08:00
Sergiy Dvodnenko
f2d61de09f Saturn: fix the status of Play command (Suchie-Pie Doki Doki Nightmare) (#1038) 2025-09-25 14:21:12 +08:00
misteraddons
0f667a8442 Video: Automatic Direct Video dv_dac.txt Parsing Fix (#1036)
* Simple Auto Direct Video

direct_video=2
Checks for 1024x768 HDMI resolution and sets direct_video=1
No hot plug detect
No EDID parsing
No device whitelist
No hdmi_limited set based on EDID whitelist

* Add EDID detection and set hdmi_limited for common DACs

- AG6200 sets hdmi_limited=2
- CS5213 sets hdmi_limited=0

* Fix logic to pass normal EDID resolution if not 1024x768

* Update MiSTer.ini

* Remove 1024x768 resolution check

- Only use mfg_id from EDID to identify known compatible DACs

* Add DAC id and settings to dv_dac.txt and dv_dac_user.txt

- mfg_id
- rgb range
- hdmi_audio_96khz
- composite_sync: 0, 1, or "" (default is "")
- dv_dac_user.txt for HDMI video upscalers that support direct video
  - device commented out by default

* Fix parsing of dv_dac.txt

DAC model name wasn't being displayed due to empty composite_sync field
2025-09-14 18:13:51 +08:00
zakk4223
5f2ccf6ab7 Menu: Restore bumper prev/next letter file navigation (#1037) 2025-09-14 18:12:39 +08:00
misteraddons
4b591f58fc Automatic Direct Video (#1035)
* Simple Auto Direct Video

direct_video=2
Checks for 1024x768 HDMI resolution and sets direct_video=1
No hot plug detect
No EDID parsing
No device whitelist
No hdmi_limited set based on EDID whitelist

* Add EDID detection and set hdmi_limited for common DACs

- AG6200 sets hdmi_limited=2
- CS5213 sets hdmi_limited=0

* Fix logic to pass normal EDID resolution if not 1024x768

* Update MiSTer.ini

* Remove 1024x768 resolution check

- Only use mfg_id from EDID to identify known compatible DACs

* Add DAC id and settings to dv_dac.txt and dv_dac_user.txt

- mfg_id
- rgb range
- hdmi_audio_96khz
- composite_sync: 0, 1, or "" (default is "")
- dv_dac_user.txt for HDMI video upscalers that support direct video
  - device commented out by default
2025-09-12 14:08:50 +08:00
JOTEGO
7aad9e81e3 mra_loader: fix mapping 2025-09-11 14:46:00 +08:00
Bemjo
c46f248b58 input: Fixed QUIRK_WIIMOTE from being applied to Wii U Pro Controllers. (#1031) 2025-08-31 17:00:31 +08:00
Sorgelig
ae6dc92c15 Release 20250828. 2025-08-28 23:20:43 +08:00
Sorgelig
3d14fe83c1 C64: support for Easyflash writes. 2025-08-28 23:00:46 +08:00