The pico mite has a 328 kB limit. At last count my master flight tool sat at 300 kB.
I upgraded the great circle routine to a WGS – 84 oblate spheroid system. That raised the master flight tool to 315 kB.
And then upgraded the waypoint plotting routine from sphere to oblate sphereoid also raising the routine to 340 kB.
At 340 kB the routine when called from the SD card displayed “not enough memory“ message.
The full routine of 340 kB contains roughly 25 to 40 kB worth of comments and blank spaces for readability.
I understand that I can use something like Tera Term and the MM basic “crunch” command to remove the 25 to 40 kB thus reducing the program down to a manageable 320 to 300 kB which will then load.
I will keep the original master.BAS routine with the full comments and spaces as I modify two different versions, but will now use the “crunch” to load it onto the picocalc.
The question is, has anybody here used the “crunch” command to reduce the size of the.BAS routine by removing the blank spaces and comment sections?
If so what success have you had.
Number two is there a way to increase the 328 kB restriction on the picocalc. Also if I converted these routines to python with that reduce the memory size? That is, is Python more efficient than MM basic?
Hope there are suggestions.
I will be using new data sync micro USB cables on Tuesday and the “crunch” MM basic command and will let you know how much memory that saved.
I’m currently using a Pico 2H and RTC chip. The picocalc is fully up-to-date with the latest UF2 files and keyboard file.
Cheers Geoff