Quantcast
Channel: stardot.org.uk
Viewing all articles
Browse latest Browse all 3077

8-bit acorn hardware • Re: BBC SCSI help

$
0
0

But in addition, SCSI2SD (as with "BBC IDE drives") uses 512 byte sectors, so the data has to be padded. In the case of IDE, I think the layout goes ADFS 256 byte sector, followed by 256 null bytes (or anything probably, as they are ignored) and so on till the disc is padded to double the ADFS size.

In the case of SCSI2SD, the layout is per byte, so it's ADFS byte followed by dummy byte etc., again resulting in a double-sided image but in a different layout than you would find in an IDE flash drive.
That's the wrong way round, it's IDE which does one byte on, one byte off, and SCSI2SD does it per sector. Here's my notes about making an image of the SD card and then converting it so that it is a useable ADFS image:

Code:

SD CARDS USED IN SCSI2SD BOARD******************************To make an image of the card:1. Open a terminal in this directory and use:   sudo dd if=/dev/sdxxx of=SDCard.dat bs=1K count=512K   (N.B. change /sdxxx to the location containing SD card adapter)   This will make a 512MB image, alter to the card ADFS size as necessary2.  The card image has 256 bytes of ADFS data followed by 256 bytes of &FF    bytes - so for a 512MB partition, 1024MB is used on the card.3.  The image file will need to be converted using the "Unpad" code originally    written for CF cards/ADFS 1.53 on and IDE interface, which has been modified    for the SCSI2SD board.  See UnpadSCSI2SD.pl and use as follows:./UnpadSCSI2SD.pl < rawfile.dat > unpaddedfile.dat4. The unpadded image file can then be mounted in ADFSFuse, ADFS Explorer,     etc.  Files may be added by dragging them into the ADFS Explorer window. ISW 24/iv/2016
Plus the Unpad script referred to, originated by SWEH:

Code:

#!/usr/bin/perlmy $ch;while (read(STDIN,$ch1,256)){  print $ch1;  # Now read and discard the pad  read(STDIN,$ch1,256);}
It seems I don't have what is actually needed here though, a script to pad out the BeebSCSI type ADFS image file to double length to be written to the SD card for SCSI2SD!

Generally, a wealth of SCSI2SD picture sets here:

https://beebmaster.co.uk/HardDrives/SCSI2SD.html

And the one set I did using Ken's host adapter with a real SCSI drive:

https://beebmaster.co.uk/HardDrives/KLHostAdapter.html

I have nothing pending so it looks like I never did try it with SCSI2SD, or if I did, I didn't record any of it.

Statistics: Posted by BeebMaster — Sat Mar 23, 2024 3:04 pm



Viewing all articles
Browse latest Browse all 3077

Trending Articles