04 August 2009, 23:58 | #1 |
Registered User
Join Date: Sep 2007
Location: Las Cruces, USA
Age: 71
Posts: 351
|
Amiga drive to a PC drive for WinUAE
This probably sounds dumb, just format it with Windows, but it's not really that easy. When I was testing 0x76 partitions I used a drive that had been set up for a real Amiga with an RDB. No matter what I did I couldn't get WinUAE and HDToolBox from thinking there was a RDB on the drive. I did a full PC format making it active and wrote a large file to the drive, Defrag confirmed the file started at the beginning. The problem is WinUAE still saw the drive as an Amiga drive and listed it as RDB, even though it was formated as NTFS. I believe I could have installed Windows on the drive, booted to it, and it would still have been listed as a RDB drive by WinUAE, I didn't try so I don't know for sure. This would have allowed me to install the drive and write to it with HDToolBox, killing Windows.
I did finally kill the RDB by tricking the Amiga into formating cylinders 0 and 1, but it was a pain. A better way is to use the 0x76 partition idea. Even if you want to use the whole drive for the Amiga, don't use cylinders 0 and 1 of the drive. Use Windows to partition the whole drive, edit the partition table and make the partition a 0x76 and then change the first cylinder from 0 to 2. That way the RDB will actually be in cylinders 2 and 3 even though to the Amiga it's in 0 and 1. When it's time to convert the drive back to a PC drive, simply remove the 0x76 partition and format. WinUAE won't see the 0x76 partition anymore and it won't see any RDB in the first two cylinders of the drive. Anything left of the RDB will be in cylinders 2 and 3 which WinUAE doesn't care about. I actually tried this and it did work. Now this won't work if you want to set up a drive for a real Amiga, this only works for WinUAE. If anybody has a better idea I'm all ears. Last edited by Ed Cruse; 05 August 2009 at 00:11. |
05 August 2009, 07:51 | #2 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,026
|
http://thomas-rapp.homepage.t-online...ds/killrdb.lha
HDInstTool has such an option, too IIRC. What kind of controller do you have in your real Amiga ? Usually the RDSK block is in block 0 of the HDD and is overwritten when writing a PC partition table to the drive. However, the Amiga allows to have the RDSK block in anywhere in block 0 .. 16. So your controller or your partitioning software probably moved it some blocks behind so that it is not overwritten by the PC software. IMHO you should not use a complete HDD nor a x76 partition for WinUAE if you don't want to share data with a real Amiga or Amithlon. That's what these types of disks are meant for. If you want to experiment with "real" harddrives in AmigaOS you can as well use a HDF or a VHD in RDB mode. From the Amiga side it's exactly the same and from the PC side it's much easier to handle. You can simply delete and recreate the file if you screwed it up. |
05 August 2009, 20:41 | #3 | |
Registered User
Join Date: Sep 2007
Location: Las Cruces, USA
Age: 71
Posts: 351
|
Quote:
As far as using drives directly with the Amiga, I don't. I use RDB hardfiles, I was just experimenting to see how fast they are compared to hardfiles. The speed of directly accessing the drive is actually faster, less overhead-no Windows cache, but the Windows cache more then makes up for that most of the time. It's difficult to beat ram for speed. Do you know if there's any reason why reserving blocks at the beginning can't be set to 0? That might be an easy way to solve converting drives from PC to Amiga to PC to Amiga and so on. |
|
05 August 2009, 20:43 | #4 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,573
|
Reserved blocks are blocks at the start of _a partition_. Nothing to do with partition table blocks.
|
05 August 2009, 21:54 | #5 | |
Registered User
Join Date: Sep 2007
Location: Las Cruces, USA
Age: 71
Posts: 351
|
Quote:
When the RDB is written does it write the RDB starting at drive sector #0? The reason I'm asking is I experimented again and I got totally different results, which is normal when I don't know what I'm doing. I made a PC drive, then wrote an RDB to it, and then looked at the pc partition table and it was totally zeroed out, I even had to initialize the drive before I could PC partition it. I had no problems with converting back and forth between PC and Amiga drives and leaving any trace of the prevous setup. I sure had a difficult time getting rid of all traces of the RDB when I used the same drive for doing the 0x76 testing though. I don't know what I did different that first time. Maybe I did something wrong this time, who knows. One thing I did learn, when not using Windows to make changes to a drive, usually a reboot is required before the changes take effect, maybe that's where I went astray. |
|
05 August 2009, 22:09 | #6 | |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,026
|
Quote:
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PC Drive in an External Amiga Drive | mr_magnell | support.Hardware | 15 | 29 August 2013 00:48 |
"winuae.exe - Drive Not Ready" when trying to add CF card as hard drive | vroom6sri | support.WinUAE | 20 | 20 June 2012 22:55 |
Strange Amiga 1200 floppy drive... PC drive converted to amiga? | jbenam | support.Hardware | 8 | 30 March 2009 19:24 |
reading amiga floppys using only 1 drive on winuae | Eliotg | request.UAE Wishlist | 9 | 01 February 2009 17:16 |
Using your Amiga's drive in WinUAE | Amiga1992 | support.WinUAE | 16 | 25 January 2005 00:45 |
|
|