Discussion:
MAME support for hard disk images
(too old to reply)
Andrew Roughan
2019-11-11 09:50:39 UTC
Permalink
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
David Schmidt
2019-11-11 14:20:09 UTC
Permalink
Post by Andrew Roughan
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...
David Schmidt
2019-11-11 14:39:36 UTC
Permalink
Post by David Schmidt
Post by Andrew Roughan
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.
Andrew Roughan
2019-11-11 23:01:45 UTC
Permalink
Post by Andrew Roughan
The MAME doc Driver:Apple_II does not mention how to use popular Apple II
hard disk formats at all.
Now it does.

https://wiki.mamedev.org/index.php/Driver:Apple_II

Regards
Andrew
m***@gmail.com
2019-11-15 00:52:57 UTC
Permalink
MAME 0.213 supports .2mg directly for the SCSI card and CFFA2.

Loading...