🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #13652

Re: #pragma/Read(), why does this break?

#13652
From: Darren New
Date: Mon, 12 Feb 1990 18:22
12 lines
1128 bytes
In article <13920043@hpfelg.HP.COM> koren@hpfelg.HP.COM (Steve Koren) writes:
>It could probably be simplified further, but I didn't bother.  Anyhow, it
>works just great if I 1) comment out the proto/all.h line and 2) link with
>amiga.lib.  However, if I include the proto/all.h file, and link with
>only lc.lib like this:

I've found a bug in LC5.04 that misgenerates the moving-into-registers code
with the debug switches that DON'T flush registers on line boundries.
That is, -d5 and -d3 work, but -d4 and -d2 generate code to move from
somewhere to D2 instead of somewhere to D0 with pragmas.  Look that your
arguments (use CPR in mixed mode) are getting in the right registers.
                  -- Darren
Technical Details
Message-ID: <10867@nigel.udel.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!usc!rutgers!mephisto!udel!new
References: <13920043@hpfelg.HP.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!usc!rutgers!mephisto!udel!new
From: new@udel.edu (Darren New)
Newsgroups: comp.sys.amiga.tech
Subject: Re: #pragma/Read(), why does this break?
Message-ID: <10867@nigel.udel.EDU>
Date: 12 Feb 90 18:22:58 GMT
References: <13920043@hpfelg.HP.COM>
Sender: usenet@udel.EDU
Reply-To: new@udel.edu (Darren New)
Organization: University of Delaware
Lines: 12