OWBasic for Pocketviewer

Home INTRO Group SYSTEM Alphabetical Index

Read Bytes from Memory

PEEK(seg%,offs%)

The function returns the byte value, 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.


  • POKE - Write Bytes into Memory
  • IN - Port Input
Home INTRO Group SYSTEM Alphabetical Index