SecondBASIC Documentation v3

Home / Function Reference / VdpRamRead()

VdpRamRead()

Description: Reads a word from VRAM at <address> and returns a 16-bit, 2 byte value.

Syntax:

VdpRamRead(<address>)

Part Description
<address> Required. The address in VRAM to read from. The address must be an even address.

Example:

        a = VdpRamRead(64)
        Print a