JS-VBA-M
Â
Â
Hey guys just thought I'd share a project I'm working on. I am porting VBA-M to Javascript using the Emscripten C/C++ to javascript compiler and a modified version of the VBA-M SDL code.
Â
Runs natively in browser with no plugins required!
Â
Development Progress Picture (I am using Pokemon Ruby as the testcase):
Â
[video=youtube]
<div><iframe width="480" height="270" src="https://www.youtube.com/embed/pjCuM6pnI54?feature=oembed" frameborder="0" allowfullscreen="true"></iframe></div>
Â
Â
Progress:
Â
- Get JS-VBA-M to compile. Done.
Â
- Fix the command line arguments parsing code. Done.
Â
- Get it to load a game and run it. Done.
Â
- Get it to display the FPS meter. Done.
Â
- Get it to display the game. Done.
Â
- Get it to run at at least 48% speed (the cross-compiler promises the program will run at most 4x slower than native when the optimization options are configured correctly, so as my computer runs VBA-M at 87% speed, the JS version should run at 48% speed at it's slowest). WIP (still fiddling with compiler optimization options (getting ~38% speed on my laptop)).
Â
- Streamline the build system and fix the cmake files to work correctly with emscripten. Todo.
Â
Working Version:
http://dl.dropbox.com/u/20328726/vbamjs/index.html