// Wait a little, we cannot wait for any keypress or mouse movement because it would disable the screenblanking directly ;)
IDOS->Delay(600);
/* Same process as before, we send a message to all aplications, it doesn't matter because all non-blanker applications will ignore this message anyway.
* we could still get the blanker application name to obtain the Application ID, and use it instead of broadcasting, the usage would be:
ok, after being Amiga-less for a little while, i was too eager to get coding again, so i cooked this little tool to help debugging Application.library message sending.
Should be available soon over Os4 Depot: http://www.os4depot.net/index.php?function=uploads
Thanks to Ami603 I've got a private build of AmiVNC4 that will disable the screen blanker when the client connects. Seams to work too. PM me if you want to give it a try.
There is code to do that in CDXLPlay (source code is included):
http://os4depot.net/index.php?function=showfile&file=video/play/cdxlplay.lha
The code is in main.c play() and pause() functions and is just:
AppID is the ID you received from the RegisterApplication() function call.
Or you can allow/disallow the blanker at app registration time, instead of calling SetApplicationAttrs() later:
AppID = IApplication->RegisterApplication("Application Name", REGAPP_AllowsBlanker, FALSE, TAG_DONE);
AmigaOne X5000-020 / 2GB RAM / Sapphire Pulse Radeon RX 560 / AmigaOS 4.1 Final Edition Update 2
I pinged Vincente Gimeno and he was kind enough to create a quick bit of code that compiles and sends a message to kick in the blanker:
ok, after being Amiga-less for a little while, i was too eager to get coding again, so i cooked this little tool to help debugging Application.library message sending.
Should be available soon over Os4 Depot: http://www.os4depot.net/index.php?function=uploads
Thanks to Ami603 I've got a private build of AmiVNC4 that will disable the screen blanker when the client connects. Seams to work too. PM me if you want to give it a try.