Message-ID: <006701bdfdd4$f7f0f620$c5223182@marst96.m.resnet.pitt.edu> From: "mark reed" To: Subject: Re: Aaargh! My mouse function is still not working!!! Date: Thu, 22 Oct 1998 11:59:36 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Reply-To: djgpp AT delorie DOT com your plotting the address of x and y not x and y Try getting rid of the &'s >void Plot_Pixel(int x, int y, int colour) >{ >_farpokeb(_dos_ds, 0xa0000 + ((y<<8) + (y<<6))+ x, colour); >} > if(mouse_button(MOUSE_LB)) > { >>>> Plot_Pixel((int)&x, (int)&y, colour); > }