Difference between revisions of "83Plus:OS:Recall Queue"

From WikiTI
Jump to: navigation, search
m (added category)
m (edited category stuff)
Line 1: Line 1:
[[Category:83Plus:OS Information]]
+
[[Category:83Plus:OS Information|OS Recall Queue]]
 
''Recall Queue''
 
''Recall Queue''
  

Revision as of 09:33, 28 March 2005

Recall Queue

The recall queue can be used to output on the homescreen after quitting an application or inside an hook. The tokens will be inserted as soon as the homescreen becomes visible and editable for the user.

Here's how it works:

  • Copy the data you want tios to recall into a saferam area that isn't erased before you return to the home screen. The data should be in the same form as they would be in a program (eg t3,tdecpt,t1,t4)
  • Put the location of the first byte of data in rclQueue. You need to add one to this value if you use it inside a keyhook(I didn't test any other hooks but I guess this also applies to them) Thus if you would copy the data to appbackupscreen the code would be the following (outside a keyhook):
ld hl,appbackupscreen
ld (rclQueue),hl
  • Put the location of the last byte of data +1 in 86DBh. Thus if you would copy the data to appbackupscreen and the data would be two bytes large, the code would be the following:
ld hl,appbackupscreen+2 ;+1 is the location of the last byte
ld (86DBh),hl
  • Now you only have to set the following two flags and return/bjump back to tios.
set 7,(IY+0Eh)
set 2,(IY+33h)