[comp.sys.amiga] Netch 68010/68881 and Manx C 3.40a

cherry@husc4.HARVARD.EDU (michael cherry) (12/17/87)

<=>
I've been using a Netch 68010/68881 board in my A1000 for over a year. I'm
having problems linking in the Netch fpu object library to take advantage
of the 68881. The linker finds the first module it needs to not be in the
proper library format. Also when I have the Manx compiler generate 68881
code with the +f8 switch (with or without 32 bit ints), after compiling
with no errors, I get a visit from the guru.

Anyone out there using the Netch board on a A1000 and the Manx 3.40a compiler.
I'd like to here from you, especially if you can enlighten me on how to get
this combination to function.

Thanks, Mike Cherry
cherry@husc4.harvard.edu

daveh@cbmvax.UUCP (Dave Haynie) (12/22/87)

in article <3577@husc6.harvard.edu>, cherry@husc4.HARVARD.EDU (michael cherry) says:
> Keywords: 68010 68881 Manx Netch
> 
> I've been using a Netch 68010/68881 board in my A1000 for over a year. I'm
> having problems linking in the Netch fpu object library to take advantage
> of the 68881. The linker finds the first module it needs to not be in the
> proper library format. Also when I have the Manx compiler generate 68881
> code with the +f8 switch (with or without 32 bit ints), after compiling
> with no errors, I get a visit from the guru.

Not sure why the object libraries are causing a problem.  Or maybe I am.  I
suspect that these are standard Amiga object modules.  I think Manx uses a
private object module format and would have trouble with the standard kind.
Maybe they have a conversion tool of some kind.

As for the board not working with the in-line 68881 code, that's easy.  In-line
code generates direct coprocessor instructions.  Unfortunately, only a 68020
can address the 68881 directly as a coprocessor, both 68010 and 68000 have to
address it as a peripheral.  Thus, the GURU you get is an "F-line" exception.
What you really want in this case is an expection handler for the F-line traps,
which would call up your 68881 as a peripheral.  

I suspect the best thing to do would be to contact the Netch people and see if
they either have a Manx compatible object module or an F-line emulator package
for that board.  As an alternative, you can open the math libraries directly
via OpenLibrary() if Manx doesn't already use them, if Netch gave you 
replacement Amiga libraries.  Or wait a month or two; there are new math
libraries (Microbotics is using beta versions with their 68881 scheme) that
support software floating point, coprocessor floating point with a 68020, or
I/O driven 68881 floating point with a 68000 or 68010 and the proper resource
file.

> Thanks, Mike Cherry
> cherry@husc4.harvard.edu
-- 
Dave Haynie     Commodore-Amiga    Usenet: {ihnp4|uunet|rutgers}!cbmvax!daveh
   "The B2000 Guy"              PLINK : D-DAVE H             BIX   : hazy
		"I can't relax, 'cause I'm a Boinger!"