| |
SIDWAVE Account closed
Registered: Apr 2002 Posts: 2238 |
C64 Clock/Time routine
Houston we have a problem!
About all clocks i have seen on C64, run too slow.
More specificly i am annoyed with SDI music tracker, and PSID64 clocks.
They run too slow!
If they play music for 4 minutes, they will claim they only played like 3:41 or so.
So my question is:
Are the coders on the wrong path, or is the C64 ? |
|
... 23 posts hidden. Click here to view all posts.... |
| |
GT Account closed
Registered: Sep 2008 Posts: 308 |
Let's write that down on the list with the other new hot fixes... :-) |
| |
SIDWAVE Account closed
Registered: Apr 2002 Posts: 2238 |
it afffected me in real life, because on the MO and X2006 party, they played my tune too short, because the on screen time was wrong!
i dont use SDI default player, but i had blindly written on screen that time was xx:xx, but in reality it was 20 secs longer, so they didnt hear my ending.. (i dont loop on compo) |
| |
GT Account closed
Registered: Sep 2008 Posts: 308 |
Quote: it afffected me in real life, because on the MO and X2006 party, they played my tune too short, because the on screen time was wrong!
i dont use SDI default player, but i had blindly written on screen that time was xx:xx, but in reality it was 20 secs longer, so they didnt hear my ending.. (i dont loop on compo)
Rambones. This is not real life. This is just a fantasy, a jolly playground for nostalgic freaks. :-) |
| |
Stryyker
Registered: Dec 2001 Posts: 468 |
The issue is most likely because the timers assume PAL frame rate is exactly 50 Hz. It makes it easier to calculate fast forwards etc. When using CIA TOD it gets a bit messier. |
| |
j0x
Registered: Mar 2004 Posts: 215 |
Quote: The issue is most likely because the timers assume PAL frame rate is exactly 50 Hz. It makes it easier to calculate fast forwards etc. When using CIA TOD it gets a bit messier.
Wouldn't that mean less than one second error in the aforementioned four minutes? |
| |
Frantic
Registered: Mar 2003 Posts: 1648 |
Feel very free to post a clock routine on http://codebase64.org
The world needs you! |
| |
WVL
Registered: Mar 2002 Posts: 902 |
Quote: Wouldn't that mean less than one second error in the aforementioned four minutes?
During X we've seen a lot of players showing the time wrong, and most of them by about the same amount.. way more than just 1 second..
|
| |
SIDWAVE Account closed
Registered: Apr 2002 Posts: 2238 |
Well, Charles Deenen coded it correct...
so rip his! |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
there is no need to rip a clock routine really, just code it right =D |
| |
6R6
Registered: Feb 2002 Posts: 245 |
The current SDI 2.0beta use the Time-Of-Day clock
to display the time. And the current settings for $dc0e look like this:
(50hz for pal)
lda #$81
sta $dc0e
(60hz for ntsc)
lda #$01
sta $dc0e
I'm not doing a proper system check, i'm only checking the value of $02a6 to determine wheter the machine is pal or ntsc. This will be fixed for the next release. |
Previous - 1 | 2 | 3 | 4 - Next |