Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!uunet!blkcat!f421.n109.z1.fidonet.org!Ken.Knight From: Ken.Knight@f421.n109.z1.fidonet.org (Ken Knight) Newsgroups: comp.sys.mac.programmer Subject: Mixing Sane And 881 Message-ID: <629.25F2006D@blkcat.fidonet.org> Date: 5 Mar 90 00:31:38 GMT Sender: ufgate@blkcat.fidonet.org (newsout1.26) Organization: FidoNet node 1:109/421 - The Twilight Clone, Paul Heller Lines: 21 Can anyone tell me how to mix code so that it will be able to take best advantage of the math system available. That is, if an FPU (881/2) is available to use it; otherwise use SANE; or if the user wants to use SANE via the math chip? I know it is possible (there are benchmarks that let the user decide how to do math), but I can not figure out how to do it. I would be working in either Pascal or C (rather avoid Assembly) in the MPW environment. I have tried just having parts of code compiled for 881 direct and other compiled normally, but you can not seem to mix them. THe linker did not like it. Worse, FPU code requires 68020 code and it does not seem possible to mix 68020 and 68000 code together. I am obviously missing something and it is probably simple. HELP! Thanks in advance... BTW, figuring out what is available is no problem. -- Ken Knight at The Black Cat's Shack (Fidonet 1:109/401) Internet: Ken.Knight@f421.n109.z1.fidonet.org UUCP: ...!uunet!blkcat!421!Ken.Knight