Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > C64 Clock/Time routine
2009-02-04 00:40
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 ?
 
... 30 posts hidden. Click here to view all posts....
 
2009-02-09 08:44
Devia

Registered: Oct 2004
Posts: 401
uh oh.. In regards to Step 3 above, you'd of course have to first synchronize the raster to the Power Plant's net frequency or you'd have a slack factor of up to almost 1 frame +/-... this is of course also easily achieved by doing a simple lda $dc08, cmp #nextval, bne *-5 or similar..

yes.. a code example of all this will be published at codebase64.or once it's done and verified.. but I need an NTSC tester!!!
2009-02-09 09:55
Frantic

Registered: Mar 2003
Posts: 1648
Quote: uh oh.. In regards to Step 3 above, you'd of course have to first synchronize the raster to the Power Plant's net frequency or you'd have a slack factor of up to almost 1 frame +/-... this is of course also easily achieved by doing a simple lda $dc08, cmp #nextval, bne *-5 or similar..

yes.. a code example of all this will be published at codebase64.or once it's done and verified.. but I need an NTSC tester!!!


@Devia: Good boy! ;)
2009-02-13 01:08
Devia

Registered: Oct 2004
Posts: 401
Ok, I found another solution which was way easier to implement and added some info on it here: http://codebase64.org/doku.php?id=base:initialize_tod_clock_on_..

You'll also find a link to a binary there, which you can test your REAL c64s with. I still would like just a single report on the behaviour on NTSC machines.

Previous - 1 | 2 | 3 | 4 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
E$G/HF ⭐ 7
MaD ][/Starship
Guests online: 110
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 No Listen  (9.6)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 X-Mas Demo 2024  (9.5)
7 Dawnfall V1.1  (9.5)
8 Rainbow Connection  (9.5)
9 Onscreen 5k  (9.5)
10 Morph  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Censor Design  (9.3)
5 Triad  (9.3)
Top Fullscreen Graphicians
1 Joe  (9.7)
2 Sulevi  (9.6)
3 The Sarge  (9.6)
4 Veto  (9.6)
5 Facet  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.049 sec.