<?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=83%3AROMCalls%3A443A</id>
		<title>83:ROMCalls:443A - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wikiti.brandonw.net/index.php?action=history&amp;feed=atom&amp;title=83%3AROMCalls%3A443A"/>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=83:ROMCalls:443A&amp;action=history"/>
		<updated>2026-04-05T18:55:01Z</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=83:ROMCalls:443A&amp;diff=3645&amp;oldid=prev</id>
		<title>Guillaumeh at 20:08, 26 April 2005</title>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=83:ROMCalls:443A&amp;diff=3645&amp;oldid=prev"/>
				<updated>2005-04-26T20:08:53Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:83:ROMCalls:By_Name:Memory|enoughmem]] [[Category:83:ROMCalls:By_Name|enoughmem]] [[Category:83:ROMCalls:By_Address|443A - enoughmem]]&lt;br /&gt;
== Synopsis ==&lt;br /&gt;
'''Unofficial Name:''' enoughmem&lt;br /&gt;
&lt;br /&gt;
'''Call Address:''' 443A&lt;br /&gt;
&lt;br /&gt;
Returns the amount of free user memory.&lt;br /&gt;
&lt;br /&gt;
=== Inputs ===&lt;br /&gt;
* HL : quantity to which you want to compare the current amount of free user memory&lt;br /&gt;
&lt;br /&gt;
=== Outputs ===&lt;br /&gt;
* carry flag : set if HL &amp;gt; current free memory&lt;br /&gt;
&lt;br /&gt;
=== Registers Destroyed ===&lt;br /&gt;
* ???&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
Let's say you need 1000 bytes of free ram as a temporary buffer. At the beginning of your program, you can test of there is enough memory, and stop if there isn't :&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
 ld hl,1000&lt;br /&gt;
 call _enoughmem&lt;br /&gt;
 ret c         ; returns to the TI-OS or shell if there is not enough free memory&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>Guillaumeh</name></author>	</entry>

	</feed>