<?xml version="1.0"?>
<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-11-20T19:41:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</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;
&amp;#039;&amp;#039;&amp;#039;Unofficial Name:&amp;#039;&amp;#039;&amp;#039; enoughmem&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Call Address:&amp;#039;&amp;#039;&amp;#039; 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&amp;#039;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&amp;#039;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>