MAME support for hard disk images [message #388632] |
Mon, 11 November 2019 04:50 |
roughana
Messages: 219 Registered: November 2012
Karma: 0
|
Senior Member |
|
|
I must be losing my google-fu. I want to use the Total Replay (.2mg hard
drive) image with MAME.
The MAME doc Driver:Apple_II does not mention how to use popular Apple II
hard disk formats at all. I want to facilitate improving this.
It appears that CFFA2 & SCSI can support .hd and .chd in the version I’m
using.
I tried renaming the .2mg to .hd but that didn’t work.
So... how to convert formats?
Thanks
Andrew
|
|
|
Re: MAME support for hard disk images [message #388637 is a reply to message #388632] |
Mon, 11 November 2019 09:20 |
David Schmidt
Messages: 993 Registered: October 2012
Karma: 0
|
Senior Member |
|
|
On 11/11/19 4:50 AM, Andrew Roughan wrote:
> I must be losing my google-fu. I want to use the Total Replay (.2mg hard
> drive) image with MAME.
> The MAME doc Driver:Apple_II does not mention how to use popular Apple II
> hard disk formats at all. I want to facilitate improving this.
> It appears that CFFA2 & SCSI can support .hd and .chd in the version I’m
> using.
> I tried renaming the .2mg to .hd but that didn’t work.
> So... how to convert formats?
The .2mg format has a defined header that makes no sense in any other
context, so at the least, you need to strip that off. I don't know what
..hd or .chd expect, but hopefully one is a plain old disk image without
further decoration.
CiderPress can do the conversion to plain .po, as can AppleCommander
from the command line. So depending on your operating system, we can
advise further...
|
|
|
Re: MAME support for hard disk images [message #388638 is a reply to message #388637] |
Mon, 11 November 2019 09:39 |
David Schmidt
Messages: 993 Registered: October 2012
Karma: 0
|
Senior Member |
|
|
On 11/11/19 9:20 AM, David Schmidt wrote:
> On 11/11/19 4:50 AM, Andrew Roughan wrote:
>> I must be losing my google-fu. I want to use the Total Replay (.2mg hard
>> drive) image with MAME.
>> The MAME doc Driver:Apple_II does not mention how to use popular Apple II
>> hard disk formats at all. I want to facilitate improving this.
>> It appears that CFFA2 & SCSI can support .hd and .chd in the version I’m
>> using.
>> I tried renaming the .2mg to .hd but that didn’t work.
>> So... how to convert formats?
>
> The .2mg format has a defined header that makes no sense in any other
> context, so at the least, you need to strip that off. I don't know what
> .hd or .chd expect, but hopefully one is a plain old disk image without
> further decoration.
>
> CiderPress can do the conversion to plain .po, as can AppleCommander
> from the command line. So depending on your operating system, we can
> advise further...
To follow up - AppleCommander command line won't do it after all. It's
convert facility is for Shrinkit, Binary II, and DiskCopy 4.2 files. So
in exchange, I offer the *nix dd command to strip off the leading 64
byte .2mg header in TR2's case (they are variable in size):
dd if="Total Replay v2.0.2mg" of="Total Replay v2.0.hd" ibs=64 skip=1
ObOpinion: spaces in filenames are evil.
|
|
|
|
|