Changes

Jump to: navigation, search

Caruh

10 bytes added, 16:38, 1 November 2023
/* Examples */
* Testing the content of address &7FFB on &7x allows integrity tests. Since the E-RAM status (high byte) is read here, the upper nibble must be '7'. If it's not equal to '7', the task E-RAM has been corrupted!
 
= Examples =
This process cannot be initiated by the Task itself. However, if the user wants to switch a Task to the Foreground, this Task must also be able to react to it!
 
== Process log: A Background Task becomes a Foreground Task ==
How does it work?
Continue reading please ... ;-)
 
== How can a Foreground Task return control to Caruh? ==
'''Note: ''' If the newly appointed Foreground Task is not able to set bit 0 of memory address &BE02 (CCON2) to 1, the Foreground status will be withdrawn after 192 cycles (192 times 'DI: RST 7')!
That means nothing else than that Caruh will take control again.
 
== Reserve parts of the common screen ==
'''Parameter:'''
The number of the reserving Task is stored in TTNS3 = address &BE03
1,988
edits