Lazarus
Free Pascal => General => Topic started by: Tronix 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?
-
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.
-
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
-
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.
-
https://www.freepascal.org/docs-html/current/prog/progsu23.html (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).
-
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.
-
Have you tried https://www.freepascal.org/faq.var#FPwithoutfpu ?
-
Have you tried https://www.freepascal.org/faq.var#FPwithoutfpu ?
Yes, i tried. No success :(
-
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.
-
Try pure dos. It might be dosbox problems with the emulator.
This worked in ye old years.
-
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 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.