poke( addr, val )
Writes a byte to a memory location.
The address of the memory location.

The byte value.

The poke() function writes a byte to the addressable memory region (0x000-0x7fff). See Memory for information about the memory layout.

See poke2() for a way to write a 16-bit value to two consecutive memory addresses, and poke4() to write a 32-bit value to four consecutive memory addresses.

Examples Edit

poke(0x4300, 255)

See also Edit

Community content is available under CC-BY-SA unless otherwise noted.