Difference between revisions of "OSBYTE &7E"

From BeebWiki
Jump to: navigation, search
m (1 revision)
m (Clarified actions.)
 
Line 2: Line 2:
 
OSBYTE &7E (126) - Acknowledge ESCAPE Condition
 
OSBYTE &7E (126) - Acknowledge ESCAPE Condition
  
     This call tries to clear any ESCAPE condition, and (if enabled with
+
     On entry:
    OSByte 230) appropriate side effects.
+
        no parameters
     On exit X=255 successfully cleared condition
+
     On exit:
            X=0   the ESCAPE condition was not cleared (or no ESCAPE condition)
+
        X=0  There was no Escape condition pending.
 +
        X<>0 There was an Escape condition was pending.
 +
 
 +
If Escape side effects are enabled with [[OSBYTE &E6]], then those side
 +
effects are attempted (flushing buffers, closing Exec file, etc). Then the
 +
Escape condition is cleared and the Tube is notified.
  
 
==See Also==
 
==See Also==

Latest revision as of 02:16, 4 April 2015

OSBYTE &7E (126) - Acknowledge ESCAPE Condition

   On entry:
       no parameters
   On exit:
       X=0   There was no Escape condition pending.
       X<>0  There was an Escape condition was pending.

If Escape side effects are enabled with OSBYTE &E6, then those side effects are attempted (flushing buffers, closing Exec file, etc). Then the Escape condition is cleared and the Tube is notified.

See Also

Jgharston 21:21, 26 May 2009 (UTC)