Commit Graph

293 Commits

Author SHA1 Message Date
sorgelig
f87019d045 ide: some reorganization, split from Minimig, support for Archie. 2021-07-22 04:13:34 +08:00
David Shadoff
35639f0fb9 Fix for MiSTer-devel/Main-MiSTer#149 (#430)
Adjustment to head seek timing:
When seeking to audio tracks, there is a delay of between 130ms and 290ms between the status confirmation of completion and the start of audio.  80% of the time this is 220ms +/-20ms  and does not appear to be related to either seek distance or location on disc.

This fix inserts a delay between head seek arrival status confirmation and the start of audio play, without changing the total delay (ie. status is retruned earlier where appropriate).
This fixes Last Alert's excess sound, but may also fix other games' sound.
This was tested against main games which have presented issues with seektime in the past.
2021-07-20 00:41:34 +08:00
sorgelig
422421e1ee Remove unused vars. 2021-07-15 18:36:02 +08:00
zakk4223
6cbe7a112f Send CDROM subcode data to MegaCD core. Supports subcode data in CHD and bin/cue/sub format (#426)
Co-authored-by: Zakk <zakk@rsdio.com>
2021-07-15 16:30:16 +08:00
sorgelig
f1aaa665ff minimig: support for headerless HDF images. 2021-07-05 20:58:11 +08:00
sorgelig
42b57a9e8b minimig: Fast-IDE option. 2021-07-05 00:20:52 +08:00
sorgelig
30e978f488 32bit length for HPS-FPGA block transfer functions. 2021-07-01 14:29:04 +08:00
sorgelig
cb7a2a650c Various fixes and tweaks. 2021-06-30 21:49:11 +08:00
sorgelig
b8b02da1a6 Move IDE from x86 to common code. 2021-06-30 21:49:11 +08:00
sorgelig
02af31d730 Update IDE code. Use standard IDE for Minimig. 2021-06-30 21:49:11 +08:00
Alan Steremberg
6dbfe34fc9 Fixes for SharpMZ (#417) 2021-06-30 03:49:56 +08:00
David Shadoff
9c1e4ac3bd PCECD: Fix end LBA when playing second-last track on disc (by track) (#415) 2021-06-26 14:16:14 +08:00
David Shadoff
77e9cb4eaa PC Engine CDROM timing corrections (#412)
1) Fix for Issue 120 broke timing for cut-scene videos.  Restoring delay for SAPSP-type seeks  (issue #145)

2) fixes for issues #120 & #145:
a) PAUSE placed head just outside of minimum-seektime area -> when playback was restored, it was late, contributing to hangs (i.e. Bomberman Panic Bomber).  Increase minimum seektime region, so as to include this case.
b) Moved logging printf to AFTER SendStatus on SAPEP transactions; may help reduce hangs (i.e. Bomberman Panic Bomber).

3) Minor adjustment to improve timing on Sherlock Holmes games' video playback.
2021-06-20 14:57:46 +08:00
sorgelig
494c85bdc2 Merge branch 'master' of https://github.com/MiSTer-devel/Main_MiSTer 2021-06-17 21:22:05 +08:00
sorgelig
15da29e4fa C64: enable G64 write. 2021-06-16 23:05:45 +08:00
sorgelig
a20997df31 C64: support GCR mode. 2021-06-16 05:42:44 +08:00
David Shadoff
b12ff264a2 Delayed status return seems to be related to random hangs (Issue #120) (#408)
Do not delay status return even though head may still be seeking
2021-06-06 16:19:03 +08:00
sorgelig
bdf117cde7 fix dip loading. 2021-06-05 23:14:55 +08:00
sorgelig
5b701192f9 arcade: add cheats menu. 2021-05-31 08:46:29 +08:00
blackwine
1667b99521 Optimized arcade rom deinterleaver. (#398) 2021-05-15 13:02:44 +08:00
sorgelig
28a292ea72 OSD: OSD_MSG flag for non-interactive windows. 2021-04-30 22:32:34 +08:00
sorgelig
9cd404ea65 Common shared memory module. Using O_CLOEXEC for opened files. 2021-04-16 23:12:46 +08:00
sorgelig
5d45b59117 Progress bar for arcades. Update NeoGeo progress bar. 2021-03-29 04:33:10 +08:00
sorgelig
c0c7c05dfa Support original core name and common arcade section in ini. 2021-03-26 14:53:42 +08:00
sorgelig
abb579ea5d minimig: better check for resolution change to apply video adjustment. 2021-03-05 22:01:09 +08:00
sorgelig
8fbc1e6882 minimig: add audio options, auto HV-Integer. 2021-03-05 19:00:32 +08:00
sorgelig
1844709a00 mra_loader: send DDR3 ROM size to core. 2021-03-02 04:14:55 +08:00
Alexey Melnikov
e0fa87195d Merge pull request #358 from zakk4223/megacd_lba_gap
Fix MEGA CD bios player track advance
2021-02-27 20:04:22 +08:00
Zakk
88289df32c Remove some old commented lines 2021-02-26 00:43:27 -05:00
sorgelig
368ea3161f minimig: option for RTG video scaling. 2021-02-26 03:54:08 +08:00
sorgelig
8ebca5f844 HV-Integer for Archie. 2021-02-24 23:09:07 +08:00
sorgelig
0410fdba53 HV-Integer for Minimig. 2021-02-24 22:30:40 +08:00
sorgelig
61a965eacc HV-Integer and crop for AtariST. Debug output for used status bits. 2021-02-24 02:07:16 +08:00
sorgelig
5ba61381b5 x86: prevent inlining of memcpyb function. 2021-02-22 23:03:37 +08:00
Zakk
3df02e631c Add support for more drive status commands (fixes MSU-MD track looping)
Report CD_STAT_SEEK during CD_COMM_PLAY latency. Fixes audio delay in some games

Thanks to ekeeke for doing the work in Genesis-Plus-GX to use as reference.
2021-02-21 16:56:00 -05:00
Zakk
5c468c157e Fix bios cd player moving to next track automatically 2021-02-19 22:51:17 -05:00
Sergey Dvodnenko
b0bc66b251 pcecd: undefined command should reset the pending status flag for the current command (Tenshi no Uta II) (#344) 2021-02-06 20:35:57 +08:00
sorgelig
ef75c53791 More rework for UART mode. 2021-02-01 23:12:53 +08:00
sorgelig
bfc5c652d1 Switch to gcc v7.5.0. 2021-02-01 16:27:22 +08:00
zakk4223
4417113dc2 Adjust start/end calculations based on pregap type. (#333)
Co-authored-by: Zakk <zakk@rsdio.com>
2021-01-15 19:20:02 +08:00
sorgelig
0d524ad67d MT32-pi support for Minimig and AtariST. 2021-01-09 16:35:38 +08:00
zakk4223
df4f6a0a5f Increment the LBA for both bin/cue and CHD audio reads. Fixes #324 (#326)
Co-authored-by: Zakk <zakk@rsdio.com>
2021-01-09 16:06:33 +08:00
sorgelig
20f9ab4078 arcade: don't load nvram if not found. 2021-01-05 05:04:14 +08:00
sorgelig
7b8b6b12b4 arcade: support for load/save of NVRAM. 2021-01-03 21:30:45 +08:00
zakk4223
503829e95e Ignore pregap when calculating offset into chd file if the pregap is not flagged as valid (#318)
Co-authored-by: Zakk <zakk@rsdio.com>
2021-01-02 03:59:57 +08:00
zakk4223
380755df96 Make sure the arcade path is an absolute one. (fixes MiSTer-devel/Main-MiSTer#280) (#317)
Co-authored-by: Zakk <zakk@rsdio.com>
2021-01-01 14:14:59 +08:00
sorgelig
2704ad0e0a chd: fixes and tweaks. 2020-12-29 17:20:51 +08:00
sorgelig
398c6026e8 New config options for UART and Save States. 2020-12-29 15:58:59 +08:00
Zakk
f4fd7f101a Set ide buffer to zero if chd read fails 2020-12-27 17:04:26 -05:00
Zakk
26a2d8ee27 Add CHD support for ao486 CD-ROM 2020-12-27 16:39:44 -05:00