From: DavMac AT iname DOT com (Davin McCall) Newsgroups: comp.os.msdos.djgpp Subject: Re: Weird pointer! Date: Sat, 04 Sep 1999 04:17:53 GMT Organization: Monash Uni Lines: 30 Distribution: world Message-ID: <37d09cf1.844626@newsserver.cc.monash.edu.au> References: <37CE6D5B DOT D3754914 AT swipnet DOT se> NNTP-Posting-Host: damcc5.halls.monash.edu.au X-Trace: towncrier.cc.monash.edu.au 936418617 23737 130.194.198.138 (4 Sep 1999 04:16:57 GMT) X-Complaints-To: abuse AT monash DOT edu DOT au NNTP-Posting-Date: 4 Sep 1999 04:16:57 GMT X-Newsreader: Forte Free Agent 1.1/32.230 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com It's difficult to say without seeing the assembly code for the flip function. Presumably there is something wrong with it. >What happens to the pointer when entering the asm function? >Will nearpointers be disabled as soon as I make a function call? Nothing, normally: all arguments are placed on the stack as usual. Nearpointers will not be disabled. Davin. On Thu, 02 Sep 1999 14:28:11 +0200, Anders David Skarin wrote: >Hi, > >I'm having trouble with my vesa routines. I had it >all working fine, with some fast asm flip functions. >But trying it on a second computer I found out it was >pure luck. So now I tried a new approach, but somehow >my asm routines won't work anymore. >Thanks to anyone that has any info on the subject and is kind enough >to share it with a desperate coder. __________________________________________________________ *** davmac - sharkin'!! davmac AT iname DOT com *** my programming page: http://yoyo.cc.monash.edu.au/~davmac/