https://wikiti.brandonw.net/index.php?title=83Plus:BCALLs:4C99&feed=atom&action=history
83Plus:BCALLs:4C99 - Revision history
2024-03-29T14:37:50Z
Revision history for this page on the wiki
MediaWiki 1.23.5
https://wikiti.brandonw.net/index.php?title=83Plus:BCALLs:4C99&diff=5932&oldid=prev
Brandonw at 11:11, 27 May 2007
2007-05-27T11:11:25Z
<p></p>
<p><b>New page</b></p><div>[[Category:83Plus:BCALLs:By Name|AppSetup]] [[Category:83Plus:BCALLs:By Name:Memory|AppSetup]] [[Category:83Plus:BCALLs:By Address|4C99 - AppSetup]]<br />
== Synopsis ==<br />
'''Unofficial Name:''' AppSetup<br />
<br />
'''BCALL Address:''' 4C99<br />
<br />
Cleans up flags and hooks before running a Flash application.<br />
<br />
=== Inputs ===<br />
* Set bit in iy+37h, iy+38h, and iy+39h corresponding to iy+34h, iy+35h, and iy+36h hook to uninstall that hook<br />
<br />
=== Outputs ===<br />
* bufferOnly,(iy+plotFlag3) reset<br />
* appRunning,(iy+APIFlg) reset<br />
* textFlags, APIFlg, apiFlg2, apiFlg3, apiFlg4, iy+37h/38h/39h all zeroed out<br />
<br />
=== Destroys ===<br />
* All<br />
<br />
== Example ==<br />
Run Flash application "MyApp" without the GetCSC hook:<br />
<br />
set 0,(iy+37h) ;0,(iy+34h) is GetCSC hook active flag<br />
ld hl,sMyApp<br />
ld de,progToEdit<br />
ld bc,8<br />
ldir<br />
B_CALL AppSetup<br />
B_CALL ExecuteApp<br />
sMyApp:<br />
DB "MyApp "</div>
Brandonw