Alternatively, join us on Discord.

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

Started by Adriweb, March 19, 2016, 05:04:02 am

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Adriweb

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.
Co-founder & co-administrator of TI-Planet and Inspired-Lua

Jkolade936

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. :-/
Does this qualify as a signature? 
The answer is "Sure."


MateoConLechuga


Jkolade936

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.
Does this qualify as a signature? 
The answer is "Sure."


DJ Omnimaga

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?

Adriweb

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.
Co-founder & co-administrator of TI-Planet and Inspired-Lua

DJ Omnimaga


Adriweb

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.
Co-founder & co-administrator of TI-Planet and Inspired-Lua

DJ Omnimaga

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)

Adriweb

I thought about it, but it may be much harder, the way it's done :P (ZDS doesn't expose it directly)
Co-founder & co-administrator of TI-Planet and Inspired-Lua

DJ Omnimaga

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.

Adriweb

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 ( https://i.imgur.com/F15HrQ6.png ) 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
Co-founder & co-administrator of TI-Planet and Inspired-Lua

Adriweb

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)
Co-founder & co-administrator of TI-Planet and Inspired-Lua

DJ Omnimaga

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. :)

Adriweb

(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).
Co-founder & co-administrator of TI-Planet and Inspired-Lua

Powered by EzPortal