Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Digital Archaeology » Computer Arcana » Apple » Apple II Emulation » MAME support for hard disk images
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
MAME support for hard disk images [message #388632] Mon, 11 November 2019 04:50 Go to next message
roughana is currently offline  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 Go to previous messageGo to next message
David Schmidt is currently offline  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 Go to previous messageGo to next message
David Schmidt is currently offline  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.
Re: MAME support for hard disk images [message #388660 is a reply to message #388632] Mon, 11 November 2019 18:01 Go to previous messageGo to next message
roughana is currently offline  roughana
Messages: 219
Registered: November 2012
Karma: 0
Senior Member
Andrew Roughan <andrew.roughan@writeme.com> wrote:
> 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
Re: MAME support for hard disk images [message #388771 is a reply to message #388660] Thu, 14 November 2019 19:52 Go to previous message
Anonymous
Karma:
Originally posted by: messdrivers

MAME 0.213 supports .2mg directly for the SCSI card and CFFA2.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Linapple and Total Replay
Next Topic: An open letter to The AppleWin Team about APPLE2E.SYM
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Mar 28 18:11:53 EDT 2024

Total time taken to generate the page: 0.04405 seconds