Thomas Harte wrote: > I'm just trying to put together a quick OS X tool for managing > the 2gb SD card that I'm using with my new and spiffy Trinity > interface - I've been informed by Colin that the cards use the > standard B-DOS layout, identical to the Atom, but I can't > seem to find any documentation on that. Can anyone point > me in the right direction?
The current patched B-DOS for Trinity (1.5t beta 4) only supports up to 1GB SD cards at the current time. I've not put in code for switching 2GB cards from 1024 byte sectors to 512 byte sectors hence why they are not supported. Certainly as far as the SAM is concerned, it is a typical B-DOS device. However, if you dump the whole card as a file it's structure and layout won't nessesarily be the same as a dumped HD image from the Atom. The patches I put into B-DOS give the MMC/SD card a fake geometry so B-DOS can work as if it's dealing with a HD with head, cylinder and sector values to save rewriting massive chunks of Edwin's original B-DOS code, and then there are a set of equations that then translate this back to a linear address within the SD card for when reading and writing take placed - with a different equation used depending on the flash card's size and multiplier values. All the changes are documented in SAM Revival 21 and the source code for the patched B-DOS is on that cover disk as well as the B-DOS disk with the Trinity. Colin ===== Quazar : Hardware, Software, Spares and Repairs for the SAM Coupe 1995-2009 - Celebrating 15 Years of developing for the SAM Coupe Website: http://www.samcoupe.com/