CALL EXTCOPY
This page was last modified 23:48, 17 May 2020 by Mars2000you. Based on work by Gdx and Rderooy.

Contents

Effect

Decompression of BPE data from a screen area to the VRAM.

Syntax

CALL EXTCOPY (<SourceAddress>,<X>,<Y>,<Direction>),<Operator>

The two last parameters are optional. Parameters can not end with a comma alone.

Parameters

<SsourceAddress> is the start address (0~FFFFH) of the compressed data in RAM.

<X> is coordinate X of destination. (0~1023)

<Y> is coordinate Y of destination. (0~511)

<Direction> is a number between 0 and 3 to set the direction of expansion.

  • 0 is for a restitution of the image from X to right and Y to bottom. (default)
  • 1 is for a restitution from X to left and Y to bottom.
  • 2 is for a restitution from X to right and Y to top.
  • 3 is for a restitution from X to left and Y to top.

<Operator> is a logical operation to be performed between the old pixel and the new. The available operators are PSET (default), PRESET, XOR, OR, AND, TPSET, TPRESET, TXOR, TOR and TAND.

Related to

CALL EXT

Compatibility

DM-System2 BASIC