Skip to content
Josh Goebel edited this page Oct 7, 2021 · 10 revisions

peek4

peek4 addr4 -> val4

Parameters

  • addr4 : the nibble (4-bit) address of RAM you desire to read (0 to 0x30000)

Output

  • val4 : the 4-bit integer value (0-15) read from RAM.

Description

This function enables you to read values from TIC's RAM. The address is often specified in hexadecimal format.

See poke4 for detailed information (and examples) on how nibble addressing compares with byte addressing.

See also:

Examples

See also: Spritesheet editing example in the examples page

Clone this wiki locally