This function checks if the amigaDisk
object represents a bootable disk.
Arguments
- x
An
amigaDisk
object for which the check should be performed.
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.
Examples
data(adf.example)
## let's check if the example amigaDisk object
## is bootable:
is.bootable(adf.example)
#> [1] TRUE
## it apparently is