497 Commits

Author SHA1 Message Date
humply
ebd9b62692 ao486: Fix Win9x IDE protected-mode driver issue (ESDI_506.PDR) (#1121) 2026-03-16 01:19:50 +08:00
Wojciech Mostowski
ad191d88d6 Atari800: fixed flawed cart loading / resetting logic (and a bug) (#1118) 2026-03-16 01:15:05 +08:00
Wojciech Mostowski
3acc4b39c4 Atari800: Adds support for CAS files (tapes)
* WIP Atari800 CAS file support

* Atari800: Basic CAS files work

* Atari800: tape timing corrections

* Atari800: Joy2 port turbos now work

* Atari800 CAS files last major bug and clean up

* Atari800 CAS sneak peek progress info for tapes

* Atari800: final CAS support touches
2026-03-13 14:40:15 +08:00
Andre Zeps
d0cf945ae2 CD-i: Buffer overflow fix + Initial default NvRAM (#1106)
* CD-i: Fixed buffer overflow

Fixed reintroduction of the buffer overflow by
commit 1addb89ff

Originally was fixed with c0171c9 but not yet
well understood.

* CD-i: Mount root folder NvRAM after core load

Instead of starting with an empty NvRAM,
"saves/CD-i/CD-i.sav" will be loaded instead.

Avoids machine reset by NvRAM change in case
a root folder CD image shall be used
2026-02-26 13:16:21 +08:00
Wojciech Mostowski
7b570422ff Atari800: move ASM files from here to the core repo (#1104) 2026-02-25 13:21:35 +08:00
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
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
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
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
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
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
Brendan Saricks
dfcd8e05be video: Rotation Direction in SPD (#1065) 2025-11-20 13:30:29 +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
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
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
Sergiy Dvodnenko
f2d61de09f Saturn: fix the status of Play command (Suchie-Pie Doki Doki Nightmare) (#1038) 2025-09-25 14:21:12 +08:00
JOTEGO
7aad9e81e3 mra_loader: fix mapping 2025-09-11 14:46:00 +08:00
Sorgelig
3d14fe83c1 C64: support for Easyflash writes. 2025-08-28 23:00:46 +08:00
zakk4223
7f9e0f08e4 Mount saturn saves on index 1, allow selecting a save file (#1028) 2025-08-27 17:54:36 +08:00
Sergiy Dvodnenko
dc19d82810 Saturn: fixes
-tweak seek delay calculation
-add hack for Road Rash title/menu music
2025-08-22 14:32:14 +08:00
Sergiy Dvodnenko
6c5e0a9054 Saturn: fix sector data transfer for Mode 2. (#1024) 2025-08-20 02:23:33 +08:00
Sergiy Dvodnenko
470ee2f5c3 Saturn: fixes
-fix reverse seek delay
-add CRC calculation for data sectors (cdbtest)
2025-08-18 18:56:52 +08:00
Sergiy Dvodnenko
d0fe3f0b8d Saturn: adjust max seek delay. (#1016) 2025-08-07 10:31:17 +08:00
Alan Steremberg
5ee7f9e0fa Apple-II: added DSK read/write support (#1011) 2025-07-31 13:46:23 +08:00
Sergiy Dvodnenko
03445fd99b Saturn: fix seek delay. (#1005) 2025-07-18 05:38:14 +08:00
Sergiy Dvodnenko
bd7e522129 Saturn: fix seek delay (Batman Forever: batmobile) (#998) 2025-06-29 22:32:30 +08:00
Andre Zeps
c0171c9dca CD-i: Fixed buffer overflow (#996)
Fixes potential cause of SIGSEGV
during image reading
2025-06-25 16:16:27 +08:00
David Shadoff
baa19ad26c PCE: fix limit seek time parameters 2025-06-24 14:36:24 +08:00
David Shadoff
3fddb9d19a PCE: Fix Stop key on CD+G player
Fix STOP key on CD+G graphics player, by waiting until head seek completed before sending subcode sector for new location.
2025-06-10 01:54:02 +08:00
David Shadoff
f8d5f51c0c TGFX16: Fixes pause on CD+G
* Fixes pause on CD+G (TurboGrafx16_MiSTer#189)

Fix pause on GRAPHICS playback screen by continuously sending subcode data. Also, synthesize subcode data when subcode file not found, so that regular CDs don't have issues in that function.

* suppress debug msg
2025-05-28 16:18:33 +08:00
David Shadoff
b69c1ab0c1 TGFX16: Initial CD+G support
Requires corresponding updates to TurboGrafx16_MiSTer.
Currently works when audio is running; pause/stop will need further updates.
Currently only supports a single, *.sub file which represents the whole disc.
2025-05-26 13:30:45 +08:00
Sergiy Dvodnenko
de49ada9a7 Saturn fixes
-fix the status of Read command (Die Hard Arcade logo music)
-add seek delay before reading track (Albert Odyssey cutscene)
2025-04-30 21:54:40 +08:00
Andre Zeps
2f6459d887 CD-i: Fixed buffer invalidation on image change (#984)
- Fixes games not loading after inserting audio CDs

CD-i: Disc type transfer to core

- Audio CD or CD-i sent via status flags

CD-i: Adopt folder select behavior of PSX and Saturn

A single image in a folder is loaded when a folder is selected
2025-04-23 14:09:06 +08:00
Sergiy Dvodnenko
5529461cfe Saturn: increase delay for the Seek command (Radiant Silvergun stage 4D) 2025-04-20 11:30:26 +03:00
Sergiy Dvodnenko
5ab85ddac3 Saturn: fix the track offset for 2048 byte mode. 2025-04-19 14:43:16 +03:00
Sergiy Dvodnenko
8b5187ef2c PCECD: returns READSUBQ data and status at the end of the frame. end. 2025-04-18 15:48:21 +03:00
Sergiy Dvodnenko
e8b11f49b9 PCECD: abort SAPEP interrupt by the other command. 2025-04-04 20:53:08 +03:00
Sergiy Dvodnenko
0b2e6eb2bd Saturn: cancel the fix for TOC, add hack for WWF games (#973) 2025-03-15 00:55:11 +08:00
Martin Donlon
785d0a4b3e Arcade cheat support (#969)
Remove dip switch based cheat support which was unused by any core.
MRA files can now specify cheat data directly
2025-02-20 16:11:28 +08:00
Sergiy Dvodnenko
80107bf693 Saturn: recalculate the CD cycle time when file access is delayed (Time Gal & Ninja Hayate) 2025-02-08 11:28:34 +02:00
Sergiy Dvodnenko
9003f1706f Saturn: fix the start of the track in the TOC (WWF Wrestlemania, WWF In Your House) 2025-02-08 11:17:37 +02:00
Sergiy Dvodnenko
6bbc3a4809 Saturn: add delay for the Seek command (Radiant Silvergun stage 4D) (#960) 2025-02-06 23:58:02 +08:00