| |
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.... |
| |
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!!!
|
| |
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! ;) |
| |
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 |