Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
82 user(s) are online (75 user(s) are browsing Forums)

Members: 1
Guests: 81

Primax, more...

Support us!

Headlines

 
  Register To Post  

What is a .hdf file?
Just can't stay away
Just can't stay away


See User information
Hi all,
I downloaded - AmigaSYS3, but don't know to setup the .hdf file. I used the one in the WinUAe config. for OS4 Euae and nothing happens -- no errors and no mount. Why is this for?

Go to top
Re: What is a .hdf file?
Home away from home
Home away from home


See User information

Go to top
Re: What is a .hdf file?
Just popping in
Just popping in


See User information
You can use this software to mount hdf files :
http://os4depot.net/index.php?functio ... rage/diskimage_device.lha

Go to top
Re: What is a .hdf file?
Just can't stay away
Just can't stay away


See User information
@Snuffy

It should be noted that there are actually two types of .hdf:

1. Single-partition hdf, which can be thought of as just a very large adf file.

2. hdf with RDB partitiontable.

The first kind is more common and can be mounted with the current diskimage.device.

The second kind should be possible to mount with the next diskimage.device release, though probably not as easily.

Go to top
Re: What is a .hdf file?
Just can't stay away
Just can't stay away


See User information
@salass00

Quote:
salass00 wrote:
@Snuffy

It should be noted that there are actually two types of .hdf:

1. Single-partition hdf, which can be thought of as just a very large adf file.

2. hdf with RDB partitiontable.

The first kind is more common and can be mounted with the current diskimage.device.

The second kind should be possible to mount with the next diskimage.device release, though probably not as easily.
It should work with the current diskimage.device and Mounter for mounting the partitions as well, you just need to create a dummy mountlist to assign a diskimage.device unit and to be able to use MountDiskImage for selecting the file.
An new MountDiskImage which allows "inserting" and "removing" files to diskimage.device units without requiring a dos device/mountlist would be enough to make it easier.

Go to top
Re: What is a .hdf file?
Just can't stay away
Just can't stay away


See User information
@joerg

Quote:

An new MountDiskImage which allows "inserting" and "removing" files to diskimage.device units without requiring a dos device/mountlist would be enough to make it easier.


I've added a KEEPOPEN/S option in MountDiskImage 52.23 for this purpose, which I have just uploaded to OS4Depot.

Thanks for the suggestion about using Mounter, however it doesn't seem to be working with diskimage.device ("Invalid Command"). I guess I'll have to look into what the command is that it's trying to use.

Seems the command is HD_SCSICMD (28). Do I need to implement this or can I get around it somehow?

Go to top
Re: What is a .hdf file?
Just can't stay away
Just can't stay away


See User information
Hi @salass00

hardfile2=rw,DH0:AmigaSYS\AmigaSys\AmigaSYS3PlusAGA.hdf,32,1,2,512,0,,uae

This is the uaerc config. from SYS3/A1200-AGA. What does backslash saying?? Is this a linux EUAE mount command?

So in OS4, do I have to physically mount a .hdf file using 'Disk.image' before even calling EUAE ? This is how I translated it to OS4 EUAE using EvilRich notes:
hardfile2=rw,DH7:AmigaSYS/AmigaSys/AmigaSYS3PlusAGA.hdf,32,1,2,512,1

Nothing-- no errors ; no mount ...

So, show me the mount commands for this .hdf from all the above information???????

Go to top
Re: What is a .hdf file?
Just can't stay away
Just can't stay away


See User information
@Snuffy

Quote:

This is the uaerc config. from SYS3/A1200-AGA. What does backslash saying?? Is this a linux EUAE mount command?


Neither Linux nor AmigaOS uses backslash as directory separator. Only MS-DOS/Windows does this. In the above you should really be using forward slashes ('/').

Quote:

So in OS4, do I have to physically mount a .hdf file using 'Disk.image' before even calling EUAE ?


No. Even though you could do this and then mount in E-UAE as virtual filesystem, I wouldn't recommend it.

Go to top
Re: What is a .hdf file?
Just can't stay away
Just can't stay away


See User information
@Snuffy

Quote:

hardfile2=rw,DH7:AmigaSYS/AmigaSys/AmigaSYS3PlusAGA.hdf,32,1,2,512,1


This line looks OK to me assuming that the file:
DH7:AmigaSYS/AmigaSys/AmigaSYS3PlusAGA.hdf

exists and isn't a RDB hardfile. If it's a RDB hardfile then you have to set all the geometry settings to 0 IIRC.

If the hardfile contains a RDB then the first four bytes of the file will contain the characters 'RDSK'. This can easily be checked for using a hex editor or f.e. the EasyHex program on Aminet.

Go to top
Re: What is a .hdf file?
Just can't stay away
Just can't stay away


See User information
Hi ]@salass00

If it's a RDB hardfile then you have to set all the geometry settings to 0 IIRC. Yes, I read this in the EUAE docs. Diropus4--HexREAD-- shows the herader as DOS. I assume it's MS-Dos. OK, thanks for the info. I'll retry...

Go to top
Re: What is a .hdf file?
Just can't stay away
Just can't stay away


See User information
@Snuffy

Quote:

HexREAD-- shows the herader as DOS. I assume it's MS-Dos.


No, that would mean that it's a single-partition hardfile and that it uses FastFileSystem.

There are some invalid sized hardfiles around though (at least one I know of). You could try FixHDF from the diskimage.device archive, but make a backup first. Also try mounting the hdf using the device just to see if it work that way.

Go to top
Re: What is a .hdf file?
Just can't stay away
Just can't stay away


See User information
Hi @Raziel

A virtual harddrive in a file, Harddisk File

The link is usless information of OS4 Euae!

http://amigaworld.net/modules/newbb/v ... hp?topic_id=24564&forum=2

What it is that it's an FFS file in PC disk image format. WinUAE and OS4 Euae are not equivalent emulators.



Hi @salass00
There are some invalid sized hardfiles around though (at least one I know of). You could try FixHDF from the diskimage.device archive, but make a backup first. Also try mounting the hdf using the device just to see if it work that way.
I didn't use FixHDF and I used DosDriver IDF1: and the GUI. Save the .HDF as a real FFS file and OS4 Euae has no problem reading. The installler won't work because I think WinUAE is working the scripts. It needs to reworked for OS4.
You got hear that Hippo Bootup theme -- it's fabulous!

Go to top
Re: What is a .hdf file?
Just can't stay away
Just can't stay away


See User information
@Snuffy

No, that is just wrong. There is no difference between hardfiles on WinUAE and E-UAE. diskimage.device doesn't have any special code for handling "WinUAE" hardfiles.

In fact I had a look through the E-UAE configuration text file and I found what you were doing wrong.

Instead of:
hardfile2=rw,DH7:AmigaSYS/AmigaSys/AmigaSYS3PlusAGA.hdf,32,1,2,512,1
you should be using:
hardfile2=rw,DH0:DH7:AmigaSYS/AmigaSys/AmigaSYS3PlusAGA.hdf,32,1,2,512,1
.

Otherwise E-UAE will look for a file:
AmigaSYS/AmigaSys/AmigaSYS3PlusAGA.hdf
in your E-UAE directory and likely won't find it.

Go to top
Re: What is a .hdf file?
Home away from home
Home away from home


See User information
@Snuffy

Quote:

A virtual harddrive in a file, Harddisk File

The link is usless information of OS4 Euae!


Well, it wasn't very clear from your initial post what you
were trying to achive, so i thought giving you a link with
explanations on .hdf files and (maybe, if needed) a how-to
on installing/creating them...sorry if it wasn't much of help

Go to top
Re: What is a .hdf file?
Just can't stay away
Just can't stay away


See User information
Hi @salass00

hardfile2=rw,DH0:DH7:AmigaSYS/AmigaSys/AmigaSYS3PlusAGA.hdf,32,1,2,512,1[/b]

Oh yeh, I didn't read that in any freaking OS4 manual.
What hell does DH0:DH7:??? mean?

Please writeout all commands and stop guessing!

Hi @Raziel,
Os4-Euae is specific. I don't need references a lot of stuff that doesn't work it!

Go to top
Re: What is a .hdf file?
Just can't stay away
Just can't stay away


See User information
@Snuffy

DH0: is the device name to mount the hardfile under in E-UAE.

hardfile2=<rw/ro>,<device name:><hdf file>,<tracks per block>,<surfaces>,<reserved>,<blocksize>,<boot pri>

This is the command I use to mount the gcc hardfile (e-uae wip4 on os4):
hardfile2=rw,HD6:Games:Emulators/E-UAE/disks/gcc.hdf,32,1,2,512,0

The hardfile is in:
Games:Emulators/E-UAE/disks/gcc.hdf

Tried the AmigaSYS3 hardfile:
hardfile2=rw,HD6:Games:Emulators/E-UAE/disks/AmigaSYS3PlusEUAE.hdf,32,1,2,512,0
Works OK here.


Edited by salass00 on 2007/10/29 21:20:50
Edited by salass00 on 2007/10/29 21:39:29
Go to top
Re: What is a .hdf file?
Not too shy to talk
Not too shy to talk


See User information
@Snuffy
Quote:
Oh yeh, I didn't read that in any freaking OS4 manual.


Why don't you read the E-UAE manual then ? It's an UAE-specific config file, you won't find anything about it in any OS4 manual.

Bye,
Thomas

Go to top

  Register To Post

 




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




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project