Skip to content
raydeejay edited this page Dec 4, 2017 · 2 revisions

poke4

poke4 addr4 val

Parameters:

  • addr4 : the nibble (4 bits) address in RAM to which to write,
  • val : the 4-bit value (0-15) to write to the specified address

Description:

This function allows you to write to the virtual RAM of TIC. It differs from poke in that it divides memory in groups of 4 bits. 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. The address should be specified in hexadecimal format, and values should be given in decimal.

Examples

Spritesheet editing example in the examples page

You can’t perform that action at this time.