🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #26258

MW C compiler & Raster Ops

#26258
From: bri
Date: Mon, 13 Apr 1987 05:13
25 lines
1464 bytes
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
Technical Details
Message-ID: <5455@eddie.MIT.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!rutgers!mit-eddie!bri

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!rutgers!mit-eddie!bri
From: bri@mit-eddie.UUCP
Newsgroups: comp.sys.atari.st
Subject: MW C compiler & Raster Ops
Message-ID: <5455@eddie.MIT.EDU>
Date: Mon, 13-Apr-87 00:13:40 EST
Article-I.D.: eddie.5455
Posted: Mon Apr 13 00:13:40 1987
Date-Received: Tue, 14-Apr-87 00:32:18 EST
Reply-To: bri@eddie.MIT.EDU (Brian Totty)
Distribution: world
Organization: MIT, EE/CS Computer Facilities, Cambridge, MA
Lines: 25