[comp.sys.atari.st] MWC Rsconf

csrobe@CS.WM.EDU (Chip Roberson) (03/04/89)

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 <osbind.h> and Rsconf() is just a macro for xbios() which
does indeed return a long.  I changed the macro in <osbind.h> 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
<osbind.h> 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.]