Join us on Discord!
You can help CodeWalrus stay online by donating here.

Using Appvars to store game data in C on TI84+CE [C] [TI-84+CE]

Started by kotu, August 16, 2016, 09:37:38 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kotu

Hi I'm using Mateo's C sdk to make a game however I cannot find anywhere which explains how to keep game data, graphics etc in Appvars.

Can anyone explain this or provide some code to show me?

Thankyou
  • Calculators owned: TI 84+CE-T
  • Consoles, mobile devices and vintage computers owned: Sega Master System, Sony PlayStation 3
SUBSCRIBE TO THE FUTURERAVE.UK MAILING LIST
http://futurerave.uk

E37

You may have to create your own manually...
Are you familiar with the VAT? It stores the location, name and size (along with a few other things)
You may have to create your own entry in it. That would be worst case though...
https://www.omnimaga.org/axe-language/vat-tutorial/
That is how the VAT is structured... In b/w 84s though.
From what I've seen the VAT should be the same for both.
I'd use this as a last resort. There probably are easier ways to do this.
  • Consoles, mobile devices and vintage computers owned: Ti83,Ti84!
I've never finished a project, there is always a way to improve!
What's my calc's name? Convert $37 to decimal. Look up that element in the periodic table. Then take the abbreviation of that element and you have it!
Look! A slime!    <(^.^)>

Unicorn

#2
https://www.cemetech.net/forum/viewtopic.php?t=12725&highlight=

I did not mean to just post that link, sorry. :/

That link has information about storing data to appvars using the C library, and some other useful code snippets about debugging.
  • Calculators owned: I own all of them: PICKACHUP TI 84+ CSE TI 83+ SE TI something something ??? ??? ??? ??? ???
  • Consoles, mobile devices and vintage computers owned: PICKACHUP ??? ??? ??? ??? ???



??? ??? ??? ??? ???

c4ooo

You really dont need to know the vat structure unless your writing a shell :P
Ime not sure, but it think C has libs for file IO.

kotu

  • Calculators owned: TI 84+CE-T
  • Consoles, mobile devices and vintage computers owned: Sega Master System, Sony PlayStation 3
SUBSCRIBE TO THE FUTURERAVE.UK MAILING LIST
http://futurerave.uk

Powered by EzPortal