Schrijver
| jsMSX - the first MSX Emulator written 100% in Javascript
|
mrcgran msx friend Berichten: 4 | Geplaatst: 24 Augustus 2006, 15:28   |
Yes, you all knew it was coming... even when you unconsciously denied it... resisting it was a futile attempt...
The first (afaik) 100% *Javascript* MSX Emulator (jsMSX) is now released, currently in beta version 0.9.1. Check it out at http://jsmsx.sourceforge.net !!
Currently it emulates the underlying Z80 CPU, TMS9918 Video Display Processor (VDP), PPI, RAM slots and Megaram. In its present form, it should be able to run any program or game developed for MSX 1.0.
The initial motivation was to find some interesting project to develop while exploring the possibilities of the new <canvas> tag to efficiently display graphics using Javascript in the most recent web browsers like Firefox 2+. As you may have realized, many challenges on performance are faced when emulating in Javascript. But I think that they present an interesting testbed for pushing the current Javascript implementations to their limits and for comparing their relative speed. jsMSX can also be used to tightly integrate existing MSX programs in web page logic.
Of course, there are still lots of work in order to optimize the performance and add MSX 2.0, 2.0+ and TurboR features. Version 1.0 will release an optimized javascript engine for MSX 1.0. Version 2.0, 3.0 and 4.0 will be compatible with MSX 2.0, 2.0+ and TurboR respectively. If you like javascript, are just curious or would like to engage in a performance challenge, don't forget to download the source code and contribute back to it.
I would like to invite everybody to check it out, play, enjoy it and report all the bugs to the project forum.
Best,
Marcus Granado
|
|
AuroraMSX
 msx master Berichten: 1224 | Geplaatst: 24 Augustus 2006, 16:37   |
Very nice
(BTW, your html over here is a bit borked. There's a '>' missing at the end of the title, making the CSS style show up as plain text in the page...) |
|
ARTRAG msx master Berichten: 1578 | Geplaatst: 24 Augustus 2006, 19:34   |
On firefox 1.5 and IE v6 it does not work...
maybe you should consider to support also less demanding browsers
|
|
mars2000you msx master Berichten: 1723 | Geplaatst: 24 Augustus 2006, 20:06   |
|
|
mars2000you msx master Berichten: 1723 | Geplaatst: 24 Augustus 2006, 20:35   |
It should be possible to play offline.
When you copy the demo page, 6 .js files are copied in a subdirectory : urchin.js and show_ads.js are Google Analytics tools.
I guess that some changes in the source code of this page (delete the Google parts and change the urls to the BIOS and the ROMS) will be enough !  |
|
mars2000you msx master Berichten: 1723 | Geplaatst: 24 Augustus 2006, 21:49   |
|
|
cax
 msx professional Berichten: 1002 | Geplaatst: 24 Augustus 2006, 22:08   |
Writing MSX emulator should become a mandatory project in every secondary school.
Until now average programming course usually had a "Conway's Game of Life" as it's final project.
This have to change. Every educated person should emulate MSX at least once in his life.
|
|
PingPong msx professional Berichten: 859 | Geplaatst: 24 Augustus 2006, 22:31   |
Quote:
| Writing MSX emulator should become a mandatory project in every secondary school.
Until now average programming course usually had a "Conway's Game of Life" as it's final project.
This have to change. Every educated person should emulate MSX at least once in his life.
|
Are you a little msx fanatic? ( i guess  ) |
|
cax
 msx professional Berichten: 1002 | Geplaatst: 24 Augustus 2006, 22:35   |
No, I just can't count all existing emulators anymore  |
|
mars2000you msx master Berichten: 1723 | Geplaatst: 24 Augustus 2006, 22:49   |
And I've reinstalled Firefox 1.5.0.6 !, so I can again enjoy the "Panneau de Traduction" extension  |
|
[D-Tail]
 msx guru Berichten: 2978 | Geplaatst: 24 Augustus 2006, 23:21   |
cax: I think every college student should help and contribute to openMSX and BlueMSX!
[edit]Oh wait, that is like advertising for other MSX-emulators in this topic
Ah well, let them contribute to jsMSX as well! Yay to all! ^_^[/edit] |
|
mars2000you msx master Berichten: 1723 | Geplaatst: 24 Augustus 2006, 23:32   |
But no other emulator can beat blueMSX and openMSX !
Thanks for the free promo .... actually, it was part of our secret deal |
|
mrcgran msx friend Berichten: 4 | Geplaatst: 25 Augustus 2006, 01:46   |
hello all. some comments:
ARTRAG: I'm thinking about implementing a fallback mechanism in jsMSX 0.9.2 to support drawing on javascript canvas without using the high performance get/putImageData() functions (they are due only in the next generation browsers such as Firefox 2.0, still in beta). It boils down to using function calls (moveto()/lineto()) instead of a direct array access, and I believe it will impact performance. However, after this modification you should be able to run jsMSX on current mainstream browsers such as Firefox 1.5, Opera 9.0, and even Internet Explorer 6.0 (with google's IE canvas plugin) - albeit a bit slower.
mars2000you: it's possible to run it offline if you sign the javascript code. I believe that it could also run offline from inside a XUL application making use of jsMSX.
DTail: indeed, I was thinking about creating a jsOpenMSX and a jsBlueMSX. what do you think?
[]s,
M.
--
But does it run Linux?
|
|
mrcgran msx friend Berichten: 4 | Geplaatst: 25 Augustus 2006, 02:00   |
|
|
dvik msx master Berichten: 1302 | Geplaatst: 25 Augustus 2006, 08:58   |
Very impressive and fun  Well done mrcgran. Do you know if a modern high end PC is able to run it at full speed? My laptop doesn't get even close, but its almost two years old. |
|
|
|
|