Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 21:08 14 Nov 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : CSUB Questions

Author Message
chris
Regular Member

Joined: 24/08/2020
Location: United Kingdom
Posts: 56
Posted: 09:27am 15 Sep 2020
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 10582
Posted: 09:39am 15 Sep 2020
Copy link to clipboard 
Print this post

https://www.thebackshed.com/forum/ViewTopic.php?FID=16&TID=12289

  Quote   or are existing function locations "set in stone", so we can rely on forwards compatibility in the .h file?

Yes other than unforeseen circumstances

  Quote  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?


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 Kingdom
Posts: 56
Posted: 03:16pm 15 Sep 2020
Copy link to clipboard 
Print this post

Thanks.
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025