English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 13 November 2009, 19:49   #1
Galahad/FLT
Going nowhere
 
Galahad/FLT's Avatar
 
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 8,994
Disk reading problems

I'm using the latest BETA of WinUAE, and before I installed it, I was able to use plain Atari ST .ST disk images and be able to read the format through Action Replay III so I could edit the disks and do what I liked as they are stored in the same way as ADF files, except obviously slightly shorter in length.

Now with the latest BETA, whenever I try and read from a .ST disk, I no longer can, the drive just reports back errors.

Is this some kind of new detection that if the image is below 901K in size then its automatically assumed not to be an Amiga disk?
Galahad/FLT is offline  
Old 13 November 2009, 19:55   #2
NewDeli
Banned
 
Join Date: Oct 2007
Location: Paris / FRANCE
Age: 50
Posts: 1,248
Send a message via ICQ to NewDeli
I think this threads belongs to "new to Amiga scene"
NewDeli is offline  
Old 13 November 2009, 20:04   #3
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,516
If size matches known PC/Atari ST style images, data is encoded as PC/Atari ST MFM format. (betas added single sided support, previously they most likely were inserted as truncated Amiga formatted disk)

Old behavior was wrong, now it works correctly
Toni Wilen is online now  
Old 13 November 2009, 21:05   #4
Galahad/FLT
Going nowhere
 
Galahad/FLT's Avatar
 
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 8,994
Quote:
Originally Posted by Toni Wilen View Post
If size matches known PC/Atari ST style images, data is encoded as PC/Atari ST MFM format. (betas added single sided support, previously they most likely were inserted as truncated Amiga formatted disk)

Old behavior was wrong, now it works correctly
any chance of having an option to change automatic PC/ST format on/off?

As .ST format disks are stored in the same way as ADF files and its quite useful.
Galahad/FLT is offline  
Old 14 November 2009, 13:07   #5
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,516
No plans currently. You can add extra byte to end of image file or fill it up to 880k as a workaround..
Toni Wilen is online now  
Old 14 November 2009, 13:23   #6
Galahad/FLT
Going nowhere
 
Galahad/FLT's Avatar
 
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 8,994
Quote:
Originally Posted by Toni Wilen View Post
No plans currently. You can add extra byte to end of image file or fill it up to 880k as a workaround..

Pretty please

I don't know about others, but i've used shortened Amiga ADF files in the past where the entire disk wasn't needed, which means I no longer can.

I'm sure someone with your more than excellent skills would find it in his heart to add one tickbox option, seeing that you are an all round great bloke

Did I say how great and excellent you are yet?
Galahad/FLT is offline  
Old 14 November 2009, 14:34   #7
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,516
GUI option: "No". Some other solution: "Maybe".
Toni Wilen is online now  
Old 14 November 2009, 14:49   #8
Galahad/FLT
Going nowhere
 
Galahad/FLT's Avatar
 
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 8,994
Quote:
Originally Posted by Toni Wilen View Post
GUI option: "No". Some other solution: "Maybe".

I like the sound of "maybe", its positive, much like yourself Toni
Galahad/FLT is offline  
Old 14 November 2009, 14:56   #9
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,516
What about: "If file extension is .adf, always mount as amiga formatted"? (does not include extended adfs, of course)
Toni Wilen is online now  
Old 14 November 2009, 16:26   #10
Galahad/FLT
Going nowhere
 
Galahad/FLT's Avatar
 
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 8,994
Quote:
Originally Posted by Toni Wilen View Post
What about: "If file extension is .adf, always mount as amiga formatted"? (does not include extended adfs, of course)
That would be a super compromise
Galahad/FLT is offline  
Old 14 November 2009, 16:59   #11
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 7,001
Quote:
Originally Posted by Toni Wilen View Post
What about: "If file extension is .adf, always mount as amiga formatted"? (does not include extended adfs, of course)
So a 720k file named pc_disk.adf will be mounted as Amiga floppy with tracks 65 - 79 being unreadable ? I don't like this.

Why don't you just use mfm.device instead of trackdisk.device to edit the ST/PC disks ? Or why don't you use an image-processing program like xfs/file.device or diskimage.device to access the file directly instead through emulated hardware ?
thomas is offline  
Old 14 November 2009, 17:10   #12
Galahad/FLT
Going nowhere
 
Galahad/FLT's Avatar
 
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 8,994
Quote:
Originally Posted by thomas View Post
So a 720k file named pc_disk.adf will be mounted as Amiga floppy with tracks 65 - 79 being unreadable ? I don't like this.

Why don't you just use mfm.device instead of trackdisk.device to edit the ST/PC disks ? Or why don't you use an image-processing program like xfs/file.device or diskimage.device to access the file directly instead through emulated hardware ?
Because I can directly then access them in Action Replay III without mucking about, and that same disk image can be used in STEEM so I don't have to screw around with a load of renaming and faffing about.

Tonis idea is an excellent idea, because there are people that use shortened disk images where they know that the latter part of the disk is never accessed.

quite common for some WHDLoad installs to use this method, and the disk images can still be used in WinUAE.
Galahad/FLT is offline  
Old 14 November 2009, 18:04   #13
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,516
Hmm.. Ok.. I think I can't do above change because it seems it will break more common cases than it fixes. (AR or WHDLoad + programming = rare stuff, sorry)

Perhaps there is better solution but it is getting too late for big 2.0 changes.
Toni Wilen is online now  
Old 14 November 2009, 18:29   #14
Galahad/FLT
Going nowhere
 
Galahad/FLT's Avatar
 
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 8,994
i'll stick to older versions then, its too handy a feature for me to lose.
Galahad/FLT is offline  
Old 14 November 2009, 19:15   #15
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,516
Only autodetect format if extension is "known"? (adf, st, ima etc..). This is my last offer
Toni Wilen is online now  
Old 14 November 2009, 19:45   #16
Galahad/FLT
Going nowhere
 
Galahad/FLT's Avatar
 
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 8,994
Quote:
Originally Posted by Toni Wilen View Post
Only autodetect format if extension is "known"? (adf, st, ima etc..). This is my last offer
Ok, that sounds like an even better compromise.

Galahad/FLT is offline  
Old 14 November 2009, 22:59   #17
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 7,001
That's ok, but please don't break the autodetection of Amiga exe files, independently of the file name extension.

BTW, would it be possible to keep the name of the exe file instead of "runme.exe" ?
thomas is offline  
Old 15 November 2009, 00:57   #18
Galahad/FLT
Going nowhere
 
Galahad/FLT's Avatar
 
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 8,994
Quote:
Originally Posted by thomas View Post
That's ok, but please don't break the autodetection of Amiga exe files, independently of the file name extension.

BTW, would it be possible to keep the name of the exe file instead of "runme.exe" ?
I would imagine Toni has code to detect the headers of files it loads and then decides if its an exe file or a disk image.
Galahad/FLT is offline  
Old 15 November 2009, 12:32   #19
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,516
Quote:
Originally Posted by thomas View Post
That's ok, but please don't break the autodetection of Amiga exe files, independently of the file name extension.
exe detection has nothing to do with adf size detection. (it checks file contents, not extension)

Quote:
BTW, would it be possible to keep the name of the exe file instead of "runme.exe" ?
Yes but what if the PC-side name has "weird" characters or is too long? Not worth the trouble to autofix it. It is only made to run singlefile demos and intros quickly.

You can "mount" exes (any files) as a harddrive with original name intact by right mouse dragging to WinUAE window. (right mouse = do not autodetect file type and insert as a floppy image)
Toni Wilen is online now  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems reading Jaz disk Rod_cl support.Hardware 12 30 July 2015 15:51
DOS-Error #205 on reading "Disk.1". e5frog project.WHDLoad 6 22 July 2010 18:03
Sysinfo and PC disk reading software tonyyeb request.Apps 5 07 August 2008 15:06
Reading PC (DOS) Hard disk in Amiga? barkingboy support.Hardware 3 13 October 2003 13:29
Reading Ami-format zip disk Sledge support.WinUAE 14 18 May 2003 12:23

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 18:47.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.12611 seconds with 13 queries