poke4 addr4 val
- 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
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.
Spritesheet editing example in the examples page