Simbuino4Web released (was Simbuino emulator running in...)
Thu Apr 28, 2016 5:28 am
(Once again you'll have to ignore my total inability to play games and record video at the same time). No sound yet (that'll be next) and there's still some major optimization work to go in, but I'm quietly confident that it can be made to run at full-speed on current high-end mobile phones. Never as good as the real thing of course, but it should open up Simbuino development to any moderately capable device that has a web browser.
UPDATE: This is now playable at http://simbuino4web.ppl-pilot.com/. Input controls are keyboard only, I'll add some buttons soon. Only been tested on Chrome, it does run on Internet Explorer but very slowly and with no sound.
Simbuino goes cross-platform! Thank you Myndale. The need to reboot or screw around with a damned Windows virtual machine is a real obstacle for me. Looks like this problem will go away soon enough. :)
The SD code has already been ported but I'm not sure how to do partial reads of local files in html5, so the file read itself is currently commented out. I'm loading local HEX files no problem, but I'd like to avoid loading entire IMG files into the browser's virtual machine if I can help it.
I did manage to test a few games on my Samsung Note 5 today, it's running at around 12Mhz which is about half that of my desktop machine. I actually implemented a JIT compiler on almost every instruction expecting a massive speed-up and it actually slowed down! No idea what's going on there, I suspect that Chrome doesn't do it's own JIT on scripts that are generated at runtime and "compiled" with eval().