|
Forum Index : Microcontroller and PC projects : CSUB Questions
| Author | Message | ||||
| chris Regular Member Joined: 24/08/2020 Location: United KingdomPosts: 56 |
Hello. I have some questions about CSUBs. 1) Which compiler and options do I need to use (on a Windows machine) to compile a CSUB for CMM2? 2) I see that the C header file is included in the CMM2 distribution as a public domain file, which is brilliant, but it's also stamped with the firmware version, so my question is that will any basic programs that integrate a CSUB break when ran on a CMM2 with a different firmware version, or are existing function locations "set in stone", so we can rely on forwards compatibility in the .h file? 3) If defining a CSUB that is, for example 500K, is there an overhead to parsing CSUBs in the basic parsing step that means that the true limit of CSUBS is much much lesser? Thanks. |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 10582 |
https://www.thebackshed.com/forum/ViewTopic.php?FID=16&TID=12289 Yes other than unforeseen circumstances No limit other than the 512K for the combined Basic program including the CSUB definition plus the C binary |
||||
| chris Regular Member Joined: 24/08/2020 Location: United KingdomPosts: 56 |
Thanks. |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |