Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!CS.WM.EDU!csrobe From: csrobe@CS.WM.EDU (Chip Roberson) Newsgroups: comp.sys.atari.st Subject: MWC Rsconf() return value? Message-ID: <8903031723.AA06330@cs.wm.edu> Date: 3 Mar 89 17:23:51 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 26 I've been working no the UUPC code and noticed that the original code (compiled with a different compiler) has a return value for Rsconf(). I looked in the _Atari_ST_Internals_ and the c-code fragment shows Rsconf() as "void". BUT!, if you go to the assembler listing in the back of the book you see that the asm code shows a long being returned in D0. I looked in and Rsconf() is just a macro for xbios() which does indeed return a long. I changed the macro in to be of type "long" and it works -- i get the original values of the registers as a return value. If you have MWC you might want to modify your to do the same. Now if I could get the two systems to complete a connection... cheers, -c |Chip Roberson ARPANET: csrobe@cs.wm.edu | |Dept of Comp. Sci. csrobe@icase.edu | |College of William and Mary BITNET: #csrobe@wmmvs.bitnet | |Williamsburg, VA 23185 UUCP: ...!uunet!pyrdc!gmu90x!wmcs!csrobe| "It takes 40 dumb animals to make a fur coat, and just one dumb animal to wear it." -European TV commercial [A Cruelty-Free Companies list is available for anonymous ftp from cs.wm.edu.]