If in any way you have a BASIC (either built-in or in disk form) that's quite straight-forward, actually. It's just "POKE address,data" for write and "PEEK address" for read.