OSBYTE &F7

From BeebWiki
Jump to: navigation, search

OSBYTE &F7 (247) - Intercept BREAK

   If this location is set to &4C (ie. a JMP instruction) then when reset
   occurs the address written by OSByte &F8 and &F9 is jumped to
   (RISC OS 1.00)
   Define action of BREAK key  
   b0..b1 define action of 'break' alone
   b2..b3 define action of 'shift break'
   b4..b5 define action of 'ctrl break'
   b6..b7 define action of 'ctrl shift break'
   Each two bit value can be 00=act as a reset
                             01=act as the ESCAPE key
                             10=no effect
                             11=undefined
   Writing to this value will also update the CMOS copy too

See Also

Jgharston 23:16, 26 May 2009 (UTC)