You can help CodeWalrus stay online by donating here. | New CodeWalrus | Old (dark mode) | Old (light) | Discord server

C SDK and Libraries for the TI84+CE/TI8PCE

b/Software Downloads Started by MateoConLechuga, January 29, 2016, 02:59:00 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

u/MateoConLechuga May 21, 2016, 04:23:10 PM
Got it :) The graphc library+header has been readded in, with an annoying #warning message everytime someone compiles with it or looks at the header :)
u/Dream of Omnimaga May 21, 2016, 04:30:47 PM
Yeah I think it's good to leave that in, because that helps for compatibility with older projects and programmers won't wonder why all of a sudden their game no longer compiles or has errors during run time. :P
u/c4ooo May 21, 2016, 07:53:00 PM
Quote from: DJ Omnimaga on May 21, 2016, 06:27:24 AM
Yay about #2. :D And yeah a BASIC parser hook would be nice. I know @c4ooo absolutely wants a parser hook-based lib for BASIC coders that is standalone (eg not require one specific shell) so perhaps he would be interested in making a lib that lets BASIC coders use the C libs? It would be kinda standard too since the C libs are already heavily used by C coders.
@DJ Omnimaga @MateoConLechuga This is a great idea. Infact i have already considered pausing work on my shell and starting the API. Maybe i can also include @DrDnar's TextLibCE and @grosged's sprite lib.
u/Dream of Omnimaga May 22, 2016, 09:20:00 PM
As long as they're standalone, as in, not require installing your shell. We are trying to avoid repeating the same issue as with xLIBCE, right?
u/MateoConLechuga May 22, 2016, 10:59:51 PM
Basically, I think that a single program to install/uninstall the parser hook would be best. It would eliminate any need to have a ton of different programs and hook chaining in order to perform hybrid basic operations, of which it seems to me seems a little daunting at the moment.
u/Dream of Omnimaga May 23, 2016, 04:10:44 AM
Well, what I meant is that for example, there are some people who would like to use xLIBCE without being forced to put Doors CE 9 on their calculator, especially those who prefer Cesium or PHASM and are not willing to have two shells on their calc. c4ooo was one of the people to express that sentiment so I thought that his last post about including CE Textlib and Sprites v3 inside his shell was kinda contradictory. I might have misunderstood, though, so perhaps further clarification would be nice. But yeah, a program to install all hooks would be nice, if that's feasible with a potentially growing set of libs.

But yeah, back on the C libs topic, it would definitively be cool if someone made a parser hook that allowed the use of those libs in TI-BASIC. Since many C programs use the libs, most people will eventually have them on their calculator, so when downloading hybrid games they would have even less stuff to send to their calc.
u/MateoConLechuga May 24, 2016, 04:48:01 PM
Minor update to the makefile to fix some spelling errors and make time issues that occasionally happened. Should work better on Linux too, @Unicorn :)

https://github.com/CE-Programming/toolchain/releases/latest
u/Dream of Omnimaga May 24, 2016, 09:25:54 PM
What do you mean by make time issues?
u/Dream of Omnimaga May 25, 2016, 01:30:49 AM
That doesn't tell me much but thanks anyway :P
u/MateoConLechuga May 26, 2016, 03:12:04 AM
Minor makefile update that properly fixes a race condition if your computer is fast... Haha :P

https://github.com/CE-Programming/toolchain/releases/latest
u/Dream of Omnimaga May 26, 2016, 03:19:39 AM
Wait... did it actually fail to compile or something if your computer was too fast? XD

* DJ Omnimaga hopes that in 10 years, programming with C SDK for TI-84+CE won't require something like DOSBox with old PC games. :P
u/MateoConLechuga May 26, 2016, 03:26:16 AM
Haha, yeah. It was just a minor thing that not a lot of people would have experienced, just a thing that depended on how fast and in what order your OS would like to execute things :)

And actually, there's no DOS box or anything. All you do to compile a program is type 'make' at the command line. :)
u/Dream of Omnimaga May 26, 2016, 03:28:14 AM
Wait, is the C SDK entirely command line-based when it comes to compiling stuff? This might deter some programmers, since most Windows users prefer working through GUI's (eg like in TIGCC where we can compile programs with a single click). Or maybe I misunderstood something (I don't use C)
u/MateoConLechuga May 26, 2016, 03:33:51 AM
Actually, I should really clarify this. The toolchain is based around a makefile, which pretty much any C IDE can hook into. So you can use any editor, Atom, Qt, Eclipse, etc, and it will provide any interface you want to use for compiling, be it a little button or whatever. :) I prefer to go the shell route, because I find it easier.
Last Edit: May 26, 2016, 03:39:46 AM by MateoConLechuga
Website statistics


MyCalcs | Ticalc.org | Cemetech | Omnimaga | TI-Basic Developer | MaxCoderz | TI-Story | Casiocalc.org | Casiopeia | The Museum of HP Calculators | HPCalc.org | CnCalc.org | Music 2000 Community | TI Education | Casio Education | HP Calcs | NumWorks | SwissMicros | Sharp Calculators
Powered by EzPortal