Jump to content
Sign in to follow this  
SnakeByte

Auto Bank Switching For Arrays Please

Recommended Posts

Currently BoostC supports:

"Automatic Banks Switching for Variables - allows carefree use of variables"

 

which is a huge help! I was wondering if this could be applied to arrays that need to be larger than the max number of contiguous bytes in any one bank. This would help in portability between the 16 and 18 series chips that have different bank sizes, and would help keep the code working without alteration for any future chips as well.

 

Thank you.

Share this post


Link to post
Share on other sites

This probably will never happen. The reason is that for PIC16 a contiguous array in several banks can't exist. There will be hardware mapped register in between and this will make code that delas with array indexing several times longer and complex.

 

Regards,

Pavel

Share this post


Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...