Skip to content
paul59 edited this page May 29, 2020 · 10 revisions

peek4

peek4 addr4 -> val4

Parameters:

  • addr4 : any address of the 80K RAM byte you want to read, divided in groups of 4 bits (nibbles). Therefore, to address the high nibble of position 0x2000 you should pass 0x4000 as addr4, and to access the low nibble (rightmost 4 bits) you would pass 0x4001.

Output:

  • val4 : the 4-bit value (0-15) read from the specified address.

Description:

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

Examples

Refer to poke4

See also: Spritesheet editing example in the examples page

Clone this wiki locally