Overview Features Coding ApolloOS Performance Forum Downloads Products Order Contact

Welcome to the Apollo Forum

This forum is for people interested in the APOLLO CPU.
Please read the forum usage manual.
Please visit our Apollo-Discord Server for support.



All TopicsNewsPerformanceGamesDemosApolloVampireAROSWorkbenchATARIReleases
Documentation about the Vampire hardware

HSMathlibs Not Working In Vampire 500 V2+

Ricard B

Posts 11
03 Aug 2019 06:37


Hello.

Has anyone managed to make work the HSMathlibs060 with any Vampire ?

I have built a 3.1.4.1 kickstart with the new mathffp and mathieeesingbas libraries from HSMathlibs and the system boots but the FPU is not detected. The same kickstart works perfectly in WinUAE.

Thank you.


Gunnar von Boehn
(Apollo Team Member)
Posts 6207
03 Aug 2019 07:18


Ricard B wrote:

Hello.
 
Has anyone managed to make work the HSMathlibs060 with any Vampire ?

080 is not a 060
the 060 is crippled in some ways and misses some instructions which  040 and 080 have.


Gunnar von Boehn
(Apollo Team Member)
Posts 6207
03 Aug 2019 07:27


Gunnar von Boehn wrote:

Ricard B wrote:

  Hello.
   
  Has anyone managed to make work the HSMathlibs060 with any Vampire ?
 

  080 is not a 060
  the 060 is crippled in some ways and misses some instructions which  040 and 080 have.

Ricard B wrote:

The same kickstart works perfectly in WinUAE.

Does it work with 040 CPU in UAE?


Ricard B

Posts 11
03 Aug 2019 08:08


No. In WinUAE only works with 060 CPU.




Gunnar von Boehn
(Apollo Team Member)
Posts 6207
03 Aug 2019 08:32


Ricard B wrote:

No. In WinUAE only works with 060 CPU.

Ok, this explains it.

The MATH lib seems to "look" for a 68060 flag.
The 68080 is by the kickstart shown as 080 and 040 - but not as 060.
The "060" flag means for many programs that the core is "only" an 060 which means that it misses many instructions.

The 040 is technically "more" than the "060".
Both 080 and 040 include the instructions which the 060 misses.



Ricard B

Posts 11
03 Aug 2019 10:04


You are right. The 040 version works. I have dowloaded the 040 demo version and built a new kickstart for testing.

With the Vampire 500 V2+ there are a huge improvement (at least using his benchmark programs). See below the test results (500000 iteractions):

Kickstart 3.1.4.1 + OS libraries:
mathffpTest            8.36s
mathieeedoubbasTest    6.02s
mathieeedoubtransTest  80.12s
mathieeesingbasTest    4.28s
mathieeesingtransTest  73.7s
mathtransTest          117.56s

Kickstart 3.1.4.1 + HSMathlibs_040
mathffpTest            4.78s
mathieeedoubbasTest    5.02s
mathieeedoubtransTest  29.54s
mathieeesingbasTest    3.42s
mathieeesingtransTest  30.66s
mathtransTest          31.3s


Stefano Briccolani

Posts 586
03 Aug 2019 11:46


Ricard B
Can you explain exacly what you did? You've used romsplit and remus and made a custom 3.1.4 rom? What os files have you put/substitute in roms?


Ricard B

Posts 11
03 Aug 2019 12:53


Stefano Briccolani wrote:

Ricard B
  Can you explain exacly what you did? You've used romsplit and remus and made a custom 3.1.4 rom? What os files have you put/substitute in roms?

The mathffp.library and mathieeesingbas.library inluded in the HSMathlibs demos are no directly romable.

First you have to change the BSS size of hunk #0x0 from 4 to 0 (you can use the hunk editor from aminet).

The rest, as you said, romsplit and remus.

posts 8