peek4 - winnichenko/BLOB-87 GitHub Wiki
peek4
peek4 addr4 -> val4
Parameters
- addr4 : any address of the 96K 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.
See also:
Examples
See also: Spritesheet editing example in the examples page