Commit Graph

440 Commits

Author SHA1 Message Date
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
sorgelig
9813e14b37 mra: update in debug info. 2020-11-17 17:29:19 +08:00
sorgelig
933b7f57d0 mra: support xor mode in patches. 2020-11-16 19:22:27 +08:00
sorgelig
f26c530caa pcecd: reduce amount of debug messages (Fix Jack Nicklaus Turbo Golf). 2020-11-14 19:54:27 +08:00
sorgelig
790b5a56cf OSD: help text for un-mounting. 2020-11-14 17:16:04 +08:00
sorgelig
91951e44fe ao486: fix single track CUE loading. 2020-11-02 14:15:41 +08:00
sorgelig
d93481c26c INI options for custom aspect ratio. 2020-11-01 20:34:36 +08:00
sorgelig
2e0046cfd7 pcecd: sgx mode for CD games. 2020-10-27 22:17:03 +08:00
Sergey Dvodnenko
6178d1d23a snes: fix has_bsx_slot init value 2020-10-27 02:40:17 +08:00
Sergey Dvodnenko
c01425d99a snes: add special LoRom mapping (Derby Stallion 96 and Sound Novel Tsukuru) 2020-10-25 23:59:56 +08:00
Sergey Dvodnenko
07e0b2437e snes: fix patch of incorrect BS header values
* pcecd: read 256 sectors when length is 0 (Kabuki Itouryodan).

* pcecd: send status immediately for commands with instant execution (Bomberman: Panic Bomber), some cleanup

* snes: add BSX support

* snes: add SPC loading

* snes: fix patch of incorrect BS header values
2020-10-19 03:09:24 +08:00
Sergey Dvodnenko
72c62a613f snes: add BSX support
* pcecd: read 256 sectors when length is 0 (Kabuki Itouryodan).

* pcecd: send status immediately for commands with instant execution (Bomberman: Panic Bomber), some cleanup

* snes: add BSX support
2020-10-14 22:08:44 +08:00
sorgelig
91070cb738 ao486: support for mounting HDD and FDD images. 2020-10-02 22:36:02 +08:00
sorgelig
84487caf9c ao486: support for CD image mounting from core. 2020-10-02 03:17:07 +08:00
sorgelig
86fa5ed02d ao486: locate currently selected file from config. 2020-10-02 03:15:04 +08:00
sorgelig
ddc44c7d78 ao486: mount CD images as read-only. 2020-10-02 03:11:42 +08:00
Sergey Dvodnenko
7b80bf1ee3 pcecd: send status immediately for commands with instant execution (Bomberman: Panic Bomber), some cleanup
* pcecd: read 256 sectors when length is 0 (Kabuki Itouryodan).

* pcecd: send status immediately for commands with instant execution (Bomberman: Panic Bomber), some cleanup
2020-09-27 18:54:03 +08:00
sorgelig
0a4bc6b396 ao486: extract CD code to separate file, some refactoring and fixes. 2020-09-22 06:21:38 +08:00
sorgelig
715a313764 ao486: support CUE CD format. 2020-09-21 14:02:36 +08:00
sorgelig
6676928cfa ao486: ide: option to enable CD hotswap, implement more CD commands. 2020-09-20 18:27:07 +08:00
sorgelig
fa7fe5391a ao486: rework IDE, support for CD-ROM. 2020-09-17 23:48:26 +08:00
sorgelig
123939b1a5 ao486: support for secondary floppy. 2020-09-07 22:57:05 +08:00
sorgelig
e86b8bdd33 snes: select DSP1 for Pilotwings. 2020-09-01 03:41:12 +08:00
sorgelig
1b9537eee7 archie: support for IDE, auto-save for CMOS. 2020-08-20 17:35:20 +08:00
sorgelig
419ae67dee user_io: extend ioctl_* functionality. 2020-08-20 17:30:52 +08:00
sorgelig
05f87a30e7 ao486: fix zip files copy to/from shared folder. 2020-08-17 02:29:07 +08:00
sorgelig
f3ec4dc542 ao486: move hdd cache to FPGA. 2020-08-07 14:41:06 +08:00
sorgelig
eecb5869ed ao486: support for new mgmt bus. 2020-08-06 14:34:25 +08:00
sorgelig
ba79d13239 ao486: 3mbit for high speed UART mode. 2020-08-04 05:54:57 +08:00
sorgelig
f320a94ee3 Faster HPS-FPGA block transfers. 2020-08-03 10:43:16 +08:00
sorgelig
1595d71f78 ao486: faster hdd read/write. 2020-08-02 18:21:20 +08:00
sorgelig
5761e81cee ao486: support for new disk i/o. 2020-08-01 08:50:17 +08:00
sorgelig
9e5711a9e9 ao486: additiona debug info is shared folder. 2020-07-30 19:15:13 +08:00
sorgelig
066aeab6fe ao486: adjust ram size. 2020-07-30 19:13:57 +08:00
sorgelig
c7b4fa79cf ao486: some fixes in shared folder. 2020-07-20 00:53:18 +08:00
sorgelig
95adc60b8f ao486: suport for shared folder. 2020-07-19 06:04:47 +08:00
sorgelig
c528ebc2f1 ao486: variable CPU clock, 256MB RAM. 2020-07-19 06:04:36 +08:00
sorgelig
0b629ae55c minimig: fix fdd corruption upon write. 2020-07-13 02:57:47 +08:00
sorgelig
673a65dec3 ao486: do not try fdd boot if not mounted. 2020-07-11 07:18:58 +08:00
sorgelig
b2c8782094 ao486: don't try to mount file with empty name. 2020-07-05 01:15:31 +08:00
sorgelig
0ac0389fa9 ao486: use shared memory to upload BIOS. 2020-07-04 08:51:26 +08:00
sorgelig
01eac63641 ao486: configurable clock. 2020-07-04 02:06:32 +08:00