Subject: amiga RDB tool
To: None <port-amiga@netbsd.org>
From: Florian Stoehr <netbsd@wolfnode.de>
List: port-amiga
Date: 01/04/2005 09:51:52
Hi,

I think I collected all needed information so I'm now on writing the rdb 
tool.

Although I don't think NetBSD cares about most of the RDB data, here are 
some more or less strange things I encountered, perhaps someone can help 
here. Well, as most of them seem to be important for the AmigaOS only, I 
think I'll play around, first set most to zero and see what happens.

Please correct:

** RDB **

- SCSI-ID of drive is always 7, even for SCSI
- ParkingZone/WritePreComp/ReducedWrite/StepRate are always zero
- DataArea - high sector value - might be (!) beyond end of disk ??? -> I 
guess this disk has an invalid RDB ... :-((( (in logical drive part)

** PART **

- SCSI-ID is always 7, even for SCSI
- Number of sides (heads?) is always 1 ?
- NumBuffers = 1163 ? (This should be much lower, about "30")
- BufMemType = 1 ? (Found zero in other documentation)
- MaxTransfer = ??? (about 128K? Might this be zero?)
- Mask = ??? (Found 0xfffffffe in other documentation, but value differs)

NetBSD should not require anything except RDB and PART data in first 
track. I'll let the data area start with the fist sector on cylinder 1, 
second head. Hope this is compatible with what AmigsOS expects.

-Florian