Alternatively, join us on Discord.

CEmu

Started by MateoConLechuga, December 30, 2015, 08:39:56 am

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DJ Omnimaga

Oh I see. I didn't realize it was transfer-related. I thought it was a newnbug with menus.

Adriweb

Quote from: Adriweb on November 14, 2016, 08:18:43 pm
BTW, I've started Lua scripting integration:


Though what I think will be the most interesting is events-based things: the script could register/subscribe to some events (GUI or core ones), and do stuff when they fire.


Some updates:
- Other bindings
- Syntax Highlighting
- An REPL Lua tab





Co-founder & co-administrator of TI-Planet and Inspired-Lua

Adriweb

I've just added quite a few new Lua bindings, for things like GUI/emu/debug/autotester/etc. features.

For instance:


or...:


Source: https://github.com/CE-Programming/CEmu/commit/a2675e86f36717fed7aa23077b1b5526f36dc87c
Co-founder & co-administrator of TI-Planet and Inspired-Lua

DJ Omnimaga

Nice Adriweb. :) I wonder... how well does CEmu's automatic program loading on TI-Planet work? For example, can it detect if a file must be archived or not if in the zip file it's inside a folder called Flash or Archive? Also would the emulator be easy to integrate on other sites like CodeWalrus?

Adriweb

If I remember correctly, it's just calling the linking routine with the parameter to let the file itself decide if it should go to archive or ram (since there's a flag for that in the var header). Which also means that (in a perfect world :P) there shouldn't be archives with such directories, it's better if it's within the files already.
On TI-Planet it's extracting the zip on the server-side if needed, or just sending the thing if it's not an .zip.
It shouldn't be that hard to do the same on CW, though if you end up doing it, you might as well wait for an update, since there will have to be one (better keypad, libs transfer, some bugs to fix, etc.)
Co-founder & co-administrator of TI-Planet and Inspired-Lua

DJ Omnimaga

Ah ok. Back in the days TI Graph Link did not keeep such flag intact so all my old games had the RAM flag on by default or not at all IIRC. Even with TI-Connect, though, we usually tried to flag our programs as RAM files all the time, because back then, the only decent 83+ emulator available (PindurTI) did not accept files with the archive flag on.

Also yeah we are not in a big hurry. Besides, first we need to start splitting the archives per category because we're starting to have many games listed there, especially for the CE and regular 84+. Also yeah to be honest, while the online CEmu is awesome, I find the keypad to be a serious issue because it only uses the computer mouse, not keyboard, making it impossible to play games such as Oiram. Our only request for such emu on CW, though, would be that the user is forced to provide his own ROM image to use it and that it never gets stored on the server, since our site is hosted in the United States of DMCA.

Adriweb

CEmu v1.3 has been released!

Quite a big changelog - happy emulating!

________________________________________________________________________________

In other news, some time ago, for fun (until it's much cleaner and integrated properly with the rest), I've made a ti-basic live execution viewer thingy [...][/quote]

MateoConLechuga has since picked up the work I left there, and did quite some improvements to the code, while also adding awesome features :)

We now have:
  • A new part of the GUI (not yet finalized ...) dedicated to TI-Basic debugging
  • A visualizer (with highlighting) of the currently running TI-Basic code (and the contents of the temporary parser, in the tab next to it)
  • The ability to see the current execution "live", or the current fetch (what the parser looks at then run - not necessarily very useful, but why not)
  • The ability to pause and step / step next
There is more to come, and probably soon: GUI additions (most notably, variables and their current values), and breakpoints on TI-Basic code...


A quick preview:



If you want to try, it's on this branch: https://github.com/CE-Programming/CEmu/tree/feature/basic-dbg
Co-founder & co-administrator of TI-Planet and Inspired-Lua

DJ Omnimaga

Nice update for TI-BASIC programmers :O

Powered by EzPortal