Boa noite!
I tried again. I've closed Chrome, and restarted with only one tab. Now, it runs like a charm! Even opened a few more tabs, without problem!
Sorry about that! I was giving your emulator a hard time!!!!!
(My machine is a Surface 3 Pro, intel i5 1.9GHz, 8Gb RAM)
Necron, can you please tell me your machine specs? Operating system, browser type/version, etc.
You're maybe having a speed problem, or maybe too many browser tabs or open programs in the background?
If you can, please try to do a "clean" test.
MSX emulation in Javascript is kinda heavy stuff! :-)
Buenos noches
Some stuff that may help (basically targeted at desktop users though..) (follow at your own peril btw.. ) :
- run the latest development version of Chrome (called 'Chrome Canary') or Chromium.
(Portable) development build of Chromium may be downloaded here: http://chromium.woolyss.com/ ; - make sure you've have little going on in the background, no other tabs etc, stuff like this is sensitive for (background) activity (cpu usage/disk access...) ;
- up the priority of the browser process the emu is running under by setting it to 'high' ('realtime' is a bad idea however.. ;)) ;
- disabling desktop composition (Windows) may work (good when running any high-demand emu windowed I experienced) ;
- fullscreen may perform better than keeping it running windowed(?) ;
- ...
besides that i really enjoyed this emulator, i think that online emulators are great specially when you host your own homebrew in your own website, and want to allow people to run them online, a bit like http://nitrofurano.altervista.org/retrocoding/zxspectrum/mis... (some stuff i made for ZX-Spectrum)
since i really enjoy trying to develop for whatever z80-based hardware ( http://www.boriel.com/wiki/en/index.php/ZX_BASIC:Released_Pr... ), all online emulators that allows me to do that are really very welcome! :)
i don’t know if i found some bugs in the emulator - from http://www.boriel.com/wiki/en/index.php/ZX_BASIC:Released_Pr... , Warlords and The Ruins of Machi Itcza seems not working properly
if you want you can use the romdb in openMSX (http://romdb.vampier.net) to id carts.
It worked great (I tried an SCC game but SCC doesn't work yet)
For a moment I thought I would get a java pop up but I was pleasantly surprised to see an HTML5 canvas pop up :)
hum... loading a rom doesn't really work yet.
http://webmsx.org/?rom=www.vampier.net/vampier.rom
While there is really a rom at www.vampier.net/vampier.rom
I really like this emulator to show what I made a long time ago to people who don't know MSX.
@Vampier See page 3:
But remember that unfortunately, the Browser cross-site security policy will not allow the emulator to download files from a different domain. So those options are intended for websites that wish to offer the emulator and auto-load games from the SAME domain.
You will not be able to, for instance, launch the emulator from my official website pointing to a ROM file from your own site. It will not work like this. You will have to put your own WMSX served in you page, which is the right thing to do anyway.
It could work if the webmsx.org site first would get the file through PHP or something.
@ppeccin: wouldn't CORS also work in this scenario? (Then the server @ vampier.net should add an Access-Control-Allow-Origin header to the HTTP response?)
@ppeccin: Looking forward to future developments of the emu!
Have you perhaps thought about setting up a roadmap? (Like you said earlier you're working on line-accuracy ATM.)
Would you prefer Github tickets for bug reports / feature requests, or does this (forum) work fine for you?
hum... loading a rom doesn't really work yet.
http://webmsx.org/?rom=www.vampier.net/vampier.rom
While there is really a rom at www.vampier.net/vampier.rom
Hey Vampier, the ROM must be on the same site as where the emulator script is loaded from, due to browser cross-domain access restrictions (a security measure). So you must host the script on your own site for it to work.
(@Grauw Didn't my reply / what @ppeccin said (quote) make that already perfectly clear?)