[comp.sys.atari.st] MW C compiler & Raster Ops

bri@mit-eddie.UUCP (04/13/87)

Has anyone had any problems getting the Mark Williams C compiler to work with
raster operations.  A program of mine that works under Alcyon, gives me 2 bombs
under MW version 2.0.  The routine in question is vrt_cpyfm() I believe.  My
calling format is something like:

	vrt_cpyfm(Ws_handle,1,pxy,&sourceMFDB,&destMFDB,color_array);

Now, the MW docs say not to use a color_array (an array of ints as described
in the Abacus books) but to use an int instead.  In any case, the line above
works with the Alcyon compiler (barring typing or memory mistakes).  Also,
maybe I used a 3 instead of a 1 (I never remember the mode numbers).

Any help is greatly appreciated.

						--- Bri

					...!eddie!bri
					...!mit-vax!bri
					g.bri@deep-thought.mit.edu.ARPA
-- 
	Brian Totty				...!eddie!bri
	450 Memorial Drive / Room D113		...!mit-eddie!bri
	Cambridge, MA 02139			g.bri@deep-thought.mit.edu
	(617) 225-9273