Author Topic: 68881 FPU Testing Thread  (Read 6918 times)

Offline RobIvy64

  • MassiveMember
  • ****
  • Posts: 464
  • Texas!
68881 FPU Testing Thread
« on: February 07, 2012, 01:12:14 am »


Just curious about this one.

I have an FPU board on the way, and would like to know what games or software takes advantage of the 68881.

I doubt many games do, but I am sure there are some.
« Last Edit: April 08, 2012, 05:43:12 am by RobIvy64 »
"Console Mods" lurker

Offline SuperDeadite

  • MassiveMember
  • ****
  • Posts: 355
Re: Games/software that utilize the 68881 FPU?
« Reply #1 on: February 07, 2012, 01:16:59 am »
Cho ren sha uses Float2.x.  And I think that's it.

Offline RobIvy64

  • MassiveMember
  • ****
  • Posts: 464
  • Texas!
Re: Games/software that utilize the 68881 FPU?
« Reply #2 on: February 07, 2012, 01:23:30 am »
I knew about Cho and Otoko Dama

It's worth having for cho ren sha alone.
« Last Edit: February 07, 2012, 01:53:39 am by RobIvy64 »
"Console Mods" lurker

Offline RobIvy64

  • MassiveMember
  • ****
  • Posts: 464
  • Texas!
Re: Games/software that utilize the 68881 FPU?
« Reply #3 on: February 09, 2012, 12:10:31 am »
Guess i'll be finding out for myself!
"Console Mods" lurker

Offline SuperDeadite

  • MassiveMember
  • ****
  • Posts: 355
Re: Games/software that utilize the 68881 FPU?
« Reply #4 on: February 10, 2012, 04:58:59 am »
So for shits and giggles, I deleted FLoat2 off of Cho Ren Sha, added float3, then edited the config.sys to use float3.
Normally I run the game at 16mhz, and there is a tiny bit of slowdown here and there.  Using Float3, the slowdown
was totally removed, but the game flickered like crazy.  Enemies, bullets, flickered at times like a cheap transparency effect. 
Weird as hell, and not recommended lol. 

Offline RobIvy64

  • MassiveMember
  • ****
  • Posts: 464
  • Texas!
Re: Games/software that utilize the 68881 FPU?
« Reply #5 on: February 10, 2012, 05:04:56 am »
I'll be testing this out myself with a number of games, including retail releases.

My FPU board should be in soon  8)
"Console Mods" lurker

Offline RobIvy64

  • MassiveMember
  • ****
  • Posts: 464
  • Texas!
Re: Games/software that utilize the 68881 FPU?
« Reply #6 on: April 07, 2012, 01:49:38 pm »
OK, I finally had time to play around with the FLOAT3.x FPU driver.

I did the same thing that deadite did in regards to Chorensha 68K.

First, I removed FLOAT2.x in config.sys, and replaced that line with FLOAT3.x

The results? No change. Slowdown appeared to be the same, and no graphical errors like deadite reported seeing.

I added the line for FLOAT2.x back into the config.sys, and again the same results.

To ensure that it is using the hardware FPU, I am going to remove the FPU board, and boot Chorensha using only the FLOAT3.x driver.
"Console Mods" lurker

Offline RobIvy64

  • MassiveMember
  • ****
  • Posts: 464
  • Texas!
68881 FPU Testing Thread
« Reply #7 on: April 08, 2012, 04:32:46 am »
Chorensha will not start when FLOAT3.x is used in place of FLOAT2.x and no 68881 is present.

With the 68881 installed, it starts as normal.

Here is the error if anyone would like to translate it.

« Last Edit: April 08, 2012, 06:50:21 am by RobIvy64 »
"Console Mods" lurker

Offline lydux

  • MassiveMember
  • ****
  • Posts: 238
Re: 68881 FPU Testing Thread
« Reply #8 on: April 08, 2012, 12:25:15 pm »
This is the typical "BusError" message from human68k. This is an exception raised by the cpu when a program try to access data somewhere in address space, but there is nothing at this address. In your case, the FPU.

From what I know :
- FLOAT2.X is a softfloat driver, a way to emulate IEEE FPU instructions using m68k integer arithmetic instructions.
- FLOAT3.X is the driver for the real FPU (68881 or 68882) as an expansion card.
- FLOAT4.X is the driver for M68020+ which embed an FPU.

Offline RobIvy64

  • MassiveMember
  • ****
  • Posts: 464
  • Texas!
Re: 68881 FPU Testing Thread
« Reply #9 on: April 08, 2012, 12:42:13 pm »
Here is the description of Float3.x from the FPU manual.


"Console Mods" lurker

Offline eidis

  • ThrobbingMember
  • *****
  • Posts: 1200
Re: 68881 FPU Testing Thread
« Reply #10 on: April 08, 2012, 11:01:17 pm »
*FLOAT3.X

この数値演算デバイスドライバは、FPC を利用して数値演算を処理するデバイスドライパです。

Math device driver is a device driver to handle the math performance using the FPC.

本ボードを使用する場合は通常このデバイスドライバを使用します(付属ディスク中のCONFIG.SYSファイルで組み込んでいます。)。

If you are using this board (not incorporated in the CONFIG.SYS file in the disk supplied.) Usually use this device driver.

浮動小数点数の内部表現は、IEEEフオーマツ卜に準拠しています。

Internal representation of floating-point number is in compliance with IEEE Fuomatsu me.

このデバイスドライバを組み込むとシステム起動時に下のよろなメッセージか表示されます。

What message is displayed when the system boots beneath Yolo and incorporate this device driver.

浮動小数点演算 Co-PROCESSOR DRIVER for X68000 version 1.00 (IEEE フォーマット)

Co-PROCESSOR DRIVER for X68000 version 1.00 floating-point arithmetic (IEEE format)

デバイスドライバを組み込んだ時のメモリ上のシステムの配置は下のようになります。

Placement of the system on the memory of when incorporating the device driver will be as under.


X68000 personal computer is called, "X68K" or "no good good" is called, is the PC that are loved by many people today.

Offline AnimaInCorpore

  • SmallMember
  • **
  • Posts: 23
Re: Games/software that utilize the 68881 FPU?
« Reply #11 on: October 14, 2014, 07:19:35 pm »
Cho ren sha uses Float2.x.  And I think that's it.
I know it's an old thread but probably this might be interesting: Cho Ren Sha uses floating point functions only for data table initializations and the CPU benchmark at start. Also Cho Ren Sha will use a different sprite display mode when the "CPU_POWER" is 130% or higher.

Offline e1000

  • SmallMember
  • **
  • Posts: 22
Re: 68881 FPU Testing Thread
« Reply #12 on: January 30, 2015, 12:47:16 am »
Hi,

I'm posting to this thread to keep knowledge under the same subject.

I have a KGB-PRKII expansion with an FPU socket.

Ok, I purchased one FPU and placed into its socket. Pictures here: http://goo.gl/tr0kjX

Also I noticed that there's a jumper, which I changed the position according to other KGB+FPU pictures I saw.

Is that jumper position right?

Besides that, reading these FPU threads I know that I need to change CONFIG.SYS, replacing FLOAT2.X by FLOAT3.X

I think that's it, any other hint will be appreciated!

Thanks!

Offline H68k

  • MassiveMember
  • ****
  • Posts: 168
Re: 68881 FPU Testing Thread
« Reply #13 on: January 30, 2015, 06:32:30 am »
I'm not sure about the KGB PRK memory board with the optional FPU slot..

But here's your FPU drivers in a nutshell:

Float2 emulates the '881/2 FPU's in software, using the 68k CPU's instructions alone. witch makes it slower than the hardware FPU drivers.

Float3 uses the real '881/2 FPU's.

Float4 is a third party FPU driver, for the 68040's built in FPU. I'm not sure if this works with a separate '881/2 FPU though. 


Offline SuperDeadite

  • MassiveMember
  • ****
  • Posts: 355
Re: 68881 FPU Testing Thread
« Reply #14 on: January 30, 2015, 10:41:59 am »
To this day, Xak II and Crossfire EX are the only games I know of that officially support the 68881.

Offline 98pacecar

  • BigMember
  • ***
  • Posts: 57
Re: 68881 FPU Testing Thread
« Reply #15 on: January 30, 2015, 01:07:59 pm »
If you change your config.sys to load the float3.x and the jumper isn't correct, it will throw an error. If I get a chance this weekend, I'll pull my KGB-PRKII and see how it's set as I know it's working.

Offline e1000

  • SmallMember
  • **
  • Posts: 22
Re: 68881 FPU Testing Thread
« Reply #16 on: February 03, 2015, 10:05:59 am »
I did the float3.x change in config.sys and the X68 started with no issues!  :D