Can all registered uses please login, even just for a few minutes..
It helps build a picture where our "good traffic" is coming from..
Thanks :)

DEVPAC 68881 required error

News,announcements,programming,fixes,game patches & discussions.
User avatar
exxos
Site Admin
Site Admin
Posts: 28796
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

DEVPAC 68881 required error

Post 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
huh.jpg (63.53 KiB) Viewed 5767 times

Do I need a FPU lib or something for it to compile ?
czietz
Posts: 587
Joined: Sun Jan 14, 2018 1:02 pm

Re: DEVPAC 68881 required error

Post 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
devpac.png (35.9 KiB) Viewed 5748 times
User avatar
exxos
Site Admin
Site Admin
Posts: 28796
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: DEVPAC 68881 required error

Post by exxos »

Thanks, tried it, but still get the same error message :(
czietz
Posts: 587
Joined: Sun Jan 14, 2018 1:02 pm

Re: DEVPAC 68881 required error

Post 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.
User avatar
exxos
Site Admin
Site Admin
Posts: 28796
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: DEVPAC 68881 required error

Post by exxos »

czietz wrote: Thu Jun 20, 2019 9:52 am 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
Capture.JPG (123.28 KiB) Viewed 5726 times

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.
User avatar
PhilC
Moderator
Moderator
Posts: 7548
Joined: Fri Mar 23, 2018 8:22 pm

Re: DEVPAC 68881 required error

Post by PhilC »

Could it be that to compile the code, you need to have an FPU of the correct type installed in the computer?
If it ain't broke, test it to Destruction.
User avatar
exxos
Site Admin
Site Admin
Posts: 28796
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: DEVPAC 68881 required error

Post by exxos »

PhilC wrote: Thu Jun 20, 2019 10:11 am 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.
czietz
Posts: 587
Joined: Sun Jan 14, 2018 1:02 pm

Re: DEVPAC 68881 required error

Post 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.
User avatar
exxos
Site Admin
Site Admin
Posts: 28796
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: DEVPAC 68881 required error

Post by exxos »

ah so there is a 030.ttp in there, but just swapping the files gives another problem..

Capture.JPG
Capture.JPG (43.51 KiB) Viewed 5714 times

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


EDIT:

Ah here we go then...
Capture.JPG
Capture.JPG (33.14 KiB) Viewed 5714 times

So this file should match the GB6 asm file... lets see...
User avatar
exxos
Site Admin
Site Admin
Posts: 28796
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: DEVPAC 68881 required error

Post 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
1.JPG (181.31 KiB) Viewed 5707 times
Post Reply

Return to “SOFTWARE PROGRAMMING & DISCUSSION”