<?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%3A42F7</id>
		<title>83Plus:BCALLs:42F7 - 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%3A42F7"/>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=83Plus:BCALLs:42F7&amp;action=history"/>
		<updated>2026-04-05T18:53:25Z</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:42F7&amp;diff=9898&amp;oldid=prev</id>
		<title>Deep Thought: /* Example */</title>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=83Plus:BCALLs:42F7&amp;diff=9898&amp;oldid=prev"/>
				<updated>2012-09-25T04:33:35Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Example&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 04:33, 25 September 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 30:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 30:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; rst&amp;#160; rMov9ToOP1&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; rst&amp;#160; rMov9ToOP1&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; B_CALL&amp;#160; ChkFindSym&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; ;find the application variable&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; B_CALL&amp;#160; ChkFindSym&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; ;find the application variable&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; jr&amp;#160; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;nc&lt;/del&gt;,AppVarNotFound&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; jr&amp;#160; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;c&lt;/ins&gt;,AppVarNotFound&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; inc&amp;#160; de&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; inc&amp;#160; de&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Deep Thought</name></author>	</entry>

	<entry>
		<id>https://wikiti.brandonw.net/index.php?title=83Plus:BCALLs:42F7&amp;diff=8995&amp;oldid=prev</id>
		<title>Seren at 01:18, 15 December 2009</title>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=83Plus:BCALLs:42F7&amp;diff=8995&amp;oldid=prev"/>
				<updated>2009-12-15T01:18:35Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 01:18, 15 December 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:83Plus:BCALLs:By_Name:Memory|&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;EnoughMem&lt;/del&gt;]] [[Category:83Plus:BCALLs:By_Name|&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;EnoughMem&lt;/del&gt;]] [[Category:83Plus:BCALLs:By_Address|&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;42FD &lt;/del&gt;- &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;EnoughMem&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:83Plus:BCALLs:By_Name:Memory|&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;InsertMem&lt;/ins&gt;]] [[Category:83Plus:BCALLs:By_Name|&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;InsertMem&lt;/ins&gt;]] [[Category:83Plus:BCALLs:By_Address|&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;42F7 &lt;/ins&gt;- &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;InsertMem&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Synopsis ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Synopsis ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''Official Name:''' InsertMem&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''Official Name:''' InsertMem&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Seren</name></author>	</entry>

	<entry>
		<id>https://wikiti.brandonw.net/index.php?title=83Plus:BCALLs:42F7&amp;diff=8994&amp;oldid=prev</id>
		<title>Seren: Quickly done, based off 83Plus:BCALLs:42FD</title>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=83Plus:BCALLs:42F7&amp;diff=8994&amp;oldid=prev"/>
				<updated>2009-12-15T01:18:08Z</updated>
		
		<summary type="html">&lt;p&gt;Quickly done, based off 83Plus:BCALLs:42FD&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:Memory|EnoughMem]] [[Category:83Plus:BCALLs:By_Name|EnoughMem]] [[Category:83Plus:BCALLs:By_Address|42FD - EnoughMem]]&lt;br /&gt;
== Synopsis ==&lt;br /&gt;
'''Official Name:''' InsertMem&lt;br /&gt;
&lt;br /&gt;
'''BCALL Address:''' 42F7&lt;br /&gt;
&lt;br /&gt;
Adds RAM space into an existing variable.&lt;br /&gt;
&lt;br /&gt;
=== Inputs ===&lt;br /&gt;
* HL = amount of RAM to insert into the variable&lt;br /&gt;
* DE = the memory address where the RAM will be inserted&lt;br /&gt;
&lt;br /&gt;
=== Outputs ===&lt;br /&gt;
* DE = the memory addressed where the RAM was inserted. Equivilant to the input.&lt;br /&gt;
&lt;br /&gt;
=== Destroys ===&lt;br /&gt;
* All&lt;br /&gt;
&lt;br /&gt;
== Remarks ==&lt;br /&gt;
* This routine will not check to see if there is insufficient RAM. It is highly suggested to do that beforehand, using the bcall [[83Plus:BCALLs:42FD|EnoughMem]].&lt;br /&gt;
* The size field of the variable is not updated. The user must do this himself.&lt;br /&gt;
* DE cannot be the first byte of the variable's data or else the symbol entry's pointer to the data will become corrupt (the first byte being the size field?).&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
  ld  hl,9&lt;br /&gt;
  B_CALL  EnoughMem&lt;br /&gt;
  jr  c,NotEnoughMem          ;make sure there is enough memory to insert the RAM&lt;br /&gt;
  &lt;br /&gt;
  ld  hl,ApplicationVariable&lt;br /&gt;
  rst  rMov9ToOP1&lt;br /&gt;
  B_CALL  ChkFindSym          ;find the application variable&lt;br /&gt;
  jr  nc,AppVarNotFound&lt;br /&gt;
  &lt;br /&gt;
  inc  de&lt;br /&gt;
  inc  de          ;move past the size bytes&lt;br /&gt;
  &lt;br /&gt;
  ld  hl,9&lt;br /&gt;
  B_CALL  InsertMem          ;insert 9 bytes here&lt;br /&gt;
  &lt;br /&gt;
  ex  de,hl&lt;br /&gt;
  dec  hl&lt;br /&gt;
  ld  a,(hl)&lt;br /&gt;
  dec  hl&lt;br /&gt;
  push  hl&lt;br /&gt;
  ld  h,(hl)&lt;br /&gt;
  ld  l,a          ;ld hl,(de). Load the size of the AppVar in hl&lt;br /&gt;
  &lt;br /&gt;
  ld  de,9&lt;br /&gt;
  add  hl,de          ;add 9 to hl&lt;br /&gt;
  &lt;br /&gt;
  ex de,hl&lt;br /&gt;
  pop  hl&lt;br /&gt;
  ld  (hl),e&lt;br /&gt;
  inc  hl&lt;br /&gt;
  ld  (hl),d          ;Store the new size back into the AppVar&lt;br /&gt;
  &lt;br /&gt;
  ApplicationVariable:&lt;br /&gt;
   .db AppVarObj,&amp;quot;APPVAR&amp;quot;,0&lt;/div&gt;</summary>
		<author><name>Seren</name></author>	</entry>

	</feed>