From: Joseph Rose Newsgroups: comp.os.msdos.djgpp Subject: Re: __stdcall and fastcall in DJGPP? Date: Mon, 01 May 2000 19:50:33 -0400 Organization: Posted via Supernews, http://www.supernews.com Lines: 29 Message-ID: <390E1849.E68B7741@pop.gis.net> References: <390CB120 DOT 89612A6D AT pop DOT gis DOT net> <390cafee DOT 47722636 AT news DOT freeserve DOT net> <390CB710 DOT 8CDF5339 AT pop DOT gis DOT net> <390d4593 DOT 2926845 AT news DOT freeserve DOT net> X-Complaints-To: newsabuse AT supernews DOT com X-Mailer: Mozilla 4.7 [en]C-NECCK (Win98; I) X-Accept-Language: en MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Steamer wrote: > Joseph Rose wrote: > > >What's "profiling"? > > See the FAQ. > DJGPP's FAQ? Which page? > > >Also, the routine in question, Draw_Line_HorizHere, > >uses DS:EDI for the position of the line and ECX for the length. Any other > >routine which might use the registers will be designed to interface with > >other asm routines and probably use the registers a certain way > >(AL=color/Value, EDI=destination, ECX=Length/X/Some kind of factor, EDX=Y, > >etc.) > > Then you can't directly call them from DJGPP code. (Hmm, not quite true, > now I come to think about it. You could call them from inline asm.) > > S. Okay. But you missed the question about __stdcall and __cdecl parameter-passing.