CALL VCOPY
This page was last modified 10:50, 18 May 2020 by Mars2000you. Based on work by Gdx.

Contents

Effect

Makes a copy of a rectangular area to another area in the VRAM with zoom in/out, rotation or invert.

Syntax

CALL VCOPY (<X0>,<Y0>)-STEP(<X1>,<Y1>),<PS> TO (<X2>,<Y2>-STEP<X3>,<Y3>),<V>,<PD>,<R> ON(<X4>,<Y4>),<LO>

The <PS>, <PD>, <R>, <ON> and <LO> parameters are optional. Parameters can not end with a comma alone.

Parameters

<X0> and <Y0> are coordinates of first corner of source area (X0=0~255/511, Y0=0~511/1023).

<X1> and <Y1> are coordinates of the opposite corner of source area (X0=0~255/511, Y0=0~511/1023).

STEP parameter changes following coordinates X and Y to relative coordinates (and therefore allows the use of negative values) when specified.

<X2> and <Y2> are coordinates of the first corner of destination area (X0=0~255/511, Y0=0~511/1023).

<PS> is the source page of VRAM.

<X3> and <Y3> are coordinates of the opposite corner of destination area (X0=0~255/511, Y0=0~511/1023).

<PD> is destination page of VRAM.

<R> is a clockwise rotation that must be specified in degree.

<X4> and <Y4> are coordinates of rotation axis. X2 and Y2 are used by defaut.

<LO> is the logical operator that you want use. (PSET (default), AND, OR, XOR, NOT, TPSET, TAND, TOR, TXOR, TNOT)

Related to

CALL CELLO, CALL HMMV, CALL HMMM, CALL LMMM, CALL LMMV, CALL YMMM

Compatibility

DM-System2 BASIC