home *** CD-ROM | disk | FTP | other *** search
-
- (C) 1994/1995 Alun Jones, auj@aber.ac.uk
-
- BlankCtrl is a module which hacks the RISC OS 3.1 screenblanker module.
- It supplies three SWIs and a screenblank trigger:
-
- Blank_Check - Returns R0=1 if the screen is blank, 0 otherwise.
- Blank_Blank - Forces the screenblank timer to R0/5 seconds. So,
- SYS "Blank_Blank", 5 will make the screen blank in 1s.
- Blank_Unblank - Forces the screen to unblank immediately.
-
- Also, if the mouse pointer is clicked in the bottom left corner of the
- screen then the screenblanker will have its timer set to about 1 second.
- This is useful for forcing the screenblank on when you need to leave the
- computer or if you want to force screen DMA off while running something
- processor intensive in a high bandwidth screen mode. (of course if you
- move the mouse during the 1s period then screenblanker will reset its
- timer)
-
- The module works by first checking the screenblanker module version. If the
- version number is right then the blanker's module workspace base is read.
- The Blank_* SWIs can then read or write to the workspace and subvert
- screenblanker's timers.
-