get.diskLocation | R Documentation |
Get the side, cylinder and sector on a disk, based on disk type and block id.
## S4 method for signature 'character,numeric'
get.diskLocation(disktype, block)
disktype |
A |
block |
|
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 identifiers for the physical location based on the
block identifier. The inverse of this function is achieved with the
get.blockID
method.
Returns a list
with corresponding sector, side and cylinder
identifiers (numeric
).
Pepijn de Vries
Other block.operations:
amigaBlock-method
,
get.blockID()
## get the physical location of the first 20 blocks on a DD disk
## and arrange as a data.frame:
as.data.frame(get.diskLocation("DD", 0:19))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.