Recent

Author Topic: Can't run FPC-go32v2 on i80486SX (no FPU)  (Read 2104 times)

Tronix

  • Newbie
  • Posts: 4
Can't run FPC-go32v2 on i80486SX (no FPU)
« on: November 21, 2019, 05:37:42 pm »
Hi,

I'm trying install FPC v2.4.6 on old 80486SX-25 MHz (without FPU). I get dos264.zip, then place wmemu387.dxe in same folder with installation filesm then run install.exe and get error:

"FPC triple exception, exiting !!!"

Okay, i download version 3.0.4, install all files to folder /PP with help DosBox on Windows-machine, then copy /PP folder to 486SX, add PATH to autoexec.bat, copy wmemu387.dxe into /PP/BIN/GO32V2 folder, than run ppc386 and get:

"Exiting due to signal SIGNOFF
FPC Coprocessor not available at eip=000020F3
eax,ebx
..skip..
"

How can i run FPC onto my 80486SX computer?

guest64953

  • Guest
Re: Can't run FPC-go32v2 on i80486SX (no FPU)
« Reply #1 on: November 21, 2019, 05:47:28 pm »
Hi,

I'm trying install FPC v2.4.6 on old 80486SX-25 MHz (without FPU). I get dos264.zip, then place wmemu387.dxe in same folder with installation filesm then run install.exe and get error:

"FPC triple exception, exiting !!!"

Okay, i download version 3.0.4, install all files to folder /PP with help DosBox on Windows-machine, then copy /PP folder to 486SX, add PATH to autoexec.bat, copy wmemu387.dxe into /PP/BIN/GO32V2 folder, than run ppc386 and get:

"Exiting due to signal SIGNOFF
FPC Coprocessor not available at eip=000020F3
eax,ebx
..skip..
"

How can i run FPC onto my 80486SX computer?

Sorry for being offtopic. But I wonder why don't you just use a cross compiler to cross compile to your DOS from Windows? Programming on DOS is not a pleasure experience, at least I think so.

winni

  • Hero Member
  • *****
  • Posts: 3197
Re: Can't run FPC-go32v2 on i80486SX (no FPU)
« Reply #2 on: November 21, 2019, 05:52:20 pm »
Hi!

The 80468SX is the castrated (cheap) version of the 486. He has no Floating Point Unit.

You can do two different things:
* Insert a FPU CoProcessor
* or search for a library that does the FPU emulation with software on the OS level.

The second is awful slow!

The fpc compiler doesn't seem to have a FPU software emulation like Delphi 1 (ff) had.

Man - upgrade to a 80486!!!

Winni

Thaddy

  • Hero Member
  • *****
  • Posts: 14205
  • Probably until I exterminate Putin.
Re: Can't run FPC-go32v2 on i80486SX (no FPU)
« Reply #3 on: November 21, 2019, 06:34:26 pm »
FPC does have a fpu emulator as standard.
Option -CfSOFT

But it should not matter for an install and yes: it works on older 80486sx too.
The minimum is a 80386 for 32 bit.
« Last Edit: November 21, 2019, 06:38:31 pm by Thaddy »
Specialize a type, not a var.

winni

  • Hero Member
  • *****
  • Posts: 3197
Re: Can't run FPC-go32v2 on i80486SX (no FPU)
« Reply #4 on: November 21, 2019, 06:47:13 pm »


https://www.freepascal.org/docs-html/current/prog/progsu23.html


1.2.23 $FPUTYPE : Select coprocessor type

  SOFT: FPC emulates the coprocessor (not yet implemented).

Tronix

  • Newbie
  • Posts: 4
Re: Can't run FPC-go32v2 on i80486SX (no FPU)
« Reply #5 on: November 21, 2019, 06:58:50 pm »
FPC does have a fpu emulator as standard.
Option -CfSOFT

But it should not matter for an install and yes: it works on older 80486sx too.
The minimum is a 80386 for 32 bit.
It does, but it not work. I can't run ppc386.exe on 80486SX - i get SIGNOFF error with or without wemu387.dxe placed in the same folder with ppc386.exe.

Jonas Maebe

  • Hero Member
  • *****
  • Posts: 1058
Re: Can't run FPC-go32v2 on i80486SX (no FPU)
« Reply #6 on: November 21, 2019, 07:04:29 pm »

Tronix

  • Newbie
  • Posts: 4
Re: Can't run FPC-go32v2 on i80486SX (no FPU)
« Reply #7 on: November 21, 2019, 08:01:07 pm »

jamie

  • Hero Member
  • *****
  • Posts: 6090
Re: Can't run FPC-go32v2 on i80486SX (no FPU)
« Reply #8 on: November 21, 2019, 11:47:46 pm »
is it possible the actual cross compiler being used was built expecting the FPU for itself ?

If so, this would mean the ppc386 would need to be rebuilt with to emulate the FPU so that it will at least work in a lesser space..

 Putting all these flags on the line afterwards only helps for the app its building but for itself this does not help I guess.
The only true wisdom is knowing you know nothing

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11383
  • FPC developer.
Re: Can't run FPC-go32v2 on i80486SX (no FPU)
« Reply #9 on: November 22, 2019, 12:05:31 am »
Try pure dos. It might be dosbox problems with the emulator.

This worked in ye old years.

Tronix

  • Newbie
  • Posts: 4
Re: Can't run FPC-go32v2 on i80486SX (no FPU)
« Reply #10 on: November 22, 2019, 05:27:52 am »
Try pure dos. It might be dosbox problems with the emulator.

This worked in ye old years.

I am trying in pure ms-dos 7.1, before win98 loaded. I am trying with and without EMM386.EXE driver - no difference.
Yes, this seems the actual cross compiler being used was built expecting the FPU for itself. Or something other broken with wmemu387.dxe.
« Last Edit: November 22, 2019, 05:50:41 am by Tronix »

julkas

  • Guest
Re: Can't run FPC-go32v2 on i80486SX (no FPU)
« Reply #11 on: November 22, 2019, 09:19:19 am »
Try pure dos. It might be dosbox problems with the emulator.

This worked in ye old years.

I am trying in pure ms-dos 7.1, before win98 loaded. I am trying with and without EMM386.EXE driver - no difference.
Yes, this seems the actual cross compiler being used was built expecting the FPU for itself. Or something other broken with wmemu387.dxe.
Try also on latest FreeDOS. It comes with FPC package.

I started with a 286. 486 was a dream.
« Last Edit: November 23, 2019, 02:47:28 pm by julkas »

 

TinyPortal © 2005-2018