View Single Post
Old 21 March 2010, 00:18   #26
rare_j
Zone Friend
 
rare_j's Avatar
 
Join Date: Apr 2005
Location: London
Posts: 1,176
Hi,
If it is any help, I have a mountlist for mounting hardfiles using DiskImage (diskimage.lha form aminet, not the other one)
Here's the mountlist; save this as a text file in devs: called file0.ml or whatever you like.

Code:
  /**
  ** Mountlist for DiskImage (diskimage.lha)
  ** for hardfiles compatible with WinUAE
  ** Set HighCyl to: (hdf size in bytes / (32 * 512)) - 1
  **/

FILE0:
    Device          = diskimage.device
    Unit            = 0
    Flags           = 0
    Surfaces        = 1
    BlocksPerTrack  = 32
    Reserved        = 2
    Mask            = 0x7ffffffc
    MaxTransfer     = 0x00200000
    Interleave      = 0
    LowCyl          = 0
    HighCyl         = ***set HighCyl here***
    Buffers         = 5
    BufMemType      = 1
    StackSize       = 4096
    Priority        = 5
    GlobVec         = -1
    Activate        = 1
    Baud            = 0
#
You need to set the HighCyl correctly in the mountfile for the hdf you want to mount. So if the hardfile is 500MB (524288000 bytes) then enter the HighCyl as 31999.

Code:
    HighCyl         = 31999
Then mount the hardfile and get DiskImage to do its thing:

Code:
mount FILE0: from DEVS:file0.ml
diskimagectrl unit 0 insert DH0:ClassicWB/System_ADVSP.hdf
list file0:
It should just appear on the workbench.
To un-mount it you can do:

Code:
diskimagectrl Unit 0 eject
ASSIGN DISMOUNT FILE0:
I'm no expert but this works for me.
rare_j is offline  
 
Page generated in 0.04843 seconds with 11 queries