🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #36873

MWC Rsconf() return value?

#36873
From: Chip Roberson
Date: Fri, 03 Mar 1989 17:23
26 lines
1630 bytes
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.]
Technical Details
Message-ID: <8903031723.AA06330@cs.wm.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!CS.WM.EDU!csrobe

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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