trouble with 6.25 crystal?
ksam
Posts: 19
I'm working on a little project trying to make a small video game. I'm using the game Planetary defense from Michael Park:
http://forums.parallax.com/showthread.php?p=770719
I'm trying out the 6.25 crystal instead of the 5 Mhz one.· I've changed the xinfreq to 6_250_000, but this doesn't work.· It works fine with the other crystal?· Any suggestions?
http://forums.parallax.com/showthread.php?p=770719
I'm trying out the 6.25 crystal instead of the 5 Mhz one.· I've changed the xinfreq to 6_250_000, but this doesn't work.· It works fine with the other crystal?· Any suggestions?
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
Rayman is right - you have to change _xinfreq not only in your top-level object, but in every object it includes.
Worse, some of the drivers build in hidden assumptions about 5MHz (video drivers are worst at this). Look for lines like:
See that (pr / 5)?
That assumes 5MHz.
Replace that with
Best,
Bill
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Please use mikronauts _at_ gmail _dot_ com to contact me off-forum, my PM is almost totally full
Morpheus & Mem+dual Prop SBC w/ 512KB kit $119.95, 2MB memory IO board kit $89.95, both kits $189.95
www.mikronauts.com - my site 6.250MHz custom Crystals for running Propellers at 100MHz
Las - Large model assembler for the Propeller Largos - a feature full nano operating system for the Propeller