🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #1385

Re: Benchmark M2 - req.library - problems!

#1385
From: Anthon Pang
Date: Sat, 10 Nov 1990 02:40
20 lines
1406 bytes
> d85-jmh@nada.kth.se writes:
> I recently downloaded the file bm2req.lzh from abcfd20.larc.nasa.gov.
> [...]
> The library base is not stored in
> A6 before the call to the library routine (the instruction loading A6 is
> totally weird). Not even the parameters are passed correctly, the
> ColorRequester routine 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.

The code generated is correct...it's just the wrong code for that function...in
the case of ColorRequester, this is the glue code for FileRequester.

The problem is not serious, as full source is provided.  The fix is simple,
reorder the "DEF_PROC"s in the same order as the "PROCEDURE_CODE"s...recompile.

However, a new version is now available, which supports version 2.3 of
req.library.  If it doesn't show up on abcfd20 by Monday, I'll ftp it there.
Technical Details
Message-ID: <3782@mindlink.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!van-bc!rsoft!mindlink!a665

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!van-bc!rsoft!mindlink!a665
From: a665@mindlink.UUCP (Anthon Pang)
Newsgroups: comp.lang.modula2
Subject: Re: Benchmark M2 - req.library - problems!
Message-ID: <3782@mindlink.UUCP>
Date: 10 Nov 90 02:40:43 GMT
Organization: MIND LINK! - British Columbia, Canada
Lines: 20