Xref: news-dnh.mv.net comp.os.msdos.djgpp:2646 Path: news-dnh.mv.net!mv!news.sprintlink.net!newsfeed.internetmci.com!ncar!noao!math.arizona.edu!news.Arizona.EDU!news.Cerritos.edu!nic-nac.CSU.net!zippy.sonoma.edu!svincent From: svincent AT zippy DOT sonoma DOT edu (Sam Vincent) Newsgroups: comp.os.msdos.djgpp Subject: Wrapper functions?? Date: 13 Oct 1995 22:08:48 GMT Organization: Information Resources and Technology Lines: 22 Nntp-Posting-Host: zippy.sonoma.edu To: djgpp AT sun DOT soe DOT clarkson DOT edu Dj-Gateway: from newsgroup comp.os.msdos.djgpp Hi all, What exactly do the interrupt handling wrapper functions do... I've been told they take a large chunk of runtime to process and that I should write my own assembly functions.. Well Ive done that and I save/restore eax, ebx, ecx, and edx and a iret at the end... I get a segfault signal and it dumps with a page fault (yes everything's locked down) and a register dump.. It works fine (although way too slow ) when I use C and the allocated wrappers.. The code for the assembly was the same as the C function.. (i got it from gcc -S'ing the function... and just adding the save/restore of regs and the iret at the end instead of a ret... I need to know exactly what else the wrapper functions do.. I'm at a loss here.. Thank you very much. Sam