Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

simpleSysConfig

Function to generate a simple Amiga system-configuration representation


Description

SysConfig objects are comprehensive representations of binary Amiga system-configuration files. Use this function to create a simple SysConfig object.

Usage

simpleSysConfig(options)

Arguments

options

A named list with elements of the target SysConfig object that need to be modified.

Details

The Amiga used the system-configuration file to store certain system preferences in a binary file. In the AmigaFFH package such files can be represented by the more comprehensive SysConfig class object. Use this function to create such an object with basic settings (which can be modified).

Value

Returns a comprehensive representation of a system-configuration file in the for of a SysConfig class object.

Author(s)

Pepijn de Vries

See Also

Other SysConfig.operations: SysConfig, rawToSysConfig, read.SysConfig, write.SysConfig

Examples

## Not run: 
## Create a simple system-configuration (S3 SysConfigClass)
sc <- simpleSysConfig()

## And modify it as you wish.
## in this case change the setting for the printer
## from the parallel port to the serial port:
sc$PrinterPort <- factor("SERIAL_PRINTER", levels(sc$PrinterPort))

## It is also to provide modifications to the configuration
## via the 'options' argument:
sc <- simpleSysConfig(options = list(FontHeight = 9))

## End(Not run)

AmigaFFH

Commodore Amiga File Format Handler

v0.3.1
GPL-3
Authors
Pepijn de Vries [aut, cre, dtc]
Initial release
2019-03-31

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.