Skip to content

Poke

Systems: MOS6502, Z80, Z180, M6809
Parameters: a,b,b


Pokes the specified address in parameter 1 + parameter 2 with  the value given in parameter 3.

Examples:

poke(^$D020, 0, RED); // Red border color

poke(my_array, 3, 10); // Set 3rd element of array to 10. // Same as: my_array[3] := 10; <

for i:=0 to b do poke(my_data, i, i*2);