[ EdMgFPU | FPUXOp3 | Retour | Sommaire ]
[ EdMgFPU | FPUXOp3 | Back | Summary ]

 

Edy's magic mac patcher for FPU v1.01

EDMGFPU stands for "EDy's MaGic mac patcher for FPU".

This is a quick hack which deals with the incompatibility beetween Pure C software library for floating point (PCFLTLIB.LIB) and PCI Macintosh. The test done for detecting an FPU in peripherical mode blows Magic Mac away. The purpose of this program is to correct programs which use it, by destroying this test so they can run normally.

CAUTION: patched program should never be swapped away. But you can try to reach its author and tell him to recompile its software with enhanced floating point library (FPUXOP3 in this archive does the job).

You can either run the program so it issues a fileselector for a source file or drop a .PRG on it.

File name is printed with "(Executable)" or not.

Then, 4 cases :

File:  edmgfpu.zip (12 Ko, 27/07/2001)
Last update 27/07/2001.

FPUXOP3.O

This object is a patch for PCFLTLIB.LIB, the Pure C librairie dealing with both software FPU emulation and FPU in peripherical mode (as in 68000 line : Atari ST, Mega ST or Mega STE).

There are two major bugs known:
(1) the library will cause endless loops when used with a 68882. Only 68881 are supported.
(2) the detection of an FPU in peripherical mode causes bombs on a Macintosh with PCI bus under Magic Mac.

This fix includes modified version of _fpuxxop, _fpuxdop, _fpuxsop, _fpu1op for dealing with (1) and _fpuinit for (2). An executable linked with it will work flawlessly on 68881 or 68882 in peripherical modes and will be compatible with Magic Mac.

At the end of your .PRJ file you should add FPUXOP3.O just before PCFLTLIB.LIB so the new version will be used instead. That's it !

File:  edmgfpu.zip (12 Ko, 27/07/2001)
Last update 28/02/1999.

Edy's magic mac patcher for FPU v1.01

EDMGFPU est un raccourci pour "EDy's MaGic mac patcher for FPU".

C'est une petite bidouille qui permet de corriger l'incompatibilité entre la librairie Pure C pour la gestion des flottants (PCFLTLIB.LIB) et les Macintosh équipés de bus PCI. Elle contient un test pour détecter un FPU en mode périphérique qui fait bomber Magic Mac. Ce programme corrige cela en supprimant ce test sur un executable pour lui permettre de tourner normalement.

Attention : les programmes modifiés ne doivent pas etre diffusés. L'idéal est d'essayer de contacter leurs auteurs et de leur recommander de recompiler leur logiciel avec une librairie corrigée (FPUXOP3 dans cette archive le fait).

Vous pouvez lancez le programme pour obtenir un selecteur de fichier ou dropper un .PRG dessus.

Il affiche le nom du fichier suivi de "(Executable)" ou non.

Après il y a 4 cas:

Fichier:  edmgfpu.zip (12 Ko, 27/07/2001)
Dernière mise à jour 27/07/2001.

FPUXOP3.O

Ce .O est un patch pour PCFLTLIB.LIB, la librairie Pure C qui implémente l'émulation FPU et la gestion des FPU en mode périphérique pour les 68000 (Atari ST, Mega ST, Mega STE). Il y a 2 bugs connus:
(1) la librarie causera des boucles sans fin quand elle sera utilisée sur une machine équipée d'un 68882. Elle ne gère en effet que les 68881.
(2) la détection d'un FPU en mode périphérique génère des bombes sur les Macintosh avec bus PCI sous Magic Mac.

Ce correctif contient des versions modifiées de _fpuxxop, _fpuxdop, _fpuxsop, _fpu1op pour corriger (1) et de _fpuinit pour (2). Un executable linké avec lui marchera sans aucun problème sur 68881 et 68882 en mode périphérique et sera de plus compatible avec Magic Mac. Pas de contre-indication connue ...

Vers la fin de votre fichier .PRJ vous devez ajouter une ligne avec FPUXOP3.O juste au dessus de PCFLTLIB.LIB pour que les nouvelles routines soient privilégiées par rapport aux anciennes. Et c'est tout !

Fichier:  edmgfpu.zip (12 Ko, 27/07/2001)
Dernière mise à jour 28/02/1999.


Da Cunha Eric - eric.dacunha @ free.fr