* 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: C SDK and Libraries for the TI84+CE/TI8PCE  (Read 18914 times)

0 Members and 1 Guest are viewing this topic.

Offline MateoConLechuga

  • Full User
  • Join Date: Jan 2015
  • Location:
  • Posts: 231
  • Post Rating Ratio: +21/-1
Re: C SDK and Libraries for the TI84+CE/TI8PCE
« Reply #105 on: February 15, 2017, 03:11:24 am »
Minor update to the toolchain that fixes some interrupt things: (Only really applicable if you downloaded 7.0 lol)

Toolchain: https://github.com/CE-Programming/toolchain/releases/latest

Offline xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18876
  • Post Rating Ratio: +99/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: C SDK and Libraries for the TI84+CE/TI8PCE
« Reply #106 on: March 05, 2017, 05:28:52 am »
Thanks for the update Mateo. I'll definitively update even if I didn't download 7.0, though, because I think my C libs are from around November or so <_<
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline TheMachine02

  • Full User
  • Join Date: Dec 2014
  • Location:
  • Posts: 356
  • Post Rating Ratio: +14/-0
Re: C SDK and Libraries for the TI84+CE/TI8PCE
« Reply #107 on: March 20, 2017, 03:28:37 pm »
I did a very small C library for fixed 8.8 point format, https://github.com/TheMachine02/FixedPoint8/blob/master/fixedpoint.h . Should be quite fast (at least almost as integer and much better than float) although I guess it could be better and could  support 16.8 too  :P
There isn't all math functions either, so that will need to be coded  :)

Offline Alvajoy123

  • Full User
  • Join Date: Feb 2017
  • Location: USA
  • Posts: 115
  • Post Rating Ratio: +4/-5
  • The best programmer start her ~ codewalr.us
    • alvajoy asante
    • @@AlvajoyAsante
  • Gender: Male
Re: C SDK and Libraries for the TI84+CE/TI8PCE
« Reply #108 on: March 28, 2017, 12:16:15 am »
Do you use the program on the calc or what ? :crazy:
  • Calculators owned: TI-84+CE
??? ??? ???
Qestions are hard to ask that why we have ???
http://huggle.jdf2.org/sig/Alvajoy123.png

Offline xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18876
  • Post Rating Ratio: +99/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: C SDK and Libraries for the TI84+CE/TI8PCE
« Reply #109 on: March 28, 2017, 02:00:27 am »
No, TI-84+CE C is programmed on the computer.
I did a very small C library for fixed 8.8 point format, https://github.com/TheMachine02/FixedPoint8/blob/master/fixedpoint.h . Should be quite fast (at least almost as integer and much better than float) although I guess it could be better and could  support 16.8 too  :P
There isn't all math functions either, so that will need to be coded  :)
Hm that might be handy for 3D stuff. It's not as accurate, but it's much faster than floating points.
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline Alvajoy123

  • Full User
  • Join Date: Feb 2017
  • Location: USA
  • Posts: 115
  • Post Rating Ratio: +4/-5
  • The best programmer start her ~ codewalr.us
    • alvajoy asante
    • @@AlvajoyAsante
  • Gender: Male
Re: C SDK and Libraries for the TI84+CE/TI8PCE
« Reply #110 on: March 28, 2017, 02:03:22 am »
we need to find a way to make everything compatible on the calc
  • Calculators owned: TI-84+CE
??? ??? ???
Qestions are hard to ask that why we have ???
http://huggle.jdf2.org/sig/Alvajoy123.png

Offline xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18876
  • Post Rating Ratio: +99/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: C SDK and Libraries for the TI84+CE/TI8PCE
« Reply #111 on: March 28, 2017, 02:08:26 am »
Maybe one day that will come, since we can now program ASM on-calc with Mimas on the TI-83+/84+/SE, but it will most likely depend if there is enough demand.

Also, the calculator only has a small amount of user RAM and Flash, and the C code will take a considerable amount of space compared to the executable, especially with comments. Don't expect to make a large game directly on-calc, especially with good graphics (since an on-calc sprite maker would most likely take longer to use)
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline MateoConLechuga

  • Full User
  • Join Date: Jan 2015
  • Location:
  • Posts: 231
  • Post Rating Ratio: +21/-1
Re: C SDK and Libraries for the TI84+CE/TI8PCE
« Reply #112 on: April 07, 2017, 01:47:35 am »
Pretty awesome toolchain update! Installing on windows is probably the easiest toolchain installation in the entire world now. Lots of bug fixes and feature additions, keep reading for more or just get the download.

Toolchain: https://github.com/CE-Programming/toolchain/releases/latest
Libraries: https://github.com/CE-Programming/libraries/releases/latest

Note: Libraries are now included by using '#include <graphx.h>' rather than '#include <lib/ce/graphx.h>'. Also, if you are updating an older project, please use an updated makefile from the examples folder. These changes are important, so be sure to make them! :)

Things that have changed (there's more too, take a look at github):
    Able to build natively on any platform now simply by typing 'make'
    ConvPNG has been updated to fix a few memory issues (work goes on to add appvar support)
    Complete restructure of toolchain hierarchy; can now simply clone the repo and make. (see readme)
    Added gfx_FloodFill, gfx_ScaleSprite, and gfx_SetFontHeight, along with about a 5-9% speed increase in clipped sprite drawing.
    Optimized gfx_AllocSprite (Thanks Runer)
    Native convpng, convhex, and other programs for ease of use.

Also, jacobly is doing insane things with llvm, so feel free to give him some kudos whenever he's around :) Many thanks to jacobly and Adriweb for testing and telling me when I messed things up :P Enjoy everyone! Until next time.
« Last Edit: April 07, 2017, 05:36:55 am by MateoConLechuga »

Offline xMarminq_

  • Full User
  • Join Date: Sep 2016
  • Location: Generic Location
  • Posts: 461
  • Post Rating Ratio: +3/-0
  • Generic Personal Text
    • @UCUWQR30oIW2fRqCNI2IDGIA
  • Gender: Male
Re: C SDK and Libraries for the TI84+CE/TI8PCE
« Reply #113 on: April 07, 2017, 02:17:09 am »
<3
  • Calculators owned: Ti-84 Plus CE, Ti-84 Plus (can be borrowed from my school)
I don't associate with associations

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: C SDK and Libraries for the TI84+CE/TI8PCE
« Reply #114 on: April 07, 2017, 04:03:22 am »
__ @MateoConLechuga , dude


Originally in your first relase we had 2 folders,

#include <include/lib/ce/graphx.h>   
AND
#include <lib/ce/graphx.h>          which was used in some of the demos



Now you have just said

Quote from: MateoConLechuga
Libraries are now included by using '#include <lib/graphx.h>' rather than '#include <lib/ce/graphx.h>'.
Firstly, they were NEVER IN  <lib/ce/graphx.h> !!! AND
Secondly, they are not in your new '<lib/graphx.h>'

They are actually in <include/ce/lib>
ALSO there are only 3 in there - where are the others??!


Personally I consider EVER changing folder locations of include files to be abominable act.
PLEASE, PLEASE leave them in

AND LET THEM BE FOREVER! PLEASE!!

grr
  • 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 MateoConLechuga

  • Full User
  • Join Date: Jan 2015
  • Location:
  • Posts: 231
  • Post Rating Ratio: +21/-1
Re: C SDK and Libraries for the TI84+CE/TI8PCE
« Reply #115 on: April 07, 2017, 04:24:00 am »
This is because of people who apparently need it for their online IDEs. But since you don't like it, I'm just going to scrap it and put everything in one folder if that is okay with you. Then it will just be #include <graphx.h>, which obviously will never be changed.

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: C SDK and Libraries for the TI84+CE/TI8PCE
« Reply #116 on: April 07, 2017, 05:18:26 am »
Good move
  • 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 MateoConLechuga

  • Full User
  • Join Date: Jan 2015
  • Location:
  • Posts: 231
  • Post Rating Ratio: +21/-1
Re: C SDK and Libraries for the TI84+CE/TI8PCE
« Reply #117 on: April 07, 2017, 05:39:13 am »
Good move
Trust me; I was going to do it this way in the beginning :P Anywho, the toolchain is updated again; now you just have to do #include <graphx.h>. No more worries about breaking future things I guess :P

Offline Adriweb

  • Full User
  • CodeWalrus Supporter
  • *
  • Join Date: Jan 2015
  • Location: France & Canada
  • Posts: 428
  • Post Rating Ratio: +7/-1
    • Adriweb
    • @Adriweb
    • Adriweb
    • @UC-UIrbk5SuaUCvnV6SQvt-Q
    • /u/Adriweb
    • Adriweb
    • TI-Planet.org
  • Gender: Male
Re: C SDK and Libraries for the TI84+CE/TI8PCE
« Reply #118 on: April 07, 2017, 03:39:08 pm »
That said, I guess I'll commit some compatibility thing for the older paths to still work instead of possibly make people angry about the toolchain updates breaking their stuff.
*However* because things should still be updated, it will print an annoying deprecation warning message until their code gets fixed :P And eventually, I guess this compatibility layer may get removed.

This is the proper way to handle a graceful deprecation/removal for "breaking" changes (even if it's here a matter of removing just a few chars)

Edit: done https://git.io/vSwbz
« Last Edit: April 07, 2017, 05:04:41 pm by Adriweb »
  • Calculators owned: TI-Nspire CX CAS, TI-Nspire CX, TI-Nspire CAS (x3), TI-Nspire (x2), TI-Nspire CM-C CAS, TI-Nspire CAS+, TI-80, TI-82 Stats.fr, TI-82 Plus, TI-83 Plus, TI-83 Plus.fr USB, TI-84+, TI-84+ Pocket SE, TI-84+ C Silver Edition, TI-84 Plus CE, TI-89 Titanium, TI-86, TI-Voyage 200, TI-Collège Plus, TI-Collège Plus Solaire, 3 HP, some Casios
Co-founder & co-administrator of TI-Planet and Inspired-Lua

Offline xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18876
  • Post Rating Ratio: +99/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: C SDK and Libraries for the TI84+CE/TI8PCE
« Reply #119 on: April 07, 2017, 04:32:20 pm »
IMHO, whenever possible, it would be good to keep things compatible as often as possible in the future, otherwise this will just prompt some coders to stop upgrading.
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

 


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