English Amiga Board


Go Back   English Amiga Board > Requests > request.UAE Wishlist

 
 
Thread Tools
Old 14 August 2014, 20:36   #1
AnnaWu
Registered User
 
AnnaWu's Avatar
 
Join Date: Dec 2012
Location: Germany
Posts: 561
CHD harddrives

Maybe it is the wrong thread.

Toni I have a question:
Is it possible to support the HD CHD format?
WinUAE support already the CD CHD format.



AmigaOS3.9 CyberStorm PPC 2.hdf = 268.435.456 bytes
AmigaOS3.9 CyberStorm PPC 2.chd = 29.048.832 bytes
The hard disk image (CHD) is already uncompressed (no zlib, lzma, huff, flac, et cetera) so it should be writeable.

Last edited by AnnaWu; 14 August 2014 at 21:43.
AnnaWu is offline  
Old 15 August 2014, 14:10   #2
amilo3438
Amiga 500 User
 
Join Date: Jun 2013
Location: EU
Posts: 1,501
Quote:
Originally Posted by AnnaWu View Post
Maybe it is the wrong thread.

Toni I have a question:
Is it possible to support the HD CHD format?
WinUAE support already the CD CHD format.
Of course that it is:
Quote:
Originally Posted by AnnaWu View Post
It is absolutely a off-topic
The right place is: "request.UAE Wishlist" -> http://eab.abime.net/forumdisplay.php?f=56

p.s. Anyway thanks for a new request.

Last edited by amilo3438; 15 August 2014 at 14:35.
amilo3438 is offline  
Old 15 August 2014, 16:46   #3
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
Quote:
Originally Posted by AnnaWu View Post
Maybe it is the wrong thread.

Toni I have a question:
Is it possible to support the HD CHD format?
WinUAE support already the CD CHD format.



AmigaOS3.9 CyberStorm PPC 2.hdf = 268.435.456 bytes
AmigaOS3.9 CyberStorm PPC 2.chd = 29.048.832 bytes
The hard disk image (CHD) is already uncompressed (no zlib, lzma, huff, flac, et cetera) so it should be writeable.
It surely is compressed.. Or it does not store empty blocks but if thats true, just use "Dynamic HDF" hardfiles which is basically same thing.
Toni Wilen is offline  
Old 15 August 2014, 17:08   #4
amilo3438
Amiga 500 User
 
Join Date: Jun 2013
Location: EU
Posts: 1,501
I assume that the request was for the desire to be compatible with MESS/Amiga emulator driver !?

p.s. I guess the point is if one has already an .hdf file to transfer it into HD CHD format that is far smaller. (Currently a such HD .chd file is not supported in WinUAE ... only CD .chd is supported)

Last edited by amilo3438; 15 August 2014 at 20:03. Reason: corrections
amilo3438 is offline  
Old 15 August 2014, 19:31   #5
AnnaWu
Registered User
 
AnnaWu's Avatar
 
Join Date: Dec 2012
Location: Germany
Posts: 561
Quote:
Originally Posted by Toni Wilen View Post
It surely is compressed.. Or it does not store empty blocks but if thats true, just use "Dynamic HDF" hardfiles which is basically same thing.
It does not store the empty blocks like the Dynamic VHD image but it will be great to support the HD CHD to be MAME/MESS format compatible.
Additional if I want use hard disk images as "read-only" it can be compressed too.

Further Pro's:

1.) use existing CHD images
2.) easy conversion from HDF to CHD

Anna

Last edited by AnnaWu; 15 August 2014 at 19:36.
AnnaWu is offline  
Old 15 August 2014, 20:05   #6
amilo3438
Amiga 500 User
 
Join Date: Jun 2013
Location: EU
Posts: 1,501
Quote:
Originally Posted by AnnaWu View Post
Additional if I want use hard disk images as "read-only" it can be compressed too.
The HD CHD "read-only" isnt that the same format as existing CD CHD !? (wondering isnt this already supported)

Last edited by amilo3438; 15 August 2014 at 20:12.
amilo3438 is offline  
Old 15 August 2014, 20:12   #7
Yaranga
 
Posts: n/a
Anna, support chd in WinUAE there and it works. Just checked:

 
Old 15 August 2014, 20:25   #8
amilo3438
Amiga 500 User
 
Join Date: Jun 2013
Location: EU
Posts: 1,501
Quote:
Originally Posted by Yaranga View Post
Anna, support chd in WinUAE there and it works. Just checked:
Hmm, I have tried an PC "empty.chd" file to format in WinUAE and it say that it is write-protected!?

Have you tried to save something on your .chd file ? (does it work)
amilo3438 is offline  
Old 15 August 2014, 20:27   #9
AnnaWu
Registered User
 
AnnaWu's Avatar
 
Join Date: Dec 2012
Location: Germany
Posts: 561
Yaranga, let me make a double check.

amilo3438, no it is not the same because you have specify the CHS values (cylinders,heads,sectors) to create a HD CHD image.

Here the source: http://git.redump.net/mame/plain/src/tools/chdman.c

Last edited by TCD; 15 August 2014 at 20:37. Reason: Back-to-back posts merged.
AnnaWu is offline  
Old 15 August 2014, 20:33   #10
Yaranga
 
Posts: n/a
Quote:
Originally Posted by amilo3438 View Post
Have you tried to save something on your .chd file ? (does it work)
Alas, unfortunately, it does not work. Read only.
 
Old 15 August 2014, 20:44   #11
AnnaWu
Registered User
 
AnnaWu's Avatar
 
Join Date: Dec 2012
Location: Germany
Posts: 561
If it is "read-only" I guess your HD CHD is compressed or WinUAE try to handle it as CD CHD image and the HD CHD image format (read-/writeable) is not supported.
AnnaWu is offline  
Old 15 August 2014, 20:54   #12
Yaranga
 
Posts: n/a
That's right, Anna, was the usual level of compression. Rebuilt CHD HD without compression - alas, the situation has not changed ...
 
Old 17 August 2014, 13:56   #13
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
http://www.winuae.net/files/b/winuae.zip may support writing to uncompressed chds. Not tested.

Take backup of your CHD before testing!
Toni Wilen is offline  
Old 17 August 2014, 16:52   #14
Yaranga
 
Posts: n/a
Test: [ Show youtube player ]
Read only.
 
Old 17 August 2014, 16:57   #15
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
Quote:
Originally Posted by Yaranga View Post
Test: [ Show youtube player ]
Read only.
I don't watch videos. Too boring. Correct method is to attach mostly empty chd for testing.

EDIT: I think I found the problem..

Last edited by Toni Wilen; 17 August 2014 at 17:40.
Toni Wilen is offline  
Old 17 August 2014, 17:47   #16
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
Should work now. Same winuae.zip URL. (Falls back to read-only if physical file can't be opened in read-write mode)
Toni Wilen is offline  
Old 17 August 2014, 18:14   #17
Yaranga
 
Posts: n/a
Good ...
Attached Files
File Type: 7z disk64meg.7z (9.5 KB, 164 views)

Last edited by Yaranga; 17 August 2014 at 18:32.
 
Old 17 August 2014, 18:25   #18
AnnaWu
Registered User
 
AnnaWu's Avatar
 
Join Date: Dec 2012
Location: Germany
Posts: 561
Excellent job, Toni

WinUAE seems now to support the HD CHD format.
I was able to format the hard disk image.
Before it was imaginary only without any changes.
Attached Files
File Type: uae AmigaOS3.1.uae (23.9 KB, 168 views)
File Type: txt winuaebootlog.txt (15.5 KB, 152 views)
File Type: txt winuaelog.txt (11.1 KB, 189 views)
AnnaWu is offline  
Old 17 August 2014, 18:29   #19
Yaranga
 
Posts: n/a
And it works!
However, the difference in size is not obvious.
After formatting, the new CHD was larger than the original HDF.
But the converted disk image with an established system got a big gain in compression.

Bravo, Maestro!
 
Old 17 August 2014, 18:32   #20
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
Always use quick format! Full format fills each block of drive with garbage.
Toni Wilen is offline  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
IDE harddrives Bamiga2002 MarketPlace 14 29 December 2013 18:45
3.5" harddrives adgloride support.Hardware 4 26 June 2006 00:52
Harddrives Arnie support.WinUAE 7 18 September 2005 23:43
Harddrives mancity New to Emulation or Amiga scene 1 14 January 2002 17:28
A500 and PC harddrives KelticDanor Retrogaming General Discussion 9 12 September 2001 01:57

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 16:45.

Top

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