Get the block ID from the physical location on the disk
Get the block identifier based on the physical location on a disk (side, cylinder and sector) and the disk type.
## S4 method for signature 'character,numeric,numeric,numeric' get.blockID(disktype, sector, side, cylinder)
disktype |
A |
sector |
|
side |
|
cylinder |
|
Data on Amiga floppy disks are stored as 512 byte blocks. These blocks
are physically stored on a specific cylinder and side at a specific sector.
This method returns the block identifier based on the physical location
on the disk. The inverse of this function is achieved with the
get.diskLocation
method.
Note that all identifiers (or indices) have a base at zero, for consitency with Amiga specifications and documentation, opposed to the base of one used in R.
Returns the numeric
identifier for the corresponding block.
Pepijn de Vries
Other block.operations: amigaBlock-method
,
get.diskLocation
## Get the block identifier for sectors 0 up to 3 combined with ## cylinders 0 up to 3 on side 0 of the disk: get.blockID(disktype = "DD", sector = 0:3, side = 0, cylinder = 0:3)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.