<?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%3A4C99</id>
		<title>83Plus:BCALLs:4C99 - 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%3A4C99"/>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=83Plus:BCALLs:4C99&amp;action=history"/>
		<updated>2026-05-18T18:31:58Z</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:4C99&amp;diff=5932&amp;oldid=prev</id>
		<title>Brandonw at 11:11, 27 May 2007</title>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=83Plus:BCALLs:4C99&amp;diff=5932&amp;oldid=prev"/>
				<updated>2007-05-27T11:11:25Z</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:83Plus:BCALLs:By Name|AppSetup]] [[Category:83Plus:BCALLs:By Name:Memory|AppSetup]] [[Category:83Plus:BCALLs:By Address|4C99 - AppSetup]]&lt;br /&gt;
== Synopsis ==&lt;br /&gt;
'''Unofficial Name:''' AppSetup&lt;br /&gt;
&lt;br /&gt;
'''BCALL Address:''' 4C99&lt;br /&gt;
&lt;br /&gt;
Cleans up flags and hooks before running a Flash application.&lt;br /&gt;
&lt;br /&gt;
=== Inputs ===&lt;br /&gt;
* Set bit in iy+37h, iy+38h, and iy+39h corresponding to iy+34h, iy+35h, and iy+36h hook to uninstall that hook&lt;br /&gt;
&lt;br /&gt;
=== Outputs ===&lt;br /&gt;
* bufferOnly,(iy+plotFlag3) reset&lt;br /&gt;
* appRunning,(iy+APIFlg) reset&lt;br /&gt;
* textFlags, APIFlg, apiFlg2, apiFlg3, apiFlg4, iy+37h/38h/39h all zeroed out&lt;br /&gt;
&lt;br /&gt;
=== Destroys ===&lt;br /&gt;
* All&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
Run Flash application &amp;quot;MyApp&amp;quot; without the GetCSC hook:&lt;br /&gt;
&lt;br /&gt;
     set 0,(iy+37h) ;0,(iy+34h) is GetCSC hook active flag&lt;br /&gt;
     ld hl,sMyApp&lt;br /&gt;
     ld de,progToEdit&lt;br /&gt;
     ld bc,8&lt;br /&gt;
     ldir&lt;br /&gt;
     B_CALL AppSetup&lt;br /&gt;
     B_CALL ExecuteApp&lt;br /&gt;
 sMyApp:&lt;br /&gt;
     DB &amp;quot;MyApp   &amp;quot;&lt;/div&gt;</summary>
		<author><name>Brandonw</name></author>	</entry>

	</feed>