is.bootable {adfExplorer} | R Documentation |
Check if amigaDisk object is bootable
Description
This function checks if the amigaDisk
object represents a bootable disk.
Usage
## S4 method for signature 'amigaDisk'
is.bootable(x)
Arguments
x |
An |
Details
The first two amigaBlock
objects on a disk
are special and are called the boot block. The boot block will
determine whether an Amiga can boot from the disk.
This function will determine whether the Amiga would attempt to execute the machine code present on the boot block. It will not check whether it would be successful at that, as that would require emulation of the Commodore Amiga system.
Value
Returns a logical
value, indicating whether
the disk is bootable.
Author(s)
Pepijn de Vries
Examples
data(adf.example)
## let's check if the example amigaDisk object
## is bootable:
is.bootable(adf.example)
## it apparently is
[Package adfExplorer version 0.1.8 Index]