| |
drHirudo Account closed
Registered: Feb 2004 Posts: 1 |
Coding C64 screensaver.
I did this easily on the Oric and I think this could be done on the C64 too.
The idea is simple - I have installed an interrupt which counts the time since the last keypress and if it's more than the configured - the screen goes black. Since the Oric have fixed text/graphic pages address - I had to copy the whole video memory to somewhere else and set black image, and copy it back when the screen is on again. On the C64 this can be accomplished more easily - you just save the color registers, set all them to black and then return them back when an event occurs. And there are sprites which you can use for flying toasters, chickenlips or similar. This could be of no use for the BASIC mode, but in contiki it might prove useful, but I know almost noting about this OS so I will say pass here.
Regards.
P.S. The screensaver is useful if you like me use an old tube-style monitor. For the modern lcds it's useless I believe. |
|
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
a) this has been done
b) contiki already has a screensaver
c) its so amazingly pointless, its not funny anymore |
| |
Stryyker
Registered: Dec 2001 Posts: 468 |
Groepaz already covered it. But Contiki has plasma screen saver! |
| |
chancer
Registered: Apr 2003 Posts: 347 |
my monitor has an off switch .. so i'm ok ;-)
|
| |
White Flame
Registered: Sep 2002 Posts: 136 |
Watch that you don't blow your SID when toggling power on the monitor. If the sound goes to a separate amp, you're probably fine. |
| |
chancer
Registered: Apr 2003 Posts: 347 |
thanks white flame.. :-/ lol |
| |
Count Zero
Registered: Jan 2003 Posts: 1932 |
Groepaz: you are completely right, but would be a nice addition for the ROM, just like the jingle, hm ?
Aehm .. just stumbled over the thread ... a little late as always :)
l8r
Count Zero/CyberpunX/SCS*TRC |