Learn R Programming

adfExplorer (version 0.1.8)

amigaBlock-class: The amigaBlock class

Description

The Commodore Amiga stores data on floppy disks as 512 byte blocks. This class reflects such a block.

Arguments

Slots

data

The raw data of a 'block' of data on an Amiga disk file. Each block holds 512 bytes of information. This slot is therefore a vector of the same length.

Author

Pepijn de Vries

Details

There are several types of blocks. Most important are the boot block (used for booting the Amiga system), the root block (containing information on the disk and the root directory), header blocks (indicating where to find file data) and data blocks (containing the actual file data). See this package's vignette (vignette("amigaDiskFiles")) for more details. use the amigaBlock-method to extract a specific block from an amigaDisk object.

Examples

Run this code
## create a block with no data:
new("amigaBlock")

Run the code above in your browser using DataLab