read.SysConfig: Read an Amiga system-configuration file

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/system_configuration.r

Description

Read a binary Amiga system-configuration file and return as SysConfig object.

Usage

1

Arguments

file

The file name of a system-configuration file to be read. Can also be a connection that allows reading binary data.

disk

A virtual Commodore Amiga disk from which the file should be read. This should be an amigaDisk object. Using this argument requires the adfExplorer package. When set to NULL, this argument is ignored.

Details

Amiga OS 1.x stored system preferences in a binary system-configuration file. This function returns the file in a comprehensive format (a SysConfig object).

Value

Returns an S3 SysConfig class object based on the file that is read.

Author(s)

Pepijn de Vries

See Also

Other SysConfig.operations: SysConfig, rawToSysConfig(), simpleSysConfig(), write.SysConfig()

Other io.operations: read.AmigaBasicBMAP(), read.AmigaBasicShape(), read.AmigaBasic(), read.AmigaBitmapFontSet(), read.AmigaBitmapFont(), read.AmigaIcon(), read.iff(), write.AmigaBasicShape(), write.AmigaBasic(), write.AmigaBitmapFont(), write.AmigaIcon(), write.SysConfig(), write.iff()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
## Put a simple SysConfig object into the tempdir:
write.SysConfig(simpleSysConfig(), file.path(tempdir(), "system-configuration"))

## Now read the same file:
sc <- read.SysConfig(file.path(tempdir(), "system-configuration"))

## and plot it
plot(sc)

## End(Not run)

AmigaFFH documentation built on Sept. 5, 2021, 5:22 p.m.