Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cmcl2!uupsi!sunic!kth.se!news From: d85-jmh@nada.kth.se (Jan-Olof Hendig) Newsgroups: comp.lang.modula2 Subject: Benchmark M2 - req.library - problems! Message-ID: <1990Nov8.205044.9672@kth.se> Date: 8 Nov 90 20:50:44 GMT Reply-To: d85-jmh@nada.kth.se (Jan-Olof Hendig) Organization: Royal Institute of Technology, Stockholm, Sweden Lines: 16 I recently downloaded the file bm2req.lzh from abcfd20.larc.nasa.gov. The file contained req.library-bindings for Benchmark Modula2 for the Amiga. Unfortunately it doesn't work, the programs I write compiles fine but when I run them the machine crashes. The source level debugger shows that the code generated is incorrect. The library base is not stored in A6 before the call to the libraryroutine (the instruction loading A6 is totally weird). Not even the parameters are passed correctly, the ColorRequesterroutine should have one parameter passed in D0 but it is passed in A0 instead. Now, either I am deluding myself or else there is something seriously wrong with the bm2req-package. Comments anyone. I am using version 1.04 of the compiler if that makes any difference. Jan-Olof Hendig