Jump to content
IGNORED

Help with Memory Saving techniques in XB and XB256


Airshack

Recommended Posts

Today i ran into some memory issues on a program for XB/XB256 so it looks like I'm going to have to go back and re-write some code. I tried using XBasher yet it crashed maybe because it didn't like the XB256 code? Anyway, I'm re-writing now and wondering if the TI Faithful have tip such as:

 

>>> Don't use CALL CLEAR because DISPLAY ERASE ALL saves 5 bytes. <===== Who knew?

 

I use two-character variable names so there's not much there to save memory..

 

How about multiple commands on the same line? Is the limit 256 characters?

 

Any tips you share are appreciated. - James

Edited by Airshack
Link to comment
Share on other sites

Today i ran into some memory issues on a program for XB/XB256 so it looks like I'm going to have to go back and re-write some code. I tried using XBasher yet it crashed maybe because it didn't like the XB256 code? Anyway, I'm re-writing now and wondering if the TI Faithful have tip such as:

 

>>> Don't use CALL CLEAR because DISPLAY ERASE ALL saves 5 bytes. <===== Who knew?

 

I use two-character variable names so there's not much there to save memory..

 

How about multiple commands on the same line? Is the limit 256 characters?

 

Any tips you share are appreciated. - James

If you give some examples of your code, I'm sure someone will point out things that can be done using less bytes.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. 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...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...