Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!mcvax!inria!lri!pa From: pa@lri.UUCP (Patrick Amar) Newsgroups: comp.sys.atari.st Subject: Re: programming the dma port Message-ID: <135@lri.UUCP> Date: Mon, 19-Jan-87 21:38:44 EST Article-I.D.: lri.135 Posted: Mon Jan 19 21:38:44 1987 Date-Received: Wed, 21-Jan-87 02:12:29 EST References: <5252@pur-ee.UUCP> Reply-To: pa@lri.UUCP (Patrick Amar) Organization: LRI, Orsay. France Lines: 11 Hello, when you say: *flock++ to set the lock flag, the C compiler understands something like: (flock++, *(flock-1)) This means that you do the ++ on the pointer and not on the thing pointed to by flock. To set the flag you can say: (*flock)++; Patrick Amar e mail: ...!seismo!mcvax!inria!lri!orion1!pa