04 February 2019, 11:50 | #1 |
Registered User
Join Date: May 2011
Location: Cambridge
Posts: 682
|
FlashFloppy v1.0 and AutoSwap
I'm pleased to announce the release of FlashFloppy v1.0!
The major feature in this point release, apart from finally branching a stable release series from major-feature development, is support for automatic disk swapping in suitably-patched multi-disk software titles. So far I have patched five games for Amiga to eliminate all manual disk swapping:
The game patches are freely available in source form, and of course I have pre-built binaries for general users: Source: https://github.com/keirf/FF_AutoSwap.git Binary: https://github.com/keirf/FF_AutoSwap/wiki/Downloads Thanks are due to JOTD (WHDLoad project) for his game cracks and fixes, which I cribbed or outright stole. Also to ross (EAB of course) for his addchip bootblock which allowed me to support BASS on 512+512k Amigas. FlashFloppy v1.0 full feature list:
Last edited by Keir; 13 February 2019 at 11:48. |
04 February 2019, 12:10 | #2 |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
|
Ooh, that's an awesome feature to have. Well done, and thanks for all your work on Flash Floppy!
|
04 February 2019, 14:04 | #3 |
Registered User
Join Date: May 2011
Location: Cambridge
Posts: 682
|
I would like some requests for swap-heavy arcade titles if any. Non-AmigaDOS titles to use as proof of concept for any other interested hackers.
All the titles so far are super easy, using AmigaDOS hook(s): I will add more of those titles in due course (Flight Of The Amazon Queen? Legend of Kyrandia? Cruise for a Corpse?). But of course they tend to be adventure genre. |
04 February 2019, 14:15 | #4 |
Autistic 'n IRN!
Join Date: Jul 2012
Location: -
Posts: 2,978
|
|
04 February 2019, 14:42 | #5 |
Registered User
Join Date: Jan 2014
Location: Somerset, UK
Posts: 547
|
Thanks for this & the prepatched files
swap-heavy arcade titles - Street Fighter 2 |
04 February 2019, 15:53 | #6 |
Super Member
Join Date: Sep 2014
Location: Wakefield
Age: 48
Posts: 1,334
|
The Fairlight Mortal Kombat crack seems to have lots of disk swaps before you even get to play the game.
|
04 February 2019, 16:05 | #7 |
Banned
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
|
Rise Of The Robots would also be a good candidate.
|
04 February 2019, 17:36 | #8 |
Registered User
Join Date: May 2011
Location: Cambridge
Posts: 682
|
Yeah that's an interesting example, as cracks of extra-capacity formats like PDOS often overflow onto an extra disk and depending how well that's done can make a bunch of extra disk swaps. So examples like that are very helpful!
|
06 February 2019, 09:53 | #9 |
Registered User
Join Date: Feb 2019
Location: Örebro
Age: 47
Posts: 117
|
I tried this last night. Awesome work kaffer!
On my Amiga 500 I dont have a HD, and thus can't use WHDLoad stuff, nor do I really want to. So this is perfect for my use case. BASS is very playable now. Looking forward to try more patched games in the future. Even classics on fewer disks like Cannon Fodder could benefit I think. On of my favourite games is Pinball Fantasies. But since disk switching are used to select tables, it might not be possible to patch a game like that. Unless a way could be figured out to be able to select from all four tables in some way. |
06 February 2019, 23:47 | #10 | |||
Registered User
Join Date: May 2011
Location: Cambridge
Posts: 682
|
Quote:
Quote:
Quote:
|
|||
13 February 2019, 12:01 | #11 |
Registered User
Join Date: May 2011
Location: Cambridge
Posts: 682
|
An update to say that Mortal Kombat is done.
Based on the original Fairlight crack, the AutoSwap version has the following features:
There is now a ~1kB assembly version of the AutoSwap patch, suitable for dropping into other arcade titles (where disk/memory constraints permit!). I will shortly write a Wiki article explaining the patching process, though it is a pretty straightforward job for a cracker to plumb in my routines. |
05 March 2019, 22:00 | #12 |
Registered User
Join Date: Apr 2017
Location: Cambridge
Posts: 136
|
This is pretty damn awesome
n00b question but is the Gotek hardware limited to emulating one drive? i.e. if SEL 2 and SEL 3 were also wired-up would the firmware feasibly be able to emulate more than one drive? e.g. with a DF0 selector switch in an A500 and a cable with the right wiring is there a world where a single Gotek could act as DF0, DF2 and DF3? (DF1 skipped I presume) I ask because I'm sure there a loads of 2-3 disk games that would befit from something like this, but patching them sounds like a lot of effort |
06 March 2019, 18:09 | #13 | |
Registered User
Join Date: May 2011
Location: Cambridge
Posts: 682
|
Quote:
I do plan to get this finished now that v1.0 is out but it's a tricky patch and apart from this use case its utility is probably quite limited. So the effort-reward tradeoff isn't super motivating |
|
06 March 2019, 19:01 | #14 |
-
Join Date: Jul 2003
Location: Helsinki / Finland
Age: 43
Posts: 9,861
|
How about test clips to the CIA chip to get the additional two selects?
|
06 March 2019, 19:04 | #15 | |
Registered User
Join Date: Apr 2017
Location: Cambridge
Posts: 136
|
Quote:
Using all three select lines externally with a DF0 selector (again cheap) is pretty plausible. (I know not all games work with that 'hack' but the majority do) And with kickstarts after 1.3 the early boot menu removes the need for the DF0 selector switch. But doubling the drives with the same hardware sounds like an epic win to me in case that helps with motivation! (If it helps as well I'd be more than willing to buy a Gotek and do testing, but I doubt I can be help with the tricky patch sorry) |
|
06 March 2019, 23:08 | #16 |
Registered User
Join Date: May 2011
Location: Cambridge
Posts: 682
|
Fine for A500. The other issue is finding suitable pins to use for select inputs on the Gotek STM32. Especially since some GPIO pins are not broken out on the PCB, and soldering direct to the STM32 pins is not plausible for most users. Many available headers already used for speaker, OLED display, rotary encoder, ... which users probably want as well as multiple select inputs
|
08 March 2019, 10:49 | #17 |
Registered User
Join Date: Feb 2008
Location: Finland
Posts: 123
|
Fiendish Fred and Big top of Fun would be great to have autoswap too. Its been hard to convert Whdload and only way to play it is via disk
|
08 March 2019, 22:01 | #18 | |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
|
Quote:
I want to make a config close to Amiga drives Do you mind a few questions? 1. How are the images ordered? (Alphabetical from 000 and up?) I'd like to use non-indexed mode because indexed mode sorta destroys the names 2. What does index-suppression do? 3. Is head-settle-ms = 12 a compatibility setting for various Amiga loaders, or taken from HRM, or an average for Amiga drives? (Why not 0? The loader would read it and be happy whatever its timing, or how do I think about this?) 4. (Sketchy I guess) Any hope for .DMS support? It's just a fact that a large portion of the images were released as .DMS, so it would save a step. Last edited by Photon; 08 March 2019 at 22:07. |
|
09 March 2019, 19:04 | #19 | |||||
Registered User
Join Date: May 2011
Location: Cambridge
Posts: 682
|
Quote:
Quote:
Quote:
I'm not actually sure whether original Amiga drives suppress IDX during track changes? The HRM doesn't specify and I haven't actually tested. I think 3.5-inch DD drives do, and it's older 5.25-inch ones that may not. You could check by stepping in and out in a long loop and check if IDX is interrupted. Quote:
(a) A real drive will certainly have *some* settle time (and likely 18ms) (b) Even set to 0, FlashFloppy takes time to fetch new track data and prime the pipeline. This would likely be 5ms+. (c) A more significant setting might be 'track-change='. The default 'instant' pauses disk rotation during track changes, so you lose rotation time during step operations. Obviously unrealistic but it definitely behaves better on a wider range of platforms out of the box. On Amiga you could use the more realistic 'realtime'. If you really want to be like a real drive I would suggest: 'track-change=realtime' and 'head-settle-ms=18'. I would avoid 'index-suppression=no' as it actually deliberately messes with IDX for systems which rely on regular IDX to generate RDY/DSKCHG type signals. Quote:
|
|||||
09 March 2019, 21:07 | #20 | |||||
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
|
Quote:
Quote:
I'm thinking just some lesser selector replacement for day-to-day use. (I first followed HxC compat instructions which didn't let me swap slots and no Selector in .zip...? Be happy to help with a selector for native mode.) Alphabetized would allow renaming without destroying the filename PC side for putting on new images. Fantasizing now: If there was some mode toggle between directories and files (e.g. both button press or long-press), you could leverage 100+ images to some degree. 1000+ and you'd want an Amiga selector. But you can also prepare PC side, just a few images, and if they're alpha-sorted (or if, say, indexed mode used 000*.*, 001*.* etc), you could add on a few images with a minimum of fuss. Quote:
Quote:
Quote:
Supporting DMS would be an awesome feature, though, since it's a popular format. While I'm dreaming how about hot-swap? (I actually haven't tried, since the USB stick keeps blinking forever even when not loading, so I guess it's not safe.) Then, you could keep the root folder empty and just put the ones on that you want to try for the day and all the points about Selectors and slot mapping would be mostly moot. Last edited by Photon; 09 March 2019 at 21:44. |
|||||
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
AutoSwap Patched Games for FlashFloppy | Keir | project.Amiga File Server | 1 | 24 August 2020 12:27 |
FlashFloppy - new firmware for Gotek drives, open source | Amiga1992 | News | 977 | 28 March 2020 09:32 |
Working ghosts n goblins and ghouls and ghosts for gotek/flashfloppy | superst4r | support.Games | 7 | 12 January 2019 23:46 |
Black Gotek with FlashFloppy & 0.91"OLED Mod | kgc210 | MarketPlace | 0 | 17 May 2018 18:12 |
GoTek took a dump trying to reflash flashfloppy | Sinphaltimus | support.Hardware | 6 | 09 October 2017 18:50 |
|
|