http://juju.codewalr.us/emu.html
Just trying out something.
EDIT (DJ) made it external link because it will make some people's older computers freeze otherwise >.<
Whoa it's pretty cool that you got this running here. :D It totally lags my browser though (and maxes a whole cpu core out O.O).
/me enables e10s to try
Edit : OK lol e10s totally breaks it (maybe it's because of vimperator but I'm too lazy to turn it off :P).
Yeah, it will be pretty useful if and when we'll get some nice KnightOS packages in the downloads section eventually.
Yeah I agree. I think this should be used mostly for the future arcade, though. If this site gets an arcade like Omni had it will be calc-only material or at least ports of calc games, and being able to disallow exiting games and launching them instantly, while also being able to extract highscores would be amazing.
However, I don't think we should implement TI-OS support since it will require uploading a ROM for the user, unless you implement some ROM uploader that doesn't keep a ROM copy on the server like jsTIfied. So yeah people might have to port some games :P
SirCMpwn really needs to make this emulator less laggy, though. It's awesome but on my Intel Core i7 in CHrome and Opera it's like if I was running Crysis 2 maxed out. This might also explain the server lag if there is any PHP code in this.
How? I am not getting any lag, and I'm running a mobile i5 O.o
I'm getting lag myself. Maybe GPU has more to do with it than CPU?
Err, actually... I'm getting lag, especially on Phoenix :P
Yeah lots of lag in Phoenix and my computer fans spin like crazy
Haha yeah z80e is in the "work first, optimize later" stage.
The problem is that the emulator was not really made for browsers. I can actually run the PC version at something like 300MHz. :P
Yeah, an arcade based on calc games would be pretty cool. KnightOS can launch games without going through the castle menu and for the high scores, you would probably be able to look in the RAM, but that's game by game. A ROM uploader would be doable entierely in Javascript with HTML5 storage. And we have a few people here who works on KnightOS stuff iirc, guess he can always help us.
Anyway, the emulator works fine on Chrome with computers I tested with 4GB RAM. On this netbook with 1GB RAM it's kinda laggy, but usable. Well, at least it's better than nothing.
I thnk Firefox is the only browser supposed to run it really well for now due to asm.js (that iirc Chrome doesn't have).
asm.js stuff runs pretty well on Chrome. You just need a decent computer. Of course, your mileage may vary.
I got a quad core 2.8 GHz with 8 GB of RAM so maybe it's my GPU? Anyway I assume it will improve in terms of speed in the future, else not many people will use it. If jsTIfied CSE emulation can run at full speed on this computer then I'm sure it would be possible to improve this KOS emulator to run just as fast. It just takes quite a lot of work and we have to be patient. >.<
The emulator is purely CPU based.
Really nice :D although the takes a bit to load.
This can maybe be used for an online IDE which can run your program
w/o downloading and uploading it to an emu first?
If KnightOS ever gets an on-calc programming language, then this emulator could definitively be useable to develop programs. The best part will most likely be debugging, though, for people who use ASM/C. But yeah as long as this uses KnightOS and Bootfree/any other custom Boot code, you should be able to use this emulator without having to provide your own ROM.
Quote from: Cumred_Snektron on January 01, 2015, 03:02:59 PM
Really nice :D although the takes a bit to load.
This can maybe be used for an online IDE which can run your program
w/o downloading and uploading it to an emu first?
Quote from: DJ Omnimaga on January 01, 2015, 11:02:14 PM
If KnightOS ever gets an on-calc programming language, then this emulator could definitively be useable to develop programs. The best part will most likely be debugging, though, for people who use ASM/C. But yeah as long as this uses KnightOS and Bootfree/any other custom Boot code, you should be able to use this emulator without having to provide your own ROM.
/me points to http://try.knightos.org/
Oh that's pretty nifty. :D I'M still hoping for the ability to send commands via a browser and sending commands back to the browser, so that we could setup an arcade with highscores that is entirely based on calculator stuff or close. Another cool thing would be if we could link-play accross multiple connections, but I dunno how hard (if that's possible at all) it would be to enable such emulator feature and if it would be worth it.
I should poke SIrcmpwn about this. Pretty sure he'd be happy to see his stuff is being used. :)
That said, since I was still Omni admin when the 2011 incidents started happening, I hope he didn't hold any grudges that could have resulted into the opposite. I think he would like the idea of such calc-based arcade, though, because I think he once wanted to do something involving calculator games and highscores back then.
I am curious about how hard it would be to make such arcade hacker proof, though. I think for it to be safe, we would need to be able to disable certain keys and emulator features, so that the user won't just plain reset the emulated calc then send an hacked copy of Phoenix, for example.
He doesn't like you, but that doesn't mean he can't be cooperative. :)
Indeed, but having seen some more recent stuff with other people, as well as hearing about some much older IRL incidents, we never know :P. Hopefully it's fine, though (besides, after all, if some people use KnightOS here then this means it's more popular.) :)
About hacking the emulator, it would probably require some browser tricks to replace page resources. Not something the average user could do and I don't think people who can are stupid enough to cheat to get highscores.
Oh I meant hacking as in quitting the game, sending MirageOS/DCS then unlocking game code to edit some of the gibberish in the BASIC editor. Hence why I was saying it would be nice if it was possible to make the emulator redirect to another webpage on game exit or stuff like that, depending of the script used on the said site :P
Wouldn't be possible.
How would you even send it? :P
The emulator runs locally in your browser.
I suggested the idea because TiEmu did it with 68K calcs compilers. On some TI-89T ROMs, if you compiled a program with TIGCC, you could run it in a single click (Compile+Run IIRC). It automatically pasted the program name on the home screen then pressed ENTER automatically. However, I don't think TIGCC had any control on what you do next in TiEmu (such as exiting the game)