Some Amiga applications use a timeval struct (see references) to represent a time span in seconds. This function coerces raw data to such a numeric time span.
Timeval is a structure (struct) as specified in device/timer.h on the Amiga (see
references). It represents a timespan in seconds. This function retrieves the
numeric value from
raw data. Amongst others, the timeval struct was used
in the system-configuration file (see SysConfig) to specify key repeat speed,
key repeat delay and mouse double click speed. Use
as.raw for the inverse
of this function and get the original raw data.
vector of a timespan in seconds. It is
represented as an S3 AmigaTimeVal class.
Pepijn de Vries
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.