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

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

b/Calculator Development Started by Adriweb, September 30, 2015, 10:19:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

u/Snektron December 01, 2015, 12:59:13 PM
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
Last Edit: December 01, 2015, 01:04:15 PM by Cumred_Snektron
u/Adriweb December 01, 2015, 07:09:31 PM
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.
Last Edit: December 01, 2015, 08:41:37 PM by Adriweb
u/Dream of Omnimaga December 02, 2015, 07:30:52 AM
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. :)
u/critor 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. ;)
Last Edit: December 02, 2015, 11:45:39 AM by critor
u/Adriweb December 02, 2015, 08:39:42 PM
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.
u/Dream of Omnimaga December 03, 2015, 06:03:51 PM
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?
u/Unicorn December 15, 2015, 07:08:41 AM
Whoa! A public beta! I might get to learning some C, now that it can be compiled for a calc...
u/Lionel Debroux December 15, 2015, 07:22:06 AM
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.
u/Dream of Omnimaga December 15, 2015, 07:28:41 AM
So in order to program in ez80 C, should people learn ez80 ASM first?
u/Lionel Debroux December 15, 2015, 07:30:41 AM
critor didn't learn eZ80 ASM for making these three games, so no, not necessarily, of course.
u/Dream of Omnimaga December 15, 2015, 07:31:16 AM
That is good. Otherwise I was gonna say that we need Axe CE >.<
u/Lionel Debroux December 15, 2015, 07:58:25 AM
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...
Last Edit: December 15, 2015, 08:11:09 AM by Lionel Debroux
u/Adriweb January 06, 2018, 09:21:06 AM
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 :)
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