English Amiga Board

English Amiga Board (https://eab.abime.net/index.php)
-   Coders. General (https://eab.abime.net/forumdisplay.php?f=37)
-   -   Odd request: a raw image of a real (RDB) Amiga hard drive (https://eab.abime.net/showthread.php?t=89293)

bloodline 02 November 2017 19:11

Odd request: a raw image of a real (RDB) Amiga hard drive
 
I'm working on my Amiga file system browser software https://drive.google.com/file/d/0B3C...ew?usp=sharing

While I have ADF and HDF files working fine, I want to add real Amiga hard drive support. To do this I need someone to dd image a real hard drive for me, preferably with at least a couple of partitions.

Thanks :)

mark_k 02 November 2017 20:37

WinUAE supports lots of different hard drive controllers, so you could (assuming you want to spend lots of time and get really bored) use the respective controllers' install/format/partitioning software to create your own image files.

The advantage of that is, there are many obscure/rare controllers. And transferring images from a real Amiga could be tricky for many people.

bloodline 02 November 2017 22:41

Quote:

Originally Posted by mark_k (Post 1196446)
WinUAE supports lots of different hard drive controllers, so you could (assuming you want to spend lots of time and get really bored) use the respective controllers' install/format/partitioning software to create your own image files.

The advantage of that is, there are many obscure/rare controllers. And transferring images from a real Amiga could be tricky for many people.

I intend to try using UAE to set up a real hard disk, I just wondered if anyone had a raw image ready made.

NorthWay 03 November 2017 00:20

Ehm...?
Are yo sure you want what you say? When I transfered my data I just took my old drives, hooked them up to a scsi controller, and dd dumped them to files. The files were simply given hdf extensions and WinUAE accepted them just like that.
Shouldn't a drive created with WinUAE be the same?

bloodline 03 November 2017 00:34

Quote:

Originally Posted by NorthWay (Post 1196487)
Ehm...?
Are yo sure you want what you say? When I transfered my data I just took my old drives, hooked them up to a scsi controller, and dd dumped them to files. The files were simply given hdf extensions and WinUAE accepted them just like that.
Shouldn't a drive created with WinUAE be the same?

My app can already read HDF files, but they have no RDB or partitions, so I need files with these things to test my code.

WinUAE has the original AmigaOS hard drive software so probably used that to read your disk images :)

prowler 03 November 2017 00:38

Quote:

Originally Posted by bloodline (Post 1196489)
My app can already read HDF files, but they have no RDB or partitions, so I need files with these things to test my code.

WinUAE has the original AmigaOS hard drive software so probably used that to read your disk images :)

I thought dd gave an image of a device, not a disk. So the image would contain the RDB.

And WinUAE can work with and create RDB images - and can even replicate and emulate bad sectors!

bloodline 03 November 2017 05:26

Quote:

Originally Posted by prowler (Post 1196492)
I thought dd gave an image of a device, not a disk. So the image would contain the RDB.

And WinUAE can work with and create RDB images - and can even replicate and emulate bad sectors!

Yes, that's why I want a dd image :)

I have ADF images and I have HDF images (which are basically just large floppy disks).

What I need now is a raw disk image with the RDB, so I can test my ADF browsing app (linked to in the original post) with it. Once I can prove that works, I will then allow raw device access so it can read a real Amiga disk plugged into a Mac.

thomas 03 November 2017 10:25

There are two kinds of HDF files: the traditional HDF is a large floppy disk and a HDF in RDB mode is a real harddrive which contains a RDB and possbily more than one partition.

Just click on "RDB mode" in WinUAE to get the latter one. Then you can initialise and partition it with HDToolbox.

You can also make a big file with the letters RDSK in the first four bytes, then WinUAE will automatically switch into RDB mode.

If you do the same with DRKS in the first four bytes you'll get a byte-swapped image as it appears with some Amiga IDE controllers.

For your program be aware that the RDB does not need to be in the very first sector of the harddrive but it can be located in any of the first 16 sectors.

bloodline 03 November 2017 16:21

Thanks Thomas! I will attempt to make an RDB disk image this way!

I hope I don't have to support byte swapped images... I would have to rewrite my code to cope with little endian data :-|

mark_k 03 November 2017 16:35

Check the RDB documentation.

In the course of testing various WinUAE controller emulation I created some HDFs.

Various Comspec SA1000 HDFs in this thread.
Some A2090A HDFs (The A2090 software doesn't follow the RDB spec, since the spec didn't exist when it was introduced. So you might want to ignore that.)
A2091/A590 HDF with A-Max (HDF created using HDToolBox)
Masoboshi MasterCard
On real hardware an image file created from an IDE drive may need to be byte-swapped.
Golem HD3000 (HDF created using HDToolBox not the original Golem software)

There may be others if you search for them.

Some controllers (AdIDE probably, don't know of others) scramble the data lines. That could mean that an image file created from a real Amiga-with-AdIDE's IDE hard drive (reading it connected to a PC) is scrambled as compared to an HDF you create in WinUAE/emulation.

AdIDE has a "CPRM" sector at the start of the drive, some info here.
AdIDE HDF with A-Max. ICD prep program creates non-compatible RDB.

Finally, I don't remember whether I uploaded an HDF, but GVP Series I with the original V1.0 ROM is "interesting" because it's almost RDB-compliant but different enough to not be bootable on any other controller, and vice versa.

bloodline 04 November 2017 11:28

Quote:

Originally Posted by thomas (Post 1196540)
There are two kinds of HDF files: the traditional HDF is a large floppy disk and a HDF in RDB mode is a real harddrive which contains a RDB and possbily more than one partition.

Just click on "RDB mode" in WinUAE to get the latter one. Then you can initialise and partition it with HDToolbox.

You can also make a big file with the letters RDSK in the first four bytes, then WinUAE will automatically switch into RDB mode.

If you do the same with DRKS in the first four bytes you'll get a byte-swapped image as it appears with some Amiga IDE controllers.

For your program be aware that the RDB does not need to be in the very first sector of the harddrive but it can be located in any of the first 16 sectors.

I just want to thank you again! Using WinUAE, I built a 128meg HD image wih two partitions (8meg Workbench, 119 meg Work), it has a proper RDB so I can now add support for real Amiga hard drives!


All times are GMT +2. The time now is 21:13.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.

Page generated in 0.06250 seconds with 11 queries