Page 1 of 2

DEVPAC 68881 required error

Posted: 19 Jun 2019 23:16
by exxos
So my first try to compile my own GB6 ASM code isn't going well..

In the code it has..

OPT P=68040,P=68881
OPT O+

Fair enough..

But trying to compile I get a error...
huh.jpg

Do I need a FPU lib or something for it to compile ?

Re: DEVPAC 68881 required error

Posted: 20 Jun 2019 06:55
by czietz
Not that I have much experience with Devpac, but the syntax of the OPT P line should be different according to the manual:
devpac.png

Re: DEVPAC 68881 required error

Posted: 20 Jun 2019 09:49
by exxos
Thanks, tried it, but still get the same error message :(

Re: DEVPAC 68881 required error

Posted: 20 Jun 2019 09:52
by czietz
What is the statement in line 423, then?

EDIT: Also I wonder if the combination of 68040/68881 is even allowed in Devpac, considering that the 68040 has a builtin FPU.

Re: DEVPAC 68881 required error

Posted: 20 Jun 2019 10:06
by exxos
czietz wrote: 20 Jun 2019 09:52 What is the statement in line 423, then?

EDIT: Also I wonder if the combination of 68040/68881 is even allowed in Devpac, considering that the 68040 has a builtin FPU.
Capture.JPG

Its the ASM routines for GB6.. d.m.l wrote them, and of course it compiled.. So I don't think the source is wrong, unless he used some other compiler. Will have to see if I can find his email address and ask him about it.

Re: DEVPAC 68881 required error

Posted: 20 Jun 2019 10:11
by PhilC
Could it be that to compile the code, you need to have an FPU of the correct type installed in the computer?

Re: DEVPAC 68881 required error

Posted: 20 Jun 2019 10:15
by exxos
PhilC wrote: 20 Jun 2019 10:11 Could it be that to compile the code, you need to have an FPU of the correct type installed in the computer?
I tried compiling in Hatari , as a 030 with FPU already.. I thought maybe steem was being moody, but have same issue on Hatari.

Re: DEVPAC 68881 required error

Posted: 20 Jun 2019 10:30
by czietz
OK, so the assembler needs a FPU on the development machine to handle floating point constants. WTF! They could have easily done that entirely in software. I know why I don't like Devpac much.

The particular line...
FMOVE.S #1.001,FP0
... compiles fine under Hatari with 68030 + FPU, if I use the 68030 version of the Devpac assembler, i.e., GEN030.TTP. I guess the regular 68000 version does not recognize the FPU if interfaced to a 68030.

Re: DEVPAC 68881 required error

Posted: 20 Jun 2019 10:46
by exxos
ah so there is a 030.ttp in there, but just swapping the files gives another problem..

Capture.JPG

So back to Hatari then... see what happens...


EDIT:

Ah here we go then...
Capture.JPG

So this file should match the GB6 asm file... lets see...

Re: DEVPAC 68881 required error

Posted: 20 Jun 2019 11:31
by exxos
So the only file it compiles to anything similar is "Lattice Linkable".. But the end of the file is different :shrug:

1.JPG