Slimelite BBS

AntiBlanker.lha

Back to blank

A tool that disables your screen blanker

Size
9.5K (9,778 bytes)
Added
2026-11-20 17:28
Downloads
2
Long Description
**************************************************************************** * IF YOU STILL REQUIRE OS2.x SUPPORT, V1.1 IS AVAILABLE FROM OUR WWW SITE! * **************************************************************************** Why was it written? ~~~~~~~~~~~~~~~~~~~ Because the screen blanker we were using would eat up too much CPU time when we were trying to burn CDRs thus ruining them, and we kept forgetting to disable it beforehand, so we thought we would get our Amiga to do it for us. How do I run AntiBlanker from Workbench? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Just double click on the AntiBlanker icon. In order to tell AntiBlanker what tasks to look out for you must setup it's tool types as follows: DELAY=<the delay between checks (in 1/50ths of a second)> BLANKCODE=<the blank key code, see below> BLANKQUALIFIER=<the blank qualifier, see below> TASK=<the task name you would like to disable your screen blanker for> e.g.: DELAY=6000 BLANKCODE=0x0062 BLANKQUALIFIER=0x0004 TASK=MakeCD TASK=PalomaTV The above would disable your screen blanker when ever MakeCD or PalomaTV are running, and it will check to see if they are running every 2 minutes (6000/50/60 = 2 minutes), but How do I run AntiBlanker from the CLI? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Type the following at a CLI prompt: <Path>AntiBlanker <Config #1> <Config #2> ... <Config #n> Where <Config #n> are any number of configuration files, AntiBlanker will automatically append them all together. The format of the configuration files are as follows: Line1 the delay between check (in 1/50ths of a second) same as DELAY tooltype Line2 the blank key code (see below) same as BLANKCODE tooltype Line3 the blank qualifier (see below) same as BLANKQUALIFIER tooltype Line4 .. x the task name you would like to disable your screen blanker for same as TASK tooltype nb. when using multiple configuration files, AntiBlanker uses the DELAY, BLANKCODE and BLANKQUALIFIER from the last configuration file specified. What are the blank code and blank qualifier? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AntiBlanker works by putting 'fake' input events onto the input chain, thus fooling your screen blanker into thinking you've pressed a key when you haven't. Versions before 0.4 used the 'Control' <Ctrl> key for this purpose as we thought it was least likely to cause any conflicts, unfortunately we did not fill in the input event with a single <Ctrl>, but instead we accidentally set it to <Ctrl> + <'> and this would produce 'trash' in a shell window and in some software. As of version 0.5 you can specify the blank code and blank qualifier (see above), this allows you to program AntiBlanker to 'fool' the system with any key you like. You can specify the codes as hex or decimal by copying them exactly from the tables below (the tables are not complete, but should get you started). Blank codes ~~~~~~~~~~~ Key Hex Code Decimal Code --- -------- ------------ Left Shift 0x0060 96 Right Shift 0x0061 97 Caps Lock 0x0062 98 Control 0x0063 99 Left Alt 0x0064 100 Right Alt 0x0065 101 Left Amiga 0x0066 102 Right Amiga 0x0067 103 nb. the above blank codes work on our A1200, although they may be slightly different for other Amigas (and possibly foreign keyboards), if you get 'trash' in a shell window while using AntiBlanker try a different code. Blank qualifiers ~~~~~~~~~~~~~~~~ Key Hex Code Decimal Code --- -------- ------------ Left Shift 0x0001 1 Right Shift 0x0002 2 Caps Lock 0x0004 4 Control 0x0008 8 Left Alt 0x0010 16 Right Alt 0x0020 32 Left Amiga 0x0040 64 Right Amiga 0x0080 128 If you find o