Updated Web Emulator

All aspects of programming on the Commander X16.
SlithyMatt
Posts: 913
Joined: Tue Apr 28, 2020 2:45 am

Updated Web Emulator

Post by SlithyMatt »


I tried my new PSG demo with the web emulator, and it works really well, much better than the YM2151. It's not perfect, but it's just as good, if not better than, the native emulator. Holding a sustained wave shows how the sampling is not quite perfect, with little fuzzy and crunchy bits here and there. But they don't really happen any more often with the web emulator.

Perifractic
Posts: 511
Joined: Sat Apr 25, 2020 4:53 pm

Updated Web Emulator

Post by Perifractic »


@MattGrandis @SebastianVoges Is it just me that can't get Chase Vault to load in the try it now emulator?


 

SebastianVoges
Posts: 33
Joined: Tue Apr 28, 2020 9:14 pm

Updated Web Emulator

Post by SebastianVoges »


Yeah doesn’t load for me either.   

at @MattGrandis  are we doing file name case conversion on the backend ? I think chase vault expects it all uppercase.  

Cannot open chasvalt.prg

Perifractic
Posts: 511
Joined: Sat Apr 25, 2020 4:53 pm

Updated Web Emulator

Post by Perifractic »


Ah that might explain it.

SlithyMatt
Posts: 913
Joined: Tue Apr 28, 2020 2:45 am

Updated Web Emulator

Post by SlithyMatt »


The file in the zip is all-caps CHASVALT.PRG, but that shouldn't matter if you are still running from a Windows server. Are you still unzipping the archive before trying to load the PRG? This used to work.

User avatar
StephenHorn
Posts: 565
Joined: Tue Apr 28, 2020 12:00 am
Contact:

Updated Web Emulator

Post by StephenHorn »


It used to work, but I believe we changed the expected case of filenames in response to my last demo, when the web emulator was failing to load .seq files that had been included.

Developer for Box16, the other X16 emulator. (Box16 on GitHub)
I also accept pull requests for x16emu, the official X16 emulator. (x16-emulator on GitHub)
Main Administrator
Site Admin
Posts: 167
Joined: Sun Feb 27, 2022 12:43 am

Updated Web Emulator

Post by Main Administrator »


I've removed the case conversion from the code and it's working again. So it's up to the programmer to take care of referencing files correctly again now.

SebastianVoges
Posts: 33
Joined: Tue Apr 28, 2020 9:14 pm

Updated Web Emulator

Post by SebastianVoges »


Hi,

I finally got around to sync up with the changes from the main x16 repository and clean-up/rebase my commits. I pushed out a new release here:

https://github.com/sebastianvog/x16-emulator/releases/tag/1.0.0-beta.4

I also updated https://x16emu.s3.amazonaws.com/x16emu.html

@MattGrandisThis contains a fix for the audio distortion I addressed weeks ago, but never pushed out as a release. Also I would like to retire/not update the 

https://sebastianvog.github.io/x16-emulator/x16emu.html .  Could we change the try-it-online link to go to either the version on amazon aws or to the one hosted on the commanderx16 site ?

All the code changes are now in a PR to get back to the main x16 repo https://github.com/commanderx16/x16-emulator/pull/294

 

Main Administrator
Site Admin
Posts: 167
Joined: Sun Feb 27, 2022 12:43 am

Updated Web Emulator

Post by Main Administrator »


@SebastianVogesThanks, I've changed the link to point to our hosted version and updated it to your version!

User avatar
AndyMt
Posts: 326
Joined: Sun Jun 21, 2020 3:02 pm
Location: Switzerland

Updated Web Emulator

Post by AndyMt »



On 6/29/2020 at 11:05 AM, MattGrandis said:




I've removed the case conversion from the code and it's working again. So it's up to the programmer to take care of referencing files correctly again now.



I have to come back to this: I uploaded a new version of Brixx (0.8), but it didn't load the new music assets. I uploaded V0.7 again, so people can still use it.

@MattGrandisIs there a chance I can test a ZIP file before I upload it? Downloading the V0.8 ZIP file and running it in the emulator on Windows 10 works.

@SebastianVogesI'm aware that upper/lower case makes a difference in the web emulator. I used lower case in the code until now, which worked for all graphics (upper case didn't work). But not for the new music files. Only difference: graphics loads into VRAM with vload() but the music files with cbm_k_load().

Any ideas?

Post Reply