* WalrusIRC

You need to have 5 posts and not be part of restricted usergroups in order to use the WalrusIRC embedded shoutbox. However, you can also access our IRC channel called #CodeWalrus via EFnet.

Author Topic: Using Appvars to store game data in C on TI84+CE  (Read 874 times)

0 Members and 1 Guest are viewing this topic.

Offline kotu

  • -< \'V/,,,
  • Super User
  • Join Date: Aug 2016
  • Location: don't panic
  • Posts: 1160
  • Post Rating Ratio: +7/-11
  • woah
    • dj_kotu
    • @UCAy2ZF4hbc08iStnTn6jgxQ
    • rowanmedhurst
    • @romanov-psyco
    • futurerave.uk
  • Gender: Male
Using Appvars to store game data in C on TI84+CE
« on: August 16, 2016, 09:37:38 am »
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
« Last Edit: August 16, 2016, 10:04:27 am by 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

Offline E37

  • Full User
  • Join Date: Jul 2016
  • Location: Lihilzard Empire
  • Posts: 232
  • Post Rating Ratio: +10/-0
  • I own 2 game consoles, a ti-83 and a ti-84!
    • E37
Re: Using Appvars to store game data in C on TI84+CE
« Reply #1 on: August 16, 2016, 04:08:42 pm »
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.
« Last Edit: August 16, 2016, 04:14:32 pm by E37 »
  • 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!    <(^.^)>

Offline Unicorn

  • ??? ??? ??? ??? ???
  • Super User
  • CW Contest II - 2nd place
  • *
  • Join Date: Jan 2015
  • Location: ??? ??? ??? ??? ???
  • Posts: 2823
  • Post Rating Ratio: +5/-2
  • make :PICKACHUP: a thing!
    • Unicorn808
    • 114/11432
    • ??? ??? ??? ??? ???
  • Gender: Male
Re: Using Appvars to store game data in C on TI84+CE
« Reply #2 on: August 16, 2016, 04:51:44 pm »
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.
« Last Edit: August 16, 2016, 05:00:55 pm by Unicorn »
  • 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 ??? ??? ??? ??? ???



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

Offline c4ooo

  • Super User
  • CW Contest II Winner
  • *
  • Join Date: Aug 2015
  • Location: 127.0.0.1
  • Posts: 1010
  • Post Rating Ratio: +12/-4
  • Advanced forumer
  • Gender: Male
Re: Using Appvars to store game data in C on TI84+CE
« Reply #3 on: August 16, 2016, 06:45:56 pm »
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.

Offline kotu

  • -< \'V/,,,
  • Super User
  • Join Date: Aug 2016
  • Location: don't panic
  • Posts: 1160
  • Post Rating Ratio: +7/-11
  • woah
    • dj_kotu
    • @UCAy2ZF4hbc08iStnTn6jgxQ
    • rowanmedhurst
    • @romanov-psyco
    • futurerave.uk
  • Gender: Male
Re: Using Appvars to store game data in C on TI84+CE
« Reply #4 on: August 16, 2016, 09:39:03 pm »
Ime not sure, but it think C has libs for file IO.


ha ha! yes you are right
  • 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

 


You can also use the following HTML or bulletin board code to share it on your page or forum signature!


Also do not forget to check our affiliates below.
Planet Casio TI-Planet Calc.news BroniesQC BosaikNet Velocity Games