Difference between revisions of "83Plus:BCALLs:4A7D"
From WikiTI
| Line 1: | Line 1: | ||
[[Category:83Plus:BCALLs:By Name:Utility|CatalogChk]] [[Category:83Plus:BCALLs:By Name|CatalogChk]] [[Category:83Plus:BCALLs:By Address|4A7D - CatalogChk]] | [[Category:83Plus:BCALLs:By Name:Utility|CatalogChk]] [[Category:83Plus:BCALLs:By Name|CatalogChk]] [[Category:83Plus:BCALLs:By Address|4A7D - CatalogChk]] | ||
| + | {{missinfo|Destroys}} | ||
== Synopsis == | == Synopsis == | ||
'''Official Name:''' CatalogChk | '''Official Name:''' CatalogChk | ||
| Line 14: | Line 15: | ||
=== Registers Destroyed === | === Registers Destroyed === | ||
| − | * | + | * unknown |
=== Comments === | === Comments === | ||
Revision as of 06:43, 6 February 2008
This article is missing some information (namely Destroys). You can help WikiTI by filling in the missing information.
Synopsis
Official Name: CatalogChk
BCALL Address: 4A7D
Checks for and processes any keys relating to the catalog.
Inputs
- A = key press
Outputs
- A = key press (might not be the same)
Registers Destroyed
- unknown
Comments
Calling this immediately after GetKey will allow the OS catalog to appear during execution of your program. The output of this routine may be an unprocessed key or it may be the result of a catalog action. For instance if a=kenter was sent to this routine while the cursor is next to 'and', the output of this routine would be a=kextendecho and (keyExtend)=kAnd.
Example
ld a,kCatalog
B_CALL CatalogChk ;on LCD the catalog should be visable
ld a,kDown
B_CALL CatalogChk ;cursor should move from 'abs(' to 'and'
ld a,kEnter
B_CALL CatalogChk ;output of routine should be a=kextendecho and (keyExtend)=kAnd