flat assembler
Message board for the users of flat assembler.

Index > Windows > Screen saver in asm - source code

Author
Thread Post new topic Reply to topic
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20304
Location: In your JS exploiting you and your system
revolution 28 Jan 2008, 08:12
I found this old screen saver program on my HDD. And rather than waste the code I would like to see it go to a better home.

It is fully working but was never finished. The configuration dialog was never completed but the rest of it is functioning well. I tested it on Win2K and XP and I am curious to know if it works on 95/98/ME.

I have only included the source file in the archive, so you will need to assemble it before you can use it. You need to copy the executable to %SystemRoot%\system32\*.scr for Windows to recognise it in the ControlPanel/Display/ScreenSaver dialog.

Feel free to use this code as a template for your own custom screen saver.
Post 28 Jan 2008, 08:12
View user's profile Send private message Visit poster's website Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 12742
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 0010456
sleepsleep 28 Jan 2008, 13:37
i think i will download it (not yet download)
maybe add directx Razz and maybe object created in blender3D ...

company logo and etc.

i think many will love to have it. thanks revo Smile
Post 28 Jan 2008, 13:37
View user's profile Send private message Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo 28 Jan 2008, 20:51
Tried it on both WinME (just to be nice Cool ) and WinXP, but there's a small difference:

Putting it in \WINDOWS\SYSTEM32 works fine on XP (shows up as "Moving Time"). This doesn't work on WinME. (Not available as choice.)

Putting it in \WINDOWS\ (not preferred?) or \WINDOWS\SYSTEM (where 99% of other .SCRs live) on WinME lets it show up (and works), but it only says "Time" as description, not "Moving Time". I didn't mess with the config dialog, but it seems to display okay.

Both computers let the time and date (upside down) bounce around (even slightly outside the viewable screen, which I assume is normal). And having a CMD prompt open (black) makes it (naturally) seem to partially "disappear" when hovering over that. But it's really nice, especially for its size (and price, heheh). Wink
Post 28 Jan 2008, 20:51
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20304
Location: In your JS exploiting you and your system
revolution 29 Jan 2008, 18:02
Thanks for the feedback rugxulo.

It is normal that the text will exit the sides and top. This was done to test the clipping.

A window with a black background is always going to cause it to "disappear" when it passes over, another option is to simply invert the colours for both the background and foregrounds, but it looks kinda weird and ugly that way.

The config dialog will show up but that is all it does, you can change the values as much as you like and it will have no effect on anything except your patience.

You mentioned the date is upside down, and this is normal at the start (escapement set to 1800) but it should slowly and smoothly rotate as it moves. The same behaviour for the time. Do you see the rotation?
Post 29 Jan 2008, 18:02
View user's profile Send private message Visit poster's website Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo 29 Jan 2008, 23:59
Yes, it looks like it sorta starts to (slowly) rotate.
Post 29 Jan 2008, 23:59
View user's profile Send private message Visit poster's website Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4330
Location: Now
edfed 30 Jan 2008, 01:35
win98, OK! works well, but is a little too much slow, and config don't works.

all in all, it's very surprising! i love this effect.

Laughing
Post 30 Jan 2008, 01:35
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.