For modifying the icon, I am not sure how you can do it in C, but I do know of a way to do it in TI-BASIC using the Celtic (monochome) libs.

Code:
PROGRAM:ICON

:DCS
"AA55AA55AA55AA55 //checker icon
"0->Str1
det(21,Str1,0,42 //put " in Str1
Input "ICON:",A
If A
Then
  det(8,"ICON",Str1+"FF818181818181FF",2 //put box icon on line 2 of this file
Else
  det(8,"ICON",Str1+"AA55AA55AA55AA55",2 //put checker icon on line 2
End

If you can find a way to get the address of the start of your file, it shouldn't be too bad to write over the icon data.
This is in C. I guess I'll need to open the variable, get to the icon field, and over write the data with the new icon. Though the program is compressed. Not sure if that includes the icon.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 2 of 2
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement