Module base - Very basic, nothing-specific code that is called at every level of code

Very basic, nothing-specific code that is called at every level of code.

Index

Declarations

base.module:31Process die

INLINE PROC die (VAL []BYTE error)

Kills everything and reports an error back to the user.

Parameters:

VAL []BYTE error A string containing the error message.

base.module:47Function BV

BYTE INLINE FUNCTION BV (VAL INT bit)

Convert a bit number to a bit value. This is just 1 << bit, like _BV in the C headers.

Parameters:

VAL INT bit How far to shift 1 left.

Returns:

BYTE 1 shifted bit to the left

base.module:54Process delay

PROC delay (VAL INT millis)

Wait for a period of time.

Parameters:

VAL INT millis Time to wait, in milliseconds