Allow screensaver / standby during DOSBox (Win10)

General information and assistance with DOSBox.

Allow screensaver / standby during DOSBox (Win10)

Postby MTD » 2018-10-08 @ 13:02

Hello,

When i am running DOSBox 0.74 on Windows 10 the Windows screensaver / standby timeout will be blocked. Is there any possibility to disable this future?

For Linux i found the solution by setting the environment variable SDL_VIDEO_ALLOW_SCREENSAVER. Is there a same solution for Windows?
MTD
Newbie
 
Posts: 2
Joined: 2018-10-08 @ 12:43

Re: Allow screensaver / standby during DOSBox (Win10)

Postby DosFreak » 2018-10-08 @ 16:03

Does setting that variable not work in Windows?
User avatar
DosFreak
l33t++
 
Posts: 9935
Joined: 2002-6-30 @ 16:35
Location: Your Head

Re: Allow screensaver / standby during DOSBox (Win10)

Postby olddos25 » 2018-10-08 @ 17:56

Who even uses screensavers these days? Also, you wouldn't want the screensaver to activate whenever you are playing, so that's only natural. So don't get your hopes high.
Currently mod on several Discord servs and a forum, so you can trust me if you want a DOSBox mod here!
Other places to find me:
DraStic: http://drastic-ds.com (as dsattorney)
EPForums: http://www.epforums.org (as emulationfan)
olddos25
Member
 
Posts: 181
Joined: 2017-5-14 @ 02:34
Location: Argentina

Re: Allow screensaver / standby during DOSBox (Win10)

Postby MTD » 2018-10-08 @ 18:57

I add the environment variable like this way, but it don't works. Maybe i did something wrong?
Image

I want to achieve that the system that's running DOSBox switches to standby when running on battery power (used on industrial PC with build-in UPS; when machine power is switched of the PC must go in low-power state). This works without DOSBox running, so DOSBox blocks the Windows power saving functions
MTD
Newbie
 
Posts: 2
Joined: 2018-10-08 @ 12:43

Re: Allow screensaver / standby during DOSBox (Win10)

Postby olddos25 » 2018-10-08 @ 19:09

Unfortunately I know nothing about SDL, so I can't help you.
Currently mod on several Discord servs and a forum, so you can trust me if you want a DOSBox mod here!
Other places to find me:
DraStic: http://drastic-ds.com (as dsattorney)
EPForums: http://www.epforums.org (as emulationfan)
olddos25
Member
 
Posts: 181
Joined: 2017-5-14 @ 02:34
Location: Argentina

Re: Allow screensaver / standby during DOSBox (Win10)

Postby collector » 2018-10-09 @ 14:34

olddos25 wrote:Who even uses screensavers these days? Also, you wouldn't want the screensaver to activate whenever you are playing, so that's only natural. So don't get your hopes high.

If you have an OLED display you will want to. OLED has a burn in problem. It is why Roku has a screensaver.
User avatar
collector
l33t
 
Posts: 4245
Joined: 2003-1-15 @ 10:39


Return to DOSBox General

Who is online

Users browsing this forum: No registered users and 2 guests