poke

From ArchaicPixels: HuC and PCEAS Documentation

Jump to: navigation, search

poke(int offset, char val);

    Write 'val' value at memory location 'offset'.
    poke() is char-sized access, whereas  pokew() is word-sized.
    This function can be used to access the hardware
    I/O ports located at 0x0000 to 0x1FFF.
Personal tools