[comp.sys.mac] 68881 and LSP

bond@chalmers.UUCP (Magnus Bondesson) (12/16/87)

The material was posted to comp.binaries.mac one of the first days in
November. Today it appeared. Here comes some additional information.

Please note that the Mandelbrot Demo (source and application) assumes that the
videocard is in a certain position. One may change the digit 9 in $900020 to
A,B,C,D or E as appropriate and recompile with DRNV disabled. Still better is
to replace $900020 by a longint-variable baseaddr, which is initialized as
follows:
        baseaddr:=ord(ScreenBits.BaseAddr);
        baseaddr:=BitAnd($00FFFFFF,baseaddr);

Now I have a 68881 manual so that it would be easy to extend the library
with fast conversion functions and functions for comparison. However, I
don't plan to do that right now. Rather I hope that there will be a better
LSP version.

Furthermore the bombs I have experienced are said to be due to some unexplained
bug in LSP. Somebody told me that they only occur in 8-bit mode, which I
always use. In any case my library is completely innocent. Bombs may occur
even if you have a trivial program. Right now, I always end my LSP-programs
with the statement
     WHILE NOT Button DO;
when I work in the LSP-environment and breaks the execution with the thing in
the upper right corner. That way I am free from the bombs.

As for LightSpeed C I sent some 68881 procedures to comp.sys.mac some
weeks ago.


Magnus Bondesson
Dep of Computer Sciences
Chalmers University of Technology
S-412 96 Goteborg
Sweden
UUCP:{seismo,philabs,decvax}!mcvax!enea!cs.chalmers.se!bond