<?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=84PCSE%3ABCALLs%3A515E</id>
		<title>84PCSE:BCALLs:515E - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wikiti.brandonw.net/index.php?action=history&amp;feed=atom&amp;title=84PCSE%3ABCALLs%3A515E"/>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=84PCSE:BCALLs:515E&amp;action=history"/>
		<updated>2026-04-21T08:17:40Z</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=84PCSE:BCALLs:515E&amp;diff=10169&amp;oldid=prev</id>
		<title>FloppusMaximus: GetLToOP1Arc</title>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=84PCSE:BCALLs:515E&amp;diff=10169&amp;oldid=prev"/>
				<updated>2013-10-05T05:39:13Z</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:84PCSE:BCALLs:By Name|GetLToOP1Arc]] [[Category:84PCSE:BCALLs:By Address|515E - GetLToOP1Arc]]&lt;br /&gt;
== Synopsis ==&lt;br /&gt;
'''Unofficial Name:''' GetLToOP1Arc&lt;br /&gt;
&lt;br /&gt;
'''BCALL Address:''' 515Eh&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 [[84PCSE:BCALLs:4621|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.)&lt;/div&gt;</summary>
		<author><name>FloppusMaximus</name></author>	</entry>

	</feed>