17 March 2014, 11:25 | #1 |
Registered User
Join Date: Mar 2014
Location: Germany
Posts: 76
|
Booting from .adz HD floppy disk images
Hi,
have an bug in FS-UAE 2.4 : Cant boot from HD-FloppyDisks adz image files. Have startet to transfer my large Games collection to Windows/FS-UAE... Startet with PD Games (like DeluxeGalaga) and use TransADF on my Amiga to transfer the Disks to adz files.(GZIP packed ADF files) Have sucesfull transfered many games - but the games that i have on HD-Disks (1,76MB) dont boot.(A1200/020 Emu mode) The games that on DD-Disks start flawless. Regards R-TEAM |
17 March 2014, 12:06 | #2 |
Registered User
Join Date: Mar 2013
Location: Leipzig/Germany
Posts: 466
|
To gzip or not to gzip, that is not the question.
You need to tell fs-uae that you have a HD floppy: http://fs-uae.net/options#uae_floppy0type The values are (taken from WinUAE): -1: disabled 0: 3.5" DD 1: 3.5" HD 2: 5 1/4" SD 3: 3.5" Escom |
17 March 2014, 13:10 | #3 |
Registered User
Join Date: Mar 2014
Location: Germany
Posts: 76
|
Hi,
mmhh ... thanks to know this But then - it is possible to set this with FS-UAE launcher ? Have not seen an checkbox/watever by the floppy file selector menu to switch between DD/HD ... Regards R-TEAM |
18 March 2014, 17:46 | #4 |
Registered User
Join Date: Mar 2013
Location: Leipzig/Germany
Posts: 466
|
As you already noticed, it's currently not supported by the launcher. You could add the line "uae_floppy0type = 1" to "Eigene Konfigurationen" if you have a HD floppy in df0:, but of course you need to remove it again if your df0 image is DD.
I made some changes to fsgs/amiga/LaunchHandler.py to configure the drives by image size at runtime. Maybe this (or something similar) Frode can add in the next dev-version. Code:
import struct #[...] class LaunchHandler(object): #[...] def prepare_floppy(self, key): src = self.config.get(key, "").strip() if not src: self.image_size = 0 return #[...] if os.path.isfile(src): if src.lower().endswith((".adz", ".gz")): with open(src) as f: f.seek(-4, 2) self.image_size = struct.unpack('I', f.read(4))[0] else: self.image_size = os.path.getsize(src) else: self.image_size = 0 def prepare_floppies(self): #[...] floppies = [] for i in range(Amiga.MAX_FLOPPY_DRIVES): key = "floppy_drive_{0}".format(i) if self.config.get(key, ""): floppies.append(self.config[key]) self.prepare_floppy(key) if self.image_size == 1802240 or self.image_size == 1474560: print("using 3.5\" HD floppy drive mode for ", key) self.config['uae_floppy{0}type'.format(i)] = '1' elif self.image_size == 450560: print("using 5.25\" SD floppy drive mode for ", key) self.config['uae_floppy{0}type'.format(i)] = '2' #[...] #[...] |
19 March 2014, 09:10 | #5 |
Registered User
Join Date: Mar 2014
Location: Germany
Posts: 76
|
Hi,
nice idea - but .... if i read your code right - you dont get the right size for DMS packed images ... but i am unsure if this supportet anyway.(adf images in DMS packed mode and not GZIP packed) Regards R-TEAM |
19 March 2014, 13:16 | #6 |
Registered User
Join Date: Mar 2013
Location: Leipzig/Germany
Posts: 466
|
DMS only works with tack 0-79, so you only get the first half of your HD disk.
I found another issue using HD floppies in fs-use: Overlay images do not work. You must use "writable_floppy_images = 1" in your configuration or you will get write errors. |
22 March 2014, 17:50 | #7 | |
Registered User
Join Date: Mar 2014
Location: Germany
Posts: 76
|
Quote:
EDIT: * = to clarify , a DOS disk - copy protected disks can go to track 81 Last edited by R-TEAM; 22 March 2014 at 18:16. |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
A 1200 not booting from some floppy's | Quiet_Man | New to Emulation or Amiga scene | 4 | 31 December 2011 20:41 |
Booting Floppy Images | Anakirob | support.Other | 2 | 27 May 2011 10:07 |
10 or so AUI coverdisk ADZ images available. | kyrian | AMR contributions | 4 | 18 February 2009 12:13 |
Software for catalogue disk images (ADF,ADZ,DMS) on a PC | Sokaris | Retrogaming General Discussion | 6 | 23 September 2003 00:58 |
Floppy question about booting. | DeltaWolf7 | support.Hardware | 3 | 04 September 2002 06:13 |
|
|