<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wikiti.brandonw.net/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wikiti.brandonw.net/index.php?action=history&amp;feed=atom&amp;title=83Plus%3ABCALLs%3A517C</id>
		<title>83Plus:BCALLs:517C - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wikiti.brandonw.net/index.php?action=history&amp;feed=atom&amp;title=83Plus%3ABCALLs%3A517C"/>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=83Plus:BCALLs:517C&amp;action=history"/>
		<updated>2026-04-17T23:05:09Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.5</generator>

	<entry>
		<id>https://wikiti.brandonw.net/index.php?title=83Plus:BCALLs:517C&amp;diff=10170&amp;oldid=prev</id>
		<title>FloppusMaximus: GetLToOP1Arc</title>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=83Plus:BCALLs:517C&amp;diff=10170&amp;oldid=prev"/>
				<updated>2013-10-05T05:53:52Z</updated>
		
		<summary type="html">&lt;p&gt;GetLToOP1Arc&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:83Plus:BCALLs:By Name|GetLToOP1Arc]] [[Category:83Plus:BCALLs:By Name:Variable|GetLToOP1Arc]] [[Category:83Plus:BCALLs:By Address|517C - GetLToOP1Arc]]&lt;br /&gt;
== Synopsis ==&lt;br /&gt;
'''Unofficial Name:''' GetLToOP1Arc&lt;br /&gt;
&lt;br /&gt;
'''BCALL Address:''' 517Ch&lt;br /&gt;
&lt;br /&gt;
'''Minimum OS Version''': 2.30&lt;br /&gt;
&lt;br /&gt;
Retrieve a given element of a list variable, which may be archived.&lt;br /&gt;
&lt;br /&gt;
=== Inputs ===&lt;br /&gt;
* HL = index of element&lt;br /&gt;
* DE = address of start of variable (as returned by FindSym/ChkFindSym)&lt;br /&gt;
* B = Flash page (if variable is archived) or zero (if variable is in RAM)&lt;br /&gt;
&lt;br /&gt;
=== Outputs ===&lt;br /&gt;
* OP1 = real part of value&lt;br /&gt;
* If complex, OP2 = imaginary part of value&lt;br /&gt;
&lt;br /&gt;
=== Destroys ===&lt;br /&gt;
* AF, BC, DE, HL&lt;br /&gt;
* arcPage, arcPtr&lt;br /&gt;
&lt;br /&gt;
== Comments ==&lt;br /&gt;
This is the enhanced version of [[83Plus:BCALLs:4636|GetLToOP1]], and like that routine, it won't check that the list actually contains the given number of elements.&lt;br /&gt;
&lt;br /&gt;
Amusingly, this routine also makes an attempt to support variables stored in the extra RAM pages (signified by DE &amp;gt; 8000h and B &amp;gt; 0.)  Unfortunately, it doesn't work, and in fact will crash in this case (although it might be made to work by monkeying with ports 27 and 28.)  Of course, you can use variables that are stored &amp;quot;archive-style&amp;quot; in the extra RAM pages by passing B &amp;gt; 80h, though I don't know why you'd want to.&lt;/div&gt;</summary>
		<author><name>FloppusMaximus</name></author>	</entry>

	</feed>