system

uxn_expansion

Parameters: addr op

Writes op to the System/expansion port.

uxn_get_wst

Returns: cell wst

Gets the working stack pointer from the System/wst port

uxn_set_wst

Parameters: cell wst

Sets the working stack pointer

uxn_get_rst

Returns: cell rst

Gets the return stack pointer from the System/rst port

uxn_set_rst

Parameters: cell rst

Sets the return stack pointer

uxn_set_metadata

Parameters: addr metadata

Writes metadata to the System/metadata port

uxn_get_metadata

Parameters: addr metadata

Reads the value from the System/metadata port

uxn_set_red

Parameters: cell red

Writes red to the System/r port

uxn_get_red

Returns: cell red

Reads the value from the System/r port.

uxn_set_green

Parameters: cell green

Writes green to the System/g port

uxn_get_green

Returns: cell green

Reads the value from the System/g port

uxn_set_blue

Parameters: cell blue

Writes blue to the System/b port

uxn_get_blue

Returns: cell blue

Reads the value from the System/b port

uxn_debug

Parameters: cell value

Writes value to the System/debug port

uxn_state

Parameters: cell value

Writes value to the System/state port