From: dontmailme AT iname DOT com (Steamer) Newsgroups: comp.os.msdos.djgpp Subject: Re: __stdcall and fastcall in DJGPP? Date: Mon, 01 May 2000 08:51:52 GMT Organization: always disorganized Lines: 17 Message-ID: <390d4593.2926845@news.freeserve.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> NNTP-Posting-Host: modem-213.ohio.dialup.pol.co.uk X-Trace: news5.svr.pol.co.uk 957171112 29902 62.137.86.213 (1 May 2000 08:51:52 GMT) NNTP-Posting-Date: 1 May 2000 08:51:52 GMT X-Complaints-To: abuse AT theplanet DOT net X-Newsreader: Forte Free Agent 1.11/32.235 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Joseph Rose wrote: >What's "profiling"? See the FAQ. >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.