<?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/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=130.215.232.102</id>
		<title>WikiTI - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wikiti.brandonw.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=130.215.232.102"/>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=Special:Contributions/130.215.232.102"/>
		<updated>2026-04-05T20:46:02Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.23.5</generator>

	<entry>
		<id>https://wikiti.brandonw.net/index.php?title=83Plus:Hooks:9B84</id>
		<title>83Plus:Hooks:9B84</title>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=83Plus:Hooks:9B84"/>
				<updated>2005-03-28T16:53:20Z</updated>
		
		<summary type="html">&lt;p&gt;130.215.232.102: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:83Plus:Hooks:By_Name|Raw Key Hook]]&lt;br /&gt;
[[Category:83Plus:Hooks:By_Address|9B84 - Raw Key Hook]]&lt;br /&gt;
== Synopsis ==&lt;br /&gt;
'''Name:''' Raw Key ''(has had other names proposed, which are discouraged -- see notes below.)''&lt;br /&gt;
&lt;br /&gt;
'''Hook Pointer Block Address:''' [[83Plus:RAM:9B84|9B84]]&lt;br /&gt;
&lt;br /&gt;
'''Hook Enable BCALL:''' [[83Plus:BCALLs:4F66|4F66]]&lt;br /&gt;
&lt;br /&gt;
'''Hook Disable BCALL:''' [[83Plus:BCALLs:4F6F|4F6F]]&lt;br /&gt;
&lt;br /&gt;
'''Hook Call BCALL:''' [[83Plus:BCALLs:4F5D|4F5D]]&lt;br /&gt;
&lt;br /&gt;
'''Hook Active Flag:''' 5, (iy + 34h)&lt;br /&gt;
&lt;br /&gt;
This hook allows you to change the values that [[83Plus:BCALLs:4972|GetKey]] returns.&lt;br /&gt;
&lt;br /&gt;
== Using the Hook ==&lt;br /&gt;
&lt;br /&gt;
This hook is called any time a key is accepted by [[83Plus:BCALLs:4972|GetKey]].  It is called for kOff only if bit [[83Plus:Flags:28#Bit_7|7,(iy+28h)]] is set.&lt;br /&gt;
&lt;br /&gt;
* A = keycode; ([[83Plus:RAM:8446|keyExtend]]) = extended keycode&lt;br /&gt;
** You can modify these values to change the key that is &amp;quot;pressed.&amp;quot;&lt;br /&gt;
* Return with Z set if the keypress should be ignored.&lt;br /&gt;
&lt;br /&gt;
== Comments ==&lt;br /&gt;
This hook is one of the four &amp;quot;official&amp;quot; hooks defined in ti83plus.inc.  However, it appears that someone at TI made a mistake in adding its address, because it does not in fact have anything to do with &amp;quot;raw&amp;quot; keys.  It has been suggested that this was intended to be called the &amp;quot;GetKey&amp;quot; hook.  To avoid possible confusion with [[83Plus:Hooks:9B88|another hook]], the name &amp;quot;Raw Key&amp;quot; should be used nevertheless.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
The following code will swap the Apps and Prgm keys:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;RawKeyHook:&lt;br /&gt;
        .db 83h             ; Required for all hooks&lt;br /&gt;
        cp kAppsMenu        ; was Apps pressed?&lt;br /&gt;
        jr z,AppsKey&lt;br /&gt;
        cp kPrgm            ; was Prgm pressed?&lt;br /&gt;
        ret nz&lt;br /&gt;
        ld a,kAppsMenu      ; change key to kAppsMenu&lt;br /&gt;
        or a                ; set NZ condition&lt;br /&gt;
        ret&lt;br /&gt;
AppsKey:&lt;br /&gt;
        ld a,kPrgm          ; change key to kPrgm&lt;br /&gt;
        or a                ; set NZ condition&lt;br /&gt;
        ret&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Credits and Contributions ==&lt;br /&gt;
* Texas Instruments&lt;/div&gt;</summary>
		<author><name>130.215.232.102</name></author>	</entry>

	<entry>
		<id>https://wikiti.brandonw.net/index.php?title=83Plus:Hooks:9B80</id>
		<title>83Plus:Hooks:9B80</title>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=83Plus:Hooks:9B80"/>
				<updated>2005-03-28T16:51:12Z</updated>
		
		<summary type="html">&lt;p&gt;130.215.232.102: categorized&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:83Plus:Hooks:By_Name|Library Hook]]&lt;br /&gt;
[[Category:83Plus:Hooks:By_Address|9B80 - Library Hook]]&lt;br /&gt;
== Synopsis ==&lt;br /&gt;
'''Name:''' Library Hook&lt;br /&gt;
&lt;br /&gt;
'''Hook Pointer Block Address:''' [[83Plus:RAM:9B80|9B80]]&lt;br /&gt;
&lt;br /&gt;
'''Hook Enable BCALL:''' [[83Plus:BCALLs:4F63|4F63]]&lt;br /&gt;
&lt;br /&gt;
'''Hook Disable BCALL:''' [[83Plus:BCALLs:4F6C|4F6C]]&lt;br /&gt;
&lt;br /&gt;
'''Hook Call BCALL:''' [[83Plus:BCALLs:94F5A|4F5A]]&lt;br /&gt;
&lt;br /&gt;
'''Hook Active Flag:''' [[83Plus:Flags:34#Bit_1|1, (iy + 34h)]]&lt;br /&gt;
&lt;br /&gt;
This hook is available for apps' internal use and to interface with BASIC programs using the OpenLib and ExecLib functions.&lt;br /&gt;
&lt;br /&gt;
== Using the Hook ==&lt;br /&gt;
&lt;br /&gt;
This hook is never used by the 83+ OS.  On the 84+, it is used to implement the OpenLib( / ExecLib functions.&lt;br /&gt;
&lt;br /&gt;
== Comments ==&lt;br /&gt;
&lt;br /&gt;
If you place the following at 4087:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt; .db 96h, 0E2h&lt;br /&gt;
 .dw 100h, LibHookInfo&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and the following anywhere on the first page of your app:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;LibHookInfo:&lt;br /&gt;
 .dw 1&lt;br /&gt;
 .db 2, 0&lt;br /&gt;
 .dw LibraryHook&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
a BASIC program (on the 84+) can then call your hook.&lt;br /&gt;
&lt;br /&gt;
* First, the BASIC program calls the OpenLib( function with the name of your app as argument.&lt;br /&gt;
* Your app's hook is enabled and bit [[83Plus:Flags:3E#Bit_4|4, (iy+3Eh)]] is set to indicate that ExecLib is enabled.&lt;br /&gt;
* When the BASIC program calls ExecLib, your app's hook is called.&lt;br /&gt;
&lt;br /&gt;
Note that OpenLib and ExecLib are only valid in programs, and not in the homescreen entry or in equations.&lt;br /&gt;
&lt;br /&gt;
== Credits and Contributions ==&lt;br /&gt;
* '''Michael Vincent:''' Analyzing the OpenLib/ExecLib interface on OS 2.21 and above.&lt;/div&gt;</summary>
		<author><name>130.215.232.102</name></author>	</entry>

	</feed>