cpu 40 option clocktrim -3 'Adjust for reading as close as possible to 1,000,000 ' Once adjustment is established for the chip, write the trim value on the chip for future use dim i% i%=clockon(40) INPUT "Press return to terminate";i% i%=clockoff() end CFunction clockon 00000000 27bdffe8 afbf0014 afb00010 00808021 3c02bf81 8c43f220 7c63d800 3c020661 24420053 10620008 3c029d00 3c02bf81 8c43f220 7c63d800 3c020660 24420053 14620008 3c029d00 8c420010 2404000f 24050008 0040f809 00003021 10000007 3c02bf81 8c420010 2404002a 24050008 0040f809 00003021 3c02bf81 8c43fb44 24040007 7c831804 ac43fb44 3c02bf81 8c43f020 7c037bc4 ac43f020 8c43f020 7c831804 ac43f020 96040000 8c43f020 7c83f404 ac43f020 8c43f020 24040001 7c837bc4 ac43f020 8c43f020 7c836304 ac43f020 8fbf0014 8fb00010 03e00008 27bd0018 End CFunction 'MIPS32 M4K CFunction clockoff 00000000 27bdffe8 afbf0014 3c02bf81 8c43fb44 7c031804 ac43fb44 3c02bf81 8c43f020 7c037bc4 ac43f020 3c02bf81 8c43f220 7c63d800 3c020661 24420053 10620007 3c02bf81 8c43f220 7c63d800 3c020660 24420053 14620009 3c029d00 3c029d00 8c420010 2404000f 00002821 0040f809 00003021 10000007 8fbf0014 8c420010 2404002a 00002821 0040f809 00003021 8fbf0014 03e00008 27bd0018 End CFunction 'MIPS32 M4K