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

TI-Planet's "Project Builder" with online CE C Compiler

b/[Completed] CEmu, C SDK & Libraries (TI-84+CE) Started by Adriweb, March 19, 2016, 05:04:02 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

u/Adriweb March 21, 2016, 09:37:21 PM
There was/is one idea that involves CEmu making a web server on localhost, to/from which the web CEmu can talk to (simple ajax requests). That way, it can send commands etc. to it, effectively making an "easy" bridge between online IDEs and native CEmu.
u/Dudeman313 March 21, 2016, 09:51:58 PM
Quote from: MateoConLechuga on March 21, 2016, 06:46:39 PM
Um, of course it works? Click on the screen if you need to, and change the keyboard bindings to WabbitEmu in the settings if you really want to. The CEmu keybindings are a lot easier and make more sense once you get used to them.
It doesn't work in the build @alberthrocks gave me. :-/
u/MateoConLechuga March 21, 2016, 10:31:34 PM
Did you click on the LCD screen.
u/Dudeman313 March 21, 2016, 10:40:30 PM
Quote from: MateoConLechuga on March 21, 2016, 10:31:34 PM
Did you click on the LCD screen.
Yes. Still nothing. I can't even type numbers using the keyboard.
u/Dream of Omnimaga March 22, 2016, 05:18:36 AM
Quote from: Adriweb on March 21, 2016, 09:37:21 PM
There was/is one idea that involves CEmu making a web server on localhost, to/from which the web CEmu can talk to (simple ajax requests). That way, it can send commands etc. to it, effectively making an "easy" bridge between online IDEs and native CEmu.
Would that require the user to install extra stuff such as Apache for that, or would CEmu do that for him?
u/Adriweb March 22, 2016, 04:27:34 PM
Quote from: DJ Omnimaga on March 22, 2016, 05:18:36 AM
Quote from: Adriweb on March 21, 2016, 09:37:21 PM
There was/is one idea that involves CEmu making a web server on localhost, to/from which the web CEmu can talk to (simple ajax requests). That way, it can send commands etc. to it, effectively making an "easy" bridge between online IDEs and native CEmu.
Would that require the user to install extra stuff such as Apache for that, or would CEmu do that for him?
No, CEmu would do things by itself - it doesn't have to be any kind of file-serving complicated thing at all. Simple I/O requests would work, I suppose. I bet there are libs to do this simply enough.
u/Dream of Omnimaga March 22, 2016, 06:43:36 PM
I see. That's good, then. :)
u/Adriweb March 23, 2016, 02:59:57 AM
I've added a way to see the generated ASM code, it can be useful sometimes :)



I'll probably improve it though, so as to integrate it better in the actual editor, which will make sense later for debugging purposes.
u/Dream of Omnimaga March 23, 2016, 03:02:17 AM
Nice idea. Although not many people will use ASM on the CE, this could be handy when debugging or for people who wants to grab some ASM routines. What about the ability to show hexadecimal assembly form? THat could be handy if someone wants to grab some routines for use in BASIC (via the Asm() command)
u/Adriweb March 23, 2016, 03:05:00 AM
I thought about it, but it may be much harder, the way it's done :P (ZDS doesn't expose it directly)
u/Dream of Omnimaga March 23, 2016, 03:07:42 AM
Ah, I didn't know that. Shame. I would have thought that most assemblers or ASM IDE's showed the hexadecimal equivalent of english mnemonics.
u/Adriweb March 23, 2016, 03:08:28 AM
Oh wait, I might be lying.
There is an .lst keeping option. Let me look it up and I'll edit the post

Edit: yeah, it's possible (
) but looks like a pain (to parse etc.) for not a big advantage... MAybe when I have time to spare after finishing the todolist :P
Last Edit: March 23, 2016, 03:17:10 AM by Adriweb
u/Adriweb March 24, 2016, 04:51:30 AM
People have been bugging me about a dark theme, so here it is :D (commit):

https://gfycat.com/AmazingEarnestHyracotherium

(no GUI toggle yet, nor saving its state)
Last Edit: March 24, 2016, 04:54:28 AM by Adriweb
u/Dream of Omnimaga March 24, 2016, 05:24:40 AM
Nice job. I also like it. At least it's not pitch black like some people do so it's still nice to look at in dark mode. :)
u/Adriweb March 24, 2016, 08:11:31 PM
(Update:)
I've done that differently now, taking into account the line numbers, and thus making things much easier and reliable (and much more useful for the future debugging features).
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