New Online MSX emulator

Страница 39/48
32 | 33 | 34 | 35 | 36 | 37 | 38 | | 40 | 41 | 42 | 43 | 44

By ppeccin

Champion (355)

Аватар пользователя ppeccin

07-07-2016, 03:05

Guys,

WebMSX 2.0 is released! Its already online at: http://webmsx.org

It's a very big update, packed with new features and enhancements.
Here are the highlights:

- 9 Generic machines (MSX1, MSX2, MSX2+). NTSC 60Hz or PAL 50Hz
- PSG, SCC, SCC-I, FM-PAC and MSX-MUSIC sound
- Cross platform HTML5/JS. Runs in any Browser, tested in Chrome/Firefox
- Put games or any MSX software in webpages easily
- Run it locally with a single HTML file, no install needed
- Play Cartridge ROMs, Disk and Tape images
- Powerful Drag & Drop system for loading media files
- Load several disks at once and easily switch disks
- "Files as Disk" and "ZIP as Disk" emulation
- Savestates support. Export and share Savestate files
- Keyboard, Gamepad and Mouse controllers with auto-detection
- Easily toggle extensions like SCC, PAC, DOS2, etc.
- Adjustable speed, Pause and Frame-by-frame advance
- Copy & Paste text, Screen Capture, Debug modes
- Resizable Screen, Full Screen mode

Run it in Chrome for better performance. I was able to optimize it and achieve better speeds than even the MSX1 in the previous version!

I would like to thank you all very much for the valuable help I received in this thread. You guys are awesome!

Of course there should still be some issues.
It would be nice to hear of any horrible bugs or incompatibilities you may find, so I can fix them. Please let me know!

Also, if you can, please help me spread the news on other MSX/Emulation communities, groups or social media you may participate.

Thank you very much!

Peccin

By tfh

Paragon (1939)

Аватар пользователя tfh

07-07-2016, 08:50

I'm going to have a look at this straight away. I just updated www.file-hunter.com with some youtube links of our demo's, but it would be a lot cooler if I could just play the actual demos themselves!

Great work!

By tfh

Paragon (1939)

Аватар пользователя tfh

07-07-2016, 10:48

Hmmm, I can't seem to edit my previous post, so Smile
Is there a way to make the emulator start with certain settings, let's say: SCC in slot 1 and "diskimage.zip" as media in drive A?

By ren

Paragon (1338)

Аватар пользователя ren

07-07-2016, 13:03

Awesome work peccin, you certainly deserved a beer, or two, or three, or four Wink
Hehe, saw you preparing for release last night, you did seem to have delayed release one or multiple times? + it seems you had quite the experiment regarding typed arrays? Smile

I already had a go two weeks ago, will check out the final release!
It seems to perform pretty well/sweet, amazing we have a very cool MSX(2(+)) emu in the browser now!

I did run into some issues with 'sticking' keys again.. I might go ahead and investigate on that..
Cheers!

(btw: I'm implementing WebMSX in my own little project. Not released yet, but hopefully in due time.. :))

By ppeccin

Champion (355)

Аватар пользователя ppeccin

07-07-2016, 16:47

tfh wrote:

Hmmm, I can't seem to edit my previous post, so Smile
Is there a way to make the emulator start with certain settings, let's say: SCC in slot 1 and "diskimage.zip" as media in drive A?

Sure! There are multiple ways...

One of them is passing URL parameters directly to the page the emulator is running...
You can specify media to load through parameters, and can enable/disable feature sets through "profile parameters". You can see all the parameters and the available profiles in the WMSX.js file.

In your case, it would be like:

http://yoursite.com?presets=SCC&DISKA=diskimage.zip (or use profile SCCI for SCC+)

But remember, all the media files must be in the same server that is hosting the emulator, due to the browsers "same origin" policy. Just put the files on the same folder, or same server, does not matter where if its in the same domain.

On another approach, you can set any parameters directly via Javascript in your page, just after you import the emulator wmsx,js file. In this case:

WMSX.PRESETS = "SCC";
WMSX.DISKA = "diskimage.zip";

There is also a Javascript API to control some aspects of the emulator while its already running, like loading new media, saving screen captures, etc.

I guess now would be a good time to write some documentation!
Please feel free to ask any questions here or in the discussion group.

Peccin

By ppeccin

Champion (355)

Аватар пользователя ppeccin

07-07-2016, 16:53

ren wrote:

Awesome work peccin, you certainly deserved a beer, or two, or three, or four Wink
Hehe, saw you preparing for release last night, you did seem to have delayed release one or multiple times? + it seems you had quite the experiment regarding typed arrays? Smile

I already had a go two weeks ago, will check out the final release!
It seems to perform pretty well/sweet, amazing we have a very cool MSX(2(+)) emu in the browser now!

I did run into some issues with 'sticking' keys again.. I might go ahead and investigate on that..
Cheers!

(btw: I'm implementing WebMSX in my own little project. Not released yet, but hopefully in due time.. :))

Thanks!
Yeah, I took some time trying to squeeze the last drops of performance/optimizations before releasing. It was worth it.
I get speeds like 600+ FPS in my mid-class, 2 year old notebook.

Sticky keys? Do you get these even without removing the focus from the emulator/browser window? :-(
Whats your configuration again (OS, browser, etc).

Peccin

By Hydlide

Master (171)

Аватар пользователя Hydlide

07-07-2016, 19:25

What an awesome update Peccin! So glad I donated a while ago. Money well spent!
And the great thing is: our company proxy hasn't blocked the site yet Evil (msx.org is blocked - booh! Crazy )

By abslide

Resident (33)

Аватар пользователя abslide

07-07-2016, 20:01

I'm tested the WebMSX 2.0d. There are suggestions.

From example.html :

WMSX.ALLOW_URL_PARAMETERS = true;

In the script tag, the result gave the following values:

WMSX.CARTRIDGE1_URL = "romimage.rom"; (O) Normal execution
WMSX.CARTRIDGE1_URL = "romimage.zip"; (X) Not execution
WMSX.DISKA_URL = "dskimage.dsk"; (X) Not execution
WMSX.DISKA_URL = "dskimage.zip"; (X) Not execution
WMSX.TAPE_URL = "casimage.cas"; (O) Normal execution
WMSX.TAPE_URL = "casimage.zip"; (X) Not execution

The results posted on the website.
Troubleshooting ask. Thank you.

By tfh

Paragon (1939)

Аватар пользователя tfh

07-07-2016, 19:54

ppeccin wrote:
tfh wrote:

Hmmm, I can't seem to edit my previous post, so Smile
Is there a way to make the emulator start with certain settings, let's say: SCC in slot 1 and "diskimage.zip" as media in drive A?

Sure! There are multiple ways...

One of them is passing URL parameters directly to the page the emulator is running...
You can specify media to load through parameters, and can enable/disable feature sets through "profile parameters". You can see all the parameters and the available profiles in the WMSX.js file.

In your case, it would be like:

http://yoursite.com?presets=SCC&DISKA=diskimage.zip (or use profile SCCI for SCC+)

But remember, all the media files must be in the same server that is hosting the emulator, due to the browsers "same origin" policy. Just put the files on the same folder, or same server, does not matter where if its in the same domain.

On another approach, you can set any parameters directly via Javascript in your page, just after you import the emulator wmsx,js file. In this case:

WMSX.PRESETS = "SCC";
WMSX.DISKA = "diskimage.zip";

There is also a Javascript API to control some aspects of the emulator while its already running, like loading new media, saving screen captures, etc.

I guess now would be a good time to write some documentation!
Please feel free to ask any questions here or in the discussion group.

Peccin

Hmmm, I can't seem to load my diskimages:

http://www.file-hunter.com/Fony/fdd/?presets=SCC&DISKA=FDD1.DSK
http://www.file-hunter.com/Fony/fdd/?presets=SCC&DISKA=fdd.zip

both don''t seem to work.
The emulator is www.file-hunter.com/Fony/fdd/index.html
The .zip and .dsk are both located in the same directory. I guess I am doing something wrong, but can't find it :)

By ren

Paragon (1338)

Аватар пользователя ren

07-07-2016, 20:27

I can confirm DISK loading doesn't seem to work, ROM loading works though.

@ppeccin: I'll look some more into the sticking keys issue before reporting back.

Страница 39/48
32 | 33 | 34 | 35 | 36 | 37 | 38 | | 40 | 41 | 42 | 43 | 44