[comp.sys.amiga.hardware] 68881 in 68000 system

al158305@mtecv2.mty.itesm.mx (Gustavo Cordova) (05/02/90)

In article <3676@minyos.xx.rmit.oz> rxtajp@minyos.xx.rmit.oz (Andrew Pettifer) writes:

> Can anyone give me any information on how to hook a 68881 up to a standard
> 68000 in the Amiga.
> I know that it has to be set up as a 16 bit peripheral, rather than as a
> co-processor, as it would be in a 68020 system.
> I think i also need something called math.resource or something like that,
> can anyone help?
> thanx.

yes, I think that you need that math.resource, and that the chip can't be
used when multitasking programs that use the chip, I think that because
the OS doesn't/can't save the FPU registers...but, then again, I can be 
wrong :)

+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
| Isn't it refreshingly similar the syntax of | My other mainframe|
| UNIX commands and AmigaDOS stuff?  :)       | is an Amiga :)    |
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
| Gustavo Cordova | Computer Systems majoring @ ITESM, Mexico     |
+=================+ Internet: al158305 @ mtecv2.mty.itesm.mx      |
| If at first you |           al158305 @ 131.178.1.5              |
| don't succeed,  | BitNet: bl158305 @ tecmtyvm.bitnet            |
| to hell with it.|         al158305%mtecv2.mty.itesm.mx@tecmtyvm |
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
--
Gustavo Cordova
al158305@mtecv2.mty.itesm.mx
pl158305@tecmtyvm.bitnet

disclaimer: These are my opinions, it you don't like'em, just kill'em.

p554mve@mpirbn.UUCP (Michael van Elst) (05/03/90)

In article <AL158305.90May2004419@mtecv2.mty.itesm.mx> al158305@mtecv2.mty.itesm.mx (Gustavo Cordova) writes:
[about the 68881 working with an 68000]
>yes, I think that you need that math.resource, and that the chip can't be
>used when multitasking programs that use the chip, I think that because
>the OS doesn't/can't save the FPU registers...but, then again, I can be 
>wrong :)

You need a minimal math.resource that merely says where the 68881 is mapped
in memory.
All processes that want to access the chip may do this via the
mathieeedoubbas.library or mathieeedoubtrans.library. Each process has
to open the library itself so that the library can install a task-specific
routine that saves and reloads the 68881 registers.

-- 
Michael van Elst
UUCP:     universe!local-cluster!milky-way!sol!earth!uunet!unido!mpirbn!p554mve
Internet: p554mve@mpirbn.mpifr-bonn.mpg.de
                                "A potential Snark may lurk in every tree."