Article View: comp.sys.atari.st
Article #25781Re: Help! vro_cpyfm,vrt_cpyfm
From: Alex Leavens
Date: Wed, 18 Mar 1987 19:05
Date: Wed, 18 Mar 1987 19:05
29 lines
1859 bytes
1859 bytes
in article <8703170112.AA00614@ucbvax.Berkeley.EDU>, JANKOWSJ@UNION.BITNET says:
> Is there any-hacker in this universe that can assist me in
> finding information about working with the G.E.M. functions
>
> vro_cpyfm(handle,copy_logic,xy_array,psource_mfdb,pdest_mfdb);
> vrt_cpyfm(handle,writing_mode,xy_array,psource_mfdb,pdest,col);
>
> These two functions are used primarily to copy memory from
> screen device to ram-memory of visa-versa. However, I would
> like to be able to copy from memory to memory or visa-versa.
> Can this be accomplished with these functions or am I living in
> a fantasy.
Although I've never actually tried using these functions for memory to
memory move, I don't see any reason why they shouldn't work. Several caveats
are probably in order, however:
1) You'll probably want to use the monochrome raster copy.
2) Make _sure_ that your source and destination blocks the
same size.
3) Make sure the pixel width of your raster is an even multiple
of a word size (ie, 16).
4) You probably want to make sure that your source and destination
rectangles don't overlap.
Good luck!
Technical Details
Message-ID:
<672@atari.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!ames!ucbcad!ucbvax!decvax!decwrl!sun!imagen!atari!leavensReferences:
<8703170112.AA00614@ucbvax.Berkeley.EDU>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!ames!ucbcad!ucbvax!decvax!decwrl!sun!imagen!atari!leavens From: leavens@atari.UUCP (Alex Leavens) Newsgroups: comp.sys.atari.st Subject: Re: Help! vro_cpyfm,vrt_cpyfm Message-ID: <672@atari.UUCP> Date: Wed, 18-Mar-87 14:05:15 EST Article-I.D.: atari.672 Posted: Wed Mar 18 14:05:15 1987 Date-Received: Fri, 20-Mar-87 02:40:06 EST References: <8703170112.AA00614@ucbvax.Berkeley.EDU> Distribution: world Organization: Atari Corp., Sunnyvale CA Lines: 29