Alternatively, join us on Discord.

Online C compiler for the TI-84 Plus CE / TI-83 Premium CE

Started by Adriweb, September 30, 2015, 10:19:03 pm

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Snektron

December 01, 2015, 12:59:13 pm #60 Last Edit: December 01, 2015, 01:04:15 pm by Cumred_Snektron
Sweet :) I'll be testing this out. Have to create a ti-planet account first though :P

EDIT: Wow that looks sweet :D Nice job
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Adriweb

It is indeed currently restricted to users being logged-in, so far.
We have yet to decide if that's going to change.

For project types without a server backend doing the work (contrary to the C Compiler type), but just stuff client-side, it can't really hurt to not require users to be logged in...
An example of that would be a Basic editor, I guess - no need for a backend, as I would make it work with an emscriptened version of tivars_lib_cpp.

Edit: news delayed for a beta2 release with a bit more features for beginners especially.
Co-founder & co-administrator of TI-Planet and Inspired-Lua

DJ Omnimaga

Awesome adriweb. Let the beta-testing begin. Since some of us don't know C, perhaps if someone knows how to make CE programs he could give us access to his projects or a simple program so that we can at least test the compiler features for bugs. :)

critor

You can copy/paste the source code included in the .zip files from Crystann/Mandragore/Androides for example.

Unfortunately, giving you access to one of these projects would mean giving you both read+write permissions on the project.
We're missing a "read-only" permission together with a clone button.

That's why there will be a beta2 together with a news. ;)

Adriweb

Actually, not directly, since the headers have changed since then.

there's no ce.h anymore, but there's :
#include <startup.h>
#include <ti84pce.h>

that has to be there in the main.c file.

In other files, if this is the case, only ti84pce.h is needed (do not put startup!)

Anyway, the next beta version will provide a better UX for beginners especially, while this beta1 is more to be able to test the technical parts of if, so for more advanced users who may want to try things on their own.
Co-founder & co-administrator of TI-Planet and Inspired-Lua

DJ Omnimaga

Quote from: critor on December 02, 2015, 11:41:13 am
You can copy/paste the source code included in the .zip files from Crystann/Mandragore/Androides for example.

Unfortunately, giving you access to one of these projects would mean giving you both read+write permissions on the project.
We're missing a "read-only" permission together with a clone button.

That's why there will be a beta2 together with a news. ;)
That will be good. :) Also wow I didn't remember that C was so cryptic compared to HP PPL and what I saw of Lua. I checked the Hello World code the other day and it looked more confusing and there were plenty of ASM stuff at the bottom. Is the use of ASM really necessary in order to program games in C for the TI-84 Plus CE?

Unicorn

Whoa! A public beta! I might get to learning some C, now that it can be compiled for a calc...



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

Lionel Debroux

DJ: the template for C programs will evolve (and multiply), and less ASM code might be part of the standard templates, but a bit of ASM glue will remain necessary e.g. for some OS functions whose calling convention is non-C and which have not (yet) been wrapped.

Unicorn: yeah, learning C would probably be useful, as making Mandragore ( https://ti-pla.net/a328137http://www.ticalc.org/archives/files/fileinfo/465/46590.html ), Androides ( https://ti-pla.net/a335066http://www.ticalc.org/archives/files/fileinfo/465/46591.html ) and the even better Crystann ( https://ti-pla.net/a353827 , http://www.ticalc.org/archives/files/fileinfo/466/46607.html ) was much easier in C than in ASM.
Some of the inconveniences critor (mainly, Adriweb helped) experienced in the making of these games can be lifted and are in the process of being lifted, but the limitations due to Zilog's horrible compiler will remain.
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TIEmu and TILP.
Co-admin of TI-Planet.

DJ Omnimaga

So in order to program in ez80 C, should people learn ez80 ASM first?

Lionel Debroux

critor didn't learn eZ80 ASM for making these three games, so no, not necessarily, of course.
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TIEmu and TILP.
Co-admin of TI-Planet.

DJ Omnimaga

That is good. Otherwise I was gonna say that we need Axe CE >.<

Lionel Debroux

December 15, 2015, 07:58:25 am #71 Last Edit: December 15, 2015, 08:11:09 am by Lionel Debroux
Perhaps more so than a platform-specific language with fairly cryptic syntax, we need Lua, Python (implemented by e.g. Micro Python) and JS (implemented by e.g. Duktape) on the TI-eZ80 series :)
Technically, they could run much better on the TI-eZ80 series than on the TI-Z80 series. But Zilog's horrible compiler can get in the way of simply building the programs...
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TIEmu and TILP.
Co-admin of TI-Planet.

Adriweb

Surprise! The Project Builder (but also TI-Planet's archives) now embeds a much improved version of WebCEmu, based on current developments (lots of nice work from Jacobly and Mateo, regarding LCD / SPI / DMA etc.)

The interaction with the browser (especially for the display of the screen, but also the emulation infinite loop) is now written in such a way that there is no need for threading anymore, which simplifies a lot of things, and allows not to encounter weird behaviour (slowness in particular) in recent Chrome versions for example, with these APIs JS being a little too new ... And consequently, the speed of emulation is also closer to the real thing.

In addition, WebCEmu is now built in WebAssembly format, which makes it both faster and smaller :)
Co-founder & co-administrator of TI-Planet and Inspired-Lua

Powered by EzPortal