Interesting.. DEFINEing a higher clock speed for a given actual clock speed that is constant should make everything slower, not faster.
Interesting.. DEFINEing a higher clock speed for a given actual clock speed that is constant should make everything slower, not faster.
What you said is right. I have the music playing while a title screen loads on my tv, and when I DEFINE the oscillator speed at 10 MHz, the music stops when the screen is finished loading. If I DEFINE the oscillator speed at 8 MHz though, the music finishes about a second faster than the screen loads. I prefer the slower speed, I just don't understand why it happens.
Ah, that is the correct way around.
If you define a slower speed, but don't change your actual clock, as stated above,
PBP will make adjustments to timing to compensate for the different clock freq.
So if you DEFINE OSC 8, but run at 4 MHz, a PAUSE 1000 statement should take 0.5 seconds to execute.
Art, it will take 2 sec.
PBP thinks it is 8MHz, bit clock is half. So delays are double.
Ioannis
Well it doesn't seem like it will hurt the chip any. Thanks again for the help guys.
Sure not! If you increase the clock frequency, you will reach a point that it will just not work, or at least reliable.
Ioannis
Bookmarks