Article View: comp.lang.modula2
Article #2759Re: TopSpeed and assembler
From: "Mark Morgan Lloyd "
Date: Thu, 31 Aug 1995 18:53
Date: Thu, 31 Aug 1995 18:53
32 lines
1186 bytes
1186 bytes
I've floated the problem past an ex-Clarion friend, and have some
hand-written notes as below:
-----8<-----
Put something like the following in your .PR file:
#if optimise(cpu) = '86' #then
#pragma define(cpu86=>on, cpu286=>off, cpu386=>off, cpu486=>off)
#elsif optimise(cpu) = '286' #then
#pragma define(cpu86=>off, cpu286=>on, cpu386=>off, cpu486=>off)
#elsif optimise(cpu) = '386' #then
you get the idea?
You then test like:
(*%T cpu386 *)
bt [memory],6
(*%F *)
A good place to put this code if you want to use it a lot is just before
the Project Link section in TSPRJ.TXT. Then use TSCFG to build the CFG
file.
----->8-----
Mark Morgan Lloyd
mark_tbu@cix.compulink.co.uk
[Opinions above are the author's, not those of his employers or
colleagues]
Technical Details
Message-ID:
<DE6v4z.3FI@cix.compulink.co.uk>Path:
arc1-ca.pugleaf.net!cix.compulink.co.uk!usenetReferences:
<809443163snz@nezumi.demon.co.uk>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.modula2
Path: arc1-ca.pugleaf.net!cix.compulink.co.uk!usenet
From: mark_tbu@cix.compulink.co.uk ("Mark Morgan Lloyd ")
Subject: Re: TopSpeed and assembler
Message-ID: <DE6v4z.3FI@cix.compulink.co.uk>
Organization: KDG Mobrey Telemetry
References: <809443163snz@nezumi.demon.co.uk>
Date: Thu, 31 Aug 1995 18:53:23 GMT
X-News-Software: Ameol