AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
=>     R0 =     reason code

This SWI controls screen blanking.

See PRM 4, page 110.
ScreenBlanker reason codes
Reason     Meaning

0     Blank screen immediately
1     Unblank screen immediately
2     Flash screen
3     Set blanking delay
4     Get blanking delay in seconds
5     Get blanking delay in centi-seconds
ScreenBlanker_Control 2
=>     R0 =     2 (Flash screen)
     R1 =     time to turn on in centiseconds
     R2 =     time to turn off in centiseconds
     R3 =     maximum number of flashes
     R4 =     flags (not documented, see Service_ScreenRestored and Service_ScreenBlanked)
ScreenBlanker_Control 3
=>     R0 =     3 (Set blanking delay)
     R1 =     delay in centi-seconds, or 0 to disable
ScreenBlanker_Control 4
=>     R0 =     4 (Get blanking delay)
<=     R0 =     internal blanking time
     R1 =     delay in seconds, or 0 if disabled
ScreenBlanker_Control 5  (4.00+)
=>     R0 =     5 (Get blanking delay)
<=     R0 =     internal blanking time
     R1 =     delay in centi-seconds, or 0 if disabled

[sh-index] Back to list of manuals