Shop OBEX P1 Docs P2 Docs Learn Events
changing a crystal — Parallax Forums

changing a crystal

ksamksam Posts: 19
edited 2009-09-20 16:49 in Propeller 1
I am trying to change the crystal size in abinary folder for the game frogger that was posted.· How can I get into the binary folder to change it from a 5 to a 6.25 crystal?

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2009-09-20 16:49
    Do you mean "binary file" instead of "binary folder"?

    It's possible, but not simple to change the crystal speed in a binary file. The 1st four bytes of the binary file contain the system clock speed which is normally 80MHz and you'd have to change that to 100MHz (6.25MHz * 16 = 100_000_000). The problem is that there's a checksum in byte #5 of the binary file that also has to be changed. It's really much easier to just change the source code and recompile since the compiler will recalculate the checksum for you.
Sign In or Register to comment.