Xref: news-dnh.mv.net comp.os.msdos.djgpp:4187 Path: news-dnh.mv.net!mv!barney.gvi.net!news.sprintlink.net!news.heurikon.com!daffy!uwvax!uchinews!vixen.cso.uiuc.edu!newsfeed.internetmci.com!newsxfer2.itd.umich.edu!agate!ames!waikato!news.massey.ac.nz!manawatu.planet.co.nz!news From: malcolm AT manawatu DOT gen DOT nz (Malcolm Taylor) Newsgroups: comp.os.msdos.djgpp Subject: Re: Locking the HW intr. handlers Date: Mon, 08 Jan 1996 04:55:04 GMT Organization: Grafik Software Lines: 23 Message-ID: <4cq8cr$jp2@news.manawatu.gen.nz> References: <30f01e56 DOT sandmann AT clio DOT rice DOT edu> Reply-To: malcolm AT manawatu DOT gen DOT nz NNTP-Posting-Host: malcolm.manawatu.gen.nz To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Charles Sandmann wrote: >> P.S.: BTW, has anyone read my suggestions about rewriting the libraries >> and startup files to be compatible with the register calling conventions? >> Or maybe everyone thinks its just not worth anything? >It's a very interesting idea, but it's a major effort and will have >compatibility problems with code already out there. If I had the time >I would like to play with it more to see how big an effect is has on >some typical applications to see if it's worth the effort. So my >attitude right now is put it on the list of interesting things to play >with when I get the time. Is it not possible to mix the register calling convention with the normal, and so all that would be needed is to make all the functions that are in C '__attribute__ ((regparam(3)))' (or a relavant number) . As far as I know the compiler and linker would then deal with it itself. Please correct me if I am wrong though as I am interrested in this to use in my own programs. Malcolm