OWBasic for Pocketviewer

Home INTRO Group SYSTEM Alphabetical Index

Write Bytes into Memory

POKE seg%,offs%,val%

Writes the value val to the byte, which is located in the segment seg in the place offs in the memory . The absolute address of this byte is seg*16+offs.
Seg and offs are unsigned numbers, e.g. a value of -1 in OWBasic corresponds to the unsigned value 65535.


  • PEEK - Read Bytes from Memory
  • OUT - Port-Output
Home INTRO Group SYSTEM Alphabetical Index