knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-" )
The Amiga File Format Handler package (AmigaFFH) is designed to interpret file formats that were native to Commodore Amiga machines. In combination with the adfExplorer package this package can be used to interpret older file formats that were native to the Commodore Amiga. The focus of this package will be on the older system (Amiga OS <= 3.0). This will allow you to analyse and interpret these files in the scripted environment of R.
In the sections below there are some prominent examples of supported file formats. For a more detailed
overview, please consult the package documentation (?AmigaFFH
)
Get CRAN version
install.packages("ProTrackR")
Get development version from R-Universe
install.packages("ProTrackR", repos = c('https://pepijn-devries.r-universe.dev', 'https://cloud.r-project.org'))
Below there are some ultra-short demostrations of a selection of supported Amiga file types
The Interchange File Format (IFF) is and was a file container that could hold any kind of data. Below is an example of a bitmap image stored as such a file.
library(AmigaFFH) example.iff <- system.file("ilbm8lores.iff", package = "AmigaFFH") |> read.iff() par(bg = "black") plot(example.iff, interpolate = FALSE)
AmigaBasic is a simple interpreted programming language for the early Commodore Amiga's. Its code was stored in a binary format to save disk and memory space. Below an example of how to read such a file.
system.file("demo.bas", package = "AmigaFFH") |> read.AmigaBasic()
On the Amiga, file icons were stored as separate files. Below an example of how to create such a file.
icon <- simpleAmigaIcon() plot(icon, interpolate = FALSE)
The Commodore Amiga used bitmap fonts to display texts. The package comes with an example object that can be stored as an Amiga Font file.
data(font_example) plot(font_example, interpolate = FALSE)
The systemconfiguration
file was used to store some system preferences (screen resolution, font,
default printer, etc.). It was loaded during the boot process. The exaple below shows how to create
such a file.
simpleSysConfig()
It has been years since the initial release of this package. Since it's release a lot has changed in R and in my skill set. I still have plans for this package, but this requires drastic changes. Therefore, I will only apply minimal maintenance to this package. Meanwhile I will work on a complete overhaul which will be released in due time as a new package. This new package will:
But until then, please enjoy the current package as is.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.