Commit Graph

281 Commits

Author SHA1 Message Date
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
Zakk
7c11c3621b Remove some unneeded source files in lzma
Remove debug logging in mister_chd and pcecdd
Update Makefile
2020-12-26 17:03:38 -05:00
Zakk
e17bbc4f3d Properly check for chd error return on track meta info read 2020-12-24 20:47:13 -05:00
Zakk
d1b4435cb5 Add support for older chd track metadata format 2020-12-24 16:44:15 -05:00
Zakk
3a82880869 Get full path of CHD filename so the open works in a normally setup MiSTer 2020-12-24 06:08:13 -05:00
Zakk
f412273f84 Initial support for CHD cdrom images.
As of now, this is CHD v5 only
2020-12-23 18:31:21 -05:00
Dale Whinham
d48169169e minimig: Fix path resolution for assigns
Only nullify the key in find_path() if the name contains our device
(SHARE:) or volume (MiSTer:) name.

This fixes the ability to create assigns to locations on the shared
filesystem. If find_path() is called with an assign-relative path, we
want to preserve the key so that a relative path is constructed from the
directory associated with that key.
2020-12-13 00:59:55 +00:00
Dale Whinham
bc6e69c26b minimig: Fix error return for ACTION_FINDINPUT
Adapt upstream fix from a314.

Original message:

Using ACTION_FINDINPUT to check if a file exists wrongfully returned
ERROR_DIR_NOT_FOUND instead of ERROR_OBJECT_NOT_FOUND if the file was
searched for in a non-existent subdirectory.
2020-12-12 21:02:00 +00:00
Dale Whinham
5431c99d6a minimig: Add ACTION_EXAMINE_FH to shared filesystem
Adapt upstream fix from a314.

Original message:

This action is performed when doing a drag-n-drop copy from the PiDisk
to an other device in Workbench 3.1.4
2020-12-12 21:02:00 +00:00
Dale Whinham
23a5258e37 minimig: Fix ACTION_SEEK when offset is negative
Some applications would fail to load some files due to negative seek
offsets being corrupted by unsigned conversion.

A simple test case is AmigaGuide: place an AmigaGuide document on the
shared volume and attempt to open it. Before this patch, this would fail
silently.
2020-12-12 21:02:00 +00:00
Dale Whinham
c8a124385e minimig: Add ACTION_SAME_LOCK to shared filesystem
Adapt upstream fix from a314.

This fixes some odd behaviour in Workbench such as:

 - Icons that were "Left Out" would reappear in their parent windows
   when refreshed.
 - Deleted files would not disappear from the window unless it was
   refreshed.

Original message from a314 commit:

This call is used in at least 2.1 to terminate directory traversal
when deleting a directory using Workbench. This sometimes caused
unhandled exceptions in a314d and much worse unintended files being
deleted!
2020-12-12 21:02:00 +00:00
Dale Whinham
255c22e601 minimig: Don't return failure if renaming to self
Renaming a file or directory to its own name is legal under AmigaOS, so
ensure that this case is a no-op and returns success.

This fixes the error encountered when creating a new drawer under SHARE:
and accepting the default name of "Unnamed1", for example.
2020-12-12 21:02:00 +00:00
David Lindecrantz
3861158c39 Minimig: Load vadjust file from shared folder, if it exists 2020-12-12 04:53:11 +08:00