<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Approximatrix Forums — Undefined References]]></title>
	<link rel="self" href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=298&amp;type=atom" />
	<updated>2014-01-07T22:29:48Z</updated>
	<generator>PunBB</generator>
	<id>https://forums.approximatrix.com/viewtopic.php?id=298</id>
		<entry>
			<title type="html"><![CDATA[Re: Undefined References]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=1213#p1213" />
			<content type="html"><![CDATA[<p>Just an update, have been able to cleanly compile all the libraries, subroutines etc and link everything together, however there are some other underlying issues which fail during execution which at this immediate point is file opening/writing/closing calls and I would suspect there will be other conflicts.</p><p>So for now I will have to slot this exercise into the stuff to do box when I have a lot of time to look deepr and obviously rewrite a heap of libraries &amp; subroutines. Thanks for the comments.</p>]]></content>
			<author>
				<name><![CDATA[Matt]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3508</uri>
			</author>
			<updated>2014-01-07T22:29:48Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=1213#p1213</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Undefined References]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=1209#p1209" />
			<content type="html"><![CDATA[<p>Jeff, Yes the Intrup call was asociated with input/response to/from the console/keyboard and tied up with (apart from other things) suppressing CR/LF for input as well as single keystoke input response such as &quot;Press any key to continue&quot; and input capabilities on the same line as the prompts etc.</p><p>With Intrup single characters could be &#039;put&#039; using register[4] and characters could be &#039;got&#039; using register[1] via MS-DOS interrupt 33.</p><p>For now just trying to make things work without rewritting a whole heap of inter related routines</p>]]></content>
			<author>
				<name><![CDATA[Matt]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3508</uri>
			</author>
			<updated>2014-01-05T21:49:52Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=1209#p1209</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Undefined References]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=1208#p1208" />
			<content type="html"><![CDATA[<p>I&#039;m not familiar with Lahey&#039;s <em>getcl</em> or <em>intrup</em>, but neither are part of the Fortran standards.&nbsp; They are extensions specific to Lahey&#039;s compiler.</p><p>If Lahey&#039;s <em>getcl</em> is indeed supposed to return the command line, you should be using the command <em>get_command</em> as specified by the Fortran 2003 standard.&nbsp; </p><p>Lahey&#039;s <em>intrup</em> routine is an entirely different story.&nbsp; It appears to stand for &quot;interrupt&quot; so that users can call system interrupts.&nbsp; These calls were relatively common under MS-DOS to access BIOS services, including reading a keystroke or performing direct video access.&nbsp; However, the usefulness of <em>intrup</em> under modern Microsoft Windows systems is questionable.&nbsp; I&#039;d be surprised if Windows, especially 64-bit variants, allowed any interrupts to actually be called.&nbsp; </p><p>Simply Fortran definitely does not provide an equivalent for <em>intrup</em>.&nbsp; What is the code using the call attempting to achieve?&nbsp; If we knew that, I&#039;m sure plenty of users here could suggest an alternative that conforms to the Fortran standard.&nbsp; </p><p>If it is just using the interrupt to put characters on the screen, then <em>fget</em> and <em>fput</em> may work.&nbsp; However, these two intrinsic subroutines are both GNU extensions, not part of the Fortran standard.&nbsp; You might be forced to perform another fix if you attempt to use yet another compiler.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2014-01-05T14:42:18Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=1208#p1208</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Undefined References]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=1207#p1207" />
			<content type="html"><![CDATA[<p>Been looking at this further and for the purpose should be able to work around the Intrup call with Fget &amp; Fput in place of interrupt with Regs 1 &amp; 4?</p><p>get_command appears a replacement for getcl?</p>]]></content>
			<author>
				<name><![CDATA[Matt]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3508</uri>
			</author>
			<updated>2014-01-05T11:17:44Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=1207#p1207</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Undefined References]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=1206#p1206" />
			<content type="html"><![CDATA[<p>Is there a way around undefined compiler references to &#039;getcl&#039; and &#039;intrup&#039; both of which would be related to Lahey F77L?</p>]]></content>
			<author>
				<name><![CDATA[Matt]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3508</uri>
			</author>
			<updated>2014-01-05T04:23:39Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=1206#p1206</id>
		</entry>
</feed>
